-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
[Question]: Issue with NER Model: BIO-format Labels Not Recognized #3317
Comments
I'm having same issue |
Sorry for the late reply! @SPVillacorta did you solve the problem? If not, could you share a snippet of the dataset you are loading? @nvenkat94 could you expand on your problem? |
ok the "train.conll" looks like the following: matching O |
Thanks for your valuable response @alanakbik Tag Details: your data should be in following format
|
Thanks for sharing the info! Yes, in IOB2 the first tag should be a B-. @SPVillacorta does this fix your issue? |
I just ran into this issue attempting to load training data like so, based on an example I found elsewhere:
and then noticed the deprecation message about
...at which point the data loaded successfully. The behavior around the deprecated loader and message make it seem as if it still works, especially if you don't check the tag dictionary itself, but it does not appear to do so. Just commenting to flag and in case anyone else comes across this issue, looking to resolve. |
Question
Hi Flair Community, I'm attempting to train a NER model using Flair but my BIO-formatted labels are not recognised. I've converted my CSV annotations to CoNLL format and checked for correct loading and this is the code I tried to use:
When executing, the F-score, precision, and recall are all zero. Any ideas on what could be going wrong?
The text was updated successfully, but these errors were encountered: