Skip to content
/ SLAM Public

SLAM: Towards Efficient Multilingual Reasoning via Selective Language Alignment

Notifications You must be signed in to change notification settings

fmm170/SLAM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 

Repository files navigation

SLAM

SLAM: Towards Efficient Multilingual Reasoning via Selective Language Alignment

πŸ“ƒ Paper | πŸ€— Huggingface

🌚 Overview

  • This repository shows our latest work on the efficient expansion of model multilingual capabilities.

πŸ› οΈ Installation

To install this repository, follow these steps:

git clone [email protected]:fmm170/SLAM.git
cd SLAM/LLaMA-Factory
pip install -r requirements.txt
cd transformers
pip install -e .

πŸ€ Training

  • finetuning MetaMath-7B / MetaMath-13B
bash MetaMath-7b.sh
bash MetaMath-13b.sh

πŸ” Evaluation

We use the evaluation code provided by Chen et al.

  • evaluating with mGSM
cd evaluate

bash mgsm.sh
  • evaluating with mSVAMP
cd evaluate

bash msvamp.sh
  • evaluating with xCSQA
cd evaluate

bash evaluate_xcsqa6.sh

πŸ› Bugs or Questions?

If you have any questions related to the code or the paper, feel free to email [email protected]

About

SLAM: Towards Efficient Multilingual Reasoning via Selective Language Alignment

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published