Example

Example of One-Shot Chain-of-Thought (COT) Prompting

An example of one-shot Chain-of-Thought (COT) prompting involves providing a language model with a single demonstration of step-by-step reasoning before asking a new question. For instance, a prompt might first present and solve a word problem about Tom's marbles by explicitly detailing each arithmetic step. This single demonstration then guides the model to apply a similar explicit reasoning process when tasked with a subsequent problem, such as calculating how many apples Jack has left.

0

1

Updated 2026-05-02

Contributors are:

Who are from:

Tags

Ch.2 Generative Models - Foundations of Large Language Models

Foundations of Large Language Models

Foundations of Large Language Models Course

Computing Sciences

Related