Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Max Model Length Question in Pytorch Transformers Lib #93

Open
hdeval1 opened this issue Nov 7, 2023 · 0 comments
Open

Max Model Length Question in Pytorch Transformers Lib #93

hdeval1 opened this issue Nov 7, 2023 · 0 comments

Comments

@hdeval1
Copy link

hdeval1 commented Nov 7, 2023

In one of the recent iterations of the transformers library, they took out the max_model_length warning for larger requests. Previously, I was splitting larger requests on max_model_length (512 chars) prior to sending it to the model server.

I would love to split into more manageable sizes like groups of 20-40 sentences, but wanted to make sure I could ignore the max-model-length now (specifically for the opus-mt models)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant