code for designing and experimenting with cross-lingual contrastive learning in MoE LLMs
Main gdoc: https://docs.google.com/document/d/1qT4KlRS1LK5fCZ9YlyJhD-hL49yjknHLnaazHi9SZDA/
This repo was split and copied over from https://github.com/mohsenfayyaz/moe on 4/2/2026. If any files are missing, please ask Lucas. If any code doesn't work because of misplaced files, please fix.
contrastive_training/ is the main code containing implementation and scripts for contrastive training methodlanguage_evals/ contains the code for downstream task evaluation (and also SFT+eval)routing_analysis/see contrastive_training/README.md and routing_analysis/README.md
Python
79.4%
Jupyter Notebook
11.3%
Shell
9.3%
code for designing and experimenting with cross-lingual contrastive learning in MoE LLMs
Main gdoc: https://docs.google.com/document/d/1qT4KlRS1LK5fCZ9YlyJhD-hL49yjknHLnaazHi9SZDA/
This repo was split and copied over from https://github.com/mohsenfayyaz/moe on 4/2/2026. If any files are missing, please ask Lucas. If any code doesn't work because of misplaced files, please fix.
contrastive_training/ is the main code containing implementation and scripts for contrastive training methodlanguage_evals/ contains the code for downstream task evaluation (and also SFT+eval)routing_analysis/see contrastive_training/README.md and routing_analysis/README.md
Python
79.4%
Jupyter Notebook
11.3%
Shell
9.3%