jingyaogong/minimind
- Stars
- 68,625
- Language
- Python
- License
- Apache-2.0
- Daily
- rank 4 · +473 stars gained
Repository metrics were observed on this edition date and may have changed.
Key Details MiniMind provides PyTorch-based code and inference interfaces for pretraining, supervised fine-tuning, LoRA, and reinforcement learning of small language models. Beyond educational explanations, it includes Dense and MoE model implementations, training for multi-turn tool use, an OpenAI API-compatible server, and a chat WebUI. Use Cases The documentation describes a workflow for pretraining and supervised fine-tuning with the supplied datasets, followed by CLI inference using the resulting weights or published models. A separate WebUI supports displaying the reasoning process, selecting tools, and making multi-turn tool calls. Costs and Limitations The README states that the code is free to use and sponsorship is optional. Hardware, electricity, and GPU rental costs for training and inference are separate. The developer's claim of '2 hours and 3 yuan' refers to the time required for one epoch of SFT on a single NVIDIA 3090 and the rental price at that time; it does not guarantee total training costs or performance in other environments. Adoption Considerations A Python and PyTorch environment, model weights, and data preparation are required. The documentation notes that speed and compatibility can vary substantially across CUDA, CPU, and MPS. The WebUI requires a specific model folder arrangement, and there are restrictions on directly loading older models as well as notices that maintenance has ended, so version compatibility should be checked. The most recent official feature release as of the observation date still needs to be verified. Why It Stands Out It was observed at No. 4 on daily Trending, with an increase of 473. The README's 2026-04-01 changelog describes Agentic RL training and extensions to the tool-calling interface. The latest release was registered on 2025-10-21 and provides only a documentation link, so that changelog should not be confused with the contents of the latest release.
View on GitHub