#!/usr/bin/env bash # 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" \ "$@"