Token Classification
GLiNER2
Safetensors
GLiNER
English
extractor
named-entity-recognition
ner
pii
anonymisation
privacy
Eval Results (legacy)
Run this model with HF Jobs
Run OvermindLab/nerpa on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/OvermindLab/nerpa. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/OvermindLab/nerpa on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use OvermindLab/nerpa with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- GLiNER2
How to use OvermindLab/nerpa with GLiNER2:
from gliner2 import AutoExtractor extractor = AutoExtractor.from_pretrained("OvermindLab/nerpa") # Extract entities text = "Apple CEO Tim Cook announced iPhone 15 in Cupertino yesterday." result = extractor.extract_entities(text, ["company", "person", "product", "location"]) print(result) - GLiNER
How to use OvermindLab/nerpa with GLiNER:
from gliner import GLiNER model = GLiNER.from_pretrained("OvermindLab/nerpa") text = "Cristiano Ronaldo dos Santos Aveiro was born on 5 February 1985 in Funchal, Madeira, Portugal." labels = ["person", "date", "location"] entities = model.predict_entities(text, labels) for entity in entities: print(entity["text"], "=>", entity["label"]) - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files69 unmodified lines70717273747576777879808169 unmodified lines"LAB_VALUE": "Laboratory test result",})# Or even abstract analytical entitiesentities = detect_entities(model, text, entities={"COMMITMENT": "A promise or obligation","ASSUMPTION": "An unstated premise or belief","RISK_FACTOR": "A potential source of risk or uncertainty",})```This isn't prompt engineering or few-shot learning. The model's bi-encoder architecture natively supports arbitrary entity schemas. Fine-tuning on PII improves precision on those specific types without degrading the zero-shot capability.69 unmodified lines70717273747569 unmodified lines"LAB_VALUE": "Laboratory test result",})```This isn't prompt engineering or few-shot learning. The model's bi-encoder architecture natively supports arbitrary entity schemas. Fine-tuning on PII improves precision on those specific types without degrading the zero-shot capability.
README.md-6