Starvard University · Teachers We Admire

Teachers We Admire

Andrej Karpathy

Some people use AI. Andrej Karpathy understands it the way composers understand music, all the way down to the notes. His PhD work taught computers to describe photographs in sentences. His course notes taught a generation of engineers their trade. And his from scratch rebuilds of GPT are the clearest public thinking the field has ever produced. This page gathers his best work in one place for our students: the videos, the essays, the papers, the code.

Andrej Karpathy teaching
Andrej Karpathy, teaching. Photo via Wikimedia Commons (CC0).
Born 1986, Bratislava PhD Stanford, 2015 Co-founder OpenAI Director of AI Tesla, 2017 to 2022 Founder Eureka Labs Now pretraining research at Anthropic

Why we admire him

Start with the mind itself. Karpathy thinks about neural networks the way great engineers think about anything: from the bottom up, with nothing taken on faith. When he wants you to understand a transformer, he does not show you a diagram. He opens an empty file, types the whole thing from scratch, explains every line, trains it in front of you, and shows you where it breaks. By the end you do not just know what a GPT is. You have built one.

The research underneath is just as strong. His Stanford papers on teaching machines to describe images in words helped invent multimodal AI, the technology behind every vision model you use today. His lecture notes for CS231n, the course he created at Stanford, became the field's shared textbook. His essay A Recipe for Training Neural Networks is the document working engineers actually pass around. And when the whole industry was racing to ship bigger models, he was the one who slowed down, rebuilt GPT-2 from an empty file on camera, and beat the original, which tells you exactly how deep the understanding goes.

That combination is rare: a first rate researcher who is also the clearest teacher the subject has ever had, giving the whole thing away for free. That is why he tops this list. Everything below is his, linked to the original. We add the map, the order to watch things in, and notes on what each piece is for.

The man in five minutes

Andrej Karpathy was born in Bratislava, Slovakia, in 1986, and moved with his family to Toronto when he was 15. Long before the AI fame he was a teacher: his Rubik's Cube tutorial videos were so clear that world champion speedcuber Feliks Zemdegs has said he learned from them.

He studied computer science and physics at the University of Toronto, took a master's degree at the University of British Columbia, and finished his PhD at Stanford in 2015 under Fei-Fei Li, working where computer vision meets language: teaching machines to describe images in words. While still a student he created CS231n, Stanford's deep learning course, and its lecture notes became required reading for a generation of engineers.

The career followed the curiosity: a founding member of OpenAI, five years directing AI at Tesla (where his team made the then heretical bet that cars could drive on cameras alone, and were right), a return to OpenAI, and then his own education company, Eureka Labs. The timeline below has the dates. What matters more is the through line: wherever he went, he produced the clearest explanation of the thing he was building, and then he gave it away. "Vibe coding," nanochat, the GPT-2 rebuild, the Recipe: the famous artifacts are all teaching artifacts. In May 2026 he joined Anthropic to lead a pretraining research team, because even the best teacher in AI still wants to be in the lab.

Timeline

YearWhat happened
1986Born in Bratislava, Slovakia.
2001Family moves to Toronto, Canada. The Rubik's Cube tutorials come a few years later.
2015PhD from Stanford under Fei-Fei Li. Creates CS231n, the first deep learning course at Stanford. Co-founds OpenAI.
2017Joins Tesla as Director of AI, reporting to Elon Musk. CS231n is now drawing 750 students.
2020Named one of MIT Technology Review's Innovators Under 35.
2022Leaves Tesla. Starts posting the Zero to Hero lectures on YouTube.
2023Returns to OpenAI in February. Posts the one hour Intro to Large Language Models in November.
2024Leaves OpenAI in February. Founds Eureka Labs in July. The four hour GPT-2 reproduction video lands in June.
2025Deep Dive into LLMs and How I Use LLMs in February. Coins "vibe coding." Releases nanochat in October.
2026Publishes microgpt in February: a complete GPT in 200 lines of pure Python. Joins Anthropic in May to lead pretraining research.

Start here: his three videos for everyone

You do not need to write code to get the modern world from these three. Together they are the best public education in AI that exists, full stop.

Andrej Karpathy teaching in Introduction to Large Language Models

Watch first · 59 minutes · 4.2M views

Intro to Large Language Models

The one hour talk, from November 2023. What an LLM actually is (two files: a pile of parameters and the code that runs them), how it is trained, what RLHF does, and why these systems dream and hallucinate. If a relative asks you what ChatGPT is, send them this.

Watch on YouTube
Andrej Karpathy teaching in Deep Dive into LLMs

The deep end · 3 hours 31 minutes · 10M views

Deep Dive into LLMs like ChatGPT

February 2025. The full stack, slowly: pretraining on the internet, tokenization, what the network is doing inside, inference, fine tuning, reinforcement learning, DeepSeek-R1 and reasoning models, hallucinations, and his idea of jagged intelligence, brilliant at some things and strangely dumb at others. The single most useful video on this page.

Watch on YouTube
Andrej Karpathy teaching in How I Use LLMs

The practice · 2 hours 11 minutes · 2.8M views

How I Use LLMs

February 2025. Karpathy at his desk, using ChatGPT, Claude, Gemini and Grok the way he actually uses them: when to reach for a thinking model, how he studies with them, how he checks their work. Less theory, more craft. Watch this one with a notebook.

Watch on YouTube

Neural Networks: Zero to Hero

His masterwork for builders. One playlist that starts at "what is a derivative" and ends with you training GPT-2. Every lecture is a build. The companion notebooks live in the nn-zero-to-hero repo, and the full playlist is here.

#LectureLengthYou build
1The spelled-out intro to neural networks and backpropagation: building micrograd2:25An autograd engine, the thing inside PyTorch, in about 100 lines. Repo: micrograd
2The spelled-out intro to language modeling: building makemore1:57A character level language model from counts and probabilities. Repo: makemore
3Building makemore Part 2: MLP1:15A multilayer perceptron language model, plus the real craft: splits, tuning, overfitting.
4Building makemore Part 3: Activations and Gradients, BatchNorm1:55Why deep networks are hard to train, and the fixes that made them work.
5Building makemore Part 4: Becoming a Backprop Ninja1:55Backpropagation by hand, no autograd allowed. The lecture that separates tourists from engineers.
6Building makemore Part 5: Building a WaveNet56 minA convolutional language model in the shape of DeepMind's WaveNet.
7Let's build GPT: from scratch, in code, spelled out1:56The transformer itself. Eight million views for a reason. Repo: nanoGPT
8Let's build the GPT Tokenizer2:13Byte Pair Encoding from scratch, and why so many LLM quirks are really tokenizer quirks. Repo: minBPE
9Let's reproduce GPT-2 (124M)4:01The capstone. GPT-2 from an empty file, then made fast: mixed precision, torch.compile, FlashAttention, eight GPUs, and results by morning. Repo: build-nanogpt

The talks

The writing

His blog is a decade of field notes from the front line of deep learning, and several posts became canonical. Start with the Recipe.

2019 · The one everyone prints

A Recipe for Training Neural Networks

Neural net training fails silently, he argues, so you need a process: become one with the data, get dumb baselines, overfit, then regularize. If you train models, read this before your next run.

2015 · The classic

The Unreasonable Effectiveness of Recurrent Neural Networks

The post that taught a generation what sequence models feel like from the inside: RNNs dreaming up fake Shakespeare, fake algebra proofs, fake C code. Includes char-rnn, the little repo that started a thousand experiments.

2017 · The idea

Software 2.0

His Medium essay arguing that neural networks are a new kind of software: written by optimization, run on data. The sequel idea, Software 3.0, arrived in his 2025 talk.

2016 · For grad students

A Survival Guide to a PhD

Choosing an advisor, picking problems, surviving the middle years. The PhD guide professors quietly send their students.

2016 · Reinforcement learning

Deep Reinforcement Learning: Pong from Pixels

Policy gradients explained through one beautiful example: an agent that learns Atari Pong from raw pixels and nothing else.

2022 · The long view

Deep Neural Nets: 33 Years Ago and 33 Years From Now

He rebuilds LeCun's 1989 network with modern tools, then asks what today's deep learning will look like in 2055. History and prophecy in one post.

2026 · The newest

microgpt

"It takes 200 lines of pure, dependency free Python to train and inference GPT. I cannot make this any shorter." The whole philosophy in one file. The full archive of everything he has written is on his blog.

The code

His GitHub is a teaching library disguised as a profile. The pattern is always the same: the smallest possible version of a big idea, readable in one sitting.

nanochat

October 2025. "The best ChatGPT that $100 can buy." The full pipeline (tokenizer, pretraining, fine tuning, evaluation, chat interface) in one hackable codebase, with a speedrun leaderboard the community now races on.

nanoGPT

The medium sized GPT implementation the Zero to Hero GPT lecture builds. Clean enough to read in an evening, strong enough to train real models.

micrograd

A tiny autograd engine with a PyTorch like API. About 100 lines, and the first lecture of Zero to Hero. The best hour you can spend on what backpropagation really is.

makemore

The language modeling playground from lectures 2 through 6: bigrams to MLPs to a WaveNet, one idea at a time.

minBPE

Minimal, clean Byte Pair Encoding, the tokenizer trainer from lecture 8, in basic and regex flavors.

llama2.c

Run inference on Llama 2 in one file of pure C, about 700 lines, no dependencies. Proof that the magic is smaller than you think.

char-rnn

Character level language models in Torch, the code behind the RNN Effectiveness post. Historically huge: this is where many people first saw a machine write.

LLM101n

The Eureka Labs course in progress: build a Storyteller LLM end to end, from basics to a working web app, in Python, C and CUDA. His next big teaching project.

The papers

Before the videos there was the research. These are the papers that made his name, all from the Stanford years unless noted.

Where it started: CS231n

In 2015 Karpathy created and taught CS231n: Convolutional Neural Networks for Visual Recognition, the first deep learning course at Stanford. It grew from 150 students to 750 in two years, and the course notes he wrote for it (assignments, readings, and the famous optimization walkthroughs) are still among the best free deep learning texts anywhere. The course lives on at cs231n.stanford.edu. Many of today's AI researchers trace their start to this class.

His big ideas

Software 2.0, then 3.0

First we wrote code (1.0). Then we trained weights and the data wrote the behavior (2.0). Now we program models in English with prompts, context and examples (3.0). Each layer does not replace the last. It swallows it.

"The hottest new programming language is English"

His 2023 line, and the most quoted sentence in modern AI. If prompts are programs, then careful, precise English is a technical skill, and teachers of writing just became computer science faculty.

The LLM is a new kind of operating system

From the Intro talk: the model is the kernel process of a new OS, the context window is its RAM, and tools and files are its peripherals. A mental model that makes the whole ecosystem suddenly legible.

Jagged intelligence

Models are superhuman at some tasks and bafflingly bad at adjacent ones, because they are lossy compressions of the internet, not minds. Knowing where the edge is jagged is the core skill of using them well.

Vibe coding

His February 2025 coinage for building software by describing what you want and letting the AI write the code. He meant it as a playful, half serious term for hobby projects. The industry adopted it as a roadmap within a month.

You learn it by rebuilding it

The method under everything on this page: micrograd, minBPE, llama2.c, microgpt. If you cannot rebuild the small version yourself, you do not understand the big one yet. That is a very Starvard idea, and it is why he leads our Teachers We Admire list.

The Starvard study path

How we suggest our own students work through him, alongside the Starvard catalog.

  1. Week one: the map. Watch Intro to Large Language Models, then the Deep Dive. No code. Just get the territory.
  2. Weeks two to six: the build. Work through Zero to Hero in order, typing every line yourself. Pair it with our own AI courses in the full catalog when you want a second explanation of anything.
  3. Then: the practice. Rewatch How I Use LLMs and steal his workflows. Then build something small of your own, the way he would: an empty file, one idea, no framework until you need one.
  4. For founders: when your project works, our CEO Training program is where Starvard students turn a working thing into a company, one week, one project, real mentorship.

Find him

About this page. A fan made field guide by Starvard students, because our students kept asking where to start with him. All videos, essays and code are his, and everything above links to the originals. Page last updated October 2026. If he posts something great tomorrow, we will add it.