Minimind
Train a 64M-parameter LLM from scratch in just 2h!
MiniMind is a teaching project for training a tiny language model (about 64M parameters) from scratch in plain PyTorch. The author reports about 2 hours for one epoch on a single NVIDIA 3090; CPU or Apple MPS also work but more slowly. Pre-trained weights are on Hugging Face and ModelScope and run through Ollama, llama.cpp or vLLM. The code is Apache-2.0; we have not checked the licence on the weights' model cards. Facts come from the README; installation was not tested.
The facts
| Question | Answer | Source | Checked |
|---|---|---|---|
| Runs on my machine? | Yes. Local training and inference; also runs through Ollama | github.com | Checked 12 days ago |
| Code licence | Open source. Apache-2.0 | github.com | Checked 13 days ago |
| Model weights licence | Unknown. Not verified: the README says the project is Apache-2.0, but the model cards for the released weights (Hugging Face, ModelScope) were not checked | Know the answer? | Checked 12 days ago |
| Commercial use | With conditions. Code is Apache-2.0; terms for the released weights not verified | github.com | Checked 12 days ago |
| Paid services needed? | None required; the "RMB 3" figure is an optional GPU rental cost | github.com | Checked 12 days ago |
| Hardware | No minimum stated; about 2 hours per epoch on one NVIDIA 3090 (24GB); CPU or Apple MPS also work, more slowly | github.com | Checked 12 days ago |
| Operating systems | Author's setup is Ubuntu 20.04 with CUDA; MPS implies macOS; Windows not stated | github.com | Checked 12 days ago |
| Setup effort | Medium; clone the repo, pip install the requirements and download weights, or use Ollama | github.com | Checked 12 days ago |
Each fact has its own date. Unknown means nobody has published it. We read their documentation; we didn’t install it. Running it yourself costs your hardware, electricity and setup time. Report a correction.
No licence changes since we started watching. Licence changes: follow Minimind and we email you if its terms change.
Stars over time
Building history +4,220 stars this week. Too early to say if that’s fast or slow for it: that needs five weeks of daily counts. Stars show attention, not quality. Where these numbers come from.