AGENTS.md: Session 2 update (step 29855)
Browse files169 unmodified lines170171172173174175176177178179180181182183184185169 unmodified lines- `data_manifests/stage1_manifest.json` — Deterministic parquet shard manifest for all 6 Stage 1 datasets.- `tokenizer/` — `tokenizer.json`, `tokenizer_config.json`, `special_tokens_map.json` (`vocab_size=49,152`).- `logs/stage1_metrics.jsonl` — Full step-by-step & validation metrics log.
---
## 6. Session 2 Update (resumed on 4x A100-80GB, step 15,521 -> 29,855)
- **State**: step `29,855`, `7.8263B` tokens seen (`7.1%` of Stage 1's 110B). Checkpoint in `checkpoint/latest` on HF is a consistent 4-rank step-29,855 save. Throughput `~335-345k tok/s`, `--max-wall-seconds 10800` stopped cleanly.- **Held-out FineWeb-Edu val loss at step 29,855**: 8L `2.983`, 16L `2.966`, 24L `3.363` (unseen), 32L `4.699` (unseen), 40L `4.815` (unseen).- **Watch item**: unseen-depth (32L/40L) loss reached its best near step 25,000 (`3.10` / `3.36`) and then degraded sharply by step 29,500 while 8L/16L kept improving. Consider checking `ContinuousLoopCond` / contraction regularization and keep monitoring `high/xhigh/max` evals before Stage 2.- **SIGTERM is safe**: a stopped agent turn sends SIGTERM; the trainer finishes the step, runs validation and saves a full checkpoint (`[STOP] Clean budget/signal stop`). Wait for the workers to exit before copying the checkpoint; never relaunch while the save is in progress.- **Copy the resume dir before relaunching** (`cp -r ~/cortex_ckpts/latest ~/cortex_resume2`, wait for `cp` to finish) so a later save into `--ckpt-root` cannot clobber the checkpoint being read.- **HF private storage limit** (`Private storage limit reached`) blocked one upload. A failed multi-file upload leaves a mixed-step repo; restore with `CommitOperationCopy(src_revision=<old sha>)` (server-side, no extra storage) and re-upload only when space is available.- **HF_TOKEN**: set via Qualia secret, never inline. The token pasted in chat in Session 2 appears in workspace `.bg-logs/`; rotate it.- **Metrics tables**: trainer writes `cortex-stage1-pretrain`; `scripts/sync_qualia_metrics.py --eval-only --min-eval-step N` mirrors validation rows into `cortex-stage1-eval`.AGENTS.md+13