When you're ready, call [~Trainer.train] to start training:

trainer.train()  # doctest: +SKIP

For tasks - like translation or summarization - that use a sequence-to-sequence model, use the [Seq2SeqTrainer] and [Seq2SeqTrainingArguments] classes instead.