MiniMind offers a from-scratch 64M-parameter LLM training project
Open-source releasePublished: Source: GitHub Trending (Python, daily)
TL;DR:The open-source MiniMind project provides code and datasets for training a roughly 64-million-parameter language model from scratch.
The open-source MiniMind project provides code and datasets for training a roughly 64-million-parameter language model from scratch. Its maintainers say supervised fine-tuning takes about two hours on one NVIDIA RTX 3090, with GPU rental costing about ¥3; the project is licensed under Apache 2.0. It includes implementations and tutorials spanning pretraining, fine-tuning, LoRA, preference and reinforcement learning, tool use, and agentic reinforcement learning.
Key points
- The main MiniMind-3 dense model has about 64 million parameters; a mixture-of-experts version is listed at 198 million total parameters, with 64 million active.
- The two-hour estimate refers specifically to one SFT epoch on a single NVIDIA RTX 3090, not the entire training pipeline.
- The repository includes native PyTorch implementations, training data, tutorials, and support for pretraining, SFT, LoRA, DPO, PPO, GRPO, CISPO, and tool-use workflows.
- The project is released under the Apache 2.0 license.
Why it matters
The repository offers developers and learners a relatively low-cost way to inspect and reproduce the stages behind LLM training, rather than relying only on high-level framework abstractions. Its small model and end-to-end materials make hands-on experimentation possible on a single consumer GPU.
Companies and models mentioned
- MiniMind
- MiniMind-3
- NVIDIA RTX 3090
- PyTorch
- Apache 2.0