luka0x12/Lyra
A 326M-parameter decoder-only Transformer trained from scratch on 6.4B tokens using a single RTX 3060 Ti. Includes the full pretraining, SFT, and inference pipeline.
Rising: +281 stars in the last 2 days, created 3d ago
- 1.6kstars
- 180forks
- 3open issues
- updated 2d ago
About Lyra
Lyra is a free, open-source AI resource list by luka0x12, written mainly in Python. A 326M-parameter decoder-only Transformer trained from scratch on 6.4B tokens using a single RTX 3060 Ti. Includes the full pretraining, SFT, and inference pipeline. It has 1.6k GitHub stars and 180 forks, and was last updated 2d ago. It's released under the Apache-2.0 license, a standard open-source license. According to the project, it needs a GPU with at least 8 GB of memory.
Similar free tools
ml-engineering20k stars · A comprehensive guide for machine learning engineering and operations.
tiny-llm5.8k stars · Learn to build an LLM inference system on Apple Silicon.
how-to-train-your-gpt-zh434 stars · How to Train Your GPT 中文版:从零手写一个 GPT(分词、注意力、训练、推理、LoRA/QLoRA/DPO 微调),每行代码都有中文注释
ColossalAI41k stars · Provides GPU cloud services and APIs for training large AI models.
KnowledgeEditingPapers1.3k stars · Must-read Papers on Knowledge Editing for Large Language Models.
llama-cookbook19k stars · Curated guide for building with Llama models and APIs.
Discussions
Lyra FAQ
Can I use Lyra commercially?
No, because of the model. The code is Apache-2.0, but the model it uses has its own terms (cc-by-nc-4.0: the model can't be used commercially). This is a plain-English summary, not legal advice.
Is Lyra free?
Yes. Lyra is open source and free to use. It's released under the Apache-2.0 license, a standard open-source license.
Does Lyra run on a Mac?
The project doesn't say. Check its installation guide before you start.
Does Lyra need a GPU?
According to the project, Lyra needs a GPU with at least 8 GB of memory.
Is Lyra still maintained?
Yes. It was last updated 2d ago and has 3 open issues on GitHub.
How hard is Lyra to set up?
Hard: typically 1–3 hours, using build from source.
What are alternatives to Lyra?
Similar free, open-source tools include ml-engineering, tiny-llm, how-to-train-your-gpt-zh, ColossalAI.