How ChatGPT Works

2/7
Lesson 2Lektion 2 / 7 18 min

How ChatGPT Works

In this lesson you will learn

- Explain what tokens are and how ChatGPT converts text into numbers - Describe next-token prediction and why it produces coherent text - Use the temperature parameter consciously (creative vs. precise output) - Understand the context window and manage it effectively in practice *Duration: ~18 min*

How ChatGPT Works1/4

You type "Explain quantum physics to me" and get a perfect answer. In two seconds.

But what actually happens in those two seconds? How does a machine turn your words into a coherent response? The answer is simpler, and stranger, than you think.

Tap a highlighted term