#3939th of 126 in Training and fine-tuning
minimind
Train a 64M-parameter LLM from scratch in plain PyTorch
Run it:Vast.ai ↗ (opens in a new tab)Clore.ai ↗ (opens in a new tab)Affiliate links, no effect on a rank.
Watch puts minimind on your watch list: its new releases and known problems since your last visit. Kept in this browser, no account.minimind is on your watch list. Its new releases and problems show there.
- Stars
- 72.8k
- License
- Apache-2.0
- Last commit
- Nov 2026
- Last release
- Oct 2025
- Language
- Python
44,742 on 24 Mar 202672,846 on 24 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
MiniMind is a from-scratch training stack for small language models: a Qwen3-style dense (64M) and MoE (198M-A64M) architecture, tokenizer training, pretrain, SFT, LoRA, DPO, PPO/GRPO/CISPO and agentic RL. Core algorithms are written in native PyTorch rather than through transformers/trl/peft. The README reports about 2 hours on one RTX 3090 for the SFT epoch, and it ships datasets, an OpenAI-compatible server and a Streamlit chat UI.
Who it is for: Engineers and students who want to train and understand a small LLM end to end
Strengths
- Covers pretrain, SFT, LoRA, DPO, PPO/GRPO/CISPO and agentic RL in one repo
- Core training code is native PyTorch, readable without trl or peft abstractions
- Published datasets and checkpoints; mini data pair reproduces a chat model on one GPU
- Exports to transformers, llama.cpp, vllm and ollama; DDP and DeepSpeed multi-GPU supported
Weaknesses
- Models are 64M-198M parameters with a 6,400-token vocabulary, so output quality is limited
- Full pretrain and SFT datasets are 10GB and 14GB, a heavy download
- Main README is Chinese; English version is a separate file
- Latest tagged release is from 2025-10, while minimind-3 weights are newer
What it needs
- GPU optional
- Needs PyTorch, Streamlit (optional web UI), wandb or SwanLab (optional logging)
- Models: PyTorch .pth, Transformers format, llama.cpp, vllm, ollama
What changed
From the release notes. No flag means the note does not say so, not that the upgrade is safe. Releases and problems by RSS
Also in Training and fine-tuning
See all 126| Rank | Project | Score |
|---|---|---|
| #37 | milesRL post-training framework pairing SGLang rollout with Megatron-LM training | 70 out of 100 |
| #38 | prime-rlAsynchronous RL trainer for large LLMs, built on FSDP2 and vLLM | 70 out of 100 |
| #40 | slimeRL post-training framework connecting Megatron training with SGLang rollout | 69 out of 100 |
| #41 | getiPlatform for annotating, training and deploying computer vision models | 69 out of 100 |
| #42 | colossalaiDistributed training library for large models with many parallelism strategies | 68 out of 100 |