Views
No views yet
expert1from transformers import AutoModelForCausalLM, AutoTokenizer
2
3model = AutoModelForCausalLM.from_pretrained("sanchitahuja205/xelm-gemma-4b-slavic-expert")
4tokenizer = AutoTokenizer.from_pretrained("sanchitahuja205/xelm-gemma-4b-slavic-expert")configs/yaml/train_gemma_single_expert.yaml in the code repo. The resolved config used for this specific run is also included in this model repo as training_config.yaml — load it with pyrallis to reproduce the run bit-for-bit:python train.py --config_path configs/yaml/train_gemma_single_expert.yaml1python train.py --config_path configs/yaml/revert_gemma_checkpoint.yaml \
2 --revert.checkpoint_path $(huggingface-cli download sanchitahuja205/xelm-gemma-4b-slavic-expert) \
3 --revert.revert_output_path ./revertedxelm-gemma-4b-dense repo README for the full soup recipe.1@misc{ahuja2026parameteralignmentmitigatescatastrophic,
2 title={Parameter Alignment Mitigates Catastrophic Forgetting in Multilingual Expert Language Models},
3 author={Sanchit Ahuja and Terra Blevins},
4 year={2026},
5 eprint={2606.00284},
6 archivePrefix={arXiv},
7 primaryClass={cs.CL},
8 url={https://arxiv.org/abs/2606.00284},
9}