The Open Model EcosystemLesson 50 of 71

Module 5 · Getting good output

When the model does not know

In this lesson

  • 9 min read
  • 6 reading sections
  • Knowledge check
  • Lesson 10 of 10 in this chapter

This chapter’s goalTake an open model producing bad output and identify whether the fault lies in the sampler, the prompt, the examples, the schema, the language or the model itself; then apply the cheapest correct fix, from a temperature change to a grammar-constrained decoder to a separate guardrail model, and demonstrate the improvement on a held set.

This chapter’s media

The film explains chapter ideas. The audiobook narrates the complete teaching text.

FormatEnglishहिंदी
Chapter filmNot availableNot available
Full audiobookNot availableNot available
Two systems on twenty answerable and twenty unanswerable questionsAccuracy on the answerable 20Abstention on the unanswerable 20System A90%18 of 20 right10%18 confident inventionsSystem B82%16 of 20 right85%3 inventionsSystem A is eight points better on the questions it can answer and produces eighteen confidentinventions on the ones it cannot. The second column is the number nobody measures, and it is the onethat decides whether people can trust the system.
System A is eight points better on the questions it can answer and produces eighteen confident inventions on the ones it cannot. The second column is the number nobody measures, and it is the one that decides whether people can trust the system.

Figure

A little at a time

Explore an idea, try it, then check what stays.

Step 1 of 7Free · no account needed
Lesson steps

There is no empty answer

A language model produces the most likely continuation of its context. There is no state in which it produces nothing. If the answer is not available, the most likely continuation is a plausible-looking answer, because that is what text answering a question looks like.

This is why hallucination is a slightly misleading word. The model is not malfunctioning; it is doing exactly what it does, on an input where the correct behaviour would have been to stop. Saying I do not know is a specific behaviour that has to be trained in and then made likely by the prompt and the format, and small models have less of it.

Your place and first choices stay on this browser. Classroom credit is recorded separately.

Every lesson here is open. Your progress is recorded once you pass the Maths You Actually Need exam.

Stuck on something?Ask Anjali, your AI tutor

How to cite: Addaly (2026) ‘When the model does not know’, in The Open Model Ecosystem. Edited by M. Mun. Addaly. Available at: https://addaly.com/learn/open-models/when-the-model-does-not-know (Accessed: 29 November 2026).