Learn Before
Example of a Prompt for a Direct Mathematical Calculation
A direct prompt can be used to instruct a Large Language Model to perform a specific mathematical task. An example of such a prompt is the request: 'Please calculate the average of the numbers 2, 4, and 9.'
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
Effect of 'Thinking' Prompts on LLM Performance
Chain-of-Thought (COT) Prompting
Multi-Round Interaction to Guide LLM Reasoning
Example of a Prompt for a Direct Mathematical Calculation
Example of a Prompt for Calculating the Average of 1, 3, 5, and 7
Example of a Prompt for Calculating the Mean Square
Improving LLM Reasoning with Step-by-Step Demonstrations
In-Context Learning (ICL)
A user is trying to get a Large Language Model (LLM) to solve a complex word problem that involves multiple calculations. Their initial prompt, 'What is the answer to this problem? [Problem text]', results in a quick but incorrect numerical answer. The user then revises the prompt to: 'First, break down the problem into the necessary steps. Then, solve each step, showing your work. Finally, state the final answer. [Problem text]'. This revised prompt leads to a correct solution. Which principle of interacting with LLMs does this scenario best illustrate?
Evaluating Prompt Strategies for a Logic Puzzle
Prompting for a Reasoning Process to Mitigate Errors in Complex Tasks
Example of a Prompt for Calculating the Average of 2, 4, and 9
Improving LLM Problem-Solving by Demonstrating Reasoning Steps
The Mechanism of Reasoning Prompts
Example of a Prompt with Detailed Reasoning Steps
Learn After
LLM's Answer (7) to the Prompt for Calculating the Average of 2, 4, and 9
Step-by-Step Calculation of the Average of 2, 4, and 9
A user wants a language model to determine a car's fuel efficiency, which is 150 miles driven using 5 gallons of gas. Which of the following prompts is best structured to request a direct and specific mathematical calculation from the model to find the answer?
Crafting a Direct Calculation Prompt
Evaluating a Prompt for a Mathematical Task
LLM's Answer () to the Prompt for Calculating the Average of , , and