Download harness/scripts/check_step100_when_ready.sh from agentic-ptb/sol-max-record: direct link, hf CLI and curl.
- Browser
- Download file 538 Bytes
-
https://huggingface.co/agentic-ptb/sol-max-record/resolve/main/harness/scripts/check_step100_when_ready.sh
- Command line
-
hf download hf://agentic-ptb/sol-max-record/harness/scripts/check_step100_when_ready.sh
-
curl -L -o check_step100_when_ready.sh https://huggingface.co/agentic-ptb/sol-max-record/resolve/main/harness/scripts/check_step100_when_ready.sh
538 Bytes
| set -euo pipefail | |
| workspace="/mnt/pvc/users/simon/agentptb/runs/sol-max-s1/workspace" | |
| output="$workspace/outputs/sft-agent-mix-clean-full-v1" | |
| weights="$output/weights/step_100" | |
| checkpoint="$output/checkpoints/step_100/trainer/.metadata" | |
| while [[ ! -f "$weights/STABLE" || ! -f "$checkpoint" ]]; do | |
| sleep 30 | |
| done | |
| python "$workspace/scripts/check_checkpoint.py" \ | |
| "$weights" "$output/metrics.jsonl" --expected-step 100 \ | |
| >"$workspace/logs/checkpoint-health-step100.json" | |
| touch "$workspace/state/step100-healthy" | |