Downloads · 30 days
59
38% of all-time downloads
Vasanth155/privacy-filter-india-v5
privacy-filter-india-v5 is a token classification model from Vasanth155. Use it when you need labels on individual words, such as names. The card lists the license as apache-2.0.
Fine-tune of openai/privacy-filter for DPDP-grade Indian PII + secrets detection. Adds 10 distinct categories on top of the base 8 so DLP audit reports can distinguish Aadhaar from PAN from GSTIN, etc.
Downloads · 30 days
59
38% of all-time downloads
All-time downloads
157
Public
Parameters
1.4B
2.8 GB on disk
Likes
2
Public
Click a slice to open those files.
.safetensors2.8 GB · 99%
From the Hugging Face model README
Fine-tune of openai/privacy-filter for DPDP-grade Indian PII + secrets detection. Adds 10 distinct categories on top of the base 8 so DLP audit reports can distinguish Aadhaar from PAN from GSTIN, etc.
| Inherited from base | New in v5 |
|---|---|
| account_number, private_address, private_date, private_email, private_person, private_phone, private_url, secret | aadhaar, pan, gstin, ifsc, upi_id, abha_id, voter_id, indian_passport, credit_card, bank_account_in |
| Base openai/privacy-filter | This model (v5) | |
|---|---|---|
| Overall F1 | 0.8557 | 0.9589 |
| Precision | 0.875 | 0.970 |
| Recall | 0.838 | 0.948 |
| p50 latency (T4) | 26 ms | 27 ms |
| FP rate (negatives) | 30% | 7% |
gstin, passport_in, voter_id, address_in, multi_pii, abha_id, iban, ssn, private_keys, passwords, secrets_in_code
| Category | Base F1 | v5 F1 |
|---|---|---|
| passwords | 0.000 | 1.000 |
| abha_id | 0.000 | 1.000 |
| ifsc | 0.545 | 0.966 |
| credit_card | 0.643 | 0.933 |
| aws_keys | 0.667 | 0.966 |
| 0.769 | 0.938 | |
| address_in | 0.815 | 1.000 |
| upi_id | 0.800 | 0.933 |
| gstin | 0.875 | 1.000 |
from opf._api import OPF
opf = OPF(model="Vasanth155/privacy-filter-india-v5", device="cuda")
text = "customer Rohan Sharma, Aadhaar 234567890123, mobile 9876543210, PAN ABCDE1234F"
result = opf.redact(text)
print(result.redacted_text)
# customer <PRIVATE_PERSON>, Aadhaar <AADHAAR>, mobile <PRIVATE_PHONE>, PAN <PAN>
Drop-in for the base openai/privacy-filter model — same architecture, same MoE routing, same opf API.
Apache 2.0 — inherited from openai/privacy-filter.