Examples of Prompt Templates for English-to-Chinese Translation
Prompt templates designed to guide a Large Language Model in an English-to-Chinese translation task can take different forms while utilizing placeholders for the source text. One approach is a question-answer format, structured as {*sentence*} followed by Question: What is the Chinese translation of this English sentence? Answer:. Alternatively, an instruction-like template can be used, providing a direct command such as {*sentence*} Translate this sentence from English into Chinese.
0
1
Tags
Ch.4 Alignment - Foundations of Large Language Models
Foundations of Large Language Models
Foundations of Large Language Models Course
Computing Sciences
Ch.2 Generative Models - Foundations of Large Language Models
Related
Generating Fine-Tuning Samples for Machine Translation
A team is beginning a project to fine-tune a language model for a new task: translating technical manuals from English to Japanese. They have already acquired a large collection of parallel English and Japanese technical documents. Which of the following actions should the team prioritize as their immediate first step to ensure the model learns the task effectively?
When preparing a dataset for a machine translation fine-tuning task, the most effective initial action is to gather a large volume of source and target text pairs before considering how the task will be presented to the model.
You are tasked with creating a fine-tuning dataset for a language model to perform English-to-Spanish translation. Arrange the following actions into the correct chronological order.
Examples of Prompt Templates for English-to-Chinese Translation
Examples of Prompt Templates for Grammaticality Judgment
Example of Instantiating a Placeholder in a Grammaticality Judgment Prompt
Example of a Prompt for Grammaticality Judgment
A developer is building a system that uses a language model to summarize news articles. They need to create a single, reusable instruction that can work for any article provided by a user. Which of the following options correctly uses a placeholder to create such a flexible template?
Creating a Reusable Prompt Template
Match each term related to creating dynamic instructions for a language model with its correct description.
Examples of Prompt Templates for English-to-Chinese Translation
Example of a Sentence-First Prompt for Grammaticality Judgment with Answer Options
Example of a Constraint-First Prompt for Grammaticality Judgment
Learn After
A machine learning engineer is preparing a large dataset to train a model specifically for English-to-Chinese translation. To ensure the model consistently understands the task for every example in the dataset, they need to use a clear and direct instructional template. Which of the following templates would be most effective and unambiguous for this purpose?
Diagnosing Translation Model Failures
Designing a Prompt Template for a New Translation Task