Glossary › Training

Batch Size

Number of training examples processed in one forward/backward pass. Larger batches give less noisy gradients but use more memory. When one device cannot hold a large batch, gradient accumulation builds it from several small ones.

Where this is taught

Related terms

Gradient Accumulation · Learning Rate

More in Training

Backpropagation · Fine-Tuning · Gradient Descent · LoRA (Low-Rank Adaptation) · RLHF · DPO (Direct Preference Optimization) · QLoRA · Learning Rate

Learn this by building

DeVenture Academy teaches AI engineering through projects, with hands-on labs you run on your own machine using real tools.

Create a free account — the opening phases of 29 of 35 courses, and the first lesson of every phase, are free, no credit card. Or see Pro pricing.

All courses · Pricing · About · FAQ · Glossary · Projects by topic