← The syllabus

Module 04 · Probability

Reasoning, sampling and hallucination

Fluency is not the same as truth.

What you’ll learn

Four ideas, one module

01

Token probabilities

Each step is a spread of likely next tokens, not a looked-up answer.

02

Sampling and temperature

How one token gets picked, and why the same prompt can differ.

03

Hallucination

Why fluent, confident text can still be false.

04

Reasoning and verification

More thinking improves the odds. Checks decide what ships.

Applied exercise

Where is probability acceptable?

Decide where probability is acceptable in six product scenarios and where verification must be deterministic.

  • Writing for people
  • Data into systems
  • Money and actions

Cheat sheet

Treat every output as a likely guess until something outside the model checks it

One page you keep: the questions to ask on every project, the rules of thumb, and a decision guide you can use on your own product. All ten come with The Book.

Leave at the door

Five myths this module breaks

MythWhat’s actually true
Temperature 0 is deterministicIt reduces variation. Repeats are not promised.
Sure means rightConfident tone is generated, not measured.
Hallucination is a bugIt follows from generating plausible text.
Reasoning models do notThey think longer and can still be wrong.
Self-checks are enoughSelf-checks help. Deterministic checks decide.

Before you move on

Can you call this one?

A billing bot states the wrong fee.

Why? How would you stop it?

Portrait of Maya Voss

The Confidence Hacker

Maya Voss

investigates why machines sound absolutely certain even when they are spectacularly wrong.

Episode 04 · Reasoning, sampling and hallucination

Included with the course.

An AI character from the show, not a real researcher.