Commit
·
0c49c58
1
Parent(s):
4332999
Add eval scripts
Browse files- eval_13b.sh +22 -0
- eval_3b.sh +22 -0
- eval_8b.sh +22 -0
- eval_bloom_array.sh +122 -0
- eval_bloom_finnish_array.sh +137 -0
- eval_gpt2.sh +22 -0
- eval_gpt2_large.sh +22 -0
- eval_gpt2_medium.sh +22 -0
- eval_gpt_fi.sh +22 -0
- eval_gpt_fi_distill.sh +22 -0
- eval_gpt_fi_small.sh +22 -0
- eval_large.sh +23 -0
- eval_medium.sh +23 -0
- eval_small.sh +23 -0
- eval_xl.sh +23 -0
eval_13b.sh
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/bin/bash
|
| 2 |
+
#SBATCH --nodes=1
|
| 3 |
+
#SBATCH --ntasks-per-node=1
|
| 4 |
+
#SBATCH -p small-g
|
| 5 |
+
#SBATCH -t 24:00:00
|
| 6 |
+
#SBATCH --gpus-per-node=mi250:1
|
| 7 |
+
#SBATCH --exclusive=user
|
| 8 |
+
#SBATCH --hint=nomultithread
|
| 9 |
+
#SBATCH --account=project_462000241
|
| 10 |
+
#SBATCH -o logs/%j.out
|
| 11 |
+
#SBATCH -e logs/%j.err
|
| 12 |
+
|
| 13 |
+
source /pfs/lustrep2/scratch/project_462000241/muennighoff/lmevallatest/venv/bin/activate
|
| 14 |
+
|
| 15 |
+
cd /pfs/lustrep2/scratch/project_462000241/muennighoff/lmevallatest/lm-evaluation-harness
|
| 16 |
+
|
| 17 |
+
python main.py \
|
| 18 |
+
--model hf-causal \
|
| 19 |
+
--model_args pretrained=gpt3-finnish-13B \
|
| 20 |
+
--tasks bigbench_emotions,bigbench_sentence_ambiguity,bigbench_misconceptions,bigbench_similarities_abstraction,bigbench_cause_and_effect_one_sentence_no_prompt,bigbench_cause_and_effect_one_sentence,bigbench_cause_and_effect_two_sentences,bigbench_intent_recognition,bigbench_paraphrase,bigbench_hhh_alignment_helpful,bigbench_hhh_alignment_other,bigbench_hhh_alignment_honest,bigbench_hhh_alignment_harmless,bigbench_general_knowledge,bigbench_analogies,bigbench_arithmetic_3_digit_subtraction,bigbench_arithmetic_3_digit_addition,bigbench_arithmetic_2_digit_subtraction,bigbench_arithmetic_1_digit_multiplication,bigbench_arithmetic_1_digit_division,bigbench_arithmetic_5_digit_addition,bigbench_arithmetic_4_digit_division,bigbench_arithmetic_4_digit_subtraction,bigbench_arithmetic_1_digit_addition,bigbench_arithmetic_2_digit_multiplication,bigbench_arithmetic_1_digit_subtraction,bigbench_arithmetic_5_digit_division,bigbench_arithmetic_5_digit_multiplication,bigbench_arithmetic_3_digit_multiplication,bigbench_arithmetic_5_digit_subtraction,bigbench_arithmetic_4_digit_addition,bigbench_arithmetic_2_digit_addition,bigbench_arithmetic_4_digit_multiplication,bigbench_arithmetic_2_digit_division,bigbench_arithmetic_3_digit_division,bigbench_empirical_judgments \
|
| 21 |
+
--device cuda:0 \
|
| 22 |
+
--output_path results/gpt3_finnish_13b_bigbench_3shot.json --num_fewshot 3
|
eval_3b.sh
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/bin/bash
|
| 2 |
+
#SBATCH --nodes=1
|
| 3 |
+
#SBATCH --ntasks-per-node=1
|
| 4 |
+
#SBATCH -p small-g
|
| 5 |
+
#SBATCH -t 24:00:00
|
| 6 |
+
#SBATCH --gpus-per-node=mi250:1
|
| 7 |
+
#SBATCH --exclusive=user
|
| 8 |
+
#SBATCH --hint=nomultithread
|
| 9 |
+
#SBATCH --account=project_462000241
|
| 10 |
+
#SBATCH -o logs/%j.out
|
| 11 |
+
#SBATCH -e logs/%j.err
|
| 12 |
+
|
| 13 |
+
source /pfs/lustrep2/scratch/project_462000241/muennighoff/lmevallatest/venv/bin/activate
|
| 14 |
+
|
| 15 |
+
cd /pfs/lustrep2/scratch/project_462000241/muennighoff/lmevallatest/lm-evaluation-harness
|
| 16 |
+
|
| 17 |
+
python main.py \
|
| 18 |
+
--model hf-causal \
|
| 19 |
+
--model_args pretrained=gpt3-finnish-3B \
|
| 20 |
+
--tasks bigbench_emotions,bigbench_sentence_ambiguity,bigbench_misconceptions,bigbench_similarities_abstraction,bigbench_cause_and_effect_one_sentence_no_prompt,bigbench_cause_and_effect_one_sentence,bigbench_cause_and_effect_two_sentences,bigbench_intent_recognition,bigbench_paraphrase,bigbench_hhh_alignment_helpful,bigbench_hhh_alignment_other,bigbench_hhh_alignment_honest,bigbench_hhh_alignment_harmless,bigbench_general_knowledge,bigbench_analogies,bigbench_arithmetic_3_digit_subtraction,bigbench_arithmetic_3_digit_addition,bigbench_arithmetic_2_digit_subtraction,bigbench_arithmetic_1_digit_multiplication,bigbench_arithmetic_1_digit_division,bigbench_arithmetic_5_digit_addition,bigbench_arithmetic_4_digit_division,bigbench_arithmetic_4_digit_subtraction,bigbench_arithmetic_1_digit_addition,bigbench_arithmetic_2_digit_multiplication,bigbench_arithmetic_1_digit_subtraction,bigbench_arithmetic_5_digit_division,bigbench_arithmetic_5_digit_multiplication,bigbench_arithmetic_3_digit_multiplication,bigbench_arithmetic_5_digit_subtraction,bigbench_arithmetic_4_digit_addition,bigbench_arithmetic_2_digit_addition,bigbench_arithmetic_4_digit_multiplication,bigbench_arithmetic_2_digit_division,bigbench_arithmetic_3_digit_division,bigbench_empirical_judgments \
|
| 21 |
+
--device cuda:0 \
|
| 22 |
+
--output_path results/gpt3_finnish_3b_bigbench_3shot.json --num_fewshot 3
|
eval_8b.sh
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/bin/bash
|
| 2 |
+
#SBATCH --nodes=1
|
| 3 |
+
#SBATCH --ntasks-per-node=1
|
| 4 |
+
#SBATCH -p small-g
|
| 5 |
+
#SBATCH -t 24:00:00
|
| 6 |
+
#SBATCH --gpus-per-node=mi250:1
|
| 7 |
+
#SBATCH --exclusive=user
|
| 8 |
+
#SBATCH --hint=nomultithread
|
| 9 |
+
#SBATCH --account=project_462000241
|
| 10 |
+
#SBATCH -o logs/%j.out
|
| 11 |
+
#SBATCH -e logs/%j.err
|
| 12 |
+
|
| 13 |
+
source /pfs/lustrep2/scratch/project_462000241/muennighoff/lmevallatest/venv/bin/activate
|
| 14 |
+
|
| 15 |
+
cd /pfs/lustrep2/scratch/project_462000241/muennighoff/lmevallatest/lm-evaluation-harness
|
| 16 |
+
|
| 17 |
+
python main.py \
|
| 18 |
+
--model hf-causal \
|
| 19 |
+
--model_args pretrained=gpt3-finnish-8B \
|
| 20 |
+
--tasks bigbench_emotions,bigbench_sentence_ambiguity,bigbench_misconceptions,bigbench_similarities_abstraction,bigbench_cause_and_effect_one_sentence_no_prompt,bigbench_cause_and_effect_one_sentence,bigbench_cause_and_effect_two_sentences,bigbench_intent_recognition,bigbench_paraphrase,bigbench_hhh_alignment_helpful,bigbench_hhh_alignment_other,bigbench_hhh_alignment_honest,bigbench_hhh_alignment_harmless,bigbench_general_knowledge,bigbench_analogies,bigbench_arithmetic_3_digit_subtraction,bigbench_arithmetic_3_digit_addition,bigbench_arithmetic_2_digit_subtraction,bigbench_arithmetic_1_digit_multiplication,bigbench_arithmetic_1_digit_division,bigbench_arithmetic_5_digit_addition,bigbench_arithmetic_4_digit_division,bigbench_arithmetic_4_digit_subtraction,bigbench_arithmetic_1_digit_addition,bigbench_arithmetic_2_digit_multiplication,bigbench_arithmetic_1_digit_subtraction,bigbench_arithmetic_5_digit_division,bigbench_arithmetic_5_digit_multiplication,bigbench_arithmetic_3_digit_multiplication,bigbench_arithmetic_5_digit_subtraction,bigbench_arithmetic_4_digit_addition,bigbench_arithmetic_2_digit_addition,bigbench_arithmetic_4_digit_multiplication,bigbench_arithmetic_2_digit_division,bigbench_arithmetic_3_digit_division,bigbench_empirical_judgments \
|
| 21 |
+
--device cuda:0 \
|
| 22 |
+
--output_path results/gpt3_finnish_8b_bigbench_3shot.json --num_fewshot 3
|
eval_bloom_array.sh
ADDED
|
@@ -0,0 +1,122 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/bin/bash
|
| 2 |
+
#SBATCH --nodes=1
|
| 3 |
+
#SBATCH --ntasks-per-node=1
|
| 4 |
+
#SBATCH -p small-g
|
| 5 |
+
#SBATCH -t 24:00:00
|
| 6 |
+
#SBATCH --gpus-per-node=mi250:1
|
| 7 |
+
#SBATCH --exclusive=user
|
| 8 |
+
#SBATCH --hint=nomultithread
|
| 9 |
+
#SBATCH --account=project_462000241
|
| 10 |
+
#SBATCH -o logs/%j.out
|
| 11 |
+
#SBATCH -e logs/%j.err
|
| 12 |
+
|
| 13 |
+
source /pfs/lustrep2/scratch/project_462000241/muennighoff/lmevallatest/venv/bin/activate
|
| 14 |
+
|
| 15 |
+
cd /pfs/lustrep2/scratch/project_462000241/muennighoff/
|
| 16 |
+
|
| 17 |
+
export HF_DATASETS_OFFLINE=1
|
| 18 |
+
export HF_DATASETS_CACHE=/pfs/lustrep2/scratch/project_462000185/muennighoff/ds_cache
|
| 19 |
+
|
| 20 |
+
# Evaluation to run
|
| 21 |
+
CONFIGS=(
|
| 22 |
+
bigbench_analogies
|
| 23 |
+
bigbench_arithmetic_1_digit_addition
|
| 24 |
+
bigbench_arithmetic_1_digit_division
|
| 25 |
+
bigbench_arithmetic_1_digit_multiplication
|
| 26 |
+
bigbench_arithmetic_1_digit_subtraction
|
| 27 |
+
bigbench_arithmetic_2_digit_addition
|
| 28 |
+
bigbench_arithmetic_2_digit_division
|
| 29 |
+
bigbench_arithmetic_2_digit_multiplication
|
| 30 |
+
bigbench_arithmetic_2_digit_subtraction
|
| 31 |
+
bigbench_arithmetic_3_digit_addition
|
| 32 |
+
bigbench_arithmetic_3_digit_division
|
| 33 |
+
bigbench_arithmetic_3_digit_multiplication
|
| 34 |
+
bigbench_arithmetic_3_digit_subtraction
|
| 35 |
+
bigbench_arithmetic_4_digit_addition
|
| 36 |
+
bigbench_arithmetic_4_digit_division
|
| 37 |
+
bigbench_arithmetic_4_digit_multiplication
|
| 38 |
+
bigbench_arithmetic_4_digit_subtraction
|
| 39 |
+
bigbench_arithmetic_5_digit_addition
|
| 40 |
+
bigbench_arithmetic_5_digit_division
|
| 41 |
+
bigbench_arithmetic_5_digit_multiplication
|
| 42 |
+
bigbench_arithmetic_5_digit_subtraction
|
| 43 |
+
bigbench_cause_and_effect_one_sentence
|
| 44 |
+
bigbench_cause_and_effect_one_sentence_no_prompt
|
| 45 |
+
bigbench_cause_and_effect_two_sentences
|
| 46 |
+
bigbench_emotions
|
| 47 |
+
bigbench_empirical_judgments
|
| 48 |
+
bigbench_general_knowledge
|
| 49 |
+
bigbench_hhh_alignment_harmless
|
| 50 |
+
bigbench_hhh_alignment_helpful
|
| 51 |
+
bigbench_hhh_alignment_honest
|
| 52 |
+
bigbench_hhh_alignment_other
|
| 53 |
+
bigbench_misconceptions
|
| 54 |
+
bigbench_paraphrase
|
| 55 |
+
bigbench_sentence_ambiguity
|
| 56 |
+
bigbench_similarities_abstraction
|
| 57 |
+
)
|
| 58 |
+
CONFIGSZ=(
|
| 59 |
+
bigbench_intent_recognition
|
| 60 |
+
)
|
| 61 |
+
|
| 62 |
+
CONFIGSX=(
|
| 63 |
+
bigbench_analogies
|
| 64 |
+
)
|
| 65 |
+
|
| 66 |
+
#CONFIGS=(
|
| 67 |
+
#bigbench_similarities_abstraction
|
| 68 |
+
#)
|
| 69 |
+
CONFIGSX=(
|
| 70 |
+
bigbench_cause_and_effect_one_sentence
|
| 71 |
+
bigbench_cause_and_effect_one_sentence_no_prompt
|
| 72 |
+
bigbench_cause_and_effect_two_sentences
|
| 73 |
+
bigbench_emotions
|
| 74 |
+
bigbench_empirical_judgments
|
| 75 |
+
bigbench_general_knowledge
|
| 76 |
+
bigbench_hhh_alignment_harmless
|
| 77 |
+
bigbench_hhh_alignment_helpful
|
| 78 |
+
bigbench_hhh_alignment_honest
|
| 79 |
+
bigbench_hhh_alignment_other
|
| 80 |
+
)
|
| 81 |
+
|
| 82 |
+
# Iterate through all possible combinations of config and run the jobs
|
| 83 |
+
for ((i=0; i<${#CONFIGS[@]}; i++)); do
|
| 84 |
+
eval_script="./eval_$i.slurm"
|
| 85 |
+
OUTPUT_PATH=results/bloom_176B_${CONFIGS[$i]}_1shot.json
|
| 86 |
+
cat <<EOT > $eval_script
|
| 87 |
+
#!/bin/bash
|
| 88 |
+
#SBATCH --nodes=1
|
| 89 |
+
#SBATCH --ntasks-per-node=1
|
| 90 |
+
#SBATCH -p standard-g
|
| 91 |
+
#SBATCH -t 48:00:00
|
| 92 |
+
#SBATCH --gpus-per-node=mi250:8
|
| 93 |
+
#SBATCH --exclusive=user
|
| 94 |
+
#SBATCH --hint=nomultithread
|
| 95 |
+
#SBATCH --account=project_462000241
|
| 96 |
+
#SBATCH -o logs/%j.out
|
| 97 |
+
#SBATCH -e logs/%j.err
|
| 98 |
+
|
| 99 |
+
source /pfs/lustrep2/scratch/project_462000241/muennighoff/lmevallatest/venv/bin/activate
|
| 100 |
+
|
| 101 |
+
cd /pfs/lustrep2/scratch/project_462000241/muennighoff/lmevallatest/lm-evaluation-harness
|
| 102 |
+
|
| 103 |
+
export HF_DATASETS_OFFLINE=1
|
| 104 |
+
export HF_DATASETS_CACHE=/pfs/lustrep2/scratch/project_462000185/muennighoff/ds_cache
|
| 105 |
+
|
| 106 |
+
python main.py \
|
| 107 |
+
--model hf-causal-experimental \
|
| 108 |
+
--model_args pretrained=/pfs/lustrep2/scratch/project_462000185/muennighoff/bloom \
|
| 109 |
+
--tasks ${CONFIGS[$i]} \
|
| 110 |
+
--device cuda:0 \
|
| 111 |
+
--output_path $OUTPUT_PATH \
|
| 112 |
+
--no_cache --num_fewshot 1
|
| 113 |
+
echo "END TIME: $(date)"
|
| 114 |
+
EOT
|
| 115 |
+
# Submit the job
|
| 116 |
+
sbatch $eval_script
|
| 117 |
+
# Sleep for a bit to avoid hitting the job submission limit
|
| 118 |
+
# sleep 0.1
|
| 119 |
+
done
|
| 120 |
+
|
| 121 |
+
|
| 122 |
+
echo "END TIME: $(date)"
|
eval_bloom_finnish_array.sh
ADDED
|
@@ -0,0 +1,137 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/bin/bash
|
| 2 |
+
#SBATCH --nodes=1
|
| 3 |
+
#SBATCH --ntasks-per-node=1
|
| 4 |
+
#SBATCH -p small-g
|
| 5 |
+
#SBATCH -t 24:00:00
|
| 6 |
+
#SBATCH --gpus-per-node=mi250:1
|
| 7 |
+
#SBATCH --exclusive=user
|
| 8 |
+
#SBATCH --hint=nomultithread
|
| 9 |
+
#SBATCH --account=project_462000241
|
| 10 |
+
#SBATCH -o logs/%j.out
|
| 11 |
+
#SBATCH -e logs/%j.err
|
| 12 |
+
|
| 13 |
+
source /pfs/lustrep2/scratch/project_462000241/muennighoff/lmevallatest/venv/bin/activate
|
| 14 |
+
|
| 15 |
+
cd /pfs/lustrep2/scratch/project_462000241/muennighoff/
|
| 16 |
+
|
| 17 |
+
export HF_DATASETS_OFFLINE=1
|
| 18 |
+
export HF_DATASETS_CACHE=/pfs/lustrep2/scratch/project_462000185/muennighoff/ds_cache
|
| 19 |
+
|
| 20 |
+
# Evaluation to run
|
| 21 |
+
CONFIGS=(
|
| 22 |
+
bigbench_analogies
|
| 23 |
+
bigbench_arithmetic_1_digit_addition
|
| 24 |
+
bigbench_arithmetic_1_digit_division
|
| 25 |
+
bigbench_arithmetic_1_digit_multiplication
|
| 26 |
+
bigbench_arithmetic_1_digit_subtraction
|
| 27 |
+
bigbench_arithmetic_2_digit_addition
|
| 28 |
+
bigbench_arithmetic_2_digit_division
|
| 29 |
+
bigbench_arithmetic_2_digit_multiplication
|
| 30 |
+
bigbench_arithmetic_2_digit_subtraction
|
| 31 |
+
bigbench_arithmetic_3_digit_addition
|
| 32 |
+
bigbench_arithmetic_3_digit_division
|
| 33 |
+
bigbench_arithmetic_3_digit_multiplication
|
| 34 |
+
bigbench_arithmetic_3_digit_subtraction
|
| 35 |
+
bigbench_arithmetic_4_digit_addition
|
| 36 |
+
bigbench_arithmetic_4_digit_division
|
| 37 |
+
bigbench_arithmetic_4_digit_multiplication
|
| 38 |
+
bigbench_arithmetic_4_digit_subtraction
|
| 39 |
+
bigbench_arithmetic_5_digit_addition
|
| 40 |
+
bigbench_arithmetic_5_digit_division
|
| 41 |
+
bigbench_arithmetic_5_digit_multiplication
|
| 42 |
+
bigbench_arithmetic_5_digit_subtraction
|
| 43 |
+
bigbench_cause_and_effect_one_sentence
|
| 44 |
+
bigbench_cause_and_effect_one_sentence_no_prompt
|
| 45 |
+
bigbench_cause_and_effect_two_sentences
|
| 46 |
+
bigbench_emotions
|
| 47 |
+
bigbench_empirical_judgments
|
| 48 |
+
bigbench_general_knowledge
|
| 49 |
+
bigbench_hhh_alignment_harmless
|
| 50 |
+
bigbench_hhh_alignment_helpful
|
| 51 |
+
bigbench_hhh_alignment_honest
|
| 52 |
+
bigbench_hhh_alignment_other
|
| 53 |
+
bigbench_misconceptions
|
| 54 |
+
bigbench_paraphrase
|
| 55 |
+
bigbench_sentence_ambiguity
|
| 56 |
+
bigbench_similarities_abstraction
|
| 57 |
+
)
|
| 58 |
+
CONFIGS=(
|
| 59 |
+
bigbench_intent_recognition
|
| 60 |
+
)
|
| 61 |
+
CONFIGSX=(
|
| 62 |
+
bigbench_arithmetic_1_digit_addition
|
| 63 |
+
bigbench_arithmetic_1_digit_division
|
| 64 |
+
bigbench_arithmetic_1_digit_multiplication
|
| 65 |
+
bigbench_arithmetic_1_digit_subtraction
|
| 66 |
+
bigbench_arithmetic_2_digit_addition
|
| 67 |
+
bigbench_arithmetic_2_digit_division
|
| 68 |
+
bigbench_arithmetic_2_digit_multiplication
|
| 69 |
+
bigbench_arithmetic_2_digit_subtraction
|
| 70 |
+
bigbench_arithmetic_3_digit_addition
|
| 71 |
+
bigbench_arithmetic_3_digit_division
|
| 72 |
+
bigbench_arithmetic_3_digit_multiplication
|
| 73 |
+
bigbench_arithmetic_3_digit_subtraction
|
| 74 |
+
bigbench_arithmetic_4_digit_addition
|
| 75 |
+
bigbench_arithmetic_4_digit_division
|
| 76 |
+
bigbench_arithmetic_4_digit_multiplication
|
| 77 |
+
bigbench_arithmetic_4_digit_subtraction
|
| 78 |
+
bigbench_arithmetic_5_digit_addition
|
| 79 |
+
bigbench_arithmetic_5_digit_division
|
| 80 |
+
bigbench_arithmetic_5_digit_multiplication
|
| 81 |
+
bigbench_arithmetic_5_digit_subtraction
|
| 82 |
+
)
|
| 83 |
+
|
| 84 |
+
CONFIGSX=(
|
| 85 |
+
bigbench_cause_and_effect_one_sentence
|
| 86 |
+
bigbench_cause_and_effect_one_sentence_no_prompt
|
| 87 |
+
bigbench_cause_and_effect_two_sentences
|
| 88 |
+
bigbench_emotions
|
| 89 |
+
bigbench_empirical_judgments
|
| 90 |
+
bigbench_general_knowledge
|
| 91 |
+
bigbench_hhh_alignment_harmless
|
| 92 |
+
bigbench_hhh_alignment_helpful
|
| 93 |
+
bigbench_hhh_alignment_honest
|
| 94 |
+
bigbench_hhh_alignment_other
|
| 95 |
+
)
|
| 96 |
+
|
| 97 |
+
# Iterate through all possible combinations of config and run the jobs
|
| 98 |
+
for ((i=0; i<${#CONFIGS[@]}; i++)); do
|
| 99 |
+
eval_script="./eval_$i.slurm"
|
| 100 |
+
OUTPUT_PATH=results/bloom_finnish_176B_${CONFIGS[$i]}_2shot.json
|
| 101 |
+
cat <<EOT > $eval_script
|
| 102 |
+
#!/bin/bash
|
| 103 |
+
#SBATCH --nodes=1
|
| 104 |
+
#SBATCH --ntasks-per-node=1
|
| 105 |
+
#SBATCH -p standard-g
|
| 106 |
+
#SBATCH -t 48:00:00
|
| 107 |
+
#SBATCH --gpus-per-node=mi250:8
|
| 108 |
+
#SBATCH --exclusive=user
|
| 109 |
+
#SBATCH --hint=nomultithread
|
| 110 |
+
#SBATCH --account=project_462000241
|
| 111 |
+
#SBATCH -o logs/%j.out
|
| 112 |
+
#SBATCH -e logs/%j.err
|
| 113 |
+
|
| 114 |
+
source /pfs/lustrep2/scratch/project_462000241/muennighoff/lmevallatest/venv/bin/activate
|
| 115 |
+
|
| 116 |
+
cd /pfs/lustrep2/scratch/project_462000241/muennighoff/lmevallatest/lm-evaluation-harness
|
| 117 |
+
|
| 118 |
+
export HF_DATASETS_OFFLINE=1
|
| 119 |
+
export HF_DATASETS_CACHE=/pfs/lustrep2/scratch/project_462000185/muennighoff/ds_cache
|
| 120 |
+
|
| 121 |
+
python main.py \
|
| 122 |
+
--model hf-causal-experimental \
|
| 123 |
+
--model_args pretrained=/pfs/lustrep2/scratch/project_462000185/muennighoff/bloom-finnish-176b \
|
| 124 |
+
--tasks ${CONFIGS[$i]} \
|
| 125 |
+
--device cuda:0 \
|
| 126 |
+
--output_path $OUTPUT_PATH \
|
| 127 |
+
--no_cache --num_fewshot 2
|
| 128 |
+
echo "END TIME: $(date)"
|
| 129 |
+
EOT
|
| 130 |
+
# Submit the job
|
| 131 |
+
sbatch $eval_script
|
| 132 |
+
# Sleep for a bit to avoid hitting the job submission limit
|
| 133 |
+
sleep 1
|
| 134 |
+
done
|
| 135 |
+
|
| 136 |
+
|
| 137 |
+
echo "END TIME: $(date)"
|
eval_gpt2.sh
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/bin/bash
|
| 2 |
+
#SBATCH --nodes=1
|
| 3 |
+
#SBATCH --ntasks-per-node=1
|
| 4 |
+
#SBATCH -p small-g
|
| 5 |
+
#SBATCH -t 24:00:00
|
| 6 |
+
#SBATCH --gpus-per-node=mi250:1
|
| 7 |
+
#SBATCH --exclusive=user
|
| 8 |
+
#SBATCH --hint=nomultithread
|
| 9 |
+
#SBATCH --account=project_462000241
|
| 10 |
+
#SBATCH -o logs/%j.out
|
| 11 |
+
#SBATCH -e logs/%j.err
|
| 12 |
+
|
| 13 |
+
source /pfs/lustrep2/scratch/project_462000241/muennighoff/lmevallatest/venv/bin/activate
|
| 14 |
+
|
| 15 |
+
cd /pfs/lustrep2/scratch/project_462000241/muennighoff/lmevallatest/lm-evaluation-harness
|
| 16 |
+
|
| 17 |
+
python main.py \
|
| 18 |
+
--model hf-causal \
|
| 19 |
+
--model_args pretrained=/pfs/lustrep2/scratch/project_462000185/muennighoff/bigcode-evaluation-harness/gpt2-finnish \
|
| 20 |
+
--tasks bigbench_emotions,bigbench_sentence_ambiguity,bigbench_misconceptions,bigbench_similarities_abstraction,bigbench_cause_and_effect_one_sentence_no_prompt,bigbench_cause_and_effect_one_sentence,bigbench_cause_and_effect_two_sentences,bigbench_intent_recognition,bigbench_paraphrase,bigbench_hhh_alignment_helpful,bigbench_hhh_alignment_other,bigbench_hhh_alignment_honest,bigbench_hhh_alignment_harmless,bigbench_general_knowledge,bigbench_analogies,bigbench_arithmetic_3_digit_subtraction,bigbench_arithmetic_3_digit_addition,bigbench_arithmetic_2_digit_subtraction,bigbench_arithmetic_1_digit_multiplication,bigbench_arithmetic_1_digit_division,bigbench_arithmetic_5_digit_addition,bigbench_arithmetic_4_digit_division,bigbench_arithmetic_4_digit_subtraction,bigbench_arithmetic_1_digit_addition,bigbench_arithmetic_2_digit_multiplication,bigbench_arithmetic_1_digit_subtraction,bigbench_arithmetic_5_digit_division,bigbench_arithmetic_5_digit_multiplication,bigbench_arithmetic_3_digit_multiplication,bigbench_arithmetic_5_digit_subtraction,bigbench_arithmetic_4_digit_addition,bigbench_arithmetic_2_digit_addition,bigbench_arithmetic_4_digit_multiplication,bigbench_arithmetic_2_digit_division,bigbench_arithmetic_3_digit_division,bigbench_empirical_judgments \
|
| 21 |
+
--device cuda:0 \
|
| 22 |
+
--output_path results/gpt2_finnish_bigbench_2shot.json --num_fewshot 2
|
eval_gpt2_large.sh
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/bin/bash
|
| 2 |
+
#SBATCH --nodes=1
|
| 3 |
+
#SBATCH --ntasks-per-node=1
|
| 4 |
+
#SBATCH -p small-g
|
| 5 |
+
#SBATCH -t 24:00:00
|
| 6 |
+
#SBATCH --gpus-per-node=mi250:1
|
| 7 |
+
#SBATCH --exclusive=user
|
| 8 |
+
#SBATCH --hint=nomultithread
|
| 9 |
+
#SBATCH --account=project_462000241
|
| 10 |
+
#SBATCH -o logs/%j.out
|
| 11 |
+
#SBATCH -e logs/%j.err
|
| 12 |
+
|
| 13 |
+
source /pfs/lustrep2/scratch/project_462000241/muennighoff/lmevallatest/venv/bin/activate
|
| 14 |
+
|
| 15 |
+
cd /pfs/lustrep2/scratch/project_462000241/muennighoff/lmevallatest/lm-evaluation-harness
|
| 16 |
+
|
| 17 |
+
python main.py \
|
| 18 |
+
--model hf-causal \
|
| 19 |
+
--model_args pretrained=/pfs/lustrep2/scratch/project_462000185/muennighoff/bigcode-evaluation-harness/gpt2-large-finnish \
|
| 20 |
+
--tasks bigbench_emotions,bigbench_sentence_ambiguity,bigbench_misconceptions,bigbench_similarities_abstraction,bigbench_cause_and_effect_one_sentence_no_prompt,bigbench_cause_and_effect_one_sentence,bigbench_cause_and_effect_two_sentences,bigbench_intent_recognition,bigbench_paraphrase,bigbench_hhh_alignment_helpful,bigbench_hhh_alignment_other,bigbench_hhh_alignment_honest,bigbench_hhh_alignment_harmless,bigbench_general_knowledge,bigbench_analogies,bigbench_arithmetic_3_digit_subtraction,bigbench_arithmetic_3_digit_addition,bigbench_arithmetic_2_digit_subtraction,bigbench_arithmetic_1_digit_multiplication,bigbench_arithmetic_1_digit_division,bigbench_arithmetic_5_digit_addition,bigbench_arithmetic_4_digit_division,bigbench_arithmetic_4_digit_subtraction,bigbench_arithmetic_1_digit_addition,bigbench_arithmetic_2_digit_multiplication,bigbench_arithmetic_1_digit_subtraction,bigbench_arithmetic_5_digit_division,bigbench_arithmetic_5_digit_multiplication,bigbench_arithmetic_3_digit_multiplication,bigbench_arithmetic_5_digit_subtraction,bigbench_arithmetic_4_digit_addition,bigbench_arithmetic_2_digit_addition,bigbench_arithmetic_4_digit_multiplication,bigbench_arithmetic_2_digit_division,bigbench_arithmetic_3_digit_division,bigbench_empirical_judgments \
|
| 21 |
+
--device cuda:0 \
|
| 22 |
+
--output_path results/gpt2_finnish_large_bigbench_2shot.json --num_fewshot 2
|
eval_gpt2_medium.sh
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/bin/bash
|
| 2 |
+
#SBATCH --nodes=1
|
| 3 |
+
#SBATCH --ntasks-per-node=1
|
| 4 |
+
#SBATCH -p small-g
|
| 5 |
+
#SBATCH -t 24:00:00
|
| 6 |
+
#SBATCH --gpus-per-node=mi250:1
|
| 7 |
+
#SBATCH --exclusive=user
|
| 8 |
+
#SBATCH --hint=nomultithread
|
| 9 |
+
#SBATCH --account=project_462000241
|
| 10 |
+
#SBATCH -o logs/%j.out
|
| 11 |
+
#SBATCH -e logs/%j.err
|
| 12 |
+
|
| 13 |
+
source /pfs/lustrep2/scratch/project_462000241/muennighoff/lmevallatest/venv/bin/activate
|
| 14 |
+
|
| 15 |
+
cd /pfs/lustrep2/scratch/project_462000241/muennighoff/lmevallatest/lm-evaluation-harness
|
| 16 |
+
|
| 17 |
+
python main.py \
|
| 18 |
+
--model hf-causal \
|
| 19 |
+
--model_args pretrained=/pfs/lustrep2/scratch/project_462000185/muennighoff/bigcode-evaluation-harness/gpt2-medium-finnish \
|
| 20 |
+
--tasks bigbench_emotions,bigbench_sentence_ambiguity,bigbench_misconceptions,bigbench_similarities_abstraction,bigbench_cause_and_effect_one_sentence_no_prompt,bigbench_cause_and_effect_one_sentence,bigbench_cause_and_effect_two_sentences,bigbench_intent_recognition,bigbench_paraphrase,bigbench_hhh_alignment_helpful,bigbench_hhh_alignment_other,bigbench_hhh_alignment_honest,bigbench_hhh_alignment_harmless,bigbench_general_knowledge,bigbench_analogies,bigbench_arithmetic_3_digit_subtraction,bigbench_arithmetic_3_digit_addition,bigbench_arithmetic_2_digit_subtraction,bigbench_arithmetic_1_digit_multiplication,bigbench_arithmetic_1_digit_division,bigbench_arithmetic_5_digit_addition,bigbench_arithmetic_4_digit_division,bigbench_arithmetic_4_digit_subtraction,bigbench_arithmetic_1_digit_addition,bigbench_arithmetic_2_digit_multiplication,bigbench_arithmetic_1_digit_subtraction,bigbench_arithmetic_5_digit_division,bigbench_arithmetic_5_digit_multiplication,bigbench_arithmetic_3_digit_multiplication,bigbench_arithmetic_5_digit_subtraction,bigbench_arithmetic_4_digit_addition,bigbench_arithmetic_2_digit_addition,bigbench_arithmetic_4_digit_multiplication,bigbench_arithmetic_2_digit_division,bigbench_arithmetic_3_digit_division,bigbench_empirical_judgments \
|
| 21 |
+
--device cuda:0 \
|
| 22 |
+
--output_path results/gpt2_finnish_medium_bigbench_1shot.json --num_fewshot 1
|
eval_gpt_fi.sh
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/bin/bash
|
| 2 |
+
#SBATCH --nodes=1
|
| 3 |
+
#SBATCH --ntasks-per-node=1
|
| 4 |
+
#SBATCH -p small-g
|
| 5 |
+
#SBATCH -t 24:00:00
|
| 6 |
+
#SBATCH --gpus-per-node=mi250:1
|
| 7 |
+
#SBATCH --exclusive=user
|
| 8 |
+
#SBATCH --hint=nomultithread
|
| 9 |
+
#SBATCH --account=project_462000241
|
| 10 |
+
#SBATCH -o logs/%j.out
|
| 11 |
+
#SBATCH -e logs/%j.err
|
| 12 |
+
|
| 13 |
+
source /pfs/lustrep2/scratch/project_462000241/muennighoff/lmevallatest/venv/bin/activate
|
| 14 |
+
|
| 15 |
+
cd /pfs/lustrep2/scratch/project_462000241/muennighoff/lmevallatest/lm-evaluation-harness
|
| 16 |
+
|
| 17 |
+
python main.py \
|
| 18 |
+
--model hf-causal \
|
| 19 |
+
--model_args pretrained=/pfs/lustrep2/scratch/project_462000185/muennighoff/bigcode-evaluation-harness/gpt-fi \
|
| 20 |
+
--tasks bigbench_emotions,bigbench_sentence_ambiguity,bigbench_misconceptions,bigbench_similarities_abstraction,bigbench_cause_and_effect_one_sentence_no_prompt,bigbench_cause_and_effect_one_sentence,bigbench_cause_and_effect_two_sentences,bigbench_intent_recognition,bigbench_paraphrase,bigbench_hhh_alignment_helpful,bigbench_hhh_alignment_other,bigbench_hhh_alignment_honest,bigbench_hhh_alignment_harmless,bigbench_general_knowledge,bigbench_analogies,bigbench_arithmetic_3_digit_subtraction,bigbench_arithmetic_3_digit_addition,bigbench_arithmetic_2_digit_subtraction,bigbench_arithmetic_1_digit_multiplication,bigbench_arithmetic_1_digit_division,bigbench_arithmetic_5_digit_addition,bigbench_arithmetic_4_digit_division,bigbench_arithmetic_4_digit_subtraction,bigbench_arithmetic_1_digit_addition,bigbench_arithmetic_2_digit_multiplication,bigbench_arithmetic_1_digit_subtraction,bigbench_arithmetic_5_digit_division,bigbench_arithmetic_5_digit_multiplication,bigbench_arithmetic_3_digit_multiplication,bigbench_arithmetic_5_digit_subtraction,bigbench_arithmetic_4_digit_addition,bigbench_arithmetic_2_digit_addition,bigbench_arithmetic_4_digit_multiplication,bigbench_arithmetic_2_digit_division,bigbench_arithmetic_3_digit_division,bigbench_empirical_judgments \
|
| 21 |
+
--device cuda:0 \
|
| 22 |
+
--output_path results/gpt_fi_bigbench_1shot.json --num_fewshot 1
|
eval_gpt_fi_distill.sh
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/bin/bash
|
| 2 |
+
#SBATCH --nodes=1
|
| 3 |
+
#SBATCH --ntasks-per-node=1
|
| 4 |
+
#SBATCH -p small-g
|
| 5 |
+
#SBATCH -t 24:00:00
|
| 6 |
+
#SBATCH --gpus-per-node=mi250:1
|
| 7 |
+
#SBATCH --exclusive=user
|
| 8 |
+
#SBATCH --hint=nomultithread
|
| 9 |
+
#SBATCH --account=project_462000241
|
| 10 |
+
#SBATCH -o logs/%j.out
|
| 11 |
+
#SBATCH -e logs/%j.err
|
| 12 |
+
|
| 13 |
+
source /pfs/lustrep2/scratch/project_462000241/muennighoff/lmevallatest/venv/bin/activate
|
| 14 |
+
|
| 15 |
+
cd /pfs/lustrep2/scratch/project_462000241/muennighoff/lmevallatest/lm-evaluation-harness
|
| 16 |
+
|
| 17 |
+
python main.py \
|
| 18 |
+
--model hf-causal \
|
| 19 |
+
--model_args pretrained=gpt-fi-distill \
|
| 20 |
+
--tasks bigbench_emotions,bigbench_sentence_ambiguity,bigbench_misconceptions,bigbench_similarities_abstraction,bigbench_cause_and_effect_one_sentence_no_prompt,bigbench_cause_and_effect_one_sentence,bigbench_cause_and_effect_two_sentences,bigbench_intent_recognition,bigbench_paraphrase,bigbench_hhh_alignment_helpful,bigbench_hhh_alignment_other,bigbench_hhh_alignment_honest,bigbench_hhh_alignment_harmless,bigbench_general_knowledge,bigbench_analogies,bigbench_arithmetic_3_digit_subtraction,bigbench_arithmetic_3_digit_addition,bigbench_arithmetic_2_digit_subtraction,bigbench_arithmetic_1_digit_multiplication,bigbench_arithmetic_1_digit_division,bigbench_arithmetic_5_digit_addition,bigbench_arithmetic_4_digit_division,bigbench_arithmetic_4_digit_subtraction,bigbench_arithmetic_1_digit_addition,bigbench_arithmetic_2_digit_multiplication,bigbench_arithmetic_1_digit_subtraction,bigbench_arithmetic_5_digit_division,bigbench_arithmetic_5_digit_multiplication,bigbench_arithmetic_3_digit_multiplication,bigbench_arithmetic_5_digit_subtraction,bigbench_arithmetic_4_digit_addition,bigbench_arithmetic_2_digit_addition,bigbench_arithmetic_4_digit_multiplication,bigbench_arithmetic_2_digit_division,bigbench_arithmetic_3_digit_division,bigbench_empirical_judgments \
|
| 21 |
+
--device cuda:0 \
|
| 22 |
+
--output_path results/gpt_fi_distill_bigbench_3shot.json --num_fewshot 3
|
eval_gpt_fi_small.sh
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/bin/bash
|
| 2 |
+
#SBATCH --nodes=1
|
| 3 |
+
#SBATCH --ntasks-per-node=1
|
| 4 |
+
#SBATCH -p small-g
|
| 5 |
+
#SBATCH -t 24:00:00
|
| 6 |
+
#SBATCH --gpus-per-node=mi250:1
|
| 7 |
+
#SBATCH --exclusive=user
|
| 8 |
+
#SBATCH --hint=nomultithread
|
| 9 |
+
#SBATCH --account=project_462000241
|
| 10 |
+
#SBATCH -o logs/%j.out
|
| 11 |
+
#SBATCH -e logs/%j.err
|
| 12 |
+
|
| 13 |
+
source /pfs/lustrep2/scratch/project_462000241/muennighoff/lmevallatest/venv/bin/activate
|
| 14 |
+
|
| 15 |
+
cd /pfs/lustrep2/scratch/project_462000241/muennighoff/lmevallatest/lm-evaluation-harness
|
| 16 |
+
|
| 17 |
+
python main.py \
|
| 18 |
+
--model hf-causal \
|
| 19 |
+
--model_args pretrained=gpt-fi-small \
|
| 20 |
+
--tasks bigbench_emotions,bigbench_sentence_ambiguity,bigbench_misconceptions,bigbench_similarities_abstraction,bigbench_cause_and_effect_one_sentence_no_prompt,bigbench_cause_and_effect_one_sentence,bigbench_cause_and_effect_two_sentences,bigbench_intent_recognition,bigbench_paraphrase,bigbench_hhh_alignment_helpful,bigbench_hhh_alignment_other,bigbench_hhh_alignment_honest,bigbench_hhh_alignment_harmless,bigbench_general_knowledge,bigbench_analogies,bigbench_arithmetic_3_digit_subtraction,bigbench_arithmetic_3_digit_addition,bigbench_arithmetic_2_digit_subtraction,bigbench_arithmetic_1_digit_multiplication,bigbench_arithmetic_1_digit_division,bigbench_arithmetic_5_digit_addition,bigbench_arithmetic_4_digit_division,bigbench_arithmetic_4_digit_subtraction,bigbench_arithmetic_1_digit_addition,bigbench_arithmetic_2_digit_multiplication,bigbench_arithmetic_1_digit_subtraction,bigbench_arithmetic_5_digit_division,bigbench_arithmetic_5_digit_multiplication,bigbench_arithmetic_3_digit_multiplication,bigbench_arithmetic_5_digit_subtraction,bigbench_arithmetic_4_digit_addition,bigbench_arithmetic_2_digit_addition,bigbench_arithmetic_4_digit_multiplication,bigbench_arithmetic_2_digit_division,bigbench_arithmetic_3_digit_division,bigbench_empirical_judgments \
|
| 21 |
+
--device cuda:0 \
|
| 22 |
+
--output_path results/gpt_fi_small_bigbench_0shot.json
|
eval_large.sh
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/bin/bash
|
| 2 |
+
#SBATCH --nodes=1
|
| 3 |
+
#SBATCH --ntasks-per-node=1
|
| 4 |
+
#SBATCH -p small-g
|
| 5 |
+
#SBATCH -t 24:00:00
|
| 6 |
+
#SBATCH --gpus-per-node=mi250:1
|
| 7 |
+
#SBATCH --exclusive=user
|
| 8 |
+
#SBATCH --hint=nomultithread
|
| 9 |
+
#SBATCH --account=project_462000241
|
| 10 |
+
#SBATCH -o logs/%j.out
|
| 11 |
+
#SBATCH -e logs/%j.err
|
| 12 |
+
|
| 13 |
+
source /pfs/lustrep2/scratch/project_462000241/muennighoff/lmevallatest/venv/bin/activate
|
| 14 |
+
|
| 15 |
+
cd /pfs/lustrep2/scratch/project_462000241/muennighoff/lmevallatest/lm-evaluation-harness
|
| 16 |
+
|
| 17 |
+
python main.py \
|
| 18 |
+
--model hf-causal \
|
| 19 |
+
--model_args pretrained=gpt3-finnish-large \
|
| 20 |
+
--tasks bigbench_emotions,bigbench_sentence_ambiguity,bigbench_misconceptions,bigbench_similarities_abstraction,bigbench_cause_and_effect_one_sentence_no_prompt,bigbench_cause_and_effect_one_sentence,bigbench_cause_and_effect_two_sentences,bigbench_intent_recognition,bigbench_paraphrase,bigbench_hhh_alignment_helpful,bigbench_hhh_alignment_other,bigbench_hhh_alignment_honest,bigbench_hhh_alignment_harmless,bigbench_general_knowledge,bigbench_analogies,bigbench_arithmetic_3_digit_subtraction,bigbench_arithmetic_3_digit_addition,bigbench_arithmetic_2_digit_subtraction,bigbench_arithmetic_1_digit_multiplication,bigbench_arithmetic_1_digit_division,bigbench_arithmetic_5_digit_addition,bigbench_arithmetic_4_digit_division,bigbench_arithmetic_4_digit_subtraction,bigbench_arithmetic_1_digit_addition,bigbench_arithmetic_2_digit_multiplication,bigbench_arithmetic_1_digit_subtraction,bigbench_arithmetic_5_digit_division,bigbench_arithmetic_5_digit_multiplication,bigbench_arithmetic_3_digit_multiplication,bigbench_arithmetic_5_digit_subtraction,bigbench_arithmetic_4_digit_addition,bigbench_arithmetic_2_digit_addition,bigbench_arithmetic_4_digit_multiplication,bigbench_arithmetic_2_digit_division,bigbench_arithmetic_3_digit_division,bigbench_empirical_judgments \
|
| 21 |
+
--device cuda:0 \
|
| 22 |
+
--output_path results/gpt3_finnish_large_bigbench_3shot.json \
|
| 23 |
+
--num_fewshot 3
|
eval_medium.sh
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/bin/bash
|
| 2 |
+
#SBATCH --nodes=1
|
| 3 |
+
#SBATCH --ntasks-per-node=1
|
| 4 |
+
#SBATCH -p small-g
|
| 5 |
+
#SBATCH -t 24:00:00
|
| 6 |
+
#SBATCH --gpus-per-node=mi250:1
|
| 7 |
+
#SBATCH --exclusive=user
|
| 8 |
+
#SBATCH --hint=nomultithread
|
| 9 |
+
#SBATCH --account=project_462000241
|
| 10 |
+
#SBATCH -o logs/%j.out
|
| 11 |
+
#SBATCH -e logs/%j.err
|
| 12 |
+
|
| 13 |
+
source /pfs/lustrep2/scratch/project_462000241/muennighoff/lmevallatest/venv/bin/activate
|
| 14 |
+
|
| 15 |
+
cd /pfs/lustrep2/scratch/project_462000241/muennighoff/lmevallatest/lm-evaluation-harness
|
| 16 |
+
|
| 17 |
+
python main.py \
|
| 18 |
+
--model hf-causal \
|
| 19 |
+
--model_args pretrained=gpt3-finnish-medium \
|
| 20 |
+
--tasks bigbench_emotions,bigbench_sentence_ambiguity,bigbench_misconceptions,bigbench_similarities_abstraction,bigbench_cause_and_effect_one_sentence_no_prompt,bigbench_cause_and_effect_one_sentence,bigbench_cause_and_effect_two_sentences,bigbench_intent_recognition,bigbench_paraphrase,bigbench_hhh_alignment_helpful,bigbench_hhh_alignment_other,bigbench_hhh_alignment_honest,bigbench_hhh_alignment_harmless,bigbench_general_knowledge,bigbench_analogies,bigbench_arithmetic_3_digit_subtraction,bigbench_arithmetic_3_digit_addition,bigbench_arithmetic_2_digit_subtraction,bigbench_arithmetic_1_digit_multiplication,bigbench_arithmetic_1_digit_division,bigbench_arithmetic_5_digit_addition,bigbench_arithmetic_4_digit_division,bigbench_arithmetic_4_digit_subtraction,bigbench_arithmetic_1_digit_addition,bigbench_arithmetic_2_digit_multiplication,bigbench_arithmetic_1_digit_subtraction,bigbench_arithmetic_5_digit_division,bigbench_arithmetic_5_digit_multiplication,bigbench_arithmetic_3_digit_multiplication,bigbench_arithmetic_5_digit_subtraction,bigbench_arithmetic_4_digit_addition,bigbench_arithmetic_2_digit_addition,bigbench_arithmetic_4_digit_multiplication,bigbench_arithmetic_2_digit_division,bigbench_arithmetic_3_digit_division,bigbench_empirical_judgments \
|
| 21 |
+
--device cuda:0 \
|
| 22 |
+
--output_path results/gpt3_finnish_medium_bigbench_3shot.json \
|
| 23 |
+
--num_fewshot 3
|
eval_small.sh
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/bin/bash
|
| 2 |
+
#SBATCH --nodes=1
|
| 3 |
+
#SBATCH --ntasks-per-node=1
|
| 4 |
+
#SBATCH -p small-g
|
| 5 |
+
#SBATCH -t 24:00:00
|
| 6 |
+
#SBATCH --gpus-per-node=mi250:1
|
| 7 |
+
#SBATCH --exclusive=user
|
| 8 |
+
#SBATCH --hint=nomultithread
|
| 9 |
+
#SBATCH --account=project_462000241
|
| 10 |
+
#SBATCH -o logs/%j.out
|
| 11 |
+
#SBATCH -e logs/%j.err
|
| 12 |
+
|
| 13 |
+
source /pfs/lustrep2/scratch/project_462000241/muennighoff/lmevallatest/venv/bin/activate
|
| 14 |
+
|
| 15 |
+
cd /pfs/lustrep2/scratch/project_462000241/muennighoff/lmevallatest/lm-evaluation-harness
|
| 16 |
+
|
| 17 |
+
python main.py \
|
| 18 |
+
--model hf-causal \
|
| 19 |
+
--model_args pretrained=gpt3-finnish-small \
|
| 20 |
+
--tasks bigbench_emotions,bigbench_sentence_ambiguity,bigbench_misconceptions,bigbench_similarities_abstraction,bigbench_cause_and_effect_one_sentence_no_prompt,bigbench_cause_and_effect_one_sentence,bigbench_cause_and_effect_two_sentences,bigbench_intent_recognition,bigbench_paraphrase,bigbench_hhh_alignment_helpful,bigbench_hhh_alignment_other,bigbench_hhh_alignment_honest,bigbench_hhh_alignment_harmless,bigbench_general_knowledge,bigbench_analogies,bigbench_arithmetic_3_digit_subtraction,bigbench_arithmetic_3_digit_addition,bigbench_arithmetic_2_digit_subtraction,bigbench_arithmetic_1_digit_multiplication,bigbench_arithmetic_1_digit_division,bigbench_arithmetic_5_digit_addition,bigbench_arithmetic_4_digit_division,bigbench_arithmetic_4_digit_subtraction,bigbench_arithmetic_1_digit_addition,bigbench_arithmetic_2_digit_multiplication,bigbench_arithmetic_1_digit_subtraction,bigbench_arithmetic_5_digit_division,bigbench_arithmetic_5_digit_multiplication,bigbench_arithmetic_3_digit_multiplication,bigbench_arithmetic_5_digit_subtraction,bigbench_arithmetic_4_digit_addition,bigbench_arithmetic_2_digit_addition,bigbench_arithmetic_4_digit_multiplication,bigbench_arithmetic_2_digit_division,bigbench_arithmetic_3_digit_division,bigbench_empirical_judgments \
|
| 21 |
+
--device cuda:0 \
|
| 22 |
+
--output_path results/gpt3_finnish_small_bigbench_3shot.json \
|
| 23 |
+
--num_fewshot 3
|
eval_xl.sh
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/bin/bash
|
| 2 |
+
#SBATCH --nodes=1
|
| 3 |
+
#SBATCH --ntasks-per-node=1
|
| 4 |
+
#SBATCH -p small-g
|
| 5 |
+
#SBATCH -t 24:00:00
|
| 6 |
+
#SBATCH --gpus-per-node=mi250:1
|
| 7 |
+
#SBATCH --exclusive=user
|
| 8 |
+
#SBATCH --hint=nomultithread
|
| 9 |
+
#SBATCH --account=project_462000241
|
| 10 |
+
#SBATCH -o logs/%j.out
|
| 11 |
+
#SBATCH -e logs/%j.err
|
| 12 |
+
|
| 13 |
+
source /pfs/lustrep2/scratch/project_462000241/muennighoff/lmevallatest/venv/bin/activate
|
| 14 |
+
|
| 15 |
+
cd /pfs/lustrep2/scratch/project_462000241/muennighoff/lmevallatest/lm-evaluation-harness
|
| 16 |
+
|
| 17 |
+
python main.py \
|
| 18 |
+
--model hf-causal \
|
| 19 |
+
--model_args pretrained=gpt3-finnish-xl \
|
| 20 |
+
--tasks bigbench_emotions,bigbench_sentence_ambiguity,bigbench_misconceptions,bigbench_similarities_abstraction,bigbench_cause_and_effect_one_sentence_no_prompt,bigbench_cause_and_effect_one_sentence,bigbench_cause_and_effect_two_sentences,bigbench_intent_recognition,bigbench_paraphrase,bigbench_hhh_alignment_helpful,bigbench_hhh_alignment_other,bigbench_hhh_alignment_honest,bigbench_hhh_alignment_harmless,bigbench_general_knowledge,bigbench_analogies,bigbench_arithmetic_3_digit_subtraction,bigbench_arithmetic_3_digit_addition,bigbench_arithmetic_2_digit_subtraction,bigbench_arithmetic_1_digit_multiplication,bigbench_arithmetic_1_digit_division,bigbench_arithmetic_5_digit_addition,bigbench_arithmetic_4_digit_division,bigbench_arithmetic_4_digit_subtraction,bigbench_arithmetic_1_digit_addition,bigbench_arithmetic_2_digit_multiplication,bigbench_arithmetic_1_digit_subtraction,bigbench_arithmetic_5_digit_division,bigbench_arithmetic_5_digit_multiplication,bigbench_arithmetic_3_digit_multiplication,bigbench_arithmetic_5_digit_subtraction,bigbench_arithmetic_4_digit_addition,bigbench_arithmetic_2_digit_addition,bigbench_arithmetic_4_digit_multiplication,bigbench_arithmetic_2_digit_division,bigbench_arithmetic_3_digit_division,bigbench_empirical_judgments \
|
| 21 |
+
--device cuda:0 \
|
| 22 |
+
--output_path results/gpt3_finnish_xl_bigbench_3shot.json \
|
| 23 |
+
--num_fewshot 3
|