Words without the fog
Glossary
A short definition to keep moving, and a precise one when you want to go deeper. Jargon has to earn its place.
Artificial intelligence
A family of techniques that let computer systems perform prediction, classification, generation, or decision tasks.
More precise definition
The term covers many different approaches. This project focuses mainly on models whose parameters are adjusted from data.
Related lesson: How does an LLM generate a response?Model
A mathematical system fitted from data to transform inputs into outputs.
Related lesson: Model, chatbot, agent: what is the difference?LLM
A large language model designed to process sequences of tokens.
More precise definition
A generative LLM can produce text, but it is not, by itself, a complete chatbot or application.
Related lesson: How does an LLM generate a response?Token
A text unit associated with a numerical identifier so a model can process it.
More precise definition
A token may be a whole word, part of a word, punctuation, or another unit. It is not always a word.
Related lesson: What is a token?Tokenizer
A system that turns text into a sequence of tokens and identifiers.
Related lesson: What is a token?Vocabulary
The finite list of units a tokenizer can map directly to identifiers.
Related lesson: What is a token?Probability
A value between 0 and 1 used here to weight a candidate token.
More precise definition
It depends on the model, context, and generation settings. It is not the probability that a statement is true.
Related lesson: How does an LLM generate a response?Distribution
The set of probabilities assigned to the possibilities under consideration.
Related lesson: How does an LLM generate a response?Temperature
A positive setting that changes how concentrated the token distribution is.
More precise definition
Lower values usually concentrate probability on leading candidates; higher values flatten it. Temperature adds no knowledge.
Related lesson: Why can two answers be different?Sampling
Randomly selecting a token while taking its probability into account.
Related lesson: How does an LLM generate a response?Decoding
The rules used to turn model scores into a sequence of tokens.
Related lesson: Why can two answers be different?Pseudo-random seed
An initial state used to produce a reproducible sequence of pseudo-random numbers.
Related lesson: Why can two answers be different?Context
The tokens a model can take into account when producing the continuation.
Related lesson: What is the context window for?Inference
Using a trained model to calculate an output from an input.
Related lesson: How does an LLM generate a response?Hallucination
A plausible output that is false, unsupported, or incompatible with the requested source.
Related lesson: Why can an LLM hallucinate?Context window
The limit on the token sequence available for one generation.
Related lesson: What is the context window for?Attention
A mechanism that computes weighted relationships between positions in a sequence.
Related lesson: What is the context window for?Chatbot
An application that organizes a dialogue between a person and an automated system.
Related lesson: Model, chatbot, agent: what is the difference?Agent
A system that chooses steps and can act with tools in pursuit of a goal.
Related lesson: Model, chatbot, agent: what is the difference?Tool
An external function an application can call to retrieve data, calculate, or act.
Related lesson: Model, chatbot, agent: what is the difference?