01A model predicts continuations
Tokenization maps text into discrete IDs. Given prior tokens, the network produces logits that become a probability distribution. A decoding policy chooses the next token, appends it, and repeats.
A tokenizer might split an unfamiliar word into several pieces and a common word into one. The network consumes IDs and produces a score, called a logit, for each possible next token. Normalizing these scores gives a distribution conditioned on the current input. Choosing one token changes the input for the following step. A complete answer is built through many such steps, so output length adds sequential work.
Keep three forms of information separate. Parameters are learned during training; context is input supplied for this run; application storage persists information outside the model. Adding a policy document to context does not update parameters. Saving a preference in a database does not make it available to the model until the application retrieves and includes it. This distinction explains why a chat system can “remember” between sessions without retraining.
- Tokens are not exactly words
- Context is the model's active input—not permanent memory
- Output length adds sequential latency