/ glossary
Glossary
66 terms from across the modules. Each one links to the lab where you can try it. Tip: press Ctrl K anywhere to search.
A
- activation function
- The non-linear squash (ReLU, sigmoid, tanh) that lets networks learn curves, not just lines. Neural Network Basics
- agent loop
- Call the model, run any tool it asks for, append the result, repeat until it gives a final answer. Agent Loop Tracer
- attention head
- One independent attention pattern. Models run many heads in parallel, each spotting different relations. Embeddings & Attention
B
- backpropagation
- The chain-rule bookkeeping that computes how much each weight contributed to the error. Neural Network Basics
- beam search
- Keeps several candidate continuations at once and picks the best overall sequence. Sampling & Decoding
C
- cosine similarity
- How aligned two vectors are, from -1 (opposite) to 1 (same direction). Embeddings & Attention
E
- eval
- A repeatable test set plus a scoring rule that tells you if a change made the model better. Evals, Safety & Quantization
F
G
- gradient descent
- Repeatedly nudge every weight a little in the direction that lowers the loss. Neural Network Basics
- grounding
- Forcing answers to come from retrieved or pasted context, reducing hallucinations. Retrieval (RAG)
- grouped-query attention
- Several query heads share one key/value head, shrinking the KV cache (used by Llama 3). Context, KV Cache & MoE
- guardrails
- Checks on inputs and outputs: hide personal data (PII), enforce the expected format, block unsafe content. Orchestration
H
K
- k-mer
- A DNA substring of length k. Overlapping k-mers are a common way to tokenize genomes. Bio-AI with LLMs
- KV cache
- Stored keys and values of earlier tokens, so each new token only computes its own. Context, KV Cache & MoE
L
- layer norm
- Rescales each token vector to zero mean and unit variance to keep training stable. Transformer Walkthrough
- learning rate
- How aggressively weights change per step. Too high = chaos; too low = stuck. Fine-tuning
- LLM-as-judge
- Using a model with a written rubric to grade another model's answers. Evals, Safety & Quantization
- lost in the middle
- Models recall facts at the start and end of a long context better than those in the middle. Context, KV Cache & MoE
M
- masked language modeling
- Hide a token and train the model to guess it from both sides. How BERT and ESM learn. Bio-AI with LLMs
- max steps
- A hard cap on loop iterations so a confused agent cannot run (and spend) forever. Agent Loop Tracer
- MCP
- Model Context Protocol: a standard JSON-RPC way for AI apps to discover and call tools and data sources. Agent Loop Tracer
- mixture of experts
- Many expert MLPs per layer; a router sends each token to only a few, so compute stays low. Context, KV Cache & MoE
- MLP / feed-forward
- The per-token two-layer network inside each block that stores much of the model's knowledge. Transformer Walkthrough
N
- neuron
- Multiplies inputs by weights, adds a bias, then applies an activation function. Neural Network Basics
O
P
- positional encoding
- A vector added to each token embedding so the model knows word order. Transformer Walkthrough
- prompt injection
- Untrusted text (a web page, a document) that tries to override your instructions. Evals, Safety & Quantization
- protein language model
- A model trained on millions of protein sequences, learning which residues fit where (e.g. ESM). Bio-AI with LLMs
Q
- quantization
- Storing weights with fewer bits (16 → 8 → 4) to cut memory, at a small quality cost. Evals, Safety & Quantization
- query, key, value
- Three projections of each token: the question it asks, the label it offers and the content it shares. Transformer Walkthrough
R
- repetition penalty
- Lowers the odds of tokens that were already generated, to avoid loops. Sampling & Decoding
- residual connection
- Adding a layer's input back to its output, so information and gradients flow through deep stacks. Transformer Walkthrough
- residue
- One amino acid inside a protein chain, written as a single letter such as A, K or W. Bio-AI with LLMs
- router / gate
- The small network in an MoE layer that scores experts for each token. Context, KV Cache & MoE
S
- self-attention
- Each token builds its new representation as a weighted mix of every other token. Embeddings & Attention
- system prompt
- The instruction the model sees before every user turn. Great place for role and rules. Prompt Training
T
- temperature
- Sampling randomness. Low for facts, higher for brainstorming. 0 = greedy. Sampling & Decoding
- tool schema
- A JSON Schema describing a tool's name and arguments, sent to the model so it can call it correctly. Agent Loop Tracer
- top-p (nucleus)
- Keep the smallest set of tokens whose probabilities add up to p, then sample from those. Sampling & Decoding
U
- unembedding
- The final matrix that turns a token's vector into one logit per vocabulary entry. Transformer Walkthrough