farizrahman4u / seq2seq

Sequence to Sequence Learning with Keras
GNU General Public License v2.0
3.17k stars 845 forks source link

Beam search on seq2seq model #240

Open hec44 opened 6 years ago

hec44 commented 6 years ago

Is it possible to use this implementation of the seq2seq model, using beam search to predict optimal sequences, I've readed that by default keras predict uses gredy search, that might not be as optimal as beam search