TinyLlama-CPT / multilinguality_megatron /ablation_eval_pipeline.sh
sonalsannigrahi's picture
Upload 382 files (#1)
a93e458 verified
# bash script to evaluate a given model on wmt23, flores, ape, gec, standard benchmarks, and perplexity, sequentially
# wmt23, flores, ape, gec, standard benchmarks use tower-eval
TOWER_EVAL_DIR=/mnt/data/jpombal/tower-eval
cd $TOWER_EVAL_DIR
source $TOWER_EVAL_DIR/tower-eval-env/bin/activate
CUDA_VISIBLE_DEVICES=0 python $TOWER_EVAL_DIR/tower_eval/cli.py lm_eval --config /mnt/data/jpombal/tower-eval/local_configs/cp_ablations/std_bench.yaml &
CUDA_VISIBLE_DEVICES=1 python $TOWER_EVAL_DIR/tower_eval/cli.py gen-eval --config /mnt/data/jpombal/tower-eval/local_configs/cp_ablations/mt.yaml &
CUDA_VISIBLE_DEVICES=2 python $TOWER_EVAL_DIR/tower_eval/cli.py evaluate --config /mnt/data/jpombal/tower-eval/local_configs/cp_ablations/perplexity_flavio_final.yaml &
#CUDA_VISIBLE_DEVICES=3 python $TOWER_EVAL_DIR/tower_eval/cli.py evaluate --config /mnt/data/jpombal/tower-eval/local_configs/cp_ablations/perplexity_flaviarlos_sft.yaml &
#CUDA_VISIBLE_DEVICES=4 python $TOWER_EVAL_DIR/tower_eval/cli.py evaluate --config /mnt/data/jpombal/tower-eval/local_configs/cp_ablations/perplexity_carlos_no_mt_annealed_sft.yaml
# CUDA_VISIBLE_DEVICES=2 python $TOWER_EVAL_DIR/tower_eval/cli.py evaluate --config /mnt/data/jpombal/tower-eval/local_configs/cp_ablations/perplexity_porfirio_pre_annealing.yaml &
# CUDA_VISIBLE_DEVICES=3 python $TOWER_EVAL_DIR/tower_eval/cli.py evaluate --config /mnt/data/jpombal/tower-eval/local_configs/cp_ablations/perplexity_porfirio_sft.yaml &
# CUDA_VISIBLE_DEVICES=4 python $TOWER_EVAL_DIR/tower_eval/cli.py evaluate --config /mnt/data/jpombal/tower-eval/local_configs/cp_ablations/perplexity_carlos_sft.yaml &
# CUDA_VISIBLE_DEVICES=5 python $TOWER_EVAL_DIR/tower_eval/cli.py evaluate --config /mnt/data/jpombal/tower-eval/local_configs/cp_ablations/perplexity_carlos_annealed_sft.yaml &
# CUDA_VISIBLE_DEVICES=6 python $TOWER_EVAL_DIR/tower_eval/cli.py evaluate --config /mnt/data/jpombal/tower-eval/local_configs/cp_ablations/perplexity_flavio_sft.yaml &
# CUDA_VISIBLE_DEVICES=7 python $TOWER_EVAL_DIR/tower_eval/cli.py evaluate --config /mnt/data/jpombal/tower-eval/local_configs/cp_ablations/perplexity_porfirio_annealed.yaml &