Build before claiming understanding
Implement a system yourself from scratch, step by step and without copy-pasting, before claiming you understand it.
Karpathy argues that implementation exposes the details that surface familiarity hides, and that reading a derivation is not the same as being able to reproduce it. He applies this to micrograd, makemore, GPT, tokenizers, llm.c and even Bitcoin. He also pairs it with active exercises rather than passive watching.
Based on Andrej Karpathy's public content. Not affiliated with or endorsed by Andrej Karpathy.
What following it looks like
- Codes a component from an empty file and checks reference code without copy-pasting it
- Re-derives key material from memory instead of only rereading it
- Works through exercises before checking the provided solution
- Builds a small concrete project, such as a Storyteller, that ties the concepts together
Evidence · 12 quotes from 4 videos
Each quote was matched word for word against the transcript. Tap the time to hear it.
“Build the stuff yourself, but don't allow yourself copy-paste.”
“If I can't build it, I don't understand it.”
“Build the code, arrange it, get it to work. It's the only way to go.”
“is a tiny scalar-valued autograd engine (with a bite!”
“is a deep learning library written from scratch entirely in Javascript.”
“Update: my most revent [arxiv-sanity-lite](https://arxiv-sanity-lite.com/) from-scratch rewrite is much better.”
“Build the stuff yourself, but don’t allow yourself copy-paste.”
“If I can’t build it, I don’t understand it.”
“Build the code, arrange it, get it to work. It’s the only way to go. Otherwise, you’re missing knowledge.”
“We are going to build everything end-to-end from basics to a functioning web app similar to ChatGPT, from scratch in Python, C and CUDA, and with minimal computer science prerequisites.”
“In this course we will build a Storyteller AI Large Language Model (LLM).”
“Hand in hand, you'll be able to create, refine and illustrate little [stories](https://huggingface.co/datasets/roneneldan/TinyStories) with the”