#23 · Primary category: Education & Research
minimind
🧠 Train a 64M-parameter LLM from scratch in just 2h!
Project last updated:08/29/26
GitHub Stars
55.1K
Forks
7.2K
Contributors
13
License
Apache-2.0
Why we included this project
MiniMind is a rare thing: a full LLM training pipeline small enough that one person can actually run it. The project trains a roughly 64M-parameter model from scratch, with every stage implemented natively in PyTorch rather than through high-level framework wrappers. The code walks through tokenizer training, pretraining, supervised fine-tuning, LoRA, DPO, and reinforcement-learning stages like PPO and GRPO, plus tool use and agentic RL. Because the model is tiny, the SFT stage finishes in about two hours on a single NVIDIA 3090, which makes it practical to reproduce the results and then tinker with the internals. That combination of completeness and small scale is what makes it useful both as a hands-on tutorial for people learning how LLMs work and as a compact reference for engineers who want to see minimal, readable implementations.
Articles for this project
No articles for this project yet.
To suggest a topic or contribute an article, contact us.
Related projects in this category
prompts.chat
f.k.a. Awesome ChatGPT Prompts. Share, discover, and collect prompts from the community. Free and open source — self-host for your organization with complete privacy.
JavaGuide
Java Interview & Backend General Interview Guide, covering computer fundamentals, databases, distributed systems, high concurrency, system design, and AI application development.
system-prompts-and-models-of-ai-tools
A curated collection of system prompts, internal tools, and AI models from popular AI assistants and coding agents.
30-seconds-of-code
Coding articles to level up your development skills
generative-ai-for-beginners
21 Lessons, Get Started Building with Generative AI