3 ms·
It is now common knowledge in the NLP community that beam search only works for situations where the output space is very constrained, specifically, in neural m
by make3 6y ago
It is now common knowledge in the NLP community that beam search only works for situations where the output space is very constrained, specifically, in neural machine translation.
In more open ended generation such as summarization, question answering and story generation, beam search leads to poor and repetitive outputs. Different (stochastic) sampling methods lead to more interesting, diverse and .. functional outputs.
- FL33TW00D 6y agoGreat blog post here exploring the different methods of generation: https://huggingface.co/blog/how-to-generate https://huggingface.co/blog/how-to-generate