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

Word limit #30

Open
Talib6509 opened this issue Dec 12, 2022 · 2 comments
Open

Word limit #30

Talib6509 opened this issue Dec 12, 2022 · 2 comments

Comments

@Talib6509
Copy link

The model is having trouble with long sentences. Specially if the words in the sentences are in upper case. It outputs only limited sentence as an output and the rest neglected sentence is shown as error.

@grasv
Copy link

grasv commented Jan 25, 2023

I'm also experiencing this issue. Can you please provide guidance on how we can determine the maximum input length of text to pass into the model? @PrithivirajDamodaran

Thank you.

@Bachstelze
Copy link

Have you tried normalizing your input text, e.g. with input.capitalize() ?
The sentencepiece tokenizer junks rare words in many small parts, especially if they are uppercase and regular not uppercase.

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

3 participants