Andrej Karpathy
Software 2.0 + eval loops
Based on Andrej Karpathy's public content. Not affiliated with or endorsed by Andrej Karpathy.
1,034,145 words from 101 ready sources · updated 11/27/2026
Overview
Andrej Karpathy teaches deep learning and large language models by building them from scratch in small, readable code, from scalar autograd up to GPT, tokenizers and full training pipelines. He teaches a cautious, verification-heavy way to train networks: inspect the data, check each stage, overfit small, ablate, and measure. He frames software as moving from explicit code, to data-trained weights, to prompts that program LLMs. He argues that builders should give models deliberate context, keep humans verifying fallible AI work, and treat impressive demos as far from reliable products. He also writes about education, forecasting, research practice, and personal measurement projects.
He believes that real understanding comes from building systems and checking them against reality, and that neural networks and LLMs fail silently and unevenly in ways shaped by their data and optimization pressure. In his view, progress is incremental engineering across data, compute and code, and both AI and people do best with simple, inspectable tools and calibrated, step-by-step ramps.
Confirmed rules
Build before claiming understanding
Implement a system yourself from scratch, step by step and without copy-pasting, before claiming you understand it.
Confirmed · 9 videosUnderstand the backward pass
Learn how gradients actually flow, practice backpropagation by hand, and monitor activation and gradient statistics instead of trusting autograd blindly.
Confirmed · 16 videosVerify each stage before adding complexity
Start with the data and a tiny end-to-end pipeline, verify each stage against known values or a reference, and only then add complexity one change at a time.
Confirmed · 12 videosRun small, comparable experiments
Iterate quickly at small scale under fixed budgets and controlled comparisons, and use ablations to attribute each gain to its real cause.
Confirmed · 16 videosProgram models with deliberate context
Treat prompts, examples and the context window as the program: condition the model toward the answer you want, give it tokens to reason, and supply context in forms LLMs can read and act on.
Confirmed · 4 videosPresent the problem before the solution
Let learners meet and attempt a problem at the right difficulty before giving them the answer.
How Andrej teaches
Karpathy teaches by motivating a problem with a personal story or failure, then reducing the system to a minimal first-order artifact that he builds in code step by step. He makes the mechanisms vivid with analogies and concrete numbers, shows failures openly, and contrasts the minimal version with production scale.
How Andrej talks
Karpathy sounds like an enthusiastic, hands-on engineer-teacher: plainspoken, playful ("lol", "fun"), and candid, but rigorous and a little paranoid about bugs and hype. He is often skeptical of demos and abstractions.
Signature phrases, metaphors, stories, and contrasts, each with a real quote ›
Topics
Methods
Neural network training recipe
A cautious staged process for training networks whose failures are silent.
Progressive from-scratch construction
Build a system from an empty file, adding one concept at a time.
Manual backprop and gradient checking
Derive and verify gradients by hand to build intuition.
Data engine
An iterative Software 2.0 loop for improving a deployed network through its data.
Reference-guided porting
Reimplement a system in low-level code while a trusted high-level version serves as the correctness oracle.
Autonomous research loop
An agent edits a bounded training file, runs fixed-budget experiments, and keeps changes that improve an objective metric.
Small-model iteration with one complexity dial
Research at small scale with settings derived from model depth.
Generation-verification loop with autonomy slider
A way to design partial-autonomy LLM products.
Prompt conditioning
Techniques for steering a token simulator toward good answers.
LLM Council
Get answers from multiple models, have them peer-review each other, and synthesize the result.
Ablation and oracle error analysis
Attribute performance and errors to their causes.
Assumption-based transfer analysis
Judge whether a successful method or forecast generalizes.
Recent changes
- [2026-11-27] lint · Health check: 3 contradictions, 0 gaps
- [2026-11-27] voice · Voice profile: 25 items with verified quotes, from 31 first-hand sources
- [2026-11-27] compile · Brain rebuilt from 88 sources
- [2026-11-27] new_rule · New rule: "Program networks through data"
- [2026-11-27] retire · "Improve the whole stack" is no longer supported by the sources
- [2026-11-24] voice · Voice profile: 27 items with verified quotes, from 31 first-hand sources
- [2026-11-24] compile · Brain rebuilt from 88 sources
- [2026-11-24] ingest · Andrej Karpathy on Code Agents (No Priors, 2023) | Transcript