An open-source project that lets you train a small 64M-parameter AI language model from scratch in about two hours on a single GPU.
MiniMind is a teaching and experimentation project that builds a tiny large language model (LLM) from the ground up, the same type of technology behind chatbots like ChatGPT. Most people only ever fine-tune existing big models, which hides how they actually work. This project shows the full training pipeline in readable code, so anyone with a personal GPU can see every step. The README says the smallest main version is roughly 1/2700 the size of GPT-3.
Clone the repository with git clone --depth 1 https://github.com/jingyaogong/minimind, then run pip install -r requirements.txt. You can also try a pre-trained model with ollama run jingyaogong/minimind-3, or use the online demo linked in the README.
$ git clone https://github.com/jingyaogong/minimind.gitWhy it matters for business
The project signals growing interest in small, cheap, custom models that run on consumer hardware, a trend relevant to founders building niche AI products and to investors watching lower-cost AI training. Its popularity (about 72,000 GitHub stars) suggests strong developer demand for hands-on AI education.
Keep in mind: The model is very small and is meant for learning, so its answers will be far weaker than commercial chatbots, and the README's cost and timing figures come from the author's own hardware and setup.