Constructing a Few-Shot Prompt
You want to teach a large language model to identify the capital of a country using a few examples. Construct a complete prompt that provides the capitals for France, Japan, and Germany as demonstrations, and then asks the model for the capital of Italy.
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 user provides the following text to a large language model to teach it a simple rule for making words plural:
cat → cats dog → dogs book → books fish →
Based on the specific pattern established by the examples provided, what is the most probable output the model will generate for the last line?
Analyzing a Flawed Translation Prompt
Constructing a Few-Shot Prompt