A unit used by a model to represent and process a sequence; it may be a word part, character-like piece, code fragment, or other learned unit.
Follow material in an order that builds understanding.
inAiLoading page content...
Follow material in an order that builds understanding.
inAiLoading page content...
Unit 05 · conceptual mechanism
Plan for this page
After this unit, you should be able to
Terms you will use
These definitions prepare you for the reading; you do not need to memorize them.A unit used by a model to represent and process a sequence; it may be a word part, character-like piece, code fragment, or other learned unit.
The information available during the current generation, such as instructions, conversation, retrieved material, examples, and tool results.
A procedure for selecting among possible continuations from a model's output distribution, influenced by settings and product rules.
A language model processes tokens and estimates possible continuations from patterns shaped during training and the current context. The product selects tokens repeatedly, producing a sequence. Other generative systems use related ideas over image, audio, video, or multimodal representations.
‘Predict the next token’ is a useful entry point, not a complete description of every internal representation, training objective, reasoning behavior, architecture, or product layer. Keep the model simple enough to reason with and explicit enough not to become a myth.
Training examples contain language patterns, factual associations, styles, errors, contradictions, and social conventions. A model can produce a coherent continuation that matches these patterns without checking the claim against a current primary source.
The same mechanism can summarize supplied text, generate an analogy, draft code, or invent a citation. Usefulness depends on task and controls. Verification asks a different question: what evidence supports this exact claim in this context now?
Possible continuations have different model-assigned weights. Sampling settings, system instructions, tool results, safety rules, model versions, and product code affect which output appears. Repeating a prompt may therefore produce variation.
Variation can support brainstorming but complicates reproducibility and evaluation. For consequential use, record model and product versions, inputs, sources, settings where available, review steps, and the final human decision.
Interactive model
Instructions, user input, conversation, retrieved evidence, examples, memory, and tool output are selected and ordered.
Misconception to correct
Active checks
Explain back and transfer
Source context
Institutional account of generative-AI risks including confabulation; it is not a beginner mechanism textbook or legal compliance guarantee.
Conceptual foundations for probability, learning and neural networks; use as a substantial external course, not as a source for product-specific behavior.