Back to directory

Language Models · Directory rank #25

MiniMind

Train Your Own LLM From Scratch in 2 Hours.

Bid $5PikyAI reel featureVisit jingyaogong/minimind

Watch the reel

MiniMind is an open source project that trains a tiny 64 million parameter language model from scratch in about 2 hours for about 3 yuan of rented GPU time.

It walks you through the full pipeline — pretraining, fine tuning, LoRA, and reinforcement learning — all written in plain PyTorch you can actually read.

Key facts

  • Trains a tiny 64M language model from scratch
  • About 2 hours for about 3 yuan of GPU time — the maintainer’s measured SFT stage, 1 epoch on a single NVIDIA 3090
  • About 1/2700th the size of GPT-3
  • Full pipeline: pretraining, SFT, LoRA, DPO, PPO/GRPO, tool use, agentic RL and distillation in pure PyTorch
  • No giant cluster needed — a single graphics card is enough
  • A tutorial as much as a model — you learn how language models really work
  • MiniMind-V and MiniMind-O extensions
  • Main README is Chinese; English README_en.md exists
  • Apache-2.0 license
  • #4 GitHub trending on 26 November 2026

PikyAI has not tested it live. This page is a project overview from the README; no installation, training run, or model use was performed, and the 2 hour / 3 yuan figures are the maintainer’s measured SFT stage on a single NVIDIA 3090, not PikyAI measurements.

PikyAI reel on YouTube. Watch on Instagram

How to use it

  1. Repo kholo — github.com/jingyaogong/minimind (English README_en.md dekho).
  2. Pure PyTorch pipeline follow karo — pretraining se shuru, phir SFT, LoRA, reinforcement learning.
  3. Ek graphics card kaafi hai — giant cluster ki zaroorat nahi.
  4. Tutorial ki tarah parho — model ke saath seekho ke language models asal mein kaise kaam karte hain.

Pros and cons

Pros

  • Apna language model khud train karo — 2 hours, about 3 yuan GPU time.
  • Full pipeline ek jagah — pretraining se distillation tak.
  • Plain PyTorch — code parh ke samajh aata hai.
  • Ek graphics card kaafi hai.
  • Tutorial value — seekhne ke liye best.

Cons

  • 2 hour figure sirf SFT stage ka hai (1 epoch, single NVIDIA 3090) — poora pipeline lamba ho sakta hai.
  • Main README Chinese hai — English version alag file mein hai.
  • GPU rental free nahi — Apache license se hosting free nahi hoti.
  • PikyAI ne live test nahi kiya.

Alternative

How this rank works

Directory rank is set by bid, not by editorial opinion. New listings start at $5, a higher bid outranks a lower one, and taking #1 costs at least $5 more than the current top bid. Paid ranks always carry a Sponsored label, and payments are final and non-refundable. This listing sits at the $5 floor as a PikyAI house listing, not a paid rank.