mila-iqia / blocks-extras

A collection of extensions to the Blocks framework
MIT License
27 stars 40 forks source link

Add beam search #45

Closed rizar closed 8 years ago

rizar commented 8 years ago

The new SequenceGenerator obviously needs a new beam search. Here is an adaption of the code from Blocks that works for it. Later, I plan to incorporate the improvements that we have in our speech repository (see this link), but for now I would like to merge it as is. If there aren't objections (this is Blocks-extras after all), I will merge this PR today.