tensorflow / nmt

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

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

Open Sabyasachi18 opened 6 years ago

Sabyasachi18 commented 6 years ago

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!!

lmthang commented 6 years ago

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.

sj6077 commented 5 years ago

@Sabyasachi18 Did you improve BLEU by increasing src_max_len?