Skip to content
RepoQuarry
Weekly email Suggest a project

Courses and learning

Minimind

Train a 64M-parameter LLM from scratch in just 2h!

YesRuns on my machine?
With conditionsAllowed at work?
NoDo I have to pay for anything?
MediumSetup

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

QuestionAnswerSourceChecked
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.

  • Minimind
73,68965,776 2026-11-192026-12-01 Tracked daily begins 2026-11-19Minimind, 2026-11-19: 66,496 stars, trackedMinimind, 2026-11-20: 66,886 stars, trackedMinimind, 2026-11-21: 67,696 stars, trackedMinimind, 2026-11-22: 68,159 stars, trackedMinimind, 2026-11-23: 68,670 stars, trackedMinimind, 2026-11-24: 69,469 stars, trackedMinimind, 2026-11-25: 70,220 stars, trackedMinimind, 2026-11-26: 70,964 stars, trackedMinimind, 2026-11-27: 71,654 stars, trackedMinimind, 2026-11-28: 72,216 stars, trackedMinimind, 2026-11-29: 72,580 stars, trackedMinimind, 2026-11-30: 72,991 stars, trackedMinimind, 2026-12-01: 73,689 stars, tracked
Focus a point, use arrow keys, or tap for its value.

Tracked daily since 19 Nov 2026. Dashed history is estimated (how).

Others that do the same job

Cookie preferences

Choose what we may store in your browser. You can change this any time from Cookie settings in the footer.

Essential

Security, and remembering this choice. rq-consent · 12 months

Always on