Confirmed · 4 videos

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.”

29:43later this week or something in some way like either it's a uh it's probably a
29:45like either it's a uh it's probably a video or something like that but um but
29:48video or something like that but um but maybe roughly speaking that's what I
29:50maybe roughly speaking that's what I would try to do is build the stuff
29:51would try to do is build the stuff yourself uh but uh don't allow yourself

“If I can't build it, I don't understand it.”

30:05don't understand it >> interesting
30:06>> interesting >> and it always leads to a deeper
30:07>> and it always leads to a deeper understanding uh and um it's like just
30:10understanding uh and um it's like just the only way to to build is like if I
30:12the only way to to build is like if I can't build it I don't understand it is

“Build the code, arrange it, get it to work. It's the only way to go.”

30:25have the knowledge you just in had the knowledge. So, don't write blog posts,
30:27knowledge. So, don't write blog posts, don't do slides, don't do any of that.
30:28don't do slides, don't do any of that. Like, build the code, arrange it, get it
30:30Like, build the code, arrange it, get it to work. It's the only way to go.
30:31to work. It's the only way to go. Otherwise, you're missing knowledge.

“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”

Linked topics