Controlling the Output Length of Neural Machine Translation
Table 2: Train data category after assigning the length tokens (normal, short and long).
['[BOLD] Pairs', 'Set', '[BOLD] short', '[BOLD] normal', '[BOLD] long', '[BOLD] Total']
For evaluation we take the best performing checkpoint on the dev set according to the loss. The value of N of the relative encoding is set to a small value (5), as in preliminary experiments we observed that a high value (100) produces results similar to the absolute encoding.