huggingface / transformers

🤗 Transformers: State-of-the-art Machine Learning for Pytorch, TensorFlow, and JAX.
https://huggingface.co/transformers
Apache License 2.0
132.29k stars 26.35k forks source link

Word limit with mBART-50 translation #16960

Closed phayat closed 2 years ago

phayat commented 2 years ago

I'm using facebook/mbart-large-50-many-to-many-mmt model to translate french texts to english, but it seems the translation is limited to the first 110 words of the input text.

Do you confirm? and is there a way to fix this?

Thanks in advance.

patil-suraj commented 2 years ago

Hey @phayat ! Could you please post a code-snippet so we could reproduce the issue ? Thanks!

github-actions[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.

Please note that issues that do not follow the contributing guidelines are likely to be ignored.

SumanthSrungavarapu commented 1 year ago

hey @patil-suraj @phayat have you found the solution