250 terms

AI/ML Glossary — 250+ Terms

A working engineer's reference for AI and machine-learning vocabulary. From attention and embeddings to RLHF, quantization, and vision-language-action models — each entry is a short, precise definition with related concepts, models, and use cases. Built for builders shipping production LLM features, RAG pipelines, and agentic workflows. Use the A–Z navigation below to jump to a letter, or follow related-term links to traverse the graph. Every term is independently linkable — share, cite, and build on this glossary as a stable reference for technical communication across AI teams.

A

Metric & Benchmark

Fraction of predictions that match the ground truth label, the simplest classification metric.

Read more
Technique

Small trainable module inserted into a frozen base model for parameter-efficient tuning.

Read more
Concept

The repeated think/act/observe cycle by which an LLM agent makes progress on a task.

Read more

System where an LLM iteratively plans, calls tools, and evaluates progress autonomously.

Read more
Metric & Benchmark

Human-centric benchmark drawn from SAT, LSAT, GRE and Chinese gaokao exams.

Read more
Safety & Alignment

Field studying how to build AI systems that are reliable, controllable and beneficial.

Read more
Architecture

Position-encoding method that adds a fixed linear distance penalty to attention scores.

Read more
Safety & Alignment

Engineering models so their behaviour matches human values, intent, and safety policies.

Read more
Framework & Tool

Official Python and TypeScript client for Anthropic's Claude API.

Read more
Model Family

Snowflake's open MoE LLM aimed at enterprise SQL, code and analytics workloads.

Read more
Concept

Mechanism letting a model weight different parts of its input when producing each output token.

Read more

Vaswani et al. 2017 paper that introduced the Transformer architecture.

Read more
Architecture

Network trained to reconstruct its input through a low-dimensional bottleneck.

Read more

Generative model that produces output one token at a time, each conditioned on prior tokens.

Read more
Model Family

Cohere For AI's open multilingual model family covering 100+ languages.

Read more

B

Processing many requests together — async, off-peak — at sharply reduced per-token cost.

Read more
Infrastructure

Number of training examples processed in parallel in one forward+backward pass.

Read more

Decoding that keeps the top-N highest-probability partial sequences at each step.

Read more
Architecture

Architecture that encodes query and document independently — fast for retrieval at scale.

Read more
Safety & Alignment

Systematic skew in model outputs reflecting unrepresentative data or training choices.

Read more
Metric & Benchmark

Beyond the Imitation Game — a 200+ task collaborative LLM benchmark suite.

Read more
Metric & Benchmark

N-gram-overlap metric for machine-translation quality versus reference translations.

Read more

Tokenisation algorithm that iteratively merges the most-frequent adjacent token pairs.

Read more

C

Dataset

Google's filtered 750GB English web-text dataset, used to train T5.

Read more
Concept

Informal measure of how much a model can learn, set by parameter count and architecture.

Read more
Model Family

State-space-model TTS provider focused on ultra-low-latency real-time voice.

Read more

Prompting strategy that asks the model to reason step-by-step before answering.

Read more
Framework & Tool

Lightweight open-source embedding database, popular for prototyping LLM apps.

Read more
Technique

Splitting documents into smaller passages before embedding for retrieval.

Read more
Model Family

Anthropic's frontier LLM family known for long context, safety, and constitutional AI.

Read more
Metric & Benchmark

Cosine similarity between CLIP embeddings of a prompt and a generated image.

Read more
Dataset

Microsoft's 330k-image dataset with bounding boxes, segmentation and captions.

Read more
Model Family

Cohere's mid-tier LLM optimised for RAG, tool use and enterprise workflows.

Read more
Model Family

Cohere's flagship 104B-parameter model for high-stakes RAG and agentic applications.

Read more

Open repository of web-crawl data, the largest training source for nearly every LLM.

Read more
Concept

Text generated by an LLM in response to a prompt — the model's output portion.

Read more
Safety & Alignment

Anthropic's alignment method using model-generated critiques against a written constitution.

Read more

Provider-side caching of long shared contexts (documents, codebases) across calls.

Read more

Fine-tuning a model so that previously long system prompts are baked into its weights.

Read more

Maximum number of tokens (prompt + completion) a model can attend to in a single request.

Read more
Safety & Alignment

Adversarial payload designed to overflow or exploit a model's context window.

Read more

Network using sliding convolution filters, dominant for vision before transformers.

Read more
Architecture

Transformer that scores a (query, document) pair jointly — used for reranking.

Read more

D

Model Family

OpenAI's text-to-image diffusion model family, currently DALL-E 3.

Read more
Infrastructure

Replicating the model on every GPU and splitting the batch across them.

Read more
Safety & Alignment

Documentation describing the contents, provenance and risks of a training dataset.

Read more
Model Family

Databricks' open-weights 132B mixture-of-experts LLM.

Read more
Concept

Transformer half that generates output tokens autoregressively, attending to prior context.

Read more
Architecture

Transformer variant with only a stack of causal-attention decoder layers, no encoder.

Read more
Model Family

Chinese lab behind DeepSeek-V3 and R1, frontier-quality open MoE models at low cost.

Read more
Architecture

Generative model that learns to reverse a gradual noising process to synthesise data.

Read more
Technique

Training a small 'student' model to mimic a large 'teacher' model's outputs.

Read more
Infrastructure

Training a model across many GPUs or nodes via data, model or pipeline parallelism.

Read more

E

Model Family

Industry-leading neural text-to-speech models, with voice cloning and dubbing.

Read more
Metric & Benchmark

Skill rating computed from pairwise wins — the basis of Chatbot Arena rankings.

Read more
Concept

Dense numeric vector that represents text, an image, or other input in a learned semantic space.

Read more

Number of floats in an embedding vector — typically 256 to 4096 for modern models.

Read more

Local store keyed by content hash so repeated inputs aren't re-embedded — cuts cost.

Read more
Concept

Network half that compresses an input sequence into contextualised representations.

Read more
Architecture

Transformer with both an encoder reading inputs and a decoder generating outputs.

Read more

F

Model Family

TII Abu Dhabi's open-weights LLM family — Falcon 7B/40B/180B and Falcon 2.

Read more
Concept

Solving a task with a handful of demonstrations included directly in the prompt.

Read more

Including a small number of solved examples in the prompt to teach the model a pattern.

Read more
Metric & Benchmark

Distributional distance between generated and real images, lower is better.

Read more

Continued training of a pre-trained model on a task-specific dataset to specialise behaviour.

Read more
Architecture

Memory-efficient attention algorithm that fuses operations to avoid materialising the score matrix.

Read more
Architecture

Training objective that learns vector fields connecting noise to data — diffusion's cousin.

Read more
Model Family

Black Forest Labs' state-of-the-art open-weights image-generation diffusion family.

Read more
Infrastructure

4-bit floating-point format introduced on Blackwell GPUs — double FP8 throughput at inference.

Read more
Infrastructure

8-bit floating-point format used on H100/B200 to double FP16 throughput at minor quality cost.

Read more

Structured-output mode where a model emits JSON describing which tool/function to invoke.

Read more

G

Architecture

Two-network setup where a generator and a discriminator compete during training.

Read more
Model Family

Google DeepMind's natively-multimodal frontier model family, with Nano, Flash and Pro tiers.

Read more
Model Family

OpenAI's flagship language model family, decoder-only transformers from GPT-1 to GPT-5.

Read more
Infrastructure

Massively-parallel accelerator that dominates neural-network training and inference.

Read more
Infrastructure

Summing gradients over multiple micro-batches before applying an optimiser step.

Read more
Model Family

xAI's LLM family — Grok-3, Grok-4 — with real-time X data and reasoning modes.

Read more
Metric & Benchmark

Grade-school-math benchmark of 8.5k word problems with step-by-step solutions.

Read more
Safety & Alignment

Programmatic validators that constrain LLM inputs and outputs against policies.

Read more

H

Model Family

MiniMax's text-to-video model — Hailuo 02 and beyond.

Read more

Confident model output that is factually wrong, fabricated, or unsupported by sources.

Read more
Safety & Alignment

Classifier that blocks or modifies model outputs containing disallowed content.

Read more
Framework & Tool

deepset's open-source framework for production-grade RAG and search pipelines.

Read more
Metric & Benchmark

Commonsense-reasoning benchmark of completing video captions and how-to texts.

Read more
Model Family

Nous Research's instruction-tuned fine-tunes of Llama, Mistral and Qwen base models.

Read more
Framework & Tool

Python library providing thousands of pre-trained transformer models with a unified API.

Read more
Metric & Benchmark

164-problem coding benchmark from OpenAI testing function generation from docstrings.

Read more
Technique

Combining lexical (BM25) and vector search scores to get the best of both worlds.

Read more

I

Model Family

Image-generation model known for accurate in-image typography and posters.

Read more
Model Family

Google DeepMind's text-to-image diffusion model family, currently Imagen 3.

Read more
Dataset

1.4M-image, 1000-class image-classification benchmark that catalysed the deep-learning era.

Read more

Training a policy from demonstrations rather than from rewards.

Read more

A model's ability to perform new tasks from examples shown in the prompt — no weight updates.

Read more
Concept

Running a trained model on new inputs to produce predictions or generations.

Read more
Safety & Alignment

Pre-processing step that checks user inputs against schemas, PII rules and length limits.

Read more

The capability of an LLM to interpret and execute natural-language directions reliably.

Read more

Supervised fine-tuning on (instruction, response) pairs to make a base model follow directions.

Read more
Infrastructure

4-bit integer weight quantisation used widely for fast local LLM inference.

Read more

J

Safety & Alignment

Adversarial prompt that bypasses a model's safety policies or refusal behaviour.

Read more
Model Family

AI21 Labs' hybrid Mamba-Transformer LLM family with long context and high throughput.

Read more
Framework & Tool

Google's high-performance numerical-computing library with NumPy-like API and XLA backend.

Read more
Technique

API mode that forces a model to emit syntactically-valid JSON output.

Read more

K

Model Family

Moonshot AI's Chinese LLM with industry-leading 2M-token context window.

Read more
Model Family

Kuaishou's Chinese text-to-video model, known for long, motion-rich clips.

Read more

The most-recent date represented in a model's training data — beyond which it has no knowledge.

Read more

The classical Hinton-2015 formulation of distillation: minimise student-teacher logit divergence.

Read more
Infrastructure

Stored attention keys and values from prior tokens, reused so generation does not recompute them.

Read more

Quantising attention keys/values to INT8 or INT4 to shrink KV-cache memory.

Read more

L

Dataset

Open image-text dataset (5B pairs) that trained Stable Diffusion and many CLIP models.

Read more
Framework & Tool

Python/TypeScript framework for composing LLM calls into chains, agents and RAG pipelines.

Read more
Architecture

Diffusion model that operates in a compressed latent space rather than raw pixels.

Read more

Learned high-dimensional space where each point encodes the abstract features of an input.

Read more

1000-hour English audiobook corpus, the standard speech-recognition benchmark.

Read more
Metric & Benchmark

Continuously-updated benchmark that swaps tasks monthly to avoid training-data contamination.

Read more
Model Family

Meta's open-weights LLM family — the backbone of most open-source fine-tunes.

Read more
Framework & Tool

Pure-C++ inference of LLMs on CPU, GPU and Apple Silicon — the foundation of local AI.

Read more
Framework & Tool

Data framework for connecting LLMs to private data via retrieval and indexing.

Read more
Concept

Unnormalised scores a model emits over its vocabulary before softmax converts them to probabilities.

Read more
Technique

Parameter-efficient fine-tuning that injects small trainable low-rank matrices alongside frozen weights.

Read more

Scalar measure of how wrong a model's predictions are; gradient descent minimises it.

Read more

M

Architecture

Selective state-space model with input-dependent dynamics, competitive with transformers.

Read more
Metric & Benchmark

12,500-problem competition-math benchmark spanning algebra, geometry and number theory.

Read more

Embeddings trained so that prefix slices remain useful — choose any dimension at query time.

Read more
Metric & Benchmark

Translation metric using stem and synonym matching for better human-correlation than BLEU.

Read more
Framework & Tool

Open-source vector database designed for billion-scale similarity search.

Read more
Model Family

Chinese AI lab behind MiniMax-01 LLMs and Hailuo video model.

Read more
Model Family

French AI lab whose Mistral 7B and Mixtral MoE models popularised sparse open-weights LLMs.

Read more

Training in lower-precision floats to double throughput and halve memory versus FP32.

Read more
Architecture

Architecture where a router activates only a few expert sub-networks per token, saving compute.

Read more
Architecture

Vision architecture using only multilayer perceptrons — no attention, no convolutions.

Read more
Metric & Benchmark

57-subject multiple-choice benchmark spanning STEM, humanities and professional exams.

Read more
Safety & Alignment

Documentation describing a model's intended use, performance, limitations and risks.

Read more
Framework & Tool

Anthropic-introduced open standard for LLMs to access tools and data sources uniformly.

Read more
Technique

Combining the weights of multiple fine-tuned models into a single composite model.

Read more
Infrastructure

Splitting a model's layers or tensors across multiple GPUs that do not fit one.

Read more

System that dispatches each request to the most-appropriate model from a pool.

Read more
Architecture

Algorithm that selects which expert sub-networks process each input token.

Read more
Dataset

Microsoft's COCO dataset — same as COCO, full name often used in academic citations.

Read more
Metric & Benchmark

Public benchmark and leaderboard scoring embedding models across 56 datasets.

Read more

Attention applied in parallel across several projections, each capturing different relations.

Read more

Dialogue with state carried across multiple user/assistant exchanges.

Read more
Concept

Model that accepts or produces more than one input/output type — text, image, audio, video.

Read more

N

Infrastructure

NVIDIA's 2020 datacentre GPU — 40/80GB HBM2e, 312 TFLOPS FP16, the workhorse of pre-2024 AI.

Read more
Infrastructure

NVIDIA's 2024 Blackwell GPU — 192GB HBM3e, ~2.5× H100 performance for FP8 training.

Read more
Infrastructure

NVIDIA's 2022 Hopper datacentre GPU — 80GB HBM3, ~3× A100 performance.

Read more

O

Model Family

Open-source transformer policy for robot control trained on Open X-Embodiment.

Read more
Framework & Tool

Command-line + REST tool that makes running local LLMs as simple as `ollama run llama3`.

Read more

Model whose trained weights are publicly downloadable, with or without an open-source licence.

Read more

Cross-institution open robotics dataset of 1M+ demonstrations from 22 embodiments.

Read more
Framework & Tool

Official Python and TypeScript client for the OpenAI REST API.

Read more
Framework & Tool

Aggregator API that unifies 200+ LLMs behind an OpenAI-compatible interface.

Read more
Model Family

Open-weights vision-language-action model for robot policies, 7B parameters.

Read more

Mechanism forcing model output to match a regex, grammar or schema during decoding.

Read more

P

Metric & Benchmark

Median per-request latency — half of requests are faster, half slower.

Read more
Metric & Benchmark

95th-percentile request latency — 5% of requests are slower than this.

Read more

Number of learned weights in a neural network — a rough proxy for capacity and cost.

Read more
Architecture

Transformer variant that cross-attends to a fixed-size latent array, decoupling from input size.

Read more
Metric & Benchmark

Exponential of the average per-token loss; lower means the model finds the data less surprising.

Read more
Model Family

Microsoft's small-but-mighty model family trained on heavily-curated synthetic data.

Read more
Model Family

Physical Intelligence's foundation model for generalist robot manipulation.

Read more
Model Family

Pika Labs' consumer text-to-video model focused on stylised short clips.

Read more
Framework & Tool

Managed serverless vector database for retrieval and semantic search.

Read more
Infrastructure

Splitting a model's layers into stages, with micro-batches pipelined across GPUs.

Read more
Model Family

Mistral's open-weights vision-language model — Pixtral 12B and Pixtral Large.

Read more

Initial unsupervised training of a model on massive corpora to learn general patterns.

Read more
Technique

Learning trainable key/value prefixes prepended to every transformer layer.

Read more
Concept

Input text — system, user or assistant — that conditions a model's next response.

Read more

Reusing computation from previously-seen prompt prefixes across requests.

Read more

Decomposing a task into a sequence of model calls, each consuming the prior output.

Read more

Practice of designing prompts that elicit reliable, high-quality model outputs.

Read more
Safety & Alignment

Attack where untrusted input overrides the developer's intended model instructions.

Read more

Reusable prompt with placeholders that get filled at runtime with dynamic data.

Read more
Technique

Learning a small set of continuous 'soft prompt' embeddings while keeping the model frozen.

Read more
Framework & Tool

Meta's dynamic deep-learning framework, dominant in research and increasingly in production.

Read more

Q

Framework & Tool

Open-source Rust-based vector database with strong filtering and hybrid search.

Read more
Technique

LoRA on a 4-bit quantised base model, enabling 65B fine-tunes on a single 24GB GPU.

Read more
Technique

Compressing model weights to lower-precision integers (INT8/INT4) to save memory and speed inference.

Read more
Model Family

Alibaba's open-weights LLM family covering text, code, vision and audio.

Read more

R

Concept

Pattern where a model is grounded on retrieved documents fetched at inference time.

Read more
Technique

Agent pattern interleaving Thought, Action and Observation steps in a single trace.

Read more
Concept

A model's ability to chain logical steps, plan, or solve problems beyond pattern recall.

Read more
Model Family

Image-generation models specialised for vector graphics, logos and brand-consistent design.

Read more

Sequence model that processes inputs one step at a time, carrying a hidden state.

Read more
Safety & Alignment

Systematic adversarial testing of an AI system to find failure modes before deployment.

Read more
Dataset

Open recreation of the Llama training set — 1.2T tokens of curated web, books and code.

Read more
Dataset

TII's 5T-token web-only dataset that powered Falcon — quality from filtering alone.

Read more
Safety & Alignment

Model behaviour of declining a request that violates its safety policy.

Read more
Technique

Second-stage re-scoring of retrieved candidates with a more expensive model for better top-k.

Read more

End-to-end pattern combining retrieval with generation to ground answers in fresh data.

Read more

Transformer with a retrieval module integrated into its layers, not just its prompt.

Read more
Safety & Alignment

Replacing human preference labels in RLHF with judgments from another model.

Read more
Concept

Training step that aligns a model to human preferences via a reward model and RL.

Read more
Architecture

Position-encoding scheme that rotates query/key vectors in 2D subspaces by their position.

Read more
Metric & Benchmark

Recall-oriented n-gram and longest-common-subsequence metric for summarisation eval.

Read more
Model Family

Google's Robotic Transformer 2 — a VLM fine-tuned to emit robot actions as text tokens.

Read more
Model Family

Runway ML's commercial video-generation model family — Gen-3 and Gen-4.

Read more

S

Concept

Decoding strategy that picks the next token from the model's output distribution.

Read more

Empirical relations predicting model loss as a function of parameters, data and compute.

Read more
Technique

Explicit working-memory section a model writes into before producing its final answer.

Read more

Sampling multiple chain-of-thought traces and voting on the majority answer.

Read more
Framework & Tool

Microsoft's SDK for orchestrating LLMs, plugins and memory across .NET, Python and Java.

Read more

Search that ranks documents by meaning similarity, computed from embeddings.

Read more
Framework & Tool

Google's language-agnostic tokeniser library implementing BPE and unigram models.

Read more
Concept

Function that normalises a vector of logits into a probability distribution summing to one.

Read more
Model Family

OpenAI's text-to-video diffusion-transformer model, up to 60-second cinematic clips.

Read more
Architecture

Attention variants that restrict each query to a subset of keys, reducing compute.

Read more

Acceleration where a tiny draft model proposes tokens that the main model verifies in parallel.

Read more

Models that convert spoken audio into written text — the inverse of TTS.

Read more
Model Family

Open-weights latent-diffusion image model — the spark of the open-source image-gen ecosystem.

Read more
Architecture

Sequence model that uses continuous-time linear dynamics instead of attention.

Read more

String at which the model halts generation — used to enforce output boundaries.

Read more

Constrained decoding that guarantees output matches a schema (JSON, regex, grammar).

Read more
Metric & Benchmark

Real-world coding benchmark of 2294 GitHub issues with verified fixes.

Read more
Metric & Benchmark

Evaluation set generated by an LLM rather than collected from humans.

Read more

Training data generated by another model rather than collected from humans or the web.

Read more

Highest-priority instruction block that sets a model's persona, rules, and output format.

Read more

T

Sampling parameter that controls randomness — lower is more deterministic, higher more creative.

Read more
Infrastructure

Splitting weight matrices across GPUs and synchronising on every layer's forward and backward.

Read more
Framework & Tool

Google's graph-based deep-learning framework, dominant in production until PyTorch's rise.

Read more
Framework & Tool

NVIDIA's LLM-specific extension of TensorRT for maximum GPU inference throughput.

Read more

Models that synthesise spoken audio from written text — the inverse of STT.

Read more
Framework & Tool

HuggingFace's optimised LLM serving stack used by their Inference Endpoints.

Read more
Dataset

EleutherAI's 825GB diverse text dataset spanning 22 sources, used to train GPT-Neo/J.

Read more
Metric & Benchmark

Tokens or requests processed per second by an inference system.

Read more
Framework & Tool

OpenAI's fast Rust+Python BPE tokeniser library, the reference for counting GPT tokens.

Read more
Metric & Benchmark

TTS-specific latency from text-input to first audio packet — the voice analogue of TTFT.

Read more
Metric & Benchmark

Latency between sending a prompt and receiving the model's first response token.

Read more

Application-set ceiling on tokens consumed per request or per session for cost control.

Read more

Process of splitting text into the discrete units (tokens) that a model processes.

Read more
Metric & Benchmark

Per-stream generation speed of a model — the most reported speed number for LLMs.

Read more
Technique

Letting an LLM invoke external tools — APIs, code execution, search — during generation.

Read more

Sampling restricted to the K highest-probability tokens at each step.

Read more

Sampling from the smallest token set whose cumulative probability exceeds threshold p.

Read more
Infrastructure

Google's custom ASIC for neural-network training and inference, available on GCP.

Read more
Architecture

Neural architecture built on stacked self-attention layers, the basis of all modern LLMs.

Read more

Reasoning method that explores multiple branching thought paths and backtracks.

Read more

V

Architecture

Probabilistic autoencoder that learns a smooth latent space with a Gaussian prior.

Read more
Framework & Tool

Database optimised for storing and querying high-dimensional embedding vectors.

Read more
Model Family

Google DeepMind's text-to-video generation model, currently Veo 3.

Read more
Architecture

Transformer that treats image patches as tokens — no convolutions required.

Read more

Multimodal model that jointly understands images and text in a shared representation.

Read more

Foundation model class that maps images and language directly to robot actions.

Read more
Framework & Tool

High-throughput LLM serving engine with paged-attention KV-cache management.

Read more
Concept

Fixed set of tokens a tokenizer and model can represent, typically 32k to 200k entries.

Read more
Model Family

Voyage AI's embedding model family — voyage-3, voyage-large-2, voyage-code-2.

Read more

W

Safety & Alignment

Embedding statistical patterns into model outputs so they can be detected as AI-generated.

Read more
Framework & Tool

Open-source vector database with built-in hybrid search and module-based vectorisers.

Read more
Model Family

OpenAI's open-weights speech-to-text model, robust to noise and 100+ languages.

Read more

Z

Concept

Solving a task with no labelled examples, relying only on a natural-language instruction.

Read more

Asking the model to do a task purely from a natural-language description, no examples.

Read more
    AI/ML Glossary — 250+ Terms | Railwail | Railwail