Debugging a Few-Shot Translation Prompt
A developer is creating a prompt to teach a language model to translate from English to Spanish. They provide the following two examples, but the model's performance is poor. Analyze the structure of the examples and identify the primary flaw that is likely causing the issue.
0
1
Tags
Ch.3 Prompting - Foundations of Large Language Models
Foundations of Large Language Models
Foundations of Large Language Models Course
Computing Sciences
Analysis in Bloom's Taxonomy
Cognitive Psychology
Psychology
Social Science
Empirical Science
Science
Related
You are constructing a prompt to teach a language model how to translate from French to Spanish. You want to provide one complete example: the French phrase 'Bonjour le monde' and its Spanish equivalent 'Hola mundo'. Which of the following demonstrates the correct way to format this single, complete example using a key-value structure where the language name is the key?
Debugging a Few-Shot Translation Prompt
Constructing a Few-Shot Translation Prompt