Download scripts/train_fa32_200m.sh from ICLRPAT27/PAT-code: direct link, hf CLI and curl.
- Browser
- Download file 693 Bytes
-
https://huggingface.co/ICLRPAT27/PAT-code/resolve/main/scripts/train_fa32_200m.sh
- Command line
-
hf download hf://ICLRPAT27/PAT-code/scripts/train_fa32_200m.sh
-
curl -L -o train_fa32_200m.sh https://huggingface.co/ICLRPAT27/PAT-code/resolve/main/scripts/train_fa32_200m.sh
693 Bytes
| # Start a 200M-token training check from the released FA-32 weights. | |
| # This starts a new optimizer and schedule; it does not resume the paper run. | |
| set -euo pipefail | |
| : "${DATA:?Set DATA to the prepared training directory}" | |
| : "${VALIDATION:?Set VALIDATION to the prepared validation directory}" | |
| : "${CHECKPOINT:?Set CHECKPOINT to the verified FA-32 model bundle}" | |
| PAT_ROOT="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")/.." && pwd)" | |
| exec torchrun --standalone --nproc_per_node=2 -m pat.train \ | |
| --config "$PAT_ROOT/configs/fa32_200m.json" \ | |
| --data "$DATA" \ | |
| --validation "$VALIDATION" \ | |
| --output "${OUTPUT:-runs/fa32-200m}" \ | |
| --init-checkpoint "$CHECKPOINT" \ | |
| "$@" | |