Parts of this lesson
- CallbacksTraining hooks kept outside the fit loop: early stopping, model checkpoints and metric logging, called at fixed points of training.Lesson and interactive
- DistributedData-parallel training with several synchronised workers: gradient averaging as in DDP, and local SGD with periodic parameter averaging.Lesson and interactive
- TrainerThe fit loop: epochs, mini-batch steps, gradient accumulation, weight decay, gradient clipping, SGD with momentum and periodic validation.Lesson and interactive