Learn Before
Short Answer

Improving Prompt Structure with a Formatting Token

You are given a one-shot prompt designed to teach a model how to solve simple algebra problems. The model is correctly performing the reasoning but is not consistently isolating the final answer, making it difficult to parse the output. Modify the example's answer provided below to include a special formatting token that clearly demarcates the final answer. Use #### as the special token.

Original Example: Q: If 2x + 3 = 11, what is the value of x? A: To solve for x, we first subtract 3 from both sides of the equation: 2x = 11 - 3, which simplifies to 2x = 8. Then, we divide both sides by 2 to isolate x: x = 8 / 2. The final answer is 4.

0

1

Updated 2025-10-02

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

Application in Bloom's Taxonomy

Cognitive Psychology

Psychology

Social Science

Empirical Science

Science