jingyaogong/minimind
Template
Can I trust it?
No red flags in our checks.
Stars from real accounts OK
Our fake-star check passed. In a sample of 53 stargazers, 6% were accounts under a month old and 11% had no followers or repos.
Active OK
Last change today.
Licence OK
Apache-2.0: you can use it for free, also in a commercial product. Keep the licence notice.
Quick checks from public data. They help, but they are no guarantee.
What it is
A from-scratch training project for a small language model of about 64M parameters, with full code for tokenizer training, pretraining, SFT, LoRA, DPO, PPO/GRPO reinforcement learning, tool use and distillation. Implements core algorithms in native PyTorch and includes an…
Who it's for
Python developers and students learning how LLMs are built and trained end to end on a single consumer GPU
How to use it
Ask your AI to set it up
Paste this into Claude, ChatGPT or your coding assistant.
Help me install and set up jingyaogong/minimind in my project. Follow its README: https://github.com/jingyaogong/minimind. Explain each step and check it is safe before running anything.
Star curve
Alternatives
Similar projects named in its profile. Each link searches the directory.
Get alerts for repos like this
We'll email you when something in Models & inference starts rising. Free, once a week, only what matches.
What arrives: one email on Mondays with the repos that match, never more. See last week's. Privacy
For maintainers
Add this badge to your README. It shows the repo's place on the radar, updates every hour and links back to this page.
[](https://repoalerts.com/repo/jingyaogong/minimind?ref=badge)Similar repos
- logitcai/tinybrain
A from-scratch Chinese small language model project in PyTorch, covering a 60B-token open dataset, a custom tokenizer, a mHC, Engram and MoE architecture with Muon optimizer, and the full pipeline fro
- datawhalechina/diy-llm
An open Chinese-language course that teaches full-stack LLM development, covering pre-training data, tokenizers, Transformers, Mixture of Experts, distributed training, scaling laws, inference and ali
- datawhalechina/zero-to-sglang
A free, bilingual (English and Chinese) tutorial course on LLM inference. It covers inference concepts such as KV Cache, prefill and decode, then guides readers through building a mini-sglang step by
- prabeakarve/microgpt
A dependency-free GPT implementation in pure NumPy, with a byte-level tokenizer, multi-head causal self-attention, hand-written backward pass, AdamW training with warmup and cosine schedule, and top-k
- aa1143/NamiGPT
A Chinese-language step-by-step tutorial that builds GPT-2 from scratch in PyTorch without using existing Transformer modules. It walks through tokenization, embeddings, attention, and blocks using a
- xingjian-bai/opal
A PyTorch optimizer wrapper that lets a coding agent (Claude Code) rewrite the optimizer's update rules, learning rates, schedules and related code while a model trains. Until the agent changes someth