Learn Before
Definition

Calculation Annotation in LLM Prompts

Calculation annotation is a formatting technique that uses special symbols to structure a Large Language Model's output, particularly for tasks requiring arithmetic. For instance, symbols like ≪ ... ≫ can be used to demarcate calculation steps intended for execution by an external tool like a calculator. This allows the model to show its reasoning while offloading the actual computation to ensure accuracy. Other tokens, such as ####, can be used to clearly separate the final answer from the reasoning process.

0

1

Updated 2026-04-30

Contributors are:

Who are from:

Tags

Ch.3 Prompting - Foundations of Large Language Models

Foundations of Large Language Models

Foundations of Large Language Models Course

Computing Sciences