src/transformers/trainer_callback.py/TrainerCallback/on_predict
class TrainerCallback:    def on_predict(self, args: TrainingArguments, state: TrainerState, control: TrainerControl, metrics, **kwargs):
        """
        Event called after a successful prediction.
        """
        pass