Upload variant_a/scripts/run_gen.sh with huggingface_hub
Browse files12345678910111213#\!/bin/bashexport PATH=/venv/main/bin:/usr/local/bin:/usr/bin:/binexport PYTHONDONTWRITEBYTECODE=1export PYTHONUNBUFFERED=1export CUDA_VISIBLE_DEVICES=0export WORK=/dev/shm/evalexport QUIP_DIR=$WORK/quip-sharpexport HF_DATASETS_TRUST_REMOTE_CODE=1export PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True
cd $WORK/lm-evaluation-harness
python -u $WORK/eval_polish_quip.py --model_path $WORK/model --tokenizer speakleash/Bielik-11B-v2.3-Instruct --output_dir $WORK/results_gen --num_fewshot 5 --batch_size 32 --tasks polemo2_in polemo2_out polish_8tags_regex polish_cbd_regex polish_ppc_regex polish_psc_regexvariant_a/scripts/run_gen.shAdded+13