-
Notifications
You must be signed in to change notification settings - Fork 326
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Token classification: TypeError: 'NoneType' object is not subscriptable #33
Comments
Hey can you try setting |
Hi @JoPfeiff , thanks for that hint - it's working now! I made some experiments with the WNUT-17 dataset (not on CoNLL-2003 as originally stated in the issue) to compare against a fully fine-tuned model:
There's currently a performance diff of 1.78%, so do you have any hints for boosting performance 馃 Thanks 鉂わ笍 |
We have found that due to the newly introduced parameters, adapters require a higher learning rate. A default You can also try out the We will soon add a small guide on how to train adapters where these types of tipps will be included :) |
馃悰 Bug
Information
Hi, I just wanted to train an adapter with the token classification example (using CoNLL-2003 NER dataset). I'm using the following json-based configuration:
and run it with
python3 run_ner.py <config>.json
. Then the following error message is thrown:Do I need to provide additional options 馃
Thanks many in advance,
Stefan
Environment info
transformers
version: latest frommaster
, ee2adadnvidia/cuda:10.2-cudnn7-devel
fp16
The text was updated successfully, but these errors were encountered: