nmt icon indicating copy to clipboard operation
nmt copied to clipboard

Does increasing src_max_len hyperparameter value > 50 give better translation quality?

Open Sabyasachi18 opened this issue 7 years ago • 2 comments

Hi, Does increasing src_max_len hyperparameter value > 50 give better translation quality? If Yes, then what are the trade-offs?

Can someone throw some light on this? Thanks!!

Sabyasachi18 avatar Feb 14 '18 05:02 Sabyasachi18

You can try increasing it. When I train, e.g., summarization or QA, I set the sentence length > 100. Longer sequences will take longer time to train and some time, you might run into OutOfMemory problem on GPU.

lmthang avatar Mar 06 '18 01:03 lmthang

@Sabyasachi18 Did you improve BLEU by increasing src_max_len?

sj6077 avatar Jan 28 '19 13:01 sj6077