T5 is a model that turns one text into another, like translating or summarizing. To check how well it works, we use BLEU and ROUGE scores. These scores compare the model's output with the correct answer by looking at matching words and phrases.
BLEU focuses on exact word matches and is good for tasks like translation. ROUGE looks at overlapping parts and is better for summarization. We also check loss during training to see if the model is learning to predict the right words.