Example of an Instructional Prompt in a Few-Shot Setting for Sub-Problem Decomposition
The following instruction is an example of the initial part of a few-shot prompt, specifically a 2-shot prompt, used for sub-problem generation in the least-to-most prompting method: 'Your task is to decompose a problem into several sub-problems. You will be given a few examples to illustrate how to achieve this.' This instruction sets the stage for the demonstrations (shots) that will follow, guiding the LLM on how to perform the decomposition task.
0
1
Tags
Ch.3 Prompting - Foundations of Large Language Models
Foundations of Large Language Models
Computing Sciences
Foundations of Large Language Models Course
Related
Example of an Instructional Prompt in a Few-Shot Setting for Sub-Problem Decomposition
Example of LLM Generating Sub-Problems for a Duration Question
A developer is using a large language model to solve a complex, multi-step reasoning problem. The goal is for the model to first break the problem down into a sequence of simpler sub-problems and then solve them in order. The developer provides the model with the complex problem and the simple instruction: 'Here is a problem. Solve it.' The model attempts to answer directly but fails. Which of the following best explains why the model failed to break the problem down as intended?
Sequential Sub-Problem Solving with Contextual QA Pairs
A developer wants to guide a Large Language Model to break down a complex problem into simpler sub-problems. Arrange the following components into the most effective and logical sequence for a one-shot prompt to accomplish this task.
Guiding an LLM for Problem Decomposition
Formula for Least-to-Most Sub-Problem Generation
Example of In-Context Learning for Sentiment Classification
Example of an Instructional Prompt in a Few-Shot Setting for Sub-Problem Decomposition
Troubleshooting a Prompting Strategy
Demonstrations in In-Context Learning
A developer wants a language model to consistently translate informal text messages into a formal, professional tone. The goal is to guide the model's output by showing it examples of the desired transformation directly within the query, without altering the model's permanent parameters. Which of the following inputs best applies this in-context learning method?
Analyzing a Prompt's Structure for In-Context Task Learning
A developer is constructing a prompt to teach a language model a new task by providing examples directly in the input. Match each component of the prompt to its specific role in this in-context learning process.
Failure of Standard Few-Shot Prompting for Average Calculation
Learn After
A developer is constructing a prompt to guide a large language model. The goal is for the model to break down complex customer support queries into a series of simpler, sequential steps. The developer plans to include two examples of this process within the prompt to show the model the desired output format. Which of the following introductory statements would be the most effective to place at the very beginning of this prompt?
Diagnosing a Flawed Few-Shot Prompt
Evaluating Instructional Statements for Task Decomposition