Everyday Learning العربية
Computer scienceBuild your own ChatGPT · Lesson 7 of 8 · 6 min

Why does ChatGPT sometimes make things up?

It never looks the answer up. It rolls weighted dice over likely words, and a likely-sounding word can be wrong.

In this lesson

Ask the same question again and again.

Your notebook page

  • The AI picks likely-sounding words.
  • Low temperature: steady answers.
  • High temperature: varied, riskier.
  • Fluent isn't checked.

Where you'll see it today

A chat app's “more creative” setting, an AI summary with a made-up date, two different answers to the same question.

The course

Build your own ChatGPT

Every lesson adds a part. Finish them all to build the Pocket chatbot.

  1. 1Next wordsHow does ChatGPT pick the next word?
  2. 2Keyboard guessesHow does your keyboard guess your next word?
  3. 3TokensWhy does ChatGPT chop words into pieces?
  4. 4Meaning mapsHow does AI know “king” is close to “queen”?
  5. 5AttentionHow does AI know what “it” means?
  6. 6Learning from mistakesHow does a neural network learn from mistakes?
  7. 7TemperatureWhy does ChatGPT sometimes make things up?
  8. 8Build the chatbotCan you train a mini chatbot?
Open in the app Download on the App Store