Constructing a Prompt Template for Translation
A software team is building a feature to translate product descriptions from English into German for their e-commerce site. Your task is to create a valid, instruction-like prompt template for this purpose. The template should be in a key-value format and must include a placeholder for the product description.
0
1
Tags
Ch.3 Prompting - Foundations of Large Language Models
Foundations of Large Language Models
Foundations of Large Language Models Course
Computing Sciences
Application in Bloom's Taxonomy
Cognitive Psychology
Psychology
Social Science
Empirical Science
Science
Related
A developer is designing a system that uses a language model to translate text snippets from English to French. They need a reusable structure that gives a clear, direct command to the model. Which of the following options best exemplifies an effective, instruction-like template for this specific task?
Constructing a Prompt Template for Translation
A developer defines a prompt template for machine translation using a key-value format as shown below. Analyze this structure and match each component with its correct description.
"prompt_template": "Translate the following English text to German: {*source_text*}"