-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Chapter 4 (04_multilingual-ner.ipynb), Trainer() reported KeyError: 'email' #142
Comments
i think i faced this error before. this is something you need to try to solve by passing in your HF_TOKEN i think. something along the line. |
I think you are right. The issue is due to huggingface token. Could you please help me how to setup HF_TOKEN in colab, so that the code of chater04 can run normally? Thanks! (I've tried my ways to setup huggingface token, but unfortunately I still have the error.) |
Thank you. I've created a new token with WRITE permission. The program runs successfully. |
@dongshan7005 Sorry for the late response. But feel free to use my ipynb files in my repo for reference too. Good luck. https://github.com/Ice-Citron/NLP-Transformer/blob/main/Chapter%204/CS_EE_Multilingual_NER.ipynb |
Information
The problem arises in chapter:
Describe the bug
To Reproduce
Steps to reproduce the behavior:
The code snippets are below:
The error messages are below:
Expected behavior
The text was updated successfully, but these errors were encountered: