Optimizer
An algorithm that manages the updating of weights during training. Gradient descent is the general idea, while an optimizer is a specific implementation with adjustments for speed and stability.
Popular Optimizers
| Optimizer | Feature |
|---|---|
| SGD | Classic, simple gradient step |
| Adam | Adaptive step, standard for most models |
| AdamW | Adam with correct weight decay |
| RMSprop | Adaptive, for tasks with unstable gradients |
Why Different
Different tasks and architectures may require different step strategies. Modern LLM are often trained with AdamW.