Test Target length Issue (Always 200)

Hello,

Thank you for the wonderful framework.

I have trained a character based translation model using Opennmt-py.

When I use the trained model to get the target sequences for the test set, unfortunately my target length is getting always restricted to 200. Could you please help me on it, so that I can output targets with length > 200?

In onmt/*/misc.py I have already set the max src and target length to 2000 and in YAML i have also added the flag transforms: [‘filtertoolong’].

Since I have character inputs (not words) I have to have longer sequences.

Kindly guide to avoid max length of 200.

Strange that it’s 200. The default max_length is 100:

I mistakenly also counted spaces.

Thanks a lot.