Translation is truncated

#6
by thomasartin - opened

translation gets truncated at 90~ish tokens even when forcing the model to output a long sequence:
outputs = model.generate(**inputs , max_length=512)
Note that the input sequence is not larger than 512 tokens and is not truncated.

Sign up or log in to comment