src/transformers/trainer_callback.py/CallbackHandler/on_log
class CallbackHandler:    def on_log(self, args: TrainingArguments, state: TrainerState, control: TrainerControl, logs):
        control.should_log = False
        return self.call_event("on_log", args, state, control, logs=logs)