SamLynnEvans/Transformer

What is argument 'k' in translate.py?

Opened this issue · 1 comments

Does this variable 'k' relates with any other variable when we trained, e.g. 'max_len' variable in test is 'max_strlen' in training.

k is the beam width of the beam search.