Batch Size and Epochs
Batch Size and Epochs
What problem it solves
Batch size is how many examples one update sees; an epoch is one full pass over the data.
What it is
Batch size affects gradient noise, memory use and throughput; epochs affect how often the model sees the data.
Both couple with the learning rate: change the batch size and the suitable learning rate usually changes too.
Why it matters
“Train for three epochs” is not a universal recipe. Data volume, task difficulty and overfitting signals decide how many passes are right.
Chinese aliases
Terms in the same area
What you can do now
Models atlas: which quantisations exist and which tier fits your VRAM ↗
Use this term in a task
Don’t stop at the definition: use the task handbook for the order and checks, or filter three tool candidates for the job at hand.