Token Classification
GLiNER
PyTorch
English
nvidia
PII
PHI
GLiNER
information extraction
entity recognition
privacy
Run this model with HF Jobs
Run nvidia/gliner-PII 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/nvidia/gliner-PII. 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/nvidia/gliner-PII 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 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
Erratic behaviour depending on the list of labels
#10 opened 3 months ago
by
ozancaglayan
Fine tuning
1
#9 opened 10 months ago
by
milantokic
Adding `safetensors` variant of this model
#8 opened 12 months ago
by
SFconvertbot
Max input text size?
➕ 4
#7 opened 12 months ago
by
thvlm
55+ labels ? where i can get the list
4
#6 opened about 1 year ago
by
TahirC
onnx model
1
#5 opened about 1 year ago
by
Gerald001
config.json not found
1
#4 opened about 1 year ago
by
willisz
Adding `safetensors` variant of this model
#2 opened about 1 year ago
by
SFconvertbot
Language Support
➕ 4
1
#1 opened about 1 year ago
by
Maximus909