Constructing a Few-Shot Prompt for a Novel Calculation
You need to teach a language model to perform a specific two-step calculation: first, find the product of two numbers, and second, subtract the sum of those two numbers doubled from that product. Construct a complete few-shot prompt with at least three distinct demonstration examples that would guide the model to correctly solve for the input pair 10, 8.
0
1
Tags
Ch.3 Prompting - Foundations of Large Language Models
Foundations of Large Language Models
Foundations of Large Language Models Course
Computing Sciences
Creation in Bloom's Taxonomy
Cognitive Psychology
Psychology
Social Science
Empirical Science
Science
Related
A language model is given the following set of demonstrations to establish a pattern for a numerical task:
2, 4 -> 910, 6 -> 645, 5 -> 25
Based on the pattern demonstrated, what should the output be for the input
8, 12?Constructing a Few-Shot Prompt for a Novel Calculation
Debugging an AI's Mathematical Reasoning