Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Data and code for the paper: "Equitable Alignment of LLMs Across Languages with Regularized Direct Preference Optimization"

The data folder contains all the data we used in our experiments and our splits:

The src folder contains:

  • jigsaw_experiments.py to launch the experiments on the Jigsaw dataset.
  • moral_experiments.py to launch the experiments on the Moral corpus.
  • PPLTrainer.py that contains our regularized DPO implementation based on HuggingFace DPOTrainer.
  • utils.py that contains the training and evaluation pipelines adapted from the code of [2] (Original code).

[1] Denis Emelin, Ronan Le Bras, Jena D. Hwang, Maxwell Forbes, and Yejin Choi. 2021. Moral Stories: Situated Reasoning about Norms, Intents, Actions, and their Consequences. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, pages 698–718, Online and Punta Cana, Dominican Republic. Association for Computational Linguistics.

[2] Thibaud Leteno, Irina Proskurina, Antoine Gourru, Julien Velcin, Charlotte Laclau, Guillaume Metzler, and Christophe Gravier. 2025. HISTOIRESMORALES: A French Dataset for Assessing Moral Alignment. In Proceedings of the 2025 Conference of the Nations of the Americas Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 1: Long Papers), pages 2590–2612, Albuquerque, New Mexico. Association for Computational Linguistics.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages