Helsinki-NLP / OPUS-MT-train

Training open neural machine translation models
MIT License
321 stars 40 forks source link

how to control maximum length #106

Open jemesome opened 1 month ago

jemesome commented 1 month ago

When running using the docker container with marian-nmt and Tornado, it seems like the maximum length of translation is capped at 512 token. Is there any way to expand this length? I can't seem to find the documentation for this.

jorgtied commented 1 month ago

https://github.com/santhoshtr might have an answer to this question (maybe we should move this issue to https://github.com/Helsinki-NLP/Opus-MT/issues?