# Minimind

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

- Repository: https://github.com/jingyaogong/minimind
- Official docs: https://github.com/jingyaogong/minimind#readme
- Checked: 2026-11-19

## What it replaces
Nothing people pay for: a free tool, listed because people search for it.

## Facts, with sources

| Question | Status | Answer | Source | Checked |
|---|---|---|---|---|
| Runs on my machine? | Confirmed | Yes, local training and inference; also runs through Ollama | https://github.com/jingyaogong/minimind/blob/master/README_en.md | 2026-11-19 |
| Code licence | Confirmed | Apache-2.0 | https://github.com/jingyaogong/minimind#license | 2026-11-18 |
| 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 | none found | 2026-11-19 |
| Commercial use | Partial | Code is Apache-2.0; terms for the released weights not verified | https://github.com/jingyaogong/minimind/blob/master/README_en.md | 2026-11-19 |
| Paid services needed? | Confirmed | None required; the "RMB 3" figure is an optional GPU rental cost | https://github.com/jingyaogong/minimind/blob/master/README_en.md | 2026-11-19 |
| Hardware | Partial | No minimum stated; about 2 hours per epoch on one NVIDIA 3090 (24GB); CPU or Apple MPS also work, more slowly | https://github.com/jingyaogong/minimind/blob/master/README_en.md | 2026-11-19 |
| Operating systems | Partial | Author's setup is Ubuntu 20.04 with CUDA; MPS implies macOS; Windows not stated | https://github.com/jingyaogong/minimind/blob/master/README_en.md | 2026-11-19 |
| Setup effort | Confirmed | Medium; clone the repo, pip install the requirements and download weights, or use Ollama | https://github.com/jingyaogong/minimind/blob/master/README_en.md | 2026-11-19 |

GitHub: 73689 stars, 9747 forks, last push 2026-11-26, archived: no.

## Alternatives to Minimind
- [OpenMAIC](https://repoquarry.dev/projects/openmaic.md): Self-hosted AI classroom that turns a topic or document into slides, quizzes and simulations taught by AI teachers and classmates.
- [Claude How To](https://repoquarry.dev/projects/claude-howto.md): Visual guide to Claude Code in 10 tutorial modules, with Mermaid diagrams and copy-paste slash commands, skills, hooks, MCP and subagent configs.
- [DeepTutor](https://repoquarry.dev/projects/deeptutor.md): Self-hosted AI tutoring workspace from HKU: chat over your documents, quizzes, research, solving and mastery paths, with cloud or local LLMs; Apache-2.0.
- [Claude Quickstarts](https://repoquarry.dev/projects/claude-quickstarts.md): Anthropic's starter projects for building on the Claude API, from a support chatbot and data analyst to computer-use and browser agents.
- [Marble Skill Taxonomy](https://repoquarry.dev/projects/os-taxonomy.md): Open JSON dataset of 1,845 primary-school micro-topics linked by 3,941 prerequisite edges and mapped to curriculum standards such as Common Core and NGSS.
- [AI Engineering Hub](https://repoquarry.dev/projects/ai-engineering-hub.md): A collection of 90+ hands-on AI projects and tutorials covering LLM apps, RAG, AI agents, MCP servers and fine-tuning, mostly in Python.
---
Source: RepoQuarry (https://repoquarry.dev/projects/minimind). Data licence: CC BY 4.0. Quotes are from project documentation and belong to their authors.
