Downloads · 30 days
0
karmaUI/shade-v5
shade-v5 is a token classification model from karmaUI. Use it when you need labels on individual words, such as names. It is set up for onnxruntime. The card lists the license as apache-2.0.
Fast, accurate PII (Personally Identifiable Information) detection model for privacy-preserving AI pipelines. Detects 12 entity types with 97.6% F1 score.
Downloads · 30 days
0
Access
Public
Updated Feb 23, 2026
Repo size
284 MB
Likes
0
Public
Click a slice to open those files.
.onnx284 MB · 97%
From the Hugging Face model README
Fast, accurate PII (Personally Identifiable Information) detection model for privacy-preserving AI pipelines. Detects 12 entity types with 97.6% F1 score.
pip install veil-phantom
from veil_phantom import VeilClient
veil = VeilClient() # auto-downloads this model
result = veil.redact("John Smith sent $5M to john@acme.com")
result.sanitized # "[PERSON_1] sent [AMOUNT_1] to [EMAIL_1]"
| Property | Value |
|---|---|
| Architecture | DeBERTa-v3-xsmall |
| Parameters | 22M |
| Format | ONNX |
| Size | 270 MB |
| Inference | <50ms on CPU |
| F1 Score | 97.6% (in-distribution) |
| F1 Score | 97.3% (out-of-distribution) |
| Task | BIO Token Classification |
| Labels | 25 (12 entity types × B/I + O) |
| Type | F1 | Examples |
|---|---|---|
| PERSON | 96.3% | Names (Western, African, Asian, South African) |
| ORG | 97.6% | Companies, institutions |
| 100% | Email addresses | |
| PHONE | 98.4% | Phone numbers (international formats) |
| MONEY | 99.6% | Monetary amounts |
| DATE | 97.8% | Dates, times, schedules |
| ADDRESS | 99.4% | Street addresses |
| GOVID | 97.7% | SSN, SA ID, passport |
| BANKACCT | 92.9% | Bank account numbers, IBAN |
| CARD | 100% | Credit/debit card numbers |
| IPADDR | 100% | IP addresses |
| CASE | 97.8% | Legal case numbers |
ShadeV5.onnx — ONNX model (270 MB)tokenizer.json — HuggingFace fast tokenizertokenizer_config.json — Tokenizer configurationshade_label_map.json — BIO label → entity type mappingApache 2.0
This model powers VeilPhantom, an open-source PII redaction SDK for agentic AI pipelines.