Detect PII and PHI with NVIDIA's GLiNER-PII Model
Melvin Vivas · X post · 2026-04-15 · Open on X
Topics: AI Safety, Security & Guardrails · Level: intermediate
Summary
Melvin shares NVIDIA's GLiNER-PII model on Hugging Face. It finds Personally Identifiable Information (PII) and Protected Health Information (PHI) in text. He also links a Hugging Face Space where you can test it in the browser.
Key points
- PII means Personally Identifiable Information. PHI means Protected Health Information.
- nvidia/gliner-PII is a GLiNER-based named-entity model built to classify PII and PHI.
- You can try it with no setup in the 'PII Guardian' Hugging Face Space.
- Models like this work well as a privacy guardrail: redact sensitive data before you send text to an LLM or store it.
Resources mentioned
- GLiNER-PII · tool · huggingface.co · free
NVIDIA's GLiNER-based model that finds personal data (PII) in text, so it can be redacted locally.
Also in: Redacting PII Locally with GLiNER-PII Before AI Processing (Melvin Vivas on X · notes), aibackends 0.3.0: Model Caching Speeds Up PII and OCR Inference (Melvin Vivas on X · notes), Running AI Locally: Rebuilding AIBackends as a Python Library with Open Models (Melvin Vivas on X · notes) - PII Guardian (Hugging Face Space) · website · huggingface.co · free
A Hugging Face Space where you can try the GLiNER-PII model in your browser. - Hugging Face · website · huggingface.co · free · recommended by both Bashiri Smith & Melvin Vivas
Named in the prompt as a beginner-friendly but powerful AI platform for models used in AI projects.
Also in: llama.app: Run Local Models on a Mac Without the llama.cpp CLI (Melvin Vivas on X · notes), Grok Bot workflow: turn model-release posts into Colab notebooks (Melvin Vivas on X · notes), Generate Portfolio AI Project Ideas with Claude and Hugging Face Tasks (Bashiri Smith on Facebook · notes), EmbeddingGemma 2 released on Hugging Face (Melvin Vivas on X · notes) and 48 more
Try this
- Test nvidia/gliner-PII on sample text in the PII Guardian Space.
- Look for other PII/PHI detection models to compare against it.
- Build a PII/PHI redaction guardrail that cleans user input before it reaches an LLM.
More in AI Safety, Security & Guardrails
- OpenAI Privacy Filter: An Open-Weights PII Detection Model
- OpenAI Privacy Filter for Local PII Detection and Redaction
- Keep a human in the loop: question and steer AI output
- Claude Mythos Model Card: Anthropic's Limited Preview for Cyber Defenders
- Cautionary Tale: Claude Code Wiped a Production Database via Terraform
- X Paid Partnerships Policy and AI-Content Disclosure