Learn Before
Example of a Few-Shot CoT Prompting Demonstration (Boris and Beck's Apples)
An arithmetic reasoning word problem about Boris and Beck's apples is presented as a demonstration for a few-shot Chain-of-Thought prompt. The problem states that Boris starts with 100 apples and Beck has 23 fewer. After Boris gives 10 apples to Beck, the task is to find the new difference in their apple counts. This example is used to teach a Large Language Model both the problem-solving steps and the desired output format.
0
1
Tags
Ch.3 Prompting - Foundations of Large Language Models
Foundations of Large Language Models
Computing Sciences
Ch.2 Generative Models - Foundations of Large Language Models
Foundations of Large Language Models Course
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
Learn After
Step 1: Calculate Boris's Final Apple Count (Boris and Beck's Apples Problem)
An arithmetic word problem about Boris and Beck's apples is used as a demonstration within a prompt for a language model. The demonstration includes the problem statement, a sequence of intermediate reasoning steps, and the final answer. What is the primary purpose of including the 'intermediate reasoning steps' in this context?
Evaluating Chain-of-Thought Demonstrations
Calculation Annotation in CoT Demonstrations
Final Answer Token in CoT Demonstrations
An arithmetic word problem is used to demonstrate a step-by-step reasoning process. The problem is: 'Boris starts with 100 apples. Beck has 23 fewer apples than Boris. Boris then gives 10 apples to Beck. How many more apples does Boris have than Beck in the end?' Arrange the following reasoning steps into the correct logical order to solve the problem.