-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
RuntimeError: Error(s) in loading state_dict for RobertaModel: Unexpected key(s) in state_dict: "embeddings.position_ids". #12982
Comments
Most likely you have a version of It can also be helpful to run |
This is related to #12900, but |
^ Thanks for this. Downgrading to |
Is there any indication when spacy-transformers will be compatible with hf transformers>=4.31? 4.31 is the minimum for running Llama 2 models. |
We are working on it (explosion/spacy-transformers#398, explosion/spacy-transformers#401) but haven't made a final decision about extending the |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
How to reproduce the behaviour
Full traceback:
Also:
Your Environment
The text was updated successfully, but these errors were encountered: