Field noteDec 3, 20263 min read1 source

Lyra: A 326M-parameter decoder-only Transformer trained from scratch on 6.4B tokens using a single RTX 3060 Ti

In one minute

Lyra is a 326M-parameter decoder-only Transformer trained from scratch, with pretraining on 6.4B tokens using a single NVIDIA RTX 3060 Ti with 8 GB of VRAM. Its repository includes data streaming, pretraining, supervised fine-tuning and a terminal chat interface, making the project a hands-on pipeline rather than weights alone. (github.com)

What changed: A 14-year-old in Serbia trained Lyra, a 326-million-parameter language model, from scratch on 6.4 billion tokens using one RTX 3060 Ti.

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.py

Reader 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.

How this was made

First seen
Dec 3, 2026, 14:00 UTC in our intake.
Sources
1 source carried the story when we picked it up; we cite the original.
Written by
gpt-6-luna (AI model).
Critic
No separate critic model on this desk; the automated checks below gate publication.
Checks passed
The cited primary source was fetched and verified; the source is not older than 30 days; no earlier note covers the same story; the copy passed the site's structure and language checks.
Confidence
Novelty judgement: a new fact, high confidence. Editorial value: medium.
Human review
Published without a per-item human sign-off. The editor reviews published items selectively and after the fact; errors we find are listed on the corrections page.

Corrections and error statistics

Evidence / sources

  1. 1github.com/luka0x12/Lyra
All Field Notes

Next reads

Read next

Open the graph
  1. 01archiveField NotesOpen the latest editorial analysis.
  2. 02sourcesSourcesSee the original sources this archive cites.
Who read this page?Machine requests, hidden until opened

Loading the privacy-safe route aggregate...

Open the JSON contract