Lyra: 326M language model trained from scratch on one consumer GPU
Decoder-only Transformer pretrained on 6.4B tokens on a single 8 GB GPU over roughly 180 hours, with full pretraining, fine-tuning and terminal chat code plus public weights.
Why it matters
A complete, reproducible train-a-model pipeline sized for consumer hardware rather than a cluster.
What you could build with it
A machine-learning student could rerun the full pipeline on a home GPU to learn pretraining end to end, then swap in a small domain corpus to produce a specialized tiny model.
Does it hold up?
Code and weights are public and the run is documented, making it genuinely reproducible; model quality is educational rather than production-grade.
Built with Lyra
- Show HN: trained a 326M language model from scratch on one GPUarticle · Summary of the Show HN post and training setup.
- luka0x12/Lyra repository profilearticle · Repository profile tracking the fast star growth after launch.
- HotRepo new repositories listarticle · Trending list where the repository appeared among new Python projects.
Learn more
First spotted on github: source.
More AI models
MiniMind: train your own 64M LLM from scratch in about 2 hoursA complete, from-scratch LLM training pipeline at 64M parameters - pretraining, SFT, LoRA, DPO, PPO/GRPO, tool use and…models · JEV 0.82VoiceStudio: the open-source, fully-local ElevenLabs alternativeA desktop app bundling 20 local speech-generation engines and 10 transcription options behind one UI — voice cloning…models · JEV 0.76DeepSeekMath-V2: an open 685B theorem prover that verifies its own proofsDeepSeek open-sourced a 685B MoE theorem-proving model trained with a self-verification loop, reporting gold-level IMO…models · JEV 0.75Edge0-145B: open 145B MoE that runs on a single consumer GPUEdge0 open-sourced 145B and 120B latent-MoE models derived from Qwen3.8-Flash-Next, plus an inference framework that…models · JEV 0.74Strata: run a 125B model on a gaming PCFree, MIT-licensed local inference engine that runs Qwen3.8-Flash-Next (125B MoE, about 6B active per token) on…models · JEV 0.73tiny-voca: a fully open 4.5M-parameter TTS trained for under $10 of computeA fully open 4.5M-parameter English TTS — code, weights and dataset under Apache 2.0 — trained from scratch in 7.7…models · JEV 0.67
Get the week's best AI launches, plus 3 ideas worth building
One email every Saturday. Ranked by traction, not hype. Free.