Download eval_medium.sh from TurkuNLP/evaluation: direct link, hf CLI and curl.
- Browser
- Download file 1.9 kB
-
https://huggingface.co/datasets/TurkuNLP/evaluation/resolve/main/eval_medium.sh
- Command line
-
hf download hf://datasets/TurkuNLP/evaluation/eval_medium.sh
-
curl -L -o eval_medium.sh https://huggingface.co/datasets/TurkuNLP/evaluation/resolve/main/eval_medium.sh
1.9 kB
| #SBATCH --nodes=1 | |
| #SBATCH --ntasks-per-node=1 | |
| #SBATCH -p small-g | |
| #SBATCH -t 24:00:00 | |
| #SBATCH --gpus-per-node=mi250:1 | |
| #SBATCH --exclusive=user | |
| #SBATCH --hint=nomultithread | |
| #SBATCH --account=project_462000241 | |
| #SBATCH -o logs/%j.out | |
| #SBATCH -e logs/%j.err | |
| source /pfs/lustrep2/scratch/project_462000241/muennighoff/lmevallatest/venv/bin/activate | |
| cd /pfs/lustrep2/scratch/project_462000241/muennighoff/lmevallatest/lm-evaluation-harness | |
| python main.py \ | |
| --model hf-causal \ | |
| --model_args pretrained=gpt3-finnish-medium \ | |
| --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 \ | |
| --device cuda:0 \ | |
| --output_path results/gpt3_finnish_medium_bigbench_3shot.json \ | |
| --num_fewshot 3 | |