Artificial intelligence (AI)
Broad category of systems designed to perform tasks associated with intelligence, such as language generation, perception, prediction and planning. Not all AI systems are language models.
Explore this topic โ38 definitions explaining the math, terminology and safety issues behind modern AI. Each term links to a fuller lesson or hands-on experiment.
Broad category of systems designed to perform tasks associated with intelligence, such as language generation, perception, prediction and planning. Not all AI systems are language models.
Explore this topic โA mathematical function applied to a neuron's pre-activation value. Nonlinear activations help multi-layer networks represent more complex relationships.
Explore this topic โA computation that scores relationships between positions and combines value vectors using normalized weights. It does not by itself prove understanding.
Explore this topic โWhen a generative model produces false or unsupported content, sometimes expressed confidently. A high next-token probability is not a factual guarantee.
Explore this topic โDeciding whether a particular user or system is allowed to perform an action on a specific resource. In AI products, this must be enforced by trusted application code.
Explore this topic โA trainable numerical offset added to a weighted sum before an activation function. This is different from social or statistical bias in a dataset.
Explore this topic โA family of subword tokenization techniques that builds larger units from frequently occurring adjacent sequences. GPT-2 uses byte-level BPE.
Explore this topic โApplying the chain rule through a computational graph to calculate gradients of the loss with respect to network parameters.
Explore this topic โA mathematical measure comparing the angle between two nonzero vectors. It describes geometric alignment, not guaranteed sameness of meaning.
Explore this topic โA restriction that blocks attention to future sequence positions during autoregressive language-model prediction.
Explore this topic โThe token sequence made available to a model for prediction. Length limits and truncation behavior depend on the architecture and inference setup.
Explore this topic โA learned numerical vector representing a discrete input such as a token. For DistilGPT-2, the original token embedding matrix has 768 coordinates per ID.
Explore this topic โA table of learned vectors indexed by token IDs. The original DistilGPT-2 token embedding matrix has 50,257 rows and 768 columns.
Explore this topic โA vector of derivatives indicating how a loss changes with small changes in model parameters.
Explore this topic โUsing the model's current learned parameters to calculate a prediction or output. Ordinary inference does not automatically update those weights.
Explore this topic โA neural language model trained on large collections of token sequences. Many generate text one token at a time; products may add tools, memory or other software around the model.
Explore this topic โAn unnormalized model score for a possible output. The model's final token logits can be converted into a probability distribution using softmax.
Explore this topic โA step-size parameter used by an optimizer when changing weights in response to gradients. Too large a value can destabilize training.
Explore this topic โA mathematical objective measuring prediction error or other undesirable behavior. Training generally tries to reduce the loss.
Explore this topic โAn approach to building systems that identify statistical patterns from data and use them to make predictions or decisions, rather than relying solely on hand-written rules.
Explore this topic โA rectangular arrangement of numbers. Neural networks use matrix multiplication to compute many weighted combinations efficiently.
Explore this topic โRepresenting model parameters using reduced numerical precision to lower storage or compute costs. It can introduce differences from original full-precision values.
Explore this topic โA collection of connected numerical operations organized into layers. Networks can learn adjustable weights that transform inputs into outputs.
Explore this topic โWhen a model adapts strongly to its training data but performs poorly on fresh inputs. Training performance alone does not show generalization.
Explore this topic โAn attempt to use untrusted text or other content to redirect an AI system's behavior or actions. Trusted software controls, not instructions alone, must enforce permissions.
Explore this topic โLearned projections used in transformer attention. Queries are compared with keys; their normalized scores weight the combination of value vectors.
Explore this topic โRectified Linear Unit: the function max(0, x). It returns zero for negative values and leaves positive values unchanged.
Explore this topic โA function that maps a real-valued input into a number between zero and one. It often appears in binary classifiers.
Explore this topic โA normalization operation that converts a set of scores into nonnegative values summing to one. Commonly used for attention weights and token probabilities.
Explore this topic โA positive value used to scale model logits before softmax. Lower values make the distribution sharper; higher values make it flatter.
Explore this topic โHyperbolic tangent: a smooth activation mapping values between minus one and one. Used in the hidden layer of our tiny trainable classifier.
Explore this topic โA piece of text represented by a vocabulary ID. Depending on the tokenizer, it may be a word, word fragment, punctuation, space or byte-related piece.
Explore this topic โSoftware that converts text into a sequence of vocabulary IDs and can reconstruct text from those IDs. Different models use different tokenizers.
Explore this topic โA neural-network architecture that uses attention mechanisms and feed-forward layers to process sequences. GPT-2 belongs to the decoder-only transformer family.
Explore this topic โA decoding method that limits sampling to the k highest-scoring candidate tokens after model prediction.
Explore this topic โAn optimization process that adjusts model parameters using data and a defined objective or loss.
Explore this topic โAn ordered list of numbers. A model can calculate with vectors to represent tokens, features and intermediate states.
Explore this topic โA trainable numerical parameter that controls how strongly an input contributes to a calculation. Weights acquire useful values through optimization.
Explore this topic โRead the AI learning guides, start the interactive prediction journey, or check the public research papers and verification disclosures.