paraphraseGen icon indicating copy to clipboard operation
paraphraseGen copied to clipboard

Beam search issue

Open jackyuanjie1990 opened this issue 4 years ago • 0 comments

Hello,

Is there an issue with the beam_decode function in rvae.py? I think the output of decoder be converted to log_softmax instead of softmax out = F.log_softmax(self.decoder.fc(dec_out)).unsqueeze(0) in sample_decode function.

Thanks,

Jie

jackyuanjie1990 avatar Jan 13 '21 01:01 jackyuanjie1990