course-nlp icon indicating copy to clipboard operation
course-nlp copied to clipboard

how to beam search or top k sample in transformer

Open luotongml opened this issue 5 years ago • 1 comments

In the transformer for translation course, how can we do beam search or Top K, Top P sampling?

Thanks

luotongml avatar Jul 15 '19 07:07 luotongml

Wondering the same. Suprised this hasnt been demonstrated!

timpal0l avatar Aug 29 '19 07:08 timpal0l