Putting it all together

The whole journey, on a loop.

Here are all the pieces you've met, in order. Press the button and watch it build a sentence — one word per trip around the loop.

1
Your prompt
the text so far
2
Tokens
split into pieces
3
Numbers
meaning as maths
4
Attention
read the context
5
Predict
pick next word

 

…then the new word is added to the text and the whole loop runs again — until the answer is complete.
The thing to take away: there's no separate "thinking step" and "writing step." The thinking is the writing. Every word you see was produced by running this entire loop once more. A long answer means this ran thousands of times in a few seconds.

You've now watched the whole machine run. But every confident guess it just made was only possible because of what happened before you typed a word: its training. That's where the course turns next.