Download watch_v6.sh from Akahsizrr/alea-runs: direct link, hf CLI and curl.
- Browser
- Download file 757 Bytes
-
https://huggingface.co/datasets/Akahsizrr/alea-runs/resolve/main/watch_v6.sh
- Command line
-
hf download hf://datasets/Akahsizrr/alea-runs/watch_v6.sh
-
curl -L -o watch_v6.sh https://huggingface.co/datasets/Akahsizrr/alea-runs/resolve/main/watch_v6.sh
757 Bytes
| cd /root/alea | |
| : > runs/v6_evals.log | |
| for step in 1000 2000 3000 4000 5000 6000 7000; do | |
| ck="runs/sft_v6/step${step}.pt" | |
| while [ ! -f "$ck" ]; do | |
| grep -q "^done" runs/sft_v6.log 2>/dev/null && break | |
| sleep 60 | |
| done | |
| [ -f "$ck" ] || continue | |
| echo "=== $ck ===" >> runs/v6_evals.log | |
| timeout 1200 python3 jevbench_run.py "$ck" 2>/dev/null | grep -E "acc=|ECE|==" >> runs/v6_evals.log | |
| done | |
| # final | |
| while [ ! -f runs/sft_v6/final.pt ]; do | |
| grep -q "^done" runs/sft_v6.log && break; sleep 60 | |
| done | |
| if [ -f runs/sft_v6/final.pt ]; then | |
| echo "=== final ===" >> runs/v6_evals.log | |
| timeout 1200 python3 jevbench_run.py runs/sft_v6/final.pt 2>/dev/null | grep -E "acc=|==" >> runs/v6_evals.log | |
| fi | |
| echo "WATCHER_DONE" >> runs/v6_evals.log | |