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
Despite explicitly setting all the parameters to requires_grad = True! And when printing all the params, they all are correctly set to requires_grad = True.
Just to sanity check, I ran the same code but set model_id = "bert-base-uncased", and got:
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.
System Info
latest transformers version (from source), python 3.10
Who can help?
@ArthurZ
Information
Tasks
examples
folder (such as GLUE/SQuAD, ...)Reproduction
Expected behavior
When I do this, the output is:
Despite explicitly setting all the parameters to requires_grad = True! And when printing all the params, they all are correctly set to requires_grad = True.
Just to sanity check, I ran the same code but set model_id = "bert-base-uncased", and got:
So it's def a ModernBERT specific problem!
The text was updated successfully, but these errors were encountered: