Skip to content

Glossary: NLP with Transformers

Trainer, TrainingArguments

Also written: Trainer, TrainingArguments, compute_metrics, compute_loss_func, processing_class

`TrainingArguments` holds the training settings, and `Trainer` runs the loop: batches, loss, optimizer steps, evaluation and checkpoints. `compute_metrics` turns logits into scores after each evaluation.

Where the book teaches it

Related terms

CallbackData collatorCheckpoint