Skip to content

Glossary: NLP with Transformers

Weight decay

Also written: weight_decay, AdamW

A small penalty on large weights, used here with AdamW, the default optimizer in `Trainer`.

Where the book teaches it

Related terms

Trainer, TrainingArguments