Example of a Generated Fine-Tuning Sample for Machine Translation
An example of a fine-tuning sample for English-to-Chinese translation can be generated by substituting variables in a prompt template. Given the English sentence 'How's the weather today?' as the {∗text∗} and its Chinese translation '今天天气怎么样?' as the {∗translation∗}, these are inserted into the template to create a complete data point for training.

0
1
Tags
Ch.4 Alignment - Foundations of Large Language Models
Foundations of Large Language Models
Foundations of Large Language Models Course
Computing Sciences
Related
Example of a Generated Fine-Tuning Sample for Machine Translation
Example of a Structured Fine-Tuning Sample for Machine Translation
A developer is preparing data to train a language model for a French-to-Spanish translation task. They are using the following prompt template and text pair:
Template: Translate the following text from French to Spanish.\n\nFrench: {text}\n\nSpanish: {translation}
Text Pair:
- Source Text (French): "Bonjour, comment ça va ?"
- Target Text (Spanish): "Hola, ¿cómo estás?"
Analyze the options below and select the one that represents a correctly generated fine-tuning sample based on the provided components.
You are preparing a dataset to fine-tune a language model for a machine translation task. Arrange the following actions in the correct chronological order to generate a single, complete fine-tuning sample.
Troubleshooting a Machine Translation Fine-Tuning Sample
Example of a Concatenated Sample for Machine Translation Fine-Tuning
Learn After
You are preparing data to train a language model for English-to-French translation. You have a template and a specific pair of sentences.
Template: "### Instruction: Translate the following English text to French.
Input:
{∗text∗}
Response:
{∗translation∗}"
Sentence Pair:
- English Text: "The sky is blue."
- French Translation: "Le ciel est bleu."
Which of the following options correctly shows the final data sample after substituting the sentence pair into the template?
Error Analysis in a Fine-Tuning Sample
Constructing a Fine-Tuning Sample