Download run_pilot_stage2.sh from Akahsizrr/alea-runs: direct link, hf CLI and curl.
- Browser
- Download file 681 Bytes
-
https://huggingface.co/datasets/Akahsizrr/alea-runs/resolve/main/run_pilot_stage2.sh
- Command line
-
hf download hf://datasets/Akahsizrr/alea-runs/run_pilot_stage2.sh
-
curl -L -o run_pilot_stage2.sh https://huggingface.co/datasets/Akahsizrr/alea-runs/resolve/main/run_pilot_stage2.sh
681 Bytes
| cd /root/alea | |
| while [ ! -f runs/pilot_orchestrator.done ]; do sleep 60; done | |
| nohup bash run_pilot_b.sh > runs/pilot_open_v8b.log 2>&1 < /dev/null & | |
| sleep 30 | |
| while pgrep -f "alea.train" | xargs -I{} ps -p {} -o args= 2>/dev/null | grep -q "out runs/pilot_open_v8b"; do sleep 60; done | |
| if [ -f runs/pilot_open_v8b/final.pt ]; then | |
| python3 -u -m alea.eval --ckpt runs/pilot_open_v8b/final.pt --data data/pilot_dev_balanced.jsonl --skip-structural > runs/pilot_open_v8b_pilot_dev.log 2>&1 | |
| python3 -u -m alea.eval --ckpt runs/pilot_open_v8b/final.pt --data data/jb7_dev.jsonl --skip-structural > runs/pilot_open_v8b_jb7_dev.log 2>&1 | |
| fi | |
| echo done > runs/pilot_stage2.done | |