salesforce / ctrl

Conditional Transformer Language Model for Controllable Generation
https://arxiv.org/abs/1909.05858
BSD 3-Clause "New" or "Revised" License
1.87k stars 208 forks source link

Sampling method used for translation #73

Open MichaelZhouwang opened 4 years ago

MichaelZhouwang commented 4 years ago

Hi, I found several interesting machine translation examples in the paper. I wonder if the translation result is also yielded by greedy sampling with a penalty of 1.2? Will the result be comparable with beam search sampling? Thanks!