How to pass entity_mapping to GLiNER class #2053
DarshanR24
started this conversation in
General
Replies: 1 comment
|
Use entity_mapping in the GLiNER recognizer config block, e.g.: recognizers:
- name: gliner
type: gliner
model_name: "urchade/gliner_multi_pii-v1"
entity_mapping:
person: PERSON
organization: ORGANIZATION
location: LOCATIONOr programmatically: https://presidio.dataprivacystack.org/samples/python/gliner/#example |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
is there a way to pass entity_mappings to GLiNER class via configuration ?
All reactions