karpathy / nn-zero-to-hero
git clone https://github.com/karpathy/nn-zero-to-hero.git
A video course with Jupyter notebooks that builds neural networks and backpropagation from scratch, from basics to Transformer language models.
Why you might care
Suits developers with basic Python and high-school calculus who want to understand training internals by writing the code step by step. Each lecture pairs a YouTube video with notebooks and exercises, covering micrograd, makemore, MLPs, activations/BatchNorm, and more.
+5
stars, 24h · #6,168
+~35
stars, 7 days · #5,797
+~150
stars, 30 days · #5,268
25k
★ total · +0% this week
3.6k
forks · 30 open issues
Star history (as recorded here)
LanguageJupyter Notebook
LicenseMIT
Created2022-09-08 (4y ago)
Last push2y ago
Watchers388
OwnerUser
Seen on GitHub Trending
- 2026-10-23 — #14 daily in jupyter-notebook · +10 ★
Links
README
Loading README…
Blurb generated by claude-haiku-5-5 1d ago. Star deltas marked ~ are extrapolated from partial history.