Skip to content

Glossary: Transformers Basics

Batch

Also written: batches, batch size

A group of training examples processed together in a single training step. For a language model it is typically a stack of random text windows, such as 32 windows of 64 tokens.

Where the book teaches it

Related terms

Context length (context window)Inputs and targets