How to Turn a Non-Thinking Model into a Thinking Model: A Starter's Guide

Table of contents
- Introduction:
- 1. What is Chain-of-Thought (CoT)?
- 2. When to use CoT:
- 3. Basic CoT prompt pattern examples:
- 4. A simple example (math) — what to expect:
- 5. Beyond math — use cases and examples:
- 6. How to test if CoT is helping:
- 7. Improve performance — practical tips:
- 8. Common pitfalls & how to handle them:
- 9. Where to go next (practical experiments)
- 10. Example prompt templates you can reuse
- Conclusion / Final thoughts:

Introduction:
Chain-of-Thought (CoT) is a prompting technique that encourages a language model to show its work — i.e., produce intermediate steps — so it can solve multi-step reasoning tasks more reliably. You don’t need to change model weights to get better reasoning: you can often prompt a non-thinking model to behave more like a thinking one. This guide walks you through the idea, simple examples, practical prompt templates, evaluation tips, and common pitfalls — all aimed at beginners.
1. What is Chain-of-Thought (CoT)?
Chain-of-Thought means asking the model to generate intermediate reasoning steps before the final answer. Instead of a one-line answer, you get a short, human-readable sequence of steps that lead to the conclusion. That helps with tasks like math, logic puzzles, multi-step instructions, debugging, and planning.
Why it helps:
Breaks complex problems into smaller steps.
Makes it easier for the model to avoid skipping logical leaps.
Gives you inspectable output you can check or correct.
2. When to use CoT:
Use CoT when:
The problem requires multi-step reasoning (math, logic, planning).
You want interpretable steps to verify or edit the model’s reasoning.
You want higher accuracy on tasks that typically fail if answered directly.
Avoid CoT when:
You only need a short factual answer.
You want extremely short responses.
3. Basic CoT prompt pattern examples:
1) Direct step-by-step
Q: A store had 12 apples. They sold 5 and then received 8 more. How many apples are there now?
Explain your reasoning step by step, then give the final answer.
A:
2) Few-shot CoT (show examples first)
Example 1:
Q: I had 3 books, bought 2 more. How many now?
Step 1: Start with 3.
Step 2: Add 2.
Answer: 5
Example 2:
Q: John has 10 candies, gives 3 to his friend. How many left?
Step 1: Start with 10.
Step 2: Subtract 3.
Answer: 7
Now solve:
Q: A store had 12 apples. They sold 5 and then received 8 more. How many apples are there now?
Explain step by step and give the final answer.
A:
3) Self-consistency (ask multiple CoT reasoning and pick consensus)
Instruction: Provide 3 different step-by-step solutions (reasonings) to the problem. Then give a final answer and the confidence for each reasoning.
Q: ...
A:
(Collect multiple answers and choose the majority result.)
4. A simple example (math) — what to expect:
Prompt:
Q: A store had 12 apples. They sold 5 and then received 8 more. How many apples are there now? Show steps.
Good CoT output (example of what you want):
Start with 12 apples.
Sold 5 → 12 − 5 = 7.
Received 8 → 7 + 8 = 15.
Answer: 15 apples.
You now have a trace you can verify. If a step is wrong, you can correct that step and ask the model to continue from there.
5. Beyond math — use cases and examples:
Debugging code: Ask the model to list the steps it would take to find the bug, run through a sample input, and produce a final diagnosis.
Planning: Break down a project into sequenced tasks with estimates and dependencies.
Legal / medical summarization (non-advice): Ask for a stepwise summary of arguments or diagnostics (always disclaim professional limits).
Complex Q&A: Multi-part exam questions, reasoning puzzles, or chain logic for chemistry or physics.
6. How to test if CoT is helping:
A/B test: Give the same question with and without CoT. Compare accuracy.
Error analysis: Read step outputs to see where the model fails.
Self-consistency: Run multiple CoT generations and measure consensus.
Human evaluation: For subjective tasks, ask people to rate coherence and correctness.
7. Improve performance — practical tips:
Start with few-shot examples. Demonstrate the kind of step decomposition you want.
Be explicit about structure. Ask for numbered steps, intermediate calculations, or “assumptions” section.
Limit verbosity. If the model drifts, ask for “no more than 6 steps.”
Use self-consistency: sample multiple CoT answers and pick the most common final answer.
Post-process programmatically: parse numeric steps and perform checks (e.g., re-compute arithmetic with your own code).
Iterate prompts: small wording changes often yield big improvements.
8. Common pitfalls & how to handle them:
Hallucinated steps: Model invents facts. Fix: ask it to cite which assumption each step uses, or verify with your own checks.
Over-confident wrong answers: CoT can produce plausible but incorrect steps. Use self-consistency and verification.
Too verbose or tangential: Constrain the output style (“Use 3 steps max”).
Revealing sensitive inner reasoning: You should not rely on the model’s private rationale for critical decisions. Treat CoT as an explainable output, not a formal proof.
9. Where to go next (practical experiments)
Try the same question with:
direct answer prompt
step-by-step prompt
few-shot CoT prompt
and Compare outcomes.
Implement a small script that:
Sends the prompt to an LLM,
Requests N CoT answers,
Chooses the majority final answer,
Recomputes numeric steps locally for verification.
Explore advanced methods (when comfortable): fine-tuning on CoT demonstrations, or RL from human preferences (requires more tooling).
10. Example prompt templates you can reuse
Short template
Problem: {your question here}
Please show your reasoning step by step (numbered). After the steps, write the final answer.
Few-shot template
[Two short examples showing step-by-step reasoning]
Now solve:
Problem: {your question}
Show numbered steps, then final answer.
Conclusion / Final thoughts:
Chain-of-Thought is a practical, beginner-friendly way to get better reasoning from models without changing the model itself. Start small, inspect the steps, and build simple verification checks around the output. As you practice, you’ll learn which prompt patterns work well for your problems.
Subscribe to my newsletter
Read articles from SOUMYODEEP DEY directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by

SOUMYODEEP DEY
SOUMYODEEP DEY
Hey , I'm Soumyodeep Dey currently pursuing my B.Tech in CS. talk about software development and AI