We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'm using the PII model using the following script:
model = GLiNER.from_pretrained("urchade/gliner_multi_pii-v1") model.eval() entities = model.predict_entities(text, labels) for entity in entities: print(entity["text"], "=>", entity["label"], "=>", entity["score"] )
If my order of labels changes, I get a different score for the detected entities. Why is this happening?
The text was updated successfully, but these errors were encountered:
Hi, it is because the model uses positional encoding Bi-encode version of gliner of @Ingvarstep should not have this effect
Sorry, something went wrong.
Thanks for your response, but I don't find bi-encoder version for gliner_multi_pii-v1. Is it available yet?
No branches or pull requests
I'm using the PII model using the following script:
If my order of labels changes, I get a different score for the detected entities. Why is this happening?
The text was updated successfully, but these errors were encountered: