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