Using Trainer class with T5 - what is returned in EvalPrediction dict?

Gotcha! Looking forward to using Seq2SeqTrainer.

In the meantime I would like to calculate validation metrics during training but I don’t understand how to manipulate the output given by Trainer in EvalPrediction as the “prediction”, in order to retrieve the id’s of the generated prediction. What is it actually returning here?