• Picks
  • Discover
  • Alternatives
  • About

© 2026 Willet

  • Newsletter
  • About
  • FAQ
  • Terms
  • Privacy & Cookies
Join the Discord (opens in a new tab)
jingyaogong avatar

MiniMind

Train a tiny language model from scratch on a single consumer GPU

  • AI models and runtimes
  • Education
View on GitHub
Website

What it is

MiniMind is a from-scratch PyTorch implementation of a small LLM (around 64M parameters, plus MoE variants) with the full training pipeline: tokenizer training, pretraining, SFT, LoRA, DPO, PPO/GRPO reinforcement learning, tool use, agentic RL and distillation. Core algorithms are written without high-level wrappers, and the project ships datasets, released weights, an OpenAI-compatible server and a simple chat web UI. Learners and researchers work through it to understand how language models are built and to reproduce a full training run in a couple of hours on one GPU.

Images

Facts

Stars
64,043 GitHub stars.
64,043

Forks
8,335
Commits
408
Contributors
19
Language
Python
License
Apache-2.0
Last commit
Sep 22, 2026
On GitHub since
July 2024
First release
September 2024
Platforms
Linux, CLI
Self-hostable
No
Author
jingyaogong
Tags
  • model-training
  • reinforcement-learning
  • open-weights
  • machine-learning
  • courses
  • fine-tuning

Last synced from GitHub on Oct 20, 2026

The 10 best overlooked open-source projects, every Monday.

Share and more

Comments

No comments yet. Start the conversation.

Similar projects

  • Alpamys Makazhan avatar

    Soup

    YAML-driven CLI for fine-tuning LLMs on consumer GPUs

    9.5k
  • DeepSeek avatar

    DeepSeek-V3

    Open-weight 671B Mixture-of-Experts language model with 128K context

    105k

What people are saying

Updated Oct 21, 2026
  • Hacker NewsMiniMind: End-to-end GPT-style LLM training pipeline in pure PyTorchMar 24, 2026 · 3 points · 1 comment (opens Hacker News in a new tab)
  • Bluesky“In a sign of the fraught times, I almost deployed a new mini LLM, Minimind on my computer & began training it, before deleting the files, since the Chinese…”Jan 12, 2025 · 2 likes · 1 reply (opens Bluesky in a new tab)
  • Bluesky“Train a 64M language model from scratch for 43 cents. One RTX 3090, about 2 hours, 3 yuan of rental at Chinese prices, per the minimind README. The catch: one…”Sep 7, 2026 · 0 likes · 0 replies (opens Bluesky in a new tab)
  • Bluesky“9. Train 64M-parameter LLM from scratch in 2 hours with MiniMind LINK 10. MediaTek integrates NVIDIA NVLink Fusion for custom XPU rack-scale connectivity LINK”Sep 1, 2026 · 0 likes · 0 replies (opens Bluesky in a new tab)
  • Bluesky“Minimind ships a 64M LLM trained in 2 hours. Trains a 64M-parameter model from scratch in 2h on a single GPU, +472 stars today. #LLM #DevTools 🔗”Aug 31, 2026 · 0 likes · 0 replies (opens Bluesky in a new tab)
  • Bluesky“tarunerror starred jingyaogong/minimind tarunerror starred jingyaogong/minimind · February 7, 20... Event Attributes”Feb 7, 2025 · 0 likes · 0 replies (opens Bluesky in a new tab)