src/transformers/trainer_callback.py/TrainerCallback/on_train_end
class TrainerCallback:    def on_train_end(self, args: TrainingArguments, state: TrainerState, control: TrainerControl, **kwargs):
        """
        Event called at the end of training.
        """
        pass