Learn

21 short explainers of the ideas behind the releases, a few more every day

Roadmap: how a language model works

Four steps, each with an interactive page on neuron and short explainers here.

  1. 1

    Tokens and embeddings

    How text becomes numbers: it is split into tokens, each token is looked up as a vector, and its place in the sequence is added.

  2. 2

    Attention and the MLP

    Inside a transformer block: attention lets every token gather information from the ones before it, the MLP transforms it, and the residual stream carries the result to the next block.

  3. 3

    From probabilities to text

    The last layer gives a probability for every token in the vocabulary; temperature, top-k and top-p decide which one is written next.

  4. 4

    Looking inside the model

    What the numbers mean: sparse autoencoders split a layer's activity into thousands of features you can read, from simple patterns in early layers to abstract ideas in late ones.

Glossary

AgentsAI agents are systems that use a model to pursue a goal by choosing actions, calling tools, and observing results over multiple steps.28 releasesBenchmarkA standardized test set and scoring method used to measure and compare how well AI models perform on a defined task.18 releasesCodingCoding in AI refers to models and tools that read, write, explain, debug and run software code, often as assistants or autonomous agents.9 releasesDatasetA structured collection of data examples, such as text, images, video or labels, used to train, fine-tune or evaluate machine learning models.10 releasesEmbeddingsEmbeddings are lists of numbers that represent text, images, audio or other data so that similar items end up close together in a vector space.EvaluationEvaluation is the practice of measuring how well an AI model or system performs on defined tasks, using tests, metrics, and human or automated judgment.6 releasesInterpretabilityThe study of understanding how a trained AI model arrives at its outputs by examining its internal representations and computations.MLP (Multilayer Perceptron)A feedforward neural network made of stacked fully connected layers with nonlinear activations, used as a core building block inside transformers and many other models.MoE (Mixture of Experts)A neural network design where many specialist sub-networks exist, but a router activates only a few of them for each input token.5 releasesMultimodalMultimodal AI models process or produce more than one type of data, such as text, images, audio, and video, within a single system.13 releasesOpen sourceSoftware whose source code is publicly available under a license that lets anyone use, study, modify and redistribute it.9 releasesOpen weightsA release approach where a model's trained parameters are published for anyone to download and run, without necessarily sharing training data or code.16 releasesPositional encodingA method of giving a transformer information about the order of tokens, since self-attention alone treats its input as an unordered set.ReasoningReasoning models spend extra computation working through intermediate steps before answering, which improves accuracy on multi-step problems like math, code and logic.7 releasesResidual streamThe running vector representation at each token position in a transformer, which every layer reads from and adds its output back into.SamplingSampling is the step where a generative model picks its next output, such as a token, from a probability distribution rather than always taking the top choice.Self-attentionA mechanism where each element in a sequence computes a weighted combination of all elements in that sequence, letting the model decide which parts to focus on.Sparse autoencoderA neural network trained to rebuild a model's internal activations from a small number of active features, used to find human-interpretable directions inside AI models.SuperpositionIn neural networks, superposition is when a model packs more features into a layer than it has dimensions by storing them as overlapping, non-orthogonal directions.TokenizationTokenization is the process of splitting raw input such as text into discrete units called tokens, which a model maps to numeric IDs.TransformerA neural network architecture that uses self-attention to process all parts of an input in parallel, forming the basis of most modern language and multimodal models.