src/transformers/trainer_callback.py/TrainerCallback/on_log
class TrainerCallback:    def on_log(self, args: TrainingArguments, state: TrainerState, control: TrainerControl, **kwargs):
        """
        Event called after logging the last logs.
        """
        pass