Batch-wise beam search in pytorch

前端 未结 0 1764
梦如初夏
梦如初夏 2021-01-07 20:05

I\'m trying to implement a beam search decoding strategy in a text generation model. This is the function that I am using to decode the output probabilities.

         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题