TLDR AI: Plain-English Glossary of 200 AI and LLM Terms
TLDR AI is a plain-English AI glossary with 200 artificial intelligence, machine learning and large language model (LLM) terms, each explained in one or two lines. It is for developers, product managers, students, writers and anyone who keeps hearing words like tokens, RAG, embeddings, fine-tuning, MCP or hallucination and wants a quick, honest definition without the hype or the math.
Last reviewed: December 2026.
Table of contents
- How to read this glossary
- A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · Z
- Terms by topic
- Commonly confused pairs
- AI acronyms cheat sheet
- Model sizes and numbers, decoded
- FAQ
- Where to go next
- Contributing
- More free resources
How to read this glossary
- Terms are sorted A to Z. Abbreviations are listed under the abbreviation (LLM, RAG) with the full name in the entry.
- See also points to related entries in this glossary.
- Definitions describe how words are used in practice today. Where the industry uses a word loosely (like “agent” or “AGI”), the entry says so.
A
Ablation study: An experiment that removes or disables one part of a model or method to measure how much that part contributes.
Accuracy: The share of predictions a model gets right. Misleading on imbalanced data, where always guessing the majority class can score high. See also precision, recall.
Activation: The output value of a neuron or layer after its activation function is applied. Interpretability research studies activations to see what a model represents.
Activation function: A simple non-linear function (ReLU, GELU, SiLU) applied inside a neural network so it can learn more than straight-line relationships.
Adapter: A small set of extra trainable weights added to a frozen model so it can learn a new task cheaply. LoRA is the best-known kind.
Agent (AI agent): An AI system, usually built on an LLM, that works toward a goal in a loop: it decides on actions, uses tools, observes the results and continues until done. The word is used loosely, from simple tool-calling chatbots to long-running autonomous programs.
Agentic workflow: A process where an LLM plans steps and calls tools across several turns, instead of answering in a single response.
AGI (artificial general intelligence): A hypothetical AI that can match humans across most intellectual tasks. There is no agreed test for it, so claims about AGI depend on whose definition is used.
AI (artificial intelligence): The broad field of building computer systems that perform tasks usually associated with human intelligence, such as understanding language, recognizing images or making decisions.
AI safety: Research and practice aimed at making AI systems behave as intended and avoid causing harm, from preventing misuse to reducing risks from more capable future systems.
Alignment: Making an AI system’s goals and behavior match what its developers and users intend, including following instructions, being honest and refusing harmful requests.
Annotation (labeling): Adding the correct answers or tags to raw data so it can be used to train or evaluate a model.
API (application programming interface): A defined way for programs to talk to each other. Most people use hosted LLMs through an HTTP API that takes a prompt and returns a response.
Attention: The mechanism that lets each token in a sequence weigh how relevant every other token is when computing its representation. It is the core idea of the transformer.
Autoencoder: A neural network trained to compress its input into a smaller representation and then reconstruct it. Used for compression, denoising and as a building block of image generators.
Autoregressive model: A model that generates output one piece at a time, each step conditioned on everything generated so far. GPT-style LLMs are autoregressive.
B
Backpropagation: The algorithm that computes how much each weight contributed to the error, so gradient descent can adjust the weights. It is how almost all neural networks are trained.
Base model: A model after pretraining but before instruction tuning or preference tuning. It continues text well but does not reliably follow instructions or chat.
Batch size: How many examples a model processes together in one training step or inference call. Larger batches use hardware more efficiently but need more memory.
Beam search: A decoding method that keeps several candidate sequences at each step and picks the most likely overall. Common in translation; less common for chat models, which usually sample.
Benchmark: A standard test set used to compare models on a task, such as coding, math or reading comprehension. Scores can be inflated by contamination or by tuning to the benchmark.
Bias (in AI): Systematic unfairness in a model’s outputs, often inherited from skewed training data, that disadvantages certain groups.
Bias (parameter): A learnable number added to a neuron’s weighted input, letting it shift its output. Unrelated to fairness despite the shared word.
BPE (byte pair encoding): A tokenization method that starts from characters or bytes and repeatedly merges the most frequent pairs into new tokens. Used by many LLM tokenizers.
C
Catastrophic forgetting: When training a model on new data makes it lose skills it learned earlier.
Chain-of-thought (CoT): Having a model write out intermediate reasoning steps before its final answer, which often improves results on math and logic problems.
Chatbot: A program that holds a conversation with users. Modern chatbots are usually LLMs with a chat interface, a system prompt and safety tuning.
Checkpoint: A saved copy of a model’s weights at some point in training, used to resume training or to release a model.
Chunking: Splitting documents into smaller passages before embedding them for search or RAG. Chunk size and overlap strongly affect retrieval quality.
Classification: A task where a model assigns an input to one of a fixed set of categories, such as spam or not spam.
CLIP: A model from OpenAI that learns a shared embedding space for images and text from image-caption pairs. It is widely used for image search and to guide image generators.
Clustering: Grouping similar items together without labels, for example grouping support tickets by topic using their embeddings.
CNN (convolutional neural network): A neural network that slides small learned filters over its input. CNNs were the dominant architecture for images before vision transformers.
Completion: The text a language model generates in response to a prompt. Also an older API style where you send raw text instead of chat messages.
Compute: The processing power used to train or run models, often measured in GPU hours or floating point operations (FLOPs).
Computer use (AI): An agent capability where a model operates a computer like a person, by reading screenshots and sending mouse and keyboard actions.
Confusion matrix: A table of a classifier’s predictions against the true labels, showing exactly which classes get mixed up.
Constitutional AI: An alignment method developed by Anthropic in which a model critiques and revises its own outputs against a written set of principles, reducing the need for human feedback labels.
Context engineering: Deliberately choosing what goes into a model’s context window (instructions, retrieved documents, tool results, memory) so it has what it needs and little else.
Context window: The maximum number of tokens a model can consider at once, covering both the input and the generated output.
Contrastive learning: Training that pulls representations of matching pairs together and pushes non-matching pairs apart. It is how most embedding models are trained.
Copilot: An AI assistant embedded in a tool to help a user while they work, such as suggesting code in an editor. Also a product name used by Microsoft and GitHub.
Corpus: A large collection of text or other data used to train or evaluate a model.
Cosine similarity: A measure of how closely two vectors point in the same direction, from -1 to 1. The usual way to compare embeddings.
Cross-entropy loss: The standard loss for classification and language modeling. It is low when the model assigns high probability to the correct answer.
CUDA: NVIDIA’s programming platform for running general computations on its GPUs. Most deep learning software depends on it.
D
Data augmentation: Creating extra training examples by modifying existing ones (flipping images, paraphrasing text) to make a model more robust.
Data contamination (leakage): When test or benchmark examples appear in a model’s training data, making its scores look better than its true ability.
Dataset: A structured collection of examples used for training, validating or testing a model.
Decoder: The part of a model that generates output. Most chat LLMs are decoder-only transformers.
Deep learning: Machine learning with neural networks that have many layers. It powers modern speech, vision and language AI.
Deepfake: Synthetic audio, images or video that realistically imitate a real person, made with generative AI.
Diffusion model: A generative model that learns to turn random noise into data by removing noise step by step. The main approach behind modern image and video generators.
Distillation (knowledge distillation): Training a smaller “student” model to imitate a larger “teacher” model’s outputs, producing a cheaper model that keeps much of the quality.
DPO (direct preference optimization): A method that tunes a model on pairs of preferred and rejected responses directly, without training a separate reward model as RLHF does.
Dropout: A regularization technique that randomly switches off some neurons during training so the network does not rely too heavily on any one of them.
E
Edge AI (on-device AI): Running models locally on phones, laptops or embedded devices instead of in the cloud, for privacy, lower latency or offline use.
Embedding: A list of numbers (vector) that represents the meaning of a piece of text, an image or other data, so that similar things have nearby vectors.
Embedding model: A model designed to turn inputs into embeddings for search, clustering, recommendation and RAG, rather than to generate text.
Emergent ability: A skill that appears in larger models but is weak or absent in smaller ones. Researchers debate how much of this is real versus an artifact of how it is measured.
Encoder: The part of a model that turns input into an internal representation. BERT is an encoder-only transformer, used for understanding rather than generation.
Epoch: One full pass through the training dataset.
Evals (evaluations): Tests that measure how well a model or AI application performs on the tasks you care about. Good evals are the main tool for improving prompts and choosing models.
Explainability (XAI): Methods that help people understand why a model produced a given output.
F
F1 score: The harmonic mean of precision and recall, a single number that balances the two.
Federated learning: Training a model across many devices or organizations without collecting their raw data in one place; only model updates are shared.
Few-shot prompting: Including a few worked examples in the prompt so the model picks up the pattern or format you want.
Fine-tuning: Continuing to train a pretrained model on a smaller, task-specific dataset to adapt its behavior, style or knowledge.
FLOPs: Floating point operations, a count of arithmetic work used to measure how much compute training or inference needs. FLOPS (per second) measures hardware speed.
Foundation model: A large model trained on broad data that can be adapted to many tasks, such as an LLM or a large image model.
Frontier model: One of the most capable models available at a given time, typically from the largest AI labs.
Function calling: See tool use.
G
GAN (generative adversarial network): Two networks trained against each other: a generator makes fake samples and a discriminator tries to tell them from real ones. Once the leading method for image generation.
Generative AI: AI that creates new content (text, images, audio, video, code) rather than only classifying or predicting.
GGUF: A file format for storing model weights, often quantized, used by llama.cpp and related tools to run models locally.
GPT (generative pre-trained transformer): A family of decoder-only transformer language models from OpenAI. The term is also used loosely for similar models.
GPU (graphics processing unit): A processor with thousands of small cores that do many calculations in parallel, which makes it the main hardware for training and running neural networks.
Gradient: The direction and amount each weight should change to reduce the loss.
Gradient descent: The optimization method that repeatedly nudges weights in the direction that reduces the loss. Variants like Adam and AdamW are standard for training neural networks.
Greedy decoding: Always choosing the single most likely next token. Deterministic, but it can produce repetitive or bland text.
Grounding: Tying a model’s answer to specific sources, such as retrieved documents or search results, so claims can be checked.
Guardrails: Rules, filters or classifiers placed around a model to block unsafe inputs and outputs or keep responses on topic.
H
Hallucination: When a model states something false or made up with confidence, such as a fake citation or a non-existent function.
Hugging Face: A company and platform that hosts open models, datasets and demos, and maintains popular libraries such as Transformers.
Human-in-the-loop: A setup where people review, correct or approve AI outputs at key steps instead of letting the system act fully on its own.
Hybrid search: Combining keyword search (like BM25) with vector search so results match both exact terms and meaning.
Hyperparameter: A setting chosen before training rather than learned, such as learning rate, batch size or number of layers.
I
Image-to-image: Generating a new image from an input image plus instructions, for editing, style transfer or variations.
In-context learning: A model picking up a task from instructions and examples in the prompt, without any change to its weights.
Inference: Running a trained model to get outputs. Most of the cost of serving AI products is inference.
Inpainting: Filling in or replacing a selected region of an image with generated content that blends with the rest.
Instruction tuning: Fine-tuning a base model on instruction and response examples so it follows requests and behaves like an assistant.
Interpretability (mechanistic interpretability): Research into what is happening inside a neural network, identifying the features and circuits that produce its behavior.
J
Jailbreak: A prompt designed to trick a model into ignoring its safety rules or instructions.
JSON mode (structured outputs): An API feature that constrains a model to return valid JSON, often matching a schema you provide.
K
Knowledge cutoff: The date after which a model has no information from training data. Anything later must come from tools, search or the prompt.
Knowledge graph: A database of entities and the relationships between them, sometimes combined with LLMs to improve retrieval and reasoning.
KV cache (key-value cache): Stored attention keys and values from earlier tokens, so a model does not recompute them for every new token. It makes generation faster but uses a lot of memory for long contexts.
L
Latency: How long a response takes. For LLMs, often split into time to first token and tokens per second.
Latent space: The internal space of compressed representations a model learns, where similar inputs are close together.
Layer: One stage of computation in a neural network. Deep models stack dozens or more layers.
Learning rate: How big a step the optimizer takes when updating weights. Too high and training diverges; too low and it crawls.
LLM (large language model): A neural network, usually a transformer, trained on very large amounts of text to predict the next token, which lets it write, summarize, translate, code and answer questions.
LLM-as-a-judge: Using a language model to grade other models’ outputs against a rubric. It scales evaluation but has its own biases, so it should be checked against human ratings.
Logits: The raw scores a model outputs for each possible next token, before they are turned into probabilities.
LoRA (low-rank adaptation): A fine-tuning method that freezes the original weights and trains small low-rank matrices added to them, cutting memory and storage needs dramatically.
Loss function: A formula that measures how wrong the model’s predictions are. Training tries to minimize it.
M
Machine learning (ML): Building systems that learn patterns from data instead of being explicitly programmed with rules.
MCP (Model Context Protocol): An open protocol, introduced by Anthropic in 2024, that standardizes how AI applications connect to tools and data sources through MCP servers.
Memory (agent memory): Information an AI application stores and brings back into later prompts, such as user preferences or notes from earlier sessions. The model itself does not remember between calls.
Mixed precision: Training or running a model with lower-precision numbers (like 16-bit) for most operations to save memory and time, while keeping some parts in higher precision for stability.
Model card: A document describing a model’s intended use, training data, evaluation results and limitations.
Model collapse: Degraded quality that can occur when models are trained repeatedly on data generated by other models instead of human data.
Model weights: The learned numbers (parameters) that define a trained model. “Open weights” means these files are published.
Moderation: Detecting and filtering harmful content, such as hate speech or violence, in user inputs or model outputs.
MoE (mixture of experts): An architecture with many expert sub-networks where a router activates only a few for each token, giving a large total parameter count with lower compute per token.
Multi-agent system: Several AI agents, often with different roles or tools, working together or in a pipeline on a larger task.
Multimodal model: A model that can take in or produce more than one type of data, such as text, images, audio and video.
N
Neural network: A model made of layers of simple connected units whose connection strengths (weights) are learned from data.
Next-token prediction: The training objective of most LLMs: given the text so far, predict the next token.
NLP (natural language processing): The field of AI that deals with understanding and generating human language.
Normalization (layer norm): Rescaling values inside a network to keep them in a stable range, which makes deep networks train reliably.
O
Object detection: Finding and labeling objects in an image with bounding boxes.
OCR (optical character recognition): Turning text in images or scanned documents into machine-readable text. Many multimodal LLMs can now do this directly.
One-shot prompting: Giving the model exactly one example in the prompt. See also few-shot, zero-shot.
ONNX: An open file format for machine learning models that lets a model trained in one framework run in many runtimes and devices.
Open source AI: AI released with the freedom to use, study, modify and share it. The Open Source Initiative’s definition requires weights, code and detailed information about training data. See also open-weight model.
Open-weight model: A model whose trained weights are downloadable, often under a license with some restrictions, even if the training data and code are not released.
Optimizer: The algorithm (such as Adam or SGD) that uses gradients to update a model’s weights during training.
Orchestration: Code or frameworks that coordinate LLM calls, tools, retrieval and memory into a working application.
Overfitting: When a model memorizes its training data, including the noise, and performs worse on new data.
P
Parameter: A learned value inside a model, such as a weight or bias. Model size is usually given as a parameter count, like 8B (8 billion).
PEFT (parameter-efficient fine-tuning): Fine-tuning methods, such as LoRA and adapters, that update only a small fraction of a model’s parameters.
Perplexity: A measure of how surprised a language model is by a text; lower means it predicts the text better. Also the name of an AI search company.
Positional encoding: Information added to token representations so a transformer knows the order of tokens. RoPE is a common modern method.
Precision: Of the items a model flagged as positive, the share that really are positive. See also recall.
Preference data: Pairs or rankings of model responses labeled by which is better, used for RLHF and DPO.
Pretraining: The first and most expensive training stage, where a model learns general patterns from a huge dataset, such as predicting the next token across trillions of tokens.
Prompt: The input given to a model: instructions, questions, examples and any context.
Prompt caching: Reusing the processed form of a repeated prompt prefix (like a long system prompt or document) across requests to cut cost and latency.
Prompt engineering: Writing and testing prompts to get reliable, high-quality outputs from a model.
Prompt injection: An attack where instructions hidden in content the model reads (a web page, email or file) try to override the developer’s or user’s instructions.
Pruning: Removing weights or whole parts of a network that contribute little, to make a model smaller and faster.
Q
QLoRA: Fine-tuning with LoRA on top of a model whose base weights are quantized to 4-bit, so large models can be tuned on a single GPU.
Quantization: Storing model weights (and sometimes activations) with fewer bits, such as 8-bit or 4-bit instead of 16-bit, to reduce memory and speed up inference with some loss of quality.
R
RAG (retrieval-augmented generation): Searching a knowledge source for relevant passages and adding them to the prompt so the model answers from that information, reducing hallucination and allowing up-to-date or private knowledge.
Rate limit: The maximum number of requests or tokens an API allows per minute or day.
Reasoning model: An LLM trained to spend extra tokens thinking through a problem step by step before answering, which improves results on math, code and planning at the cost of more time and tokens.
Recall: Of all the truly positive items, the share the model found. See also precision.
Red teaming: Deliberately attacking a model or AI system to find harmful behaviors, security holes and failure modes before others do.
Regularization: Techniques (dropout, weight decay, early stopping) that discourage overfitting.
Reinforcement learning (RL): Training an agent by rewarding good actions and penalizing bad ones as it interacts with an environment.
Reranker: A model that re-scores an initial set of search results by relevance to the query, usually improving the quality of RAG.
Reward hacking: When a model finds a way to score well on its reward that does not achieve the intended goal, like passing tests by special-casing them.
Reward model: A model trained to predict how much humans would prefer a response, used to provide the reward signal in RLHF.
RLHF (reinforcement learning from human feedback): Tuning a model with reinforcement learning against a reward model trained on human preference ratings, to make responses more helpful and safe.
RNN (recurrent neural network): A network that processes sequences one step at a time while carrying a hidden state. Largely replaced by transformers for language.
S
Sampling: Choosing each next token randomly according to the model’s probabilities, shaped by settings such as temperature and top-p.
Scaling laws: Observed relationships showing that model performance improves predictably as you increase parameters, data and compute.
Seed: A number that initializes randomness. Fixing it makes sampling and training more reproducible, though not always exactly identical on GPUs.
Self-attention: Attention where every token in a sequence attends to the other tokens in the same sequence.
Semantic search: Search that matches by meaning using embeddings, so “car” can find documents about “automobile”.
SFT (supervised fine-tuning): Fine-tuning on examples of desired inputs and outputs. The first step after pretraining for most chat models.
Small language model (SLM): A language model small enough to run cheaply or on a device, typically a few billion parameters or fewer.
Softmax: A function that turns a list of scores (logits) into probabilities that add up to 1.
Speculative decoding: Speeding up generation by having a small draft model propose several tokens that the large model checks in one pass, without changing the output distribution.
Speech-to-text (STT, ASR): Turning spoken audio into text, also called automatic speech recognition.
Stable Diffusion: A family of open-weight text-to-image diffusion models first released in 2022 by Stability AI together with researchers from CompVis and Runway.
Stop sequence: A string that tells the API to stop generating when the model produces it.
Streaming: Sending a model’s output token by token as it is generated, so users see text immediately.
Supervised learning: Learning from labeled examples where the correct answer is known.
Synthetic data: Training or test data generated by models or programs rather than collected from the real world.
System prompt: Instructions set by the developer at the start of a conversation that define the model’s role, rules and style, separate from the user’s messages.
T
Temperature: A sampling setting that controls randomness. Low values make output focused and repeatable; high values make it more varied and creative.
Tensor: A multi-dimensional array of numbers. Inputs, weights and activations in neural networks are stored as tensors.
Test set: Data held back from training and used once at the end to estimate how the model performs on unseen examples.
Text-to-image: Generating images from a written description.
Text-to-speech (TTS): Turning written text into spoken audio.
Throughput: How much work a system handles per unit of time, such as tokens per second across all users.
Token: The unit of text a model reads and writes, often a word or part of a word. In English, one token averages roughly three quarters of a word. API usage and context windows are measured in tokens.
Tokenizer: The component that splits text into tokens and maps them to numbers, and turns model output numbers back into text.
Tool use (function calling): A model choosing to call external functions you define, such as search, a calculator or an API, by producing structured arguments that your code executes.
Top-k sampling: Sampling the next token only from the k most likely options.
Top-p sampling (nucleus sampling): Sampling the next token from the smallest set of options whose probabilities add up to p, such as 0.9.
TPU (tensor processing unit): A custom chip designed by Google to accelerate neural network training and inference.
Training: The process of adjusting a model’s weights using data so it gets better at its objective.
Transfer learning: Reusing a model trained on one task as the starting point for another, related task.
Transformer: The neural network architecture, introduced in the 2017 paper “Attention Is All You Need”, that uses attention to process sequences in parallel. It underlies nearly all modern LLMs.
Turing test: A test proposed by Alan Turing in 1950 in which a machine passes if a human judge cannot reliably tell it apart from a human in conversation.
U
Underfitting: When a model is too simple or undertrained to capture the patterns in the data, performing poorly even on training data.
Unsupervised learning: Learning patterns from data without labels, such as clustering or learning embeddings.
V
Validation set: Data held out from training and used during development to tune hyperparameters and catch overfitting.
Vector database: A database built to store embeddings and quickly find the most similar ones, used for semantic search and RAG.
Vibe coding: Building software mostly by describing what you want to an AI coding assistant and accepting its code with little manual review. Popularized by Andrej Karpathy in early 2025.
Vision transformer (ViT): A transformer applied to images by splitting them into patches and treating each patch like a token.
VLM (vision-language model): A multimodal model that takes images and text as input and produces text, for tasks like describing photos or reading charts.
W
Watermarking: Embedding a hidden, detectable signal in AI-generated text, images or audio so the content can later be identified as machine-made.
Weight: A learned number that sets the strength of a connection in a neural network.
Weight decay: A regularization method that gently pushes weights toward zero during training to reduce overfitting.
Z
Zero-shot prompting: Asking a model to do a task with instructions only and no examples.
Terms by topic
A quick way to find related entries.
| Topic | Terms |
|---|---|
| Basics | AI, machine learning, deep learning, neural network, model weights, parameter, training, inference |
| Language models | LLM, GPT, token, tokenizer, context window, next-token prediction, autoregressive model, knowledge cutoff |
| Architecture | Transformer, attention, self-attention, encoder, decoder, MoE, positional encoding, layer, activation function |
| Training | Pretraining, fine-tuning, SFT, instruction tuning, RLHF, DPO, LoRA, QLoRA, PEFT, distillation, epoch, learning rate |
| Generation settings | Temperature, top-k sampling, top-p sampling, greedy decoding, beam search, stop sequence, seed, streaming |
| Prompting | Prompt, system prompt, zero-shot, one-shot, few-shot, chain-of-thought, prompt engineering, context engineering |
| Retrieval | RAG, embedding, embedding model, vector database, chunking, semantic search, hybrid search, reranker, grounding |
| Agents | Agent, agentic workflow, tool use, MCP, memory, multi-agent system, computer use, orchestration |
| Evaluation | Evals, benchmark, accuracy, precision, recall, F1 score, perplexity, LLM-as-a-judge, data contamination |
| Safety | Alignment, AI safety, hallucination, jailbreak, prompt injection, red teaming, guardrails, moderation, reward hacking |
| Efficiency | Quantization, pruning, distillation, KV cache, speculative decoding, prompt caching, mixed precision, GGUF |
| Images, audio, video | Diffusion model, GAN, CLIP, VLM, text-to-image, inpainting, speech-to-text, text-to-speech, deepfake |
Commonly confused pairs
| Pair | The difference |
|---|---|
| AI vs machine learning vs deep learning | Each is a subset of the one before: deep learning is a kind of machine learning, which is one approach to AI. |
| Training vs inference | Training changes the weights; inference only uses them to produce outputs. |
| Fine-tuning vs RAG | Fine-tuning changes the model’s behavior or style by training; RAG gives the model facts at question time without training. |
| Parameters vs tokens | Parameters are the model’s learned numbers (its size); tokens are pieces of text it reads and writes. |
| Context window vs memory | The context window is what the model sees in one request; memory is what an application saves and puts back into later requests. |
| Open source vs open weights | Open weights means downloadable weights; open source AI also requires code, data information and freedom to modify and share. |
| Precision vs recall | Precision asks “how many flagged items were right?”; recall asks “how many right items were flagged?”. |
| Prompt injection vs jailbreak | A jailbreak is a user trying to get around safety rules; prompt injection is hidden instructions in third-party content hijacking an app. |
| Temperature vs top-p | Temperature reshapes all probabilities; top-p cuts off the unlikely tail before sampling. |
| Embedding model vs LLM | An embedding model outputs vectors for comparison; an LLM generates text. |
| Agent vs workflow | A workflow follows steps you coded in advance; an agent decides its own next step at run time. |
| Validation set vs test set | The validation set guides development decisions; the test set is touched once for a final, honest score. |
AI acronyms cheat sheet
| Acronym | Stands for |
|---|---|
| AGI | Artificial general intelligence |
| API | Application programming interface |
| ASR | Automatic speech recognition |
| BPE | Byte pair encoding |
| CNN | Convolutional neural network |
| CoT | Chain-of-thought |
| DPO | Direct preference optimization |
| GAN | Generative adversarial network |
| GGUF | A file format for quantized model weights used by llama.cpp |
| GPT | Generative pre-trained transformer |
| GPU | Graphics processing unit |
| KV cache | Key-value cache |
| LLM | Large language model |
| LoRA | Low-rank adaptation |
| MCP | Model Context Protocol |
| ML | Machine learning |
| MoE | Mixture of experts |
| NLP | Natural language processing |
| OCR | Optical character recognition |
| PEFT | Parameter-efficient fine-tuning |
| QLoRA | Quantized low-rank adaptation |
| RAG | Retrieval-augmented generation |
| RL | Reinforcement learning |
| RLHF | Reinforcement learning from human feedback |
| RNN | Recurrent neural network |
| SFT | Supervised fine-tuning |
| SLM | Small language model |
| STT | Speech-to-text |
| TPU | Tensor processing unit |
| TTS | Text-to-speech |
| ViT | Vision transformer |
| VLM | Vision-language model |
| XAI | Explainable AI |
Model sizes and numbers, decoded
| You see | It means |
|---|---|
| 7B, 70B, 400B | Parameter count: 7 billion, 70 billion, 400 billion learned weights |
| A 16B-total, 3B-active model | A mixture-of-experts model: 16 billion parameters stored, about 3 billion used per token |
| 128K context | The model can attend to about 128,000 tokens at once (input plus output) |
| 4-bit, Q4, INT4 | Quantized weights using about 4 bits each instead of 16 |
| FP16, BF16 | 16-bit floating point formats commonly used to store and run models |
| Tokens per second | Generation speed |
| TTFT | Time to first token, how long before output starts |
| $ per million tokens | How hosted APIs usually price usage, often different for input and output |
A rough rule for memory: weights need about parameters × bytes per parameter. A 7B model is about 14 GB at 16-bit and about 4 GB at 4-bit, plus extra memory for the KV cache.
FAQ
What is the difference between AI and machine learning? AI is the broad goal of making machines do things that seem intelligent. Machine learning is the main way that is done today: systems learn patterns from data instead of following hand-written rules.
What is an LLM in simple terms? A large language model is a program trained on huge amounts of text to predict the next piece of text. That simple skill, at scale, lets it answer questions, write, summarize, translate and code.
What does “tokens” mean in AI pricing? Tokens are the chunks of text a model reads and writes, roughly three quarters of an English word each on average. APIs charge per token for both your input and the model’s output.
What is the difference between RAG and fine-tuning? RAG looks up relevant documents at question time and puts them in the prompt; it is best for facts that change or are private. Fine-tuning trains the model further; it is best for teaching a style, format or narrow skill.
Why do AI models hallucinate? They generate the most plausible-sounding continuation, not a verified fact. When they lack the information, a confident but wrong answer can still be the most “likely” text. Grounding with retrieval, citing sources and asking the model to say when it is unsure all help.
What is an AI agent? A system where a model works toward a goal over several steps: it decides what to do, calls tools such as search or code execution, looks at the results and repeats until done.
What is MCP? The Model Context Protocol is an open standard for connecting AI applications to tools and data sources, so one integration (an MCP server) can work with many AI apps.
What does “open weights” mean? The trained model files are published so anyone can download and run them, usually under a license with some conditions. It is not the same as fully open source AI, which also requires training code and data information.
Where to go next
- Google’s Machine Learning Crash Course for the fundamentals behind many of these terms
- Hugging Face Learn for free courses on LLMs, agents and more
- 3Blue1Brown’s neural networks series for visual explanations of how networks and transformers work
- The Illustrated Transformer for a picture-by-picture walkthrough of attention
- Model Context Protocol documentation for the protocol behind tool-using AI apps
- The Open Source AI Definition from the Open Source Initiative
Contributing
PRs are welcome. To add or fix a term:
- Keep each definition to one or two plain sentences, with no marketing language.
- Explain what the term means in practice, and say so when the industry uses it loosely.
- Keep the list in alphabetical order and add the term to Terms by topic if it fits.
- Keep entries accurate; cite a source in your PR description for anything new or disputed.
License
Content is licensed under CC BY 4.0.
If this helped you, a star helps others find it.
More free resources
Part of the Ralpberry Labs open-source collection. See also Top 100 Open Source.