Key ideas
Language Models Predict Sequences Probabilistically
A language model assigns probabilities to possible continuations of a token sequence. Generation…Show moreShow less
A language model assigns probabilities to possible continuations of a token sequence. Generation proceeds sequentially, with each new output becoming part of the context for the next prediction. Sampling from the predicted distribution means the same prompt can produce different valid continuations. ChatGPT’s variability is therefore an expected property of probabilistic generation rather than an inconsistency.
Why it matters: Understanding next-token prediction removes much of the mystery around generative AI and explains both its flexibility and its unpredictability.
Supporting evidence
you can see that chat GPT is a probabilistic system and for any one prompt it can give us multiple answers
Tokenization Trades Vocabulary Size for Sequence Length
The tutorial uses a character-level tokenizer with only 65 possible symbols, making encoding and…Show moreShow less