function returns nothing
serjtroshin opened this issue · comments
Line 112 in 00e2125
Thanks for pointing this out! I have fixed it.
Thank you for reporting this! As has been mentioned in the paper, this code is adapted from open-nmt (with some code remnants for beam search) but we don't report beam search results. And the issues you report only appear when you try to do beam search and print multiple-hypothesis the code for which can be buggy as you pointed out. I intend to work on beam search and fix this in the future. For now I recommend that you use n_best=1 for correct behavior.