Token Classification
GLiNER2
Safetensors
GLiNER
English
extractor
named-entity-recognition
ner
pii
anonymisation
privacy
Eval Results (legacy)
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
Download spm.model from OvermindLab/nerpa: direct link, hf CLI and curl.
- Browser
- Download file 2.46 MB
-
https://huggingface.co/OvermindLab/nerpa/resolve/main/spm.model
- Command line
-
hf download hf://OvermindLab/nerpa/spm.model
-
curl -L -o spm.model https://huggingface.co/OvermindLab/nerpa/resolve/main/spm.model
2.46 MB
- Xet hash:
- 6bd079d8585fbcdbf47cb3a534f888b5aaa32b8994301f5c47573e6cf825d7da
- Size of remote file:
- 2.46 MB
- SHA256:
- c679fbf93643d19aab7ee10c0b99e460bdbc02fedf34b92b05af343b4af586fd
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.