Building makemore Part 3: Activations & Gradients, BatchNorm

4 Oct 2022 · 116 min
1:55:57

Andrej Karpathy shows how to diagnose training problems using the update-to-data ratio, then fixes gradient mismatches and saturated activations with batch normalization. BatchNorm stabilizes training across different learning rates and initialization scales, though it doesn't yet improve performance on this task, which is bottlenecked by context length.

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 reproduce GPT-2 (124M)

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
See all content