-
Notifications
You must be signed in to change notification settings - Fork 52
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
Issue when fine-tuning the model from huggingface hub #26
Comments
It's not a gpu problem. I tried running on the cpu, it also crashes with the following:
|
I upgraded to latest pytorch (1.7.1), same issue. |
Please can you try a newer transformers version ? |
I have no idea what happened. |
Sure, I can try that as well. Meanwhile, I ran in interactive mode on a gpu and I managed to get better errors (haven't looked into why this happens):
|
I am not sure the error comes from BERTweet: |
I figured out what the problem is. I was running fine tuning with a |
Thanks for making the model available in huggingface hub. I tried to use it with some existing code I have. I've been running the same code with some 10+ models from huggingface hub with no issue. When I try to run with: "vinai/bertweet-base"
I get the following error (note model loads fine and it seems it starts training for several iterations) - see below.
I'm not sure what the problem could be. Could the version of transformers and/or pytorch be the problem? Do you know which versions you tried it with? I'm using transformers 3.4 and torch 1.5.1+cu101
Thanks for your help!
The text was updated successfully, but these errors were encountered: