WORK_LOG/TRAINING_LOG: v4 pass finished (6,412,060,672 ids, VAL 2.4483), final ckpt on HF, pod stopped
Browse filesFiles changed (2)
186 unmodified lines187188189186 unmodified lines- Around 00:40 ET the skip count jumped from 26 to 163, with up to 21+ consecutive skips. It subsided before reaching the rollback threshold.- At 56.4M v4 ids: tf ~2.6-2.7, VAL 2.77 (at 51.6M), 10.57k ids/s.- Pod disk cleanup: 60 GB free (see WORK_LOG).186 unmodified lines187188189190191192193194195196197186 unmodified lines- Around 00:40 ET the skip count jumped from 26 to 163, with up to 21+ consecutive skips. It subsided before reaching the rollback threshold.- At 56.4M v4 ids: tf ~2.6-2.7, VAL 2.77 (at 51.6M), 10.57k ids/s.- Pod disk cleanup: 60 GB free (see WORK_LOG).## 2026-10-20 04:01 ET: v4 pass finished, pod stopped- Trainer `fast4gpu_atom_v4.py` exited with code 0 at 08:01:33Z after reaching `PLAN_IDS=1100000000`.- Final step 524,391: 1,099,999,232 v4 ids, so 6,412,060,672 ids in total (5,312,061,440 from v3 + v4). ema_tf 2.381, 370 skipped steps, no NaN, 1 rollback (Oct 19).- Validation (held-out real text, 262,144 ids): first 16.98, best 2.4436 (step 502,500), last 2.4483 nats/id (step 522,500).- Throughput: 10,564 ids/s wall over 101,662 s (TF 13,890 ids/s, SS 16,350 ids/s, SS on the last 8 ids at 0.35).- HF: final weights + optimizer in `checkpoints/atom_v4/step_final/` (`fractus_atom_1b_gpu0.bin`, `fractus_atom_1b_gpu0.opt.bin`, `RESUME_MANIFEST_atom_gpu0.json`, `GOOD.json`); logs in `logs/atom_v4/`.- No credit left for more training, so the Vast pod (instance 55477318) was stopped (not destroyed).
118 unmodified lines119120121118 unmodified lines| **Copy-head prototype ~04:25-07:05 ET Oct 19 (box CPU only, v4 good step_25000; pod untouched)** | User: v4 shows ~no copy gain (linear attention cannot do exact recall?). Prototype an exact softmax copy head with gate 0, test equivalence, tiny CPU training, head-only fine-tune on v4, GPU cost, draft v5 trainer, val slope | `docs/COPY_HEAD.md`, `fractus/nn/copy_head.py` (readout head: causal softmax over the chunk + 128 cached ids, shifted 1- or 3-gram keys, gate 0). `FixedGenerator` and `gen_best.Decoder` now carry the window in the snapshot. Draft `scripts/fast4gpu_atom_v5_copyhead.py` (NOT launched), smoke-tested on CPU (step-0 VAL = v4). **Gate 0 is bit-equal to v4** on TF logits, greedy and beam. Incremental decoding with the window matches TF to ≤1e-4 (logits ~236). **Head-only fine-tune on v4 (600 steps, 119k ids): val 2.683 -> 2.634 nats/id, but a no-lookup control does the same (2.630) and the repeat-vs-first gap stays (same chunk 0.11 -> 0.09, earlier chunk 0.03 -> 0.05): no copying.** Mechanism: the head alone copies pure repeats at 99.9% (3-gram keys) and does cross-chunk exact recall in random-letter filler at 96% **only with a live gate (1)**; with gate 0 it never learns (≤5%). Tiny Fractus from scratch: no copy in 800 steps; the live 3-gram head improves TinyStories NLL 2.33 -> 2.17. GPU est. -2 to -4% ids/s, +<0.1 GB. Pod VAL 2.572 @ 200M v4 ids, power-law fit -> ~2.50 (log-linear 2.35) at 1.1B. Recommendation: do not add to v4. If wanted: 3-gram keys, live gate, head-only pretrain, then joint training, with a GPU A/B. Trainer untouched. || **v4 step_285000 eval + externalization test ~15:12-20:30 ET Oct 19 (609,726,464 v4 ids, box copy md5 badf2843..., pod VAL 2.4887)** | User: newest v4 good ckpt vs step_25000, same protocol + externalization (TF top-1/5, word completion, free-gen real words, long range) | `docs/V4_610M_EVAL.md`. Val NLL 610M vs 77M: fineweb 2.561/2.741, wiki 2.562/2.831, tinystories 2.197/2.508, pg19 median 2.505/2.695. TF top-1 0.285, top-5 0.634. Exact word completion from 1/2/3 true bytes: 0/144, 0/144, 2/144. Greedy CONT unique@40/exact 8.3/5.33 (77M 8.0/5.33); prompt real-word greedy 0.56 (77M 0.90). B=1 capacity drops 0.021 % (NLL equal to B=16). Chunk-7 NLL: full carry 2.498 vs reset 1 chunk earlier 2.343 (77M 2.665 vs 2.715). Verdict: better prediction, not closer to speaking. Trainer/pod untouched. || **Long-carry fix ~20:51-23:10 ET Oct 19 (step_285000 box copy, inference only)** | User: fix 'carry from >256 ids hurts' without touching weights/trainer/pod, no attn_S/z bound | `docs/LONG_CARRY.md`. Cause: attn_S/attn_z are undecayed running sums, so linear attention is a uniform average since BOS; the carry's share of the denominator reaches 0.94 at chunk 8 (= c*128/(c*128+t)). TF NLL chunks 3-8: base 2.4382, decay0.8 2.4018, decay0.7 2.4016, decay0.9 2.4186, decay0.5 2.4381, **win2 (replay last 2 chunks) 2.3625**, reset2 2.4216 (chunk 7: 2.526 -> 2.398 with win2). Generation LONG (1,024-id prefix) greedy unique@40/exact/real-word: base 8.0/3.33/0.81, win2 10.3/4.00/0.88, decay0.8 7.0/4.00/1.00; short CONT/prompts unchanged by win2, decay0.8 hurts CONT exact 6.0 -> 1.33. Still loops: not speech. Added `fractus/carry_policy.py`, `FixedGenerator(carry_decay=1.0)`, `generate(carry_window=0)` (verified equal to the experiment), Space sliders (defaults off). Trainer-side draft `scripts/draft_train_carry_decay.py` (fixed = existing CARRY_DECAY; learned per-head gamma), not launched. Trainer/pod untouched. |118 unmodified lines119120121122118 unmodified lines| **Copy-head prototype ~04:25-07:05 ET Oct 19 (box CPU only, v4 good step_25000; pod untouched)** | User: v4 shows ~no copy gain (linear attention cannot do exact recall?). Prototype an exact softmax copy head with gate 0, test equivalence, tiny CPU training, head-only fine-tune on v4, GPU cost, draft v5 trainer, val slope | `docs/COPY_HEAD.md`, `fractus/nn/copy_head.py` (readout head: causal softmax over the chunk + 128 cached ids, shifted 1- or 3-gram keys, gate 0). `FixedGenerator` and `gen_best.Decoder` now carry the window in the snapshot. Draft `scripts/fast4gpu_atom_v5_copyhead.py` (NOT launched), smoke-tested on CPU (step-0 VAL = v4). **Gate 0 is bit-equal to v4** on TF logits, greedy and beam. Incremental decoding with the window matches TF to ≤1e-4 (logits ~236). **Head-only fine-tune on v4 (600 steps, 119k ids): val 2.683 -> 2.634 nats/id, but a no-lookup control does the same (2.630) and the repeat-vs-first gap stays (same chunk 0.11 -> 0.09, earlier chunk 0.03 -> 0.05): no copying.** Mechanism: the head alone copies pure repeats at 99.9% (3-gram keys) and does cross-chunk exact recall in random-letter filler at 96% **only with a live gate (1)**; with gate 0 it never learns (≤5%). Tiny Fractus from scratch: no copy in 800 steps; the live 3-gram head improves TinyStories NLL 2.33 -> 2.17. GPU est. -2 to -4% ids/s, +<0.1 GB. Pod VAL 2.572 @ 200M v4 ids, power-law fit -> ~2.50 (log-linear 2.35) at 1.1B. Recommendation: do not add to v4. If wanted: 3-gram keys, live gate, head-only pretrain, then joint training, with a GPU A/B. Trainer untouched. || **v4 step_285000 eval + externalization test ~15:12-20:30 ET Oct 19 (609,726,464 v4 ids, box copy md5 badf2843..., pod VAL 2.4887)** | User: newest v4 good ckpt vs step_25000, same protocol + externalization (TF top-1/5, word completion, free-gen real words, long range) | `docs/V4_610M_EVAL.md`. Val NLL 610M vs 77M: fineweb 2.561/2.741, wiki 2.562/2.831, tinystories 2.197/2.508, pg19 median 2.505/2.695. TF top-1 0.285, top-5 0.634. Exact word completion from 1/2/3 true bytes: 0/144, 0/144, 2/144. Greedy CONT unique@40/exact 8.3/5.33 (77M 8.0/5.33); prompt real-word greedy 0.56 (77M 0.90). B=1 capacity drops 0.021 % (NLL equal to B=16). Chunk-7 NLL: full carry 2.498 vs reset 1 chunk earlier 2.343 (77M 2.665 vs 2.715). Verdict: better prediction, not closer to speaking. Trainer/pod untouched. || **Long-carry fix ~20:51-23:10 ET Oct 19 (step_285000 box copy, inference only)** | User: fix 'carry from >256 ids hurts' without touching weights/trainer/pod, no attn_S/z bound | `docs/LONG_CARRY.md`. Cause: attn_S/attn_z are undecayed running sums, so linear attention is a uniform average since BOS; the carry's share of the denominator reaches 0.94 at chunk 8 (= c*128/(c*128+t)). TF NLL chunks 3-8: base 2.4382, decay0.8 2.4018, decay0.7 2.4016, decay0.9 2.4186, decay0.5 2.4381, **win2 (replay last 2 chunks) 2.3625**, reset2 2.4216 (chunk 7: 2.526 -> 2.398 with win2). Generation LONG (1,024-id prefix) greedy unique@40/exact/real-word: base 8.0/3.33/0.81, win2 10.3/4.00/0.88, decay0.8 7.0/4.00/1.00; short CONT/prompts unchanged by win2, decay0.8 hurts CONT exact 6.0 -> 1.33. Still loops: not speech. Added `fractus/carry_policy.py`, `FixedGenerator(carry_decay=1.0)`, `generate(carry_window=0)` (verified equal to the experiment), Space sliders (defaults off). Trainer-side draft `scripts/draft_train_carry_decay.py` (fixed = existing CARRY_DECAY; learned per-head gamma), not launched. Trainer/pod untouched. || **v4 pass finished ~04:01 ET Oct 20 (trainer exit 0 at 08:01:33Z, PLAN_IDS 1.1B reached)** | User order 21:43 ET Oct 19: no more credit; when v4 finishes, push everything to HF/GitHub and stop Vast pod 55477318 (stop, not destroy) | Final v4 ckpt step_00524391 = **1,099,999,232 v4 ids** (total **6,412,060,672 ids** = 5,312,061,440 v3 + v4), ema_tf 2.381, skips 370, 0 NaN, rollbacks 1 (Oct 19 03:46Z). Last VAL ce **2.4483** nats/id (step 522,500, 1,096,126,464 v4 ids; best 2.4436 at step 502,500; first 16.98). Wall 101,662 s, 10,564 ids/s. Weights + optimizer pushed to HF `checkpoints/atom_v4/step_final/` (final = last good); logs to HF `logs/atom_v4/`. Pod stopped after verified upload. |
docs/TRAINING_LOG.md+8
docs/WORK_LOG.md+1