Skip to content

Glossary: NLP with Transformers

Beam search

Also written: num_beams

A way of generating text that keeps the few best partial outputs at each step instead of only one. With `num_beams=4`, T5 tracks four candidate summaries.

Where the book teaches it

Related terms

Seq2seq