Lyra-326M repo: full pretraining, SFT and inference pipeline on one 3060 Ti
alex_verem · x · 2026-12-05
GitHub repo post for Lyra: a 326M-parameter decoder-only Transformer trained from scratch by a 14-year-old on a single RTX 3060 Ti (8 GB VRAM) over 6.4B tokens, with the complete pipeline open-sourced.
- Pretraining (PTL-1): 195,312 steps on FineWeb-Edu (70%), Cosmopedia v2 (20%), Python-Edu (10%); validation loss 2.32 nats (perplexity 10.19).
- SFT (Second Voice): 78k examples with length-bucketed batches and assistant-only loss masking.
- Hardware: one RTX 3060 Ti + 32 GB RAM, 10,000 tok/s sustained, 180 hours and 57 kWh total.
- Base and Instruct weights released under Apache-2.0; repo already at 1.5k stars.
Related event: Serbian 14-Year-Old Trains 326M LLM on a Single RTX 3060 Ti(3 posts)→
More from Models
- Anthropic publishes pretraining loss curves; both labs show sharp 2026 inflection — dotey · 2026-12-05
- Developer Says Goodbye to Delisted Sonnet 4.5 via OpenRouter, with Help from Opus 5 — repligate · 2026-12-05
- Qwen2-VL spontaneously builds human-like emotion geometry from 7.1M label-free judgments — bravo_abad · 2026-12-05
- 11 AI models played 30 real-time puzzle battle royales — Claude Haiku won 8 — Ok-Pineapple8301 · 2026-12-05
- OpenAI targets select users with ChatGPT Pro 100 promo: first month $20 instead of $100 — sven_ai · 2026-12-05
- Qwen4-35B-A3B hits 347 tok/s on RTX 5090, even a 10-year-old Tesla P40 manages 70 tps — QuixiAI · 2026-12-05