alea-runs / run_pilot_stage2.sh
Akahsizrr's picture
Upload run_pilot_stage2.sh with huggingface_hub
2b1e0ca verified
Raw History Blame Contribute Delete
681 Bytes
#!/bin/bash
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