Chain-of-Thought Emergence › Key Parameters

Michael BrenndoerferNovember 7, 20251 min read
Language AI HandbookAll chapters
Part 30 of 67Emergent Capabilities
Chapter 216Chain-of-Thought Emergence › Key Parameters
Reading section 9 of 11 · Key Parameters · 1 minSection 9 of 11 · 1 min

Book contents

Loading contents…

View the whole book →

Section 9 of 11 · 1 min read

Reading settings

Definitions

Choose how many terms have tooltips.

Article links

Make inline references clickable

Notes & comments

The key parameters for chain-of-thought prompting and self-consistency are:

  • temperature: Controls randomness in generation. Use temperature=0 for deterministic CoT responses, or temperature=0.7 for self-consistency sampling where diversity is needed.
  • max_tokens: Maximum response length. CoT requires more tokens than direct answers, typically 200-500 tokens for multi-step problems.
  • n_samples: Number of reasoning chains for self-consistency. More samples increase accuracy but multiply inference cost linearly.
  • model: The language model to use. Larger models (>10B parameters) benefit from CoT while smaller models may not show improvement.

Comments

Add to the conversation

A question, a correction, or an example from your own work.

No comments yet. Be the first to share your thoughts!

Newsletter

Stay up to date

Get new articles, book updates, and notes on AI and technology.

Unsubscribe at any time. Privacy policy