What matters in AI.

Subscribe

Learn / Category

Learn

AI basics

65 topics in this category.

Guides

1 guide

  • Abliterated vs uncensored models

    Uncensored names the result, a model that does not refuse; abliterated names one cheap way to get there, by editing out the single direction in the model's activations that carries refusal.

Definitions, A to Z

64 definitions

  • AI gateway

    An AI gateway is a proxy between your apps and AI model providers. It controls keys, cost, traffic and logs in one position.

  • AI hallucination

    Confident output from a generative AI model that is false or invented, which NIST calls confabulation and OWASP counts as a cause of misinformation.

  • AI safety

    Keeping AI systems from causing harm, and where that ends and AI security begins.

  • Attention mechanism

    The step in a neural network that gives each token a weight for each other token. Then it adds their data by those weights.

  • Chain of thought

    Chain of thought is the text of reasoning steps that a language model writes before its answer. It can make answers better, but it does not always show the correct cause of an answer.

  • Chat template

    The format, usually a Jinja template shipped with a model, that turns a list of system, user, assistant and tool messages into the single token sequence a chat model reads.

  • Constitutional AI

    A training method from Anthropic that uses a written list of principles, the constitution, and AI feedback in place of human labels for harmful outputs.

  • Context window

    The limit on how much text, counted in tokens, a language model can take into account at once, including the response it is writing.

  • Data loader

    A data loader is software that reads and prepares data for an AI model or AI system, and it can slow training or add risk.

  • Diffusion model

    A generative model that learns to remove noise step by step, and the method behind Stable Diffusion and Imagen.

  • Embedding

    A list of numbers an embedding model produces from a piece of text so that texts with similar meaning get nearby vectors, used to search by meaning and able to leak the text it came from.

  • Embedding model

    A neural network that changes text into a fixed list of numbers. Software uses the numbers to find text with almost the same meaning.

  • Faithfulness in language model outputs

    Faithfulness is how much the output of a language model agrees with the source text that the model got.

  • Federated learning

    Training one shared machine learning model across many devices or organisations, each of which keeps its data and sends only model updates to a central server.

  • Fine-tuning

    Further training of an already pre-trained model on a smaller, targeted dataset, which is how models get customised and one way their safety training gets undone.

  • Foundation model

    A large AI model that learns from broad data one time, and that teams then adapt to many different tasks and systems.

  • Frozen model

    A model, or a part of a model, with weights that do not change in training or in use.

  • Generative Adversarial Network

    A generative adversarial network (GAN) trains two neural networks against each other. A generator makes fakes and a discriminator finds them.

  • GGUF

    The single-file model format that llama.cpp and other GGML-based runners load, holding a model's weights together with metadata such as its tokenizer and chat template.

  • GRPO

    Group Relative Policy Optimization is a reinforcement learning method that trains a language model with a reward. It scores each answer against other answers to the same question.

  • In-context learning

    A language model's ability to pick up a task from instructions or examples placed in its prompt, with no retraining.

  • Instruction hierarchy

    The ranking that tells a language model whose instructions win in a conflict, and why that ranking is a trained tendency rather than a security boundary.

  • Instruction tuning

    The second, much smaller training stage that teaches a pre-trained language model to follow instructions, and a stage researchers have poisoned with a hundred examples.

  • Key-value cache

    Memory that keeps the attention keys and values of earlier tokens. A language model then does not calculate them again for each new token.

  • Language model

    A probability distribution over sequences of tokens, learned from text, that lets software predict and generate natural language.

  • llama.cpp

    The open-source C/C++ engine, built on the GGML library, that runs language models from GGUF files on local hardware and can serve them over an HTTP API.

  • Logit bias

    An API parameter that adds a fixed amount to a language model's score for chosen tokens before the next token is picked, and a known route for reading out a model's hidden scores.

  • LoRA adapter

    A small file of trained low-rank weights that changes a frozen base model, with no change to the base model file.

  • Mechanistic interpretability

    Reverse engineering what a trained model's internal parts compute, which NIST records among the proposed ways to find backdoor features in a model.

  • Memorization

    Memorization is when an AI model keeps parts of its training data and gives them back word for word.

  • Misalignment

    Misalignment is the condition of an AI system that pursues goals or shows behaviour that its developers and users did not intend.

  • Mixture of experts

    A neural network architecture in which a router sends each token to a small number of expert subnetworks. The model holds many parameters but uses only a part of them for each token.

  • Model checkpoint

    A saved snapshot of a model's parameters and optionally its optimiser state at a specific point in training, serialised to a file format such as safetensors or .pt.

  • Model distillation

    Training a smaller student model to reproduce a larger teacher model's behaviour by learning from the teacher's outputs.

  • Model drift

    The change in a deployed machine learning model's performance over time, usually a fall as the data it meets moves away from the data it learned from.

  • Model merging

    Model merging puts the weights of two or more fine-tuned models together into one model, with no more training and no more cost at use.

  • Model precision (FP16, BF16, 8-bit, 4-bit)

    The number format that holds the weights of a model. It sets the memory a model uses and how accurate each weight is.

  • Model weights

    The numbers that an AI model learns in training. They hold the behaviour of the model. A copy of the weights is a copy of the model.

  • Multimodal model

    A multimodal model is an AI model that reads more than one type of data, such as text, images, audio and video.

  • Open-source AI

    An AI system anyone may use, study, modify and share, released with its weights, its full training and running code, and enough detail about its training data to build a substantially equivalent system.

  • Open-weight model

    An AI model whose trained weights are published for anyone to download and run, which is less than open source and more than API access, and which puts the model's safeguards in the hands of whoever holds the file.

  • Parameters

    The numbers that an AI model learns in training. A count such as 816B shows how large the model is, not how good it is.

  • Post-training

    Post-training is the training that a language model gets after pre-training, to give the model its behavior, skills and safety rules.

  • Preference alignment

    A training step that teaches a language model to give the answers that its human labelers prefer.

  • Prompt

    The complete input a caller sends to a language model in a single turn.

  • Quantization

    Storing a model's weights in fewer bits than it was trained with, so it needs less memory to run, at the cost of rounding every weight.

  • Reasoning model

    A language model that writes a long chain of steps before its last answer, such as OpenAI o1 and DeepSeek-R1.

  • Recursive self-improvement

    An AI system changes its own code or training to do more. Then the changed system makes the next change.

  • Reinforcement learning

    A type of machine learning in which software learns from its own actions, with a number called the reward as its only signal.

  • Reranker

    A model that reads a query and each result together, gives each result a score, and sorts the list again.

  • Retrieval-augmented generation

    A way of building language-model applications in which the system first searches a collection of documents, then hands the best matches to the model alongside the question.

  • Safetensors

    Hugging Face's file format for model weights, which stores only tensors and a JSON header so that loading a downloaded file cannot run code the way a pickle file can.

  • Small language model

    A small language model is a language model that can operate on a phone, a laptop or other consumer device. It usually has less than about 10 billion parameters.

  • System One model

    A class of AI model that returns typed, probabilistic decisions instead of generated text, so software can act on the answer directly. The term was coined by TypeSafe AI in September 2026.

  • System prompt

    The instructions an application gives a language model before the conversation starts.

  • Teacher models

    A teacher model gives the training signal for a student model, and the faults of the teacher can go to the student.

  • Test data

    Test data is data that a team keeps apart from training, to measure an AI model on new examples.

  • Time to first token

    The time from a request to a language model until the first token of the answer arrives, a primary latency metric of LLM servers.

  • Token

    The unit of text a language model reads and writes, which may be a word, part of a word, a character or a byte, and the unit context windows are sized in.

  • Training data

    Training data is the set of examples that an AI model learns from. It sets what the model knows, leaks and can be made to do.

  • Transformer

    The neural network design of most large language models. Attention lets each token use information from all other tokens at the same time.

  • Vector database

    A database that stores embeddings and finds the ones nearest a query, where retrieval-augmented generation keeps its documents and where one user's data can reach another's answers.

  • Vibe coding

    Building software by telling an AI what you want and accepting the code it writes without reading it.

  • Voice cloning

    Voice cloning uses AI to make new speech in the voice of one person, from a short sample.