4:01:25

Andrej Karpathy reproduces GPT-2 124M from scratch with PyTorch, training on 10 billion tokens across 8 GPUs. The model hits 29.55% on HellaSwag and surpasses OpenAI's validation loss. A C-CUDA version runs 20% faster with identical results.

Chapters

More from Andrej

youtube.com

Skill Issue: Andrej Karpathy on Code Agents, AutoResearch, and the Loopy Era of AI

6mo ago
youtube.com

Andrej Karpathy — “We’re summoning ghosts, not building animals”

1y ago
youtube.com

How I use LLMs

1y ago
youtube.com

CUDA Mode Keynote | Andrej Karpathy | Eureka Labs

2y ago
youtube.com

No Priors Ep. 80 | With Andrej Karpathy from OpenAI and Tesla

2y ago
youtube.com

Let's build the GPT Tokenizer

2y ago
youtube.com

[1hr Talk] Intro to Large Language Models

2y ago
youtube.com

Let's build GPT: from scratch, in code, spelled out.

3y ago
youtube.com

Building makemore Part 5: Building a WaveNet

3y ago
youtube.com

Andrej Karpathy: Tesla AI, Self-Driving, Optimus, Aliens, and AGI | Lex Fridman Podcast #333

4y ago
youtube.com

Building makemore Part 4: Becoming a Backprop Ninja

4y ago
See all content