Learn Before
Calculation Annotation
Calculation annotation is a formatting convention used within demonstrations for Large Language Models to make the reasoning process explicit. It involves enclosing detailed calculation steps in special markers, such as ≪ ... ≫, to distinguish them from the main narrative of the solution.
0
1
Tags
Ch.3 Prompting - Foundations of Large Language Models
Foundations of Large Language Models
Foundations of Large Language Models Course
Computing Sciences
Related
Rationale for Using One-Shot and Few-Shot Learning
Few-Shot Learning
In-Context Learning as an Emergent Ability
Efficiency of In-Context Learning for Model Adaptation
Contribution of In-Context Learning to AI Generalization and Usability
Zero-Shot Learning with LLMs
One-Shot Learning
Factors Influencing In-Context Learning Effectiveness
Understanding the Emergence and Mechanics of In-Context Learning
Theoretical Interpretations of In-Context Learning
Providing Reference Information in Prompts
Instruction Generation in Self-Instruct
One-Shot Chain-of-Thought (CoT) Prompting
Scope of Zero-shot, One-shot, and Few-shot Learning
Few-Shot Learning in Prompting
Comparison of Zero-shot, One-shot, and Few-shot Learning
In-Context Learning as a Guiding Mechanism for LLM Predictions
Calculation Annotation
Final Answer Formatting Token
A developer needs a large language model to translate technical jargon into plain language. They construct a prompt containing several pairs of 'Jargon-to-Plain Language' examples, followed by a new piece of technical text. The model successfully provides a plain language translation for the new text. Which statement best analyzes the fundamental mechanism of this approach?
Evaluating Prompting Strategies for Task Adaptation
Using Demonstrations to Improve LLM Accuracy
In-Context Learning as Knowledge Activation
Differentiating Learning Methods
Your team is rolling out an internal LLM assistant...
You’re building an internal LLM workflow to produc...
You’re building an internal LLM assistant to help ...
You’re leading an internal enablement team buildin...
Choosing and Justifying a Prompting Strategy Under Context and Quality Constraints
Designing a Prompting Workflow for a High-Stakes, Multi-Step Task
Diagnosing and Redesigning a Prompting Approach for a Decomposed Workflow
Stabilizing an LLM Workflow for Multi-Step Policy Compliance Decisions
Debugging a Multi-Step LLM Workflow for Contract Clause Risk Triage
Designing a Robust Prompting Workflow for Multi-Step Root-Cause Analysis with Limited Examples
Example of In-Context Learning
Example of In-Context Learning for Translation
Augmented Input Formula in In-Context Learning
Learn After
A user is preparing an example to show a language model how to solve multi-step word problems. The goal is to help the model learn to show its work clearly. Below are two versions of the example's solution for the problem: 'If apples cost $2 each and oranges cost $1.50 each, what is the total cost of 3 apples and 5 oranges?'
Version A: 'First, we find the total cost of the apples, which is 3 apples times $2 per apple, so that's $6. Then we find the cost of the oranges, which is 5 oranges times $1.50 per orange, which equals $7.50. Finally, we add the two costs together, $6 plus $7.50, to get the total cost of $13.50.'
Version B: 'First, we calculate the cost of the apples and oranges separately. Then, we add them to find the total cost. ≪Cost of apples = 3 * $2.00 = $6.00; Cost of oranges = 5 * $1.50 = $7.50; Total cost = $6.00 + $7.50 = $13.50≫ The total cost is $13.50.'
Analyze both versions. Which version is structured more effectively to teach the model a clear reasoning process, and why?
Formatting a Solution for Model Training
A developer is creating an example to teach a language model how to solve financial problems. The goal is to make the reasoning process explicit by enclosing the detailed mathematical steps within special markers (
≪...≫), separating them from the narrative explanation. Which of the following options best applies this formatting principle for the problem: 'Calculate the simple interest on a principal of $1000 at an annual rate of 5% for 3 years.'?