-
-
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
Unable to train textcat with en_trf_bertbaseuncased_lg model #4833
Comments
I don't think this is supposed to work with the You should be able to run https:/explosion/spacy-transformers/blob/master/examples/train_textcat.py with PS: also see the docs:
|
Update: it looks like it's only a small fix to actually get this example script working with the transformer model. The key is to make sure that 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
Use train_textcat.py to reproduce. Training works for core models, but unfortunately not for
en_trf_bertbaseuncased_lg
Running:
python train_textcat.py -m "en_trf_bertbaseuncased_lg" -n 1
returns:
The text was updated successfully, but these errors were encountered: