NVIDIA GenAI LLM study materials
NVIDIA GenAI LLM study resources

NVIDIA GenAI LLM key terms

NVIDIA GenAI LLM · Get comfortable with the vocabulary.

Transformer

A neural network architecture that processes all positions of a sequence in parallel using stacked attention and feed-forward layers, forming the basis of most modern large language models.

Related: Self-Attention, Context Window
Self-Attention

A mechanism that lets each token in a sequence weigh the relevance of every other token and blend their representations, capturing context without recurrence.

Related: Transformer, KV Cache
Tokenization

The step that splits raw text into smaller units called tokens, often subwords, which are then mapped to integer IDs the model can process.

Related: Embedding, Context Window
Embedding

A dense numeric vector representing a token, sentence, or document so that semantically similar items sit close together in vector space.

Related: Tokenization, Retrieval-Augmented Generation
Context Window

The maximum number of tokens a model can attend to at once, covering both the input prompt and the generated output.

Related: Tokenization, KV Cache
KV Cache

Stored key and value tensors from earlier tokens that let a model generate text step by step without recomputing attention over the whole prefix.

Related: Self-Attention, Quantization
Fine-Tuning

Continuing to train a pretrained model on a smaller, task-specific dataset so it adapts its behavior to a particular domain or objective.

Related: LoRA, Overfitting
LoRA

A parameter-efficient fine-tuning method that freezes the base weights and trains small low-rank adapter matrices, cutting memory and storage costs.

Related: Fine-Tuning, Quantization
Quantization

Reducing the numerical precision of model weights and activations, for example from 16-bit to 8-bit or 4-bit, to shrink memory use and speed up inference.

Related: KV Cache, Knowledge Distillation
Knowledge Distillation

Training a smaller student model to imitate the outputs or internal signals of a larger teacher model, preserving much of the quality at lower serving cost.

Related: Quantization, Fine-Tuning
Perplexity

A metric reporting how surprised a language model is by a text; lower values mean the model assigns higher probability to the actual next tokens.

Related: Temperature, Fine-Tuning
Temperature

A sampling parameter that scales the model's output distribution; low values make generation more deterministic, while high values make it more random and diverse.

Related: Perplexity, Inference
Inference

The production phase in which a trained model processes new inputs and returns predictions or generated text, as opposed to the training phase.

Related: Model Serving, KV Cache
Overfitting

When a model memorizes training data too closely, performing well on examples it has seen but poorly on new, unseen data.

Related: Train/Validation/Test Split, Data Augmentation
Gradient Descent

An optimization procedure that repeatedly nudges model parameters in the direction that reduces the loss, using gradients computed on batches of data.

Related: Overfitting, Fine-Tuning
Retrieval-Augmented Generation

An approach that retrieves relevant documents from an external store and inserts them into the prompt so the model can answer with grounded, current information.

Related: Embedding, Hallucination
Train/Validation/Test Split

Partitioning data into subsets for fitting parameters, tuning model choices, and a final unbiased performance estimate, keeping the test set untouched until the end.

Related: Data Leakage, Stratified Sampling
Data Leakage

When information from the target or the test set sneaks into training features, producing evaluation scores that look strong but do not generalize.

Related: Train/Validation/Test Split, Overfitting
Class Imbalance

A dataset condition where one label is far more common than others, which can push models toward the majority class and hide poor minority-class performance.

Related: Stratified Sampling, Data Augmentation
Data Augmentation

Creating modified copies of training examples, such as rotations or paraphrases, to increase data variety and reduce overfitting.

Related: Overfitting, Class Imbalance
Stratified Sampling

Selecting samples so that each subgroup keeps the same proportion as in the full dataset, commonly used to preserve class balance across splits.

Related: Class Imbalance, Train/Validation/Test Split
A/B Test

A controlled experiment that randomly assigns users to a control and a treatment group, then compares outcomes to measure the effect of a change.

Related: Null Hypothesis, Statistical Power
Null Hypothesis

The default claim that there is no real difference or effect between groups; statistical tests assess how compatible the observed data are with it.

Related: p-value, Confidence Interval
p-value

The probability of observing results at least as extreme as the data if the null hypothesis were true; small values suggest the effect is unlikely to be chance.

Related: Null Hypothesis, Confidence Interval
Statistical Power

The chance an experiment correctly detects a real effect of a given size, driven by sample size, effect size, and the chosen significance threshold.

Related: Minimum Detectable Effect, A/B Test
Minimum Detectable Effect

The smallest change an experiment is designed to reliably detect; it determines how much traffic or how many samples the test needs.

Related: Statistical Power, A/B Test
Confidence Interval

A range around an estimate that, across repeated sampling, would contain the true value a stated percentage of the time.

Related: p-value, Statistical Power
Guardrail Metric

A secondary metric tracked in an experiment to catch harmful side effects, such as crashes or added latency, even when the primary metric improves.

Related: A/B Test, Minimum Detectable Effect
CI/CD

Continuous integration and continuous delivery: automated pipelines that build, test, and deploy code changes frequently and reliably.

Related: Unit Test, Containerization
Containerization

Packaging an application with its dependencies into an isolated, portable image so it runs identically across development, testing, and production environments.

Related: Model Serving, CI/CD
Unit Test

An automated check that exercises a small, isolated piece of code and asserts its expected behavior, catching regressions early in development.

Related: CI/CD, Containerization
Model Serving

The infrastructure and APIs that host a trained model and handle prediction requests in production, including scaling, monitoring, and version management.

Related: Containerization, Inference
Prompt Injection

An attack where adversarial text in user input or retrieved content hijacks the model's instructions, causing it to ignore or override its intended behavior.

Related: Red Teaming, Hallucination
Hallucination

Confidently stated model output that is factually wrong or unsupported by any source, often arising when the model lacks the needed knowledge.

Related: Retrieval-Augmented Generation, Prompt Injection
Algorithmic Bias

Systematic unfairness in model outputs that disadvantages particular groups, usually traceable to skewed data, labels, or design choices.

Related: Fairness Metric, Red Teaming
Fairness Metric

A quantitative measure, such as equal error rates or demographic parity, used to check whether model outcomes are distributed equitably across groups.

Related: Algorithmic Bias, Red Teaming
Red Teaming

Adversarial testing in which people deliberately try to make a model fail, leak data, or produce harmful content in order to find and fix weaknesses.

Related: Prompt Injection, Algorithmic Bias
PII

Personally identifiable information: data that can single out an individual, such as names or government IDs, which must be protected in training data and prompts.

Related: Red Teaming, Prompt Injection