Jakubrd4 commited on
Commit
6e6c86e
·
verified ·
1 Parent(s): c52ef3b

Upload variant_a/scripts/run_eq_bench.sh with huggingface_hub

Browse files
Files changed (1) hide show
  1. variant_a/scripts/run_eq_bench.sh +19 -0
variant_a/scripts/run_eq_bench.sh ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/bash
2
+ export PATH=/venv/main/bin:/usr/local/bin:/usr/bin:/bin
3
+ export PYTHONDONTWRITEBYTECODE=1
4
+ export PYTHONUNBUFFERED=1
5
+ export CUDA_VISIBLE_DEVICES=0
6
+ export WORK=/dev/shm/eval
7
+ export QUIP_DIR=$WORK/quip-sharp
8
+ export HF_DATASETS_TRUST_REMOTE_CODE=1
9
+ export PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True
10
+
11
+ cd $WORK/lm-evaluation-harness
12
+
13
+ python -u $WORK/eval_polish_quip.py \
14
+ --model_path $WORK/model \
15
+ --tokenizer speakleash/Bielik-11B-v2.3-Instruct \
16
+ --output_dir $WORK/results_eq_bench \
17
+ --num_fewshot 5 \
18
+ --batch_size 32 \
19
+ --tasks polish_eq_bench polish_eq_bench_first_turn