# Show HN: I trained a 326M language model from scratch on one RTX 3060 Ti

> Source: <https://github.com/luka0x12/Lyra>
> Published: 2026-12-02 21:30:41+00:00

**Recommendation:** Save the latest training state separately from the best-validation-loss checkpoint so a restart resumes where training actually stopped; the source lost 20,000 steps by reloading the best-loss checkpoint.
More in the playbook "Fine-tuning and data": <https://wpnews.pro/playbooks/training-data>

I wanted to see how far I could get with the GPU I already had. Pretraining Lyra on 6.4B tokens took a little over a week on my 8 GB 3060 Ti. Then I fine-tuned it on about 78,000 examples to see what it would take to turn a text completer into something I could chat with.

One restart sent me back 20,000 steps. My resume command loaded the checkpoint with the best validation loss, which hadn’t improved in a while. Now I save the latest training state separately so a restart picks up where I actually left off.

You can try the instruct checkpoint locally with python chat.py. It handles simple questions and still confidently makes things up. The training code is Apache 2.0 if you want to retrain it, and both checkpoints are available under CC BY-NC 4.0.

Base checkpoint [https://huggingface.co/luka0x12/Lyra-326M-base](https://huggingface.co/luka0x12/Lyra-326M-base)
Instruct checkpoint [https://huggingface.co/luka0x12/Lyra-326M-Instruct](https://huggingface.co/luka0x12/Lyra-326M-Instruct)
Architecture and training notes [https://luka0x12.github.io/Lyra/](https://luka0x12.github.io/Lyra/)

Comments URL: [https://news.ycombinator.com/item?id=50736541](https://news.ycombinator.com/item?id=50736541)

Points: 1

# Comments: 0
