jingyaogong/minimind resource
🧠 Train a 64M-parameter LLM from scratch in just 2h! observed · 2026-08-28
Health v2 · maintenance only
62/100
- Activity 98
- Release rhythm 21
- Longevity 54
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 767
- days_rel: 316
- days_push: 12
- n_releases_24m: 1
Adoption not part of the score
55036 stars · 7180 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
MiniMind is an open-source project that trains tiny (64M-parameter) large language models completely from scratch in pure PyTorch, covering the full pipeline from tokenizer to pretraining, SFT, LoRA, RLHF/DPO, RLAIF (PPO/GRPO/CISPO), tool use, and distillation. It doubles as a hands-on tutorial for understanding LLM internals, with models deployable via vLLM, ollama, llama.cpp, or an OpenAI-compatible API.
Use cases
- train a small LLM from scratch on a single consumer GPU
- learn how LLM pretraining and SFT work internally
- experiment with RLHF, DPO, PPO, and GRPO implementations
- understand MoE architectures with readable code
- build a tiny chatbot with tool calling and reasoning
- teach an LLM course with a reproducible codebase
- fine-tune and distill a lightweight language model
- serve a custom-trained model with an OpenAI-compatible API
When to choose
- you want to understand every step of LLM training without black-box abstractions
- you have limited GPU budget and want to train a model from zero cheaply
- you need an educational, reproducible reference implementation of modern LLM training techniques
- you want a tiny model compatible with vLLM, ollama, or llama.cpp
When to avoid
- you need a production-grade, high-capability LLM for real applications
- you only want to fine-tune an existing large model with LoRA
- you need multimodal, speech, or vision capabilities out of the box (see MiniMind-V/O instead)
- you require enterprise support, scaling, or extensive evaluation benchmarks
Facets
learning-resource · maturity active
llm-training machine-learning deep-learning llm-inference chatbot rag agent-framework large-language-models artificial-intelligence deep-learning education python cross-platform train-from-scratch pytorch moe rlhf dpo grpo lora sft pretraining model-distillation tool-calling tutorial small-language-model openai-api-compatible natural-language-processing gpu
2 sources
- readme: https://github.com/jingyaogong/minimind · fetched 2026-08-28 · 19385d2819db
- homepage: https://jingyaogong.github.io/minimind · fetched 2026-08-28 · e62203af6f60
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| jingyaogong/minimind | main | 62 |
For agents
markdown · JSON · MCP: product_card(name="jingyaogong/minimind")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem