- Add the path to model weights (
MODEL_PATHvariable) inmodels/llama.py - Check
*.yamlfile in configs
Experiment variables
- exp_name=
gsm8k(replace with the filename of *.yaml) - exp_path=
experiments/*(where the experiment results are stored) - exp_config=
configs/*(path to the *.yaml file, e.g. configs/cot/badchain/llama3_70b)
Standard:
python3 cot_eval.py --exp_name $exp_name --exp_path $exp_path --exp_config $exp_configDDP
srun python3 cot_eval.py --exp_name $exp_name --exp_path $exp_path --exp_config $exp_config --ddpWe thank the authors of the following repositories for their excellent work: BadChain