tensorflow / nmt

TensorFlow Neural Machine Translation Tutorial
Apache License 2.0
6.35k stars 1.96k forks source link

What is the different between num_translations_per_input and beam_width? #485

Open nashid opened 2 years ago

nashid commented 2 years ago

During inference, if I provide a sentence, it would provide top-k predictions based on the beam_width parameter.

What this num_translations_per_input is referring to then?

Are they the same parameter i.e beam width? If not what is this parameter (num_translations_per_input)?