Learn Before
Constructing a Reasoning Demonstration
You are constructing a prompt to teach a language model how to solve multi-step word problems by showing it examples of the reasoning process. Consider the following word problem: 'A bakery has 5 boxes of donuts. Each box contains 12 donuts. If the baker sells 28 donuts, how many donuts are left?'
Write a single, complete example that demonstrates the step-by-step thinking to solve this problem, concluding with the final answer. Your example should be structured to clearly show the model how to break down the problem and arrive at the solution.
0
1
Tags
Ch.2 Generative Models - 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
Example of a Few-Shot CoT Prompting Demonstration (Boris and Beck's Apples)
A developer is trying to get a language model to solve a specific type of multi-step logic puzzle. The model consistently fails when given just the puzzle. To improve performance, the developer constructs a prompt that first shows two different puzzles of the same type, each followed by a detailed, step-by-step explanation of how to arrive at the correct solution. Finally, the prompt presents the new puzzle for the model to solve. Why is this prompting strategy effective for this task?
Constructing a Reasoning Demonstration
Evaluating Prompting Strategies for Reasoning Tasks