Inference from T5-small Summarization model

I have trained the T5-small model for document summarization. How do I get prediction and accuracy etc. from test data of documents I have? I


Please take a look at the official summarization example notebook and script.

I used the pipeline to derive the prediction form test data.