Skip to content

next-token prediction

How the channel uses this term In this channel's material, next-token prediction is the mechanism behind how language models produce text: the model reads what has come so far and generates the next word — the next token — one step at a time. It is the reason the conversation with novelist Robin Sloan frames books and language models as sharing a core question, what happens next: stories move forward by asking what comes next, and a language model answers that same question mechanically, token by token, drawing from a probability distribution over possible continuations. Why it matters here Two ideas in the captured material connect directly to next-token prediction. First, great writing is described as sitting at the edge of a probability distribution — the model's next-token machinery makes the most likely continuations available, and the most interesting writing lives just beyond the predictable ones. Second, when a model acts as a summarizer — as ChatGPT is characterized in the discussion of the human intellect — it is still running the same next-token engine, choosing each output token as the best continuation of the source text it has absorbed. The takeaway for writers For writers using AI — the throughline of the related material on drafting, editing, and using ChatGPT as a thinking partner — understanding next-token prediction explains why prompting matters: everything you put in context shapes which next tokens become likely. The model does not retrieve finished prose; it predicts continuations, so the surrounding context steers the prediction. - A language model generates text by repeatedly predicting the next token given everything before it.- The channel links this to storytelling: both books and models are organized around the question of what happens next.- Great writing sits at the edge of a probability distribution — beyond the most statistically predictable next tokens.- The same next-token mechanism underlies behaviors like summarizing, which is why context shapes output so strongly.

glossary term

Ready

Loading…

2 min read