Beam Search · Top-k Decoding
unseel.com · Beam width k=3 · Expand · Prune · O(k·V)
Step 0
Beams kept 0
State
Candidate (expanded)
Kept (top-k beam)
Pruned
Surviving path
Unseel.com · Beam Search