In natural language processing (NLP), beam search examines token sequences to find the most probable one. At each step, it retains a fixed number of the best candidate sequences.


In natural language processing (NLP), beam search examines token sequences to find the most probable one. At each step, it retains a fixed number of the best candidate sequences.