Learn Before
Example of a T5 Translation Scoring Sample
The T5 framework can be utilized for tasks like evaluating the quality of a translation. The input is structured as a text string beginning with a task-specific prefix, such as 'Score the translation from English to Chinese.', followed by the source and target sentences. For instance, the input would be: [CLS] Score the translation from English to Chinese. English: when in Rome, do as the Romans do. Chinese: 人 在 罗马 就 像 罗马 人 一样 做事 。
0
1
Tags
Ch.1 Pre-training - Foundations of Large Language Models
Foundations of Large Language Models
Computing Sciences
Foundations of Large Language Models Course
Related
Example of a T5 Translation Scoring Sample
A developer wants to adapt a pre-trained model that uses a unified text-to-text framework for a new task: sentiment analysis. The goal is for the model to read a customer review and output one of three labels: 'positive', 'negative', or 'neutral'. Which of the following represents the best-formatted source text to send to the model to classify the review 'The battery life is incredible!'?
Designing a New NLP Task Format
A research team is exploring the capabilities of a model that uses a unified 'text-to-text' framework. The model processes an input string (which includes a prefix indicating the task) and generates an output string. Match each of the following natural language processing tasks with the most appropriate input/output format that represents it within this framework.
Learn After
A researcher wants to use a text-to-text model to evaluate the quality of a translation from French to Spanish. The source sentence is 'Bonjour, comment ça va ?' and the translated sentence is 'Hola, ¿cómo estás?'. Based on the standard input format for such tasks, which of the following strings should be provided to the model?
Debugging a T5 Model Input
Troubleshooting a Translation Scoring Input