Bird
0
0

Which of the following is the correct way to describe the beam width in beam search decoding?

easy📝 Syntax Q12 of 15
NLP - Text Generation
Which of the following is the correct way to describe the beam width in beam search decoding?
AThe size of the vocabulary used for prediction
BThe number of candidate sequences kept at each decoding step
CThe length of the output sequence generated
DThe number of layers in the neural network
Step-by-Step Solution
Solution:
  1. Step 1: Define beam width

    Beam width is how many top sequences the algorithm keeps at each step to explore.
  2. Step 2: Eliminate incorrect options

    Output length, vocabulary size, and network layers are unrelated to beam width.
  3. Final Answer:

    The number of candidate sequences kept at each decoding step -> Option B
  4. Quick Check:

    Beam width = candidate count per step [OK]
Quick Trick: Beam width = how many sequences you keep each step [OK]
Common Mistakes:
MISTAKES
  • Mixing beam width with output length
  • Confusing beam width with vocabulary size
  • Thinking beam width relates to model architecture

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More NLP Quizzes