Skip to content

Glossary: NLP with Transformers

Callback

Also written: callbacks, EarlyStoppingCallback

An object `Trainer` calls at fixed moments during training. `EarlyStoppingCallback` is one that stops training when the chosen metric stops improving.

Where the book teaches it

Related terms

Early stoppingTrainer, TrainingArguments