Views
No views yet
Status: Phase 7 - Curriculum Learning ✅ Complete
Latest Achievement: 20K curriculum training with 77% BPC reduction
pip install torch datasets tqdmpython train_curriculum.py # 20K steps, 3 curriculum stagespython generate.py best_model_curriculum.pth1python test_recall.py best_model_curriculum.pth # Memory test
2python inspect_reasoning.py # System 2 diagnosticsBytes → Encoder (RoPE) → Hebbian Memory → Reasoning Loop → Local RNN → Bytes
(Patches) (Dynamic λ) (3 steps) (Autoregressive)| Stage | Steps | Plasticity (α) | Data | Purpose |
|---|---|---|---|---|
| 1. Childhood | 0-3K | 0.10 | Dictionary | Lexical grounding |
| 2. Youth | 3K-8K | 0.50 | Stories | Syntactic scaffolding |
| 3. Adulthood | 8K-20K | 0.99 | Wikipedia | Semantic expansion |
Step 0: BPC = 8.04 (Random initialization)
Step 5K: BPC = 2.23 (Initial curriculum complete)
Step 10K: BPC = 1.98 (Mid-training)
Step 20K: BPC = 1.85 (Final)1@torch.amp.autocast('cuda', enabled=False)
2def forward(self, x):
3 x = x.float() # Bypass AMP for numerical stability
4 # ... Hebbian computation ...
5 return out.to(input_dtype)best_model_curriculum.pth - Best checkpoint (Val BPC: 1.78)last_model_curriculum.pth - Final model state (20K steps)metrics_curriculum.json - Full training metrics1@software{agiformer2025,
2 title={AGIFORMER: Byte-Level Language Model with Hebbian Memory and Neuroplasticity},
3 author={inkbytefo},
4 year={2025},
5 note={Phase 7: Curriculum Learning with Dynamic Plasticity},
6 url={https://github.com/inkbytefo/agi-former}
7}