Jakubrd4 commited on
Commit
18a17ff
·
verified ·
1 Parent(s): 9214a75

Upload variant_a/scripts/start.sh with huggingface_hub

Browse files
Files changed (1) hide show
  1. variant_a/scripts/start.sh +12 -0
variant_a/scripts/start.sh ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #\!/bin/bash
2
+ export PATH=/venv/main/bin:/usr/local/bin:/usr/bin:/bin
3
+ export PYTHONDONTWRITEBYTECODE=1
4
+ export CUDA_VISIBLE_DEVICES=0
5
+ export WORK=/dev/shm/eval
6
+ export QUIP_DIR=$WORK/quip-sharp
7
+ export HF_DATASETS_TRUST_REMOTE_CODE=1
8
+ export PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True
9
+
10
+ cd $WORK/lm-evaluation-harness
11
+
12
+ python $WORK/eval_polish_quip.py --model_path $WORK/model --tokenizer speakleash/Bielik-11B-v2.3-Instruct --output_dir $WORK/results_a --num_fewshot 5 --batch_size 8 --tasks polemo2_in polemo2_out polish_8tags_regex polish_cbd_regex polish_ppc_regex polish_psc_regex polemo2_in_multiple_choice polemo2_out_multiple_choice polish_8tags_multiple_choice polish_cbd_multiple_choice polish_ppc_multiple_choice polish_psc_multiple_choice