Download qwen2.5-7b_c4_1B/scripts/eval_seed.sh from bit2vec/bitsseal: direct link, hf CLI and curl.
- Browser
- Download file 607 Bytes
-
https://huggingface.co/bit2vec/bitsseal/resolve/main/qwen2.5-7b_c4_1B/scripts/eval_seed.sh
- Command line
-
hf download hf://bit2vec/bitsseal/qwen2.5-7b_c4_1B/scripts/eval_seed.sh
-
curl -L -o eval_seed.sh https://huggingface.co/bit2vec/bitsseal/resolve/main/qwen2.5-7b_c4_1B/scripts/eval_seed.sh
607 Bytes
| # usage: eval_seed.sh SEED ARM GPU -> appends RESULT lines to /root/traj/s3_1B/eval_s${SEED}_${ARM}.log | |
| seed=$1; arm=$2; gpu=$3 | |
| source /venv/main/bin/activate; cd /root | |
| dir=/root/traj/s3_1B/s${seed}_$([ $arm = bits ] && echo bits || echo std) | |
| out=/root/traj/s3_1B/eval_s${seed}_${arm}.log | |
| for c in $(ls -d $dir/checkpoint-* | sort -t- -k2 -n) $dir/final; do | |
| grep -q "ckpt=$c " $out 2>/dev/null && continue | |
| CUDA_VISIBLE_DEVICES=$gpu python eval_ppl.py --arm $arm --ckpt $c --seed $seed 2>&1 | grep -aE "RESULT|FATAL|Traceback|Error" >> $out | |
| done | |
| echo "EVAL_DONE seed=$seed arm=$arm" >> $out | |