What does batch size mean?

In artificial intelligence & machine learning, batch size means the number of training examples a model processes together before it updates its parameters once.

nounCommon term

Artificial Intelligence & Machine Learning vocabulary · Model Training

In Turkish: batch boyutu, yığın boyutu

Also used in: Software Engineering

How it is used

Limited mainly by GPU memory. Bigger batches use the hardware more efficiently but may need a different learning rate. When memory runs out, engineers reduce the batch size or use gradient accumulation.

Example sentences

  1. We got an out-of-memory error, so I cut the batch size from 64 to 32.

  2. With a larger batch size, each epoch finishes faster.

Common collocations

  • increase the batch size
  • effective batch size
  • mini-batch
  • batch size of 32

More terms: Model Training

Practise with graded reading

Reading at the right level is the fastest way to make new words stick. Pick free English books by level: