Token Classification
GLiNER
PyTorch
English
nvidia
PII
PHI
GLiNER
information extraction
entity recognition
privacy
Instructions to use nvidia/gliner-PII with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- GLiNER
How to use nvidia/gliner-PII with GLiNER:
from gliner import GLiNER model = GLiNER.from_pretrained("nvidia/gliner-PII") 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
File size: 135 Bytes
b0851dd | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:a4dfd0dcbd718acc86dca65fa99f1097d2796c8d7a681e1bc42f40f946c03802
size 1782000995
|