Transformer / LLM Concept

Beam vs Greedy Search

Widen the beam — keep more hypotheses and find a higher-probability sentence.

decode.py