Skip to content

Glossary: NLP with Transformers

Batching

Also written: batch, batch_size, batches

Running several inputs through a model in one call. Per-call overhead is shared and matrix math runs faster, so the cost per message drops.

Where the book teaches it

Related terms

LatencyThroughputPadding, truncation