Commit Β·
5dc7663
1
Parent(s): 0ca4304
README: step2787024 (2026-09-06) marked as the major-improvement checkpoint; trainer files + held-out numbers
Browse filesAR held-out 7.1075 -> 6.2800 (w257) / 7.355 -> 6.3718 (w2048); SAT 7.886 -> 7.566; NAT suffix CE 8.24/8.09/8.37 -> 8.14/7.96/8.16. Trained by v27.16.5 (1d972134) then v27.16.6 (f7abca9a) of agillm44-live-training-code. step2788257_20260906 flagged as degraded.
12 unmodified lines13141512 unmodified lines(block-sharded-zstd checkpoint + tokenizer + run_state), newest few kept for disaster recovery.Old checkpoint dirs are pruned automatically to stay under the file cap.12 unmodified lines131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767712 unmodified lines(block-sharded-zstd checkpoint + tokenizer + run_state), newest few kept for disaster recovery.Old checkpoint dirs are pruned automatically to stay under the file cap.## 2026-09-06 β MAJOR IMPROVEMENT: `checkpoints/step2787024_20260906/` (recommended)This is the checkpoint to use. It is the first checkpoint trained after the fused cross-entropy gradientbug was found and fixed, and it is the largest single-day quality gain in the run's history.Frozen held-out (heldout_v3, 12,404 tokens, plain 28-layer stack, fp32 on CPU; lower is better):| checkpoint | AR CE, 257-token windows | AR CE, 2048-token windows | status ||---|---|---|---|| `checkpoints/step2745507_20260905/` | β7.18 (trainer val) | β | pre-fix, slowly improving at LR 1.6e-7 || step 2785394 (rollback point, 2026-09-06 01:23 UTC) | 7.1075 | 7.355 | best pre-fix state || `checkpoints/step2788257_20260906/` | β7.95 (trainer val 7.99 @2788010) | β | **degraded β do not use** (trained under the biased gradient at LR 5e-5) || **`checkpoints/step2787024_20260906/`** | **6.2800** | **6.3718** | **recommended** (2048-token windows by position: 6.85 / 6.17 / 6.41 for positions 1β256 / 257β1024 / 1025β2047) |Trainer's own hourly val on the same set: 7.1504 (step 2785394) β 6.8321 (2785767) β 6.4780 (2786217).All three decoding contracts on the full held-out set (48 windows), step 2785394 β 2786523 β **2787024**:| contract | 2785394 (pre-fix) | 2786523 (v27.16.5) | **2787024 (this upload)** ||---|---|---|---|| AR CE / top-1 | 7.1075 / 12.7% | 6.3738 / 13.9% | **6.2800 / 14.4%** || SAT shift-2 CE / top-1 | 7.886 / 8.0% | 7.682 / 7.8% | **7.566 / 7.0%** || NAT suffix-16 CE / top-1 | 8.242 / 7.0% | 8.354 / 2.6% | **8.136 / 4.7%** || NAT suffix-32 CE / top-1 | 8.089 / 6.6% | 8.202 / 3.6% | **7.963 / 5.6%** || NAT suffix-64 CE / top-1 | 8.366 / 7.3% | 8.415 / 3.2% | **8.163 / 7.0%** |NAT lagged under v27.16.5 while AR raced ahead (one 64-target NAT anchor every third step against a 32,752-target ARanchor every step); the v27.16.6 multi-row NAT/SAT anchors (below) turned that around within 223 steps β NAT is nowbetter than the pre-fix baseline on every suffix length.Trained by (exact single-file trainers, byte-identical to the live process, published at[MarxistLeninist/agillm44-live-training-code](https://huggingface.co/MarxistLeninist/agillm44-live-training-code)and [github.com/Marxist-Leninist/agillm44-live-training-code](https://github.com/Marxist-Leninist/agillm44-live-training-code)):- steps 2785394 β 2786801: `agillm43_singlefile_intelligence_v27_16_5_deepctx_20260906.py`(SHA-256 `1d972134d55333a99c305f5642602aa81c729e44c019c1fcadf1f83b64660641`)- steps 2786801 β 2787024: `agillm43_singlefile_intelligence_v27_16_6_deepctx_20260906.py`(SHA-256 `f7abca9aaef97e7690765f9c7f00e04b65151f700bbb959b5cf053126d21ba0f`)What changed (why this checkpoint is so much better than the day before):- **v27.16.5 β fused cross-entropy backward fix.** The streaming vocab-chunk cross-entropy ran its gradientmatmuls under an fp16 autocast after pre-scaling the softmax by 1/N. With bf16 AMP there is no GradScaler,so at the 16-row full-stack anchor (N = 32,752 targets) every softmax entry below ~2e-3 underflowed tozero before it reached the weights β 60β90% of the probability mass for a 129,280-token vocabulary atCE β 7, all sharing the embedding mean direction. Reported losses were exact; the gradient was not(measured cosine 0.70β0.79 against the exact gradient at N β 32k, 1.000 at N = 256, the old 1-row anchor).Every multi-row-anchor run drifted upward in held-out CE in proportion to cumulative learning rate,regardless of optimizer state. Fixed: the unscaled softmax goes through bf16 matmuls and 1/N is appliedin fp32 afterwards (cosine 1.000).- **v27.16 "deepctx" e2e local objective + multi-row full-stack AR anchor** (exact top-of-stack gradient intothe one selected DiffusionBlocks sublayer; 16-row Γ 2047-target AR composition anchor every step).- **Held-out-guarded LR governor**: LR raised from 5e-6 to 2e-5 in Γ1.5 steps only while three consecutive20-minute held-out probes kept improving.- **v27.16.6 β multi-row SAT/NAT composition anchors** (NAT 16 crops Γ 64 masked targets every step at weight 1.0,SAT 16 crops every third step) so the NAT contract keeps pace with AR.Loading: same package format as every other entry here (`*.pt` + `*.pt.shards/` block-sharded zstd +`*.pt.tokenizer.json`). Continue training or serve it with the v27.16.6 trainer above or any laterv27.16.x runtime (v27.16.7, a detachable-50M teacher-packet fix, is live as of 16:22 UTC and changesnothing in the mature model's training).
README.md+62