GliNER marking pronouns as PERSON
Closed this issue · 9 comments
manojkumarvohra commented
urchade commented
Unfortunately, this was the case in the training dataset . Try to change the label name
manojkumarvohra commented
when you say changing label name ... can you please elaborate on it?
urchade commented
In instead of using "person" try another alternative like "person name"
manojkumarvohra commented
urchade commented
there are infinite possible label name, try to find the one that works
or change the model you use. Which model version is this ?
manojkumarvohra commented
I am using gliner_multi_pii-v1 through a spacy pipe integrated with Presidio.
I see presidio follows its own entity labels.
urchade commented
if you are interested in pii, you can check this blogpost: https://ai.gopubby.com/zero-shot-named-entity-recognition-ner-c81f82cb0f70
manojkumarvohra commented
Thanks for sharing. Let me try other models in our integration .... especially the gliner_medium_news-v2.1
manojkumarvohra commented