Constructing a Calculation-Enabled Model Output
A large language model is designed to improve its arithmetic accuracy by using an external calculator. The calculator is activated when the model generates text enclosed in ≪ ... ≫ symbols. Within these symbols, an equals sign (=) must be present to signal the tool to evaluate the expression that comes before it.
Your task is to solve the following problem as if you were the language model. Write the exact string the model should generate to calculate the total cost of 5 apples that cost $0.75 each. Your response should show only the calculation step that would be sent to the external tool.
0
1
Tags
Ch.3 Prompting - Foundations of Large Language Models
Foundations of Large Language Models
Foundations of Large Language Models Course
Computing Sciences
Application in Bloom's Taxonomy
Cognitive Psychology
Psychology
Social Science
Empirical Science
Science
Related
A large language model is configured to offload arithmetic to an external tool. The tool is activated only when it detects an expression enclosed in
≪...≫that is immediately followed by an equals sign (=). Given this rule, analyze the following model outputs and identify which one would successfully trigger the external tool to perform the calculation.Debugging an LLM's Arithmetic Process
Constructing a Calculation-Enabled Model Output