What happened
The author says the model was trained by a 14-year-old in Serbia. Pretraining ran for 195,312 steps on a mixture of FineWeb-Edu (70%), Cosmopedia v2 (20%) and Python-Edu (10%); supervised fine-tuning used about 78,000 examples, with length-bucketed batches and assistant-only loss masking. The architecture uses RMSNorm, SwiGLU, QK-norm and residual scaling. (github.com)
The project documents nine major bugs, including a dashboard readout that showed a loss of 35.2 because its GPU accumulator summed micro-steps while the display divided by optimizer steps. Another resume bug loaded a checkpoint 20,000 steps behind, discarding 10 hours of compute; the author added a separate last.pt progress tracker. The fine-tuning mixture also includes DailyDialog and non-commercial subsets of Tulu-3. (github.com)
The author reports validation loss of 2.32 nats and perplexity of 10.19. The machine had 32 GB of system RAM; reported pretraining throughput was about 10,000 tokens per second, with roughly 180 hours of wall-clock time and 57 kWh of energy use. (github.com)
Base and instruct weights are listed on Hugging Face as luka0x12/Lyra-326M-base and luka0x12/Lyra-326M-Instruct; users can download the instruct weights and run the terminal chat interface without training the model. The code is Apache-2.0, while the weights are CC-BY-NC-4.0 and the repository says they cannot be used in commercial products. The custom 1,000-example persona and identity dataset is offered under CC0. (github.com)
What the archive adds
Lyra belongs alongside hands-on resources for learning language-model training: its value is the documented process and debugging trail, not a claim to be a successor to earlier projects.
Why it matters
For builders, the pipeline and failure ledger make Lyra useful as a study project; the non-commercial weights license draws a clear boundary between learning from the release and shipping its final model in a commercial product.
Limits and uncertainty
The author reports the validation metrics, throughput, time and energy figures; they are not independent benchmark results, and no independent comparison is provided. (github.com)
Skill to build now
git clone https://huggingface.co/luka0x12/Lyra-326M-Instruct
cd Lyra-326M-Instruct
pip install torch sentencepiece safetensors numpy
python chat.pyReader takeaway
Lyra-326M’s practical value is the end-to-end learning artifact: data streaming, pretraining, fine-tuning and a chat interface built around a small model trained on consumer hardware. The author reports the training details and metrics, but the weights are CC-BY-NC-4.0 and explicitly barred from commercial products; the code and custom data have separate licenses.