Member-only story
An intuitive explanation of Beam Search
A simple to understand explanation of Beam search
In this article, we will learn:
- What is Beam Search, and how does it work?
- Difference between Beam search and Greedy search
Prerequisites:
In this article, you will get a detailed explanation of how neural machine translation developed using sequence to sequence algorithm to find the most relevant words in sentences for a target language.
What is Beam search?
To understand the Beam search, we will use the neural machine translation use case of sequence to sequence.
The sequence to sequence model uses an encoder and decoder framework with Long Short Term Memory(LSTM) or Gated Recurrent…