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.
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.