- Video
- YouTube
- 1 h 55 min
Building makemore Part 4: Becoming a Backprop Ninja
About this
We take the 2-layer MLP (with BatchNorm) from the previous video and backpropagate through it manually without using PyTorch autograd's loss. backward: through the cross entropy loss, 2nd linear layer, tanh, batchnorm, 1st linear layer, and the embedding table.
Continue at sourceKey topics
Chapters
- 0:00intro: why you should care & fun history
- 7:26starter code
- 13:01exercise 1: backproping the atomic compute graph
- 1:05:17brief digression: bessel’s correction in batchnorm
- 1:26:31exercise 2: cross entropy loss backward pass
- 1:36:37exercise 3: batch norm layer backward pass
- 1:50:02exercise 4: putting it all together
- 1:54:24outro




