LLMs

What is Tensor Parallelism?

Tensor parallelism splits individual weight matrices across multiple GPUs so they compute a single layer together, exchanging partial results. It is the standard way to run very large models within one server.

What is Data Parallelism?

Data parallelism is the most common way to train models on multiple GPUs: each device holds a full copy of the model, processes a different slice of the batch, and gradients are averaged across devices.

What is Model Parallelism?

Model parallelism is the practice of splitting a single model across several GPUs because it is too large to fit on one, dividing either its layers, its individual weight matrices, or both.

What is Mixture of Experts (MoE)?

Mixture of experts (MoE) is an architecture where each token is routed to a small number of expert sub-networks rather than passing through the entire model, giving large capacity at lower compute cost per token.

What is Pipeline Parallelism?

Pipeline parallelism splits a model's layers into stages placed on different devices, which process different micro-batches at the same time, like an assembly line.

What is a Decoder-Only Model?

A decoder-only model is a transformer built from a single stack of decoder layers that generates text one token at a time using causal attention. Most modern large language models use this design.

What is a Feed-Forward Network in a Transformer?

A feed-forward network (FFN) is the part of a transformer block that processes each token's representation independently through two linear layers with an activation in between. It holds most of a transformer's parameters.

What is 8-bit Quantization?

8-bit quantization stores model weights using eight bits each, halving memory compared with 16-bit precision while usually preserving quality almost exactly.

What is 4-bit Quantization?

4-bit quantization stores a model's weights using only four bits each, cutting memory use to roughly a quarter of 16-bit precision and making large models runnable on consumer hardware.

What is a Causal Language Model?

A causal language model predicts each token using only the tokens that came before it. This left-to-right constraint, enforced by causal masking, is what makes a model able to generate text.

What is Adapter Tuning?

Adapter tuning is a parameter-efficient fine-tuning method that inserts small trainable layers, called adapters, inside a frozen pretrained model, so only those layers are trained for each new task.

What is QLoRA?

QLoRA is a fine-tuning method that loads a base model in 4-bit precision and trains small LoRA adapters on top, cutting memory use enough to fine-tune very large models on a single GPU.

What is Data Curation for LLMs?

Data curation for LLMs is the process of selecting, cleaning, filtering, deduplicating and balancing the text used to train a model. It has a direct effect on model quality, safety and cost.

What is Synthetic Data for LLM Training?

Synthetic data for LLM training is text generated by AI models rather than collected from humans, used to create instruction examples, reasoning traces and domain data where real data is scarce or private.

What is Continued Pretraining?

Continued pretraining, also called domain-adaptive pretraining, takes an existing pretrained model and trains it further on large amounts of domain or language-specific text before any task fine-tuning.