Skip to content

Glossary: Transformers Basics

AdamW

An optimizer that updates a model's weights during training. It is Adam with weight decay applied separately from the gradient step, which usually generalizes better.

Where the book teaches it

Related terms

Gradient clippingCosine schedule