Skip to content
Workbench

Workbench / Glossary

Glossary/

A self-hosted AI glossary in plain words. Every term links to the note it comes from.

A

Agent
An LLM that can plan, call tools and act over several steps toward a goal. From: LLM glossary: a practical reference →
Alignment
Methods intended to bring model behaviour closer to desired goals and constraints, including training and evaluation. Alignment is not a guarantee of safe behaviour. From: LLM glossary: a practical reference →
Attention
A mechanism for weighting relationships between tokens. Which tokens can interact depends on the architecture and attention pattern. From: LLM glossary: a practical reference →

B

Batching
Processing several requests at once so the GPU stays busy. Key to serving many users. From: LLM glossary: a practical reference →
Benchmark
A public, standardized eval used to compare models. Useful, but easy to over-trust. From: LLM glossary: a practical reference →

C

Chain of thought
Intermediate reasoning steps generated while solving a task. They are not proof of correctness or necessarily a faithful explanation of the model’s computation. From: LLM glossary: a practical reference →
Chunking
Cutting documents into small pieces before embedding them, so search returns focused passages. From: LLM glossary: a practical reference →
Cosine similarity
A measure of the angle between vectors. Its usefulness for retrieval depends on the embedding model; it is not a factual-confidence score. From: LLM glossary: a practical reference →

D

Distillation
Training a model using outputs or signals from another model, often to make a smaller model more capable on selected tasks. From: LLM glossary: a practical reference →

E

Embedding model
A model that maps inputs such as text or images to vectors used for similarity search and other tasks. From: LLM glossary: a practical reference →
Eval
A repeatable test set that measures whether a model or prompt change made things better or worse. From: LLM glossary: a practical reference →

F

Few-shot
Showing the model a few worked examples in the prompt so it copies the pattern. From: LLM glossary: a practical reference →
Fine-tuning
Extra training on a smaller, focused dataset to change how a model behaves or what it knows. From: LLM glossary: a practical reference →

G

GGUF
GGUF is the model format that llama. From: Reading a local model listing →
Grounding
Basing a response on supplied evidence. Check that the claims are supported; providing sources does not force the model to use them correctly. From: LLM glossary: a practical reference →
Guardrails
Controls intended to limit unwanted inputs, outputs or actions. Their effectiveness must be tested; prompt rules alone are not access control. From: LLM glossary: a practical reference →

H

Hallucination
A confident answer that is simply wrong or made up. From: LLM glossary: a practical reference →
Human in the loop
A setup where a person approves or corrects the agent before risky actions run. From: LLM glossary: a practical reference →

I

Inference
Running a trained model to get an answer. Training builds the model; inference uses it. From: LLM glossary: a practical reference →

K

K-quants
A family of llama.cpp quantization methods with labels such as Q4_K_M. Precision, memory and quality depend on the particular method and model. From: LLM glossary: a practical reference →
KV cache
Cached attention keys and values from processed tokens, reused during generation. Its memory use depends on the architecture, precision and sequence length. From: LLM glossary: a practical reference →

L

Latency
A measure of delay. Time to first token and total request time are different latency measurements; specify which one you mean. From: LLM glossary: a practical reference →
LLM
A large language model: a neural network trained on huge amounts of text to predict the next token. From: LLM glossary: a practical reference →
LoRA
A parameter-efficient fine-tuning method that learns low-rank updates while leaving the original weights frozen. From: LLM glossary: a practical reference →

M

MCP
Model Context Protocol: an open standard for plugging tools and data sources into AI apps. From: LLM glossary: a practical reference →
Mixture of Experts
An architecture that routes computation through selected expert components. Fewer active parameters can reduce computation, but speed still depends on implementation and hardware. From: LLM glossary: a practical reference →
Multimodal
A model that handles more than text, such as images, audio or video. From: LLM glossary: a practical reference →

O

Offloading
Placing model weights or computation on another device, such as the CPU, to manage memory. The performance cost depends on the hardware and workload. From: LLM glossary: a practical reference →
Open weights
A model with downloadable weights. Check its licence: open weights do not necessarily grant unrestricted use or include training data and code. From: LLM glossary: a practical reference →
OpenAI-compatible API
An API that follows some OpenAI request and response conventions. Compatibility varies by endpoint and feature. From: LLM glossary: a practical reference →

P

Parameters
Parameters are the numerical values a model learns during training. From: Reading a local model listing →
Pretraining
The first, expensive phase where a model learns language by reading a massive text corpus. From: LLM glossary: a practical reference →
Prompt
The input you give a model: instructions, context and the question itself. From: LLM glossary: a practical reference →
Prompt injection
Instructions in untrusted input, such as a document or webpage, that try to redirect the system away from its authorised task. They need not be hidden. From: LLM glossary: a practical reference →

R

Reasoning model
A model trained to use additional intermediate computation when answering. It may improve some tasks while adding latency and token use. From: LLM glossary: a practical reference →
Reranker
A model that scores retrieved candidates again. Test whether its ordering improves your queries before adding it to a pipeline. From: LLM glossary: a practical reference →

S

Safetensors
A tensor-file format designed to avoid executable-code deserialization. It does not establish the safety of accompanying code or the quality of the weights. From: LLM glossary: a practical reference →
Speculative decoding
A method that proposes candidate tokens and verifies them with the target model. It can accelerate generation when enough proposals are accepted. From: LLM glossary: a practical reference →
Structured output
Output constrained or requested to follow a format or schema. Validate the result: correct structure does not establish correct values. From: LLM glossary: a practical reference →
System prompt
Application-level instructions that shape the model’s role and behaviour. They should not be treated as a secret store or a security boundary. From: LLM glossary: a practical reference →

T

Temperature
A sampling setting that changes the distribution of token choices. Lower values concentrate choices but do not guarantee identical or correct answers. From: LLM glossary: a practical reference →
Throughput
How many tokens per second a setup produces, for one user or across many. From: LLM glossary: a practical reference →
Tokenizer
The component that splits text into tokens and back. Each model family has its own. From: LLM glossary: a practical reference →
Tokens
Tokens are the pieces of input and output the model processes. From: Reading a local model listing →
Tool calling
When a model asks to run a function, like a search or an API call, and uses the result. From: LLM glossary: a practical reference →
Top-p
A sampling limit that only lets the model pick from the most likely tokens adding up to probability p. From: LLM glossary: a practical reference →
Transformer
The architecture behind almost every modern LLM. It uses attention to weigh how words relate to each other. From: LLM glossary: a practical reference →

V

Vector database
A database built to store embeddings and find the closest ones fast. From: LLM glossary: a practical reference →
VRAM
VRAM is GPU memory, which may need to hold weights, the attention cache and runtime buffers. From: Reading a local model listing →

W

Weights
The numbers a model learned during training. Downloading a model means downloading its weights. From: LLM glossary: a practical reference →