You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Model I am using (Bert, XLNet ...): allegro/herbert-base-cased
I tried to use official script on model hub page with transformers version 3.5.1. Week ago it worked just fine, but now I am getting error listed below. @rmroczkowski maybe you have some information on this topic, I saw some new commits on model hub, but they shouldn't change anything
For latest version it works fine with AutoTokenizers (EDIT: only version 4.4 works, I tasted version 3.5.1, 4.0.0, 4.3 and got same error)
The problem arises when using:
the official example scripts: (give details below)
my own modified scripts: (give details below)
I tried importing AutoTokenizers and HerbertTokenizer, but got the same error
`OSError: Can't load tokenizer for 'allegro/herbert-base-cased'. Make sure that:
I resolved this by updating URL's to models, this is my current code:
"vocab_file": {"allegro/herbert-base-cased": "https://huggingface.co/allegro/herbert-base-cased/resolve/main/vocab.json"},
"merges_file": {"allegro/herbert-base-cased": "https://huggingface.co/allegro/herbert-base-cased/resolve/main/merges.txt"},
}```
Is there a way to fix this to maintain backward compatibility? @LysandreJik
Environment info
transformers
version: 3.5.1Who can help
Information
Model I am using (Bert, XLNet ...): allegro/herbert-base-cased
I tried to use official script on model hub page with transformers version 3.5.1. Week ago it worked just fine, but now I am getting error listed below.
@rmroczkowski maybe you have some information on this topic, I saw some new commits on model hub, but they shouldn't change anything
For latest version it works fine with AutoTokenizers (EDIT: only version 4.4 works, I tasted version 3.5.1, 4.0.0, 4.3 and got same error)
The problem arises when using:
I tried importing AutoTokenizers and HerbertTokenizer, but got the same error
`OSError: Can't load tokenizer for 'allegro/herbert-base-cased'. Make sure that:
'allegro/herbert-base-cased' is a correct model identifier listed on 'https://huggingface.co/models'
or 'allegro/herbert-base-cased' is the correct path to a directory containing relevant tokenizer files`
The tasks I am working on is:
To reproduce
Steps to reproduce the behavior:
Expected behavior
tokenizer loads and works
The text was updated successfully, but these errors were encountered: