Datasets:
metadata
license: mit
task_categories:
- token-classification
language:
- en
tags:
- pii
- privacy
- ner
- data-protection
- anonymization
pretty_name: PII Detection Corpus
size_categories:
- n<1K
PII Detection Corpus
Synthetic dataset of text samples containing labeled PII (Personally Identifiable Information) for testing and benchmarking PII detection/scrubbing tools.
Fields
text: Text sample containing PIIpii_type: Category of PII (email, phone, ssn, credit_card, ip, dob, address, passport, api_key, name, iban)pii_value: The exact PII string in the textstart: Character offset startend: Character offset endcontext: Surrounding context category (medical, financial, support, legal, hr)
All data is fully synthetic — no real personal information.
Usage
from datasets import load_dataset
ds = load_dataset("zachz/pii-detection-corpus")
License
MIT