-
Notifications
You must be signed in to change notification settings - Fork 339
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
.add_embeddings
prevent model from training adapters
#384
Labels
bug
Something isn't working
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Environment info
adapter-transformers
version: v3.0.1+ (commit 11bd9d2)Information
Model I am using (Bert, XLNet ...): XLMR
Language I am using the model on (English, Chinese ...):
Adapter setup I am using (if any):
The problem arises when using:
The tasks I am working on is:
To reproduce
This gives me the following error message.
I used the following code to see which specific parameters is causing the issue
and got
Interestingly, the following code is fine.
So the referencing seems to be the part that breaks the computational graph. (which I'm not sure why as the parameters were cloned when adding a new embeddings...)
The following code is also fine
Expected behavior
Should be able to train stuff...
The text was updated successfully, but these errors were encountered: