-
Notifications
You must be signed in to change notification settings - Fork 25.2k
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
PegasusTokenizer returning None #11789
Comments
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. |
Same here ;( |
Could you please update to the newest |
Hi @patrickvonplaten, checked with the newest transformers. Tokenizer is not returning None. |
@akashe did you solve the problem later? I am having the same issue. |
Update to the newest version. It worked after that. |
I got the same issue first, of getting Nonetype. To solve this, just install sentencepiece, and make sure to restart runtime. |
Environment info
transformers
version:Who can help @patrickvonplaten @LysandreJik
Information
Model I am using (Bert, XLNet ...): Pegasus
The problem arises when using:
The tasks I am working on is:
To reproduce
Steps to reproduce the behavior:
Expected behavior
Should return a non None value.
The text was updated successfully, but these errors were encountered: