#!/bin/bash # After train_dm.py exits successfully, evaluate the saved model on the second held-out set. until grep -q "^EXIT" /content/logs/train.log; do sleep 10; done if grep -q ALL_DONE /content/logs/train.log; then cd /content/dm && bash run.sh final_heldout2 python extra_eval.py --folder /content/out/final \ --base /content/models/Qwen3.8-27B --rows /content/out/heldout2_rows.jsonl --name final_heldout2 fi