Module 04 · Lesson 7 of 11Pro
Momentum, Adam and modern optimizers
- Level
- Intermediate
- Reading time
- 17 min
When you finish this page you can
- Explain how momentum speeds training along a narrow valley while damping the zigzag across it, and compute its buffer by hand.
- Trace one Adam step for two weights with very different gradients, including why bias correction is needed.
- Choose between SGD with momentum, Adam and AdamW for a model, and set their learning rate and weight decay deliberately.
- Describe what each optimizer adds to memory and to a training checkpoint.