zach
Add dataset
f022b78
|
Raw
History Blame Contribute Delete
939 Bytes
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 PII
  • pii_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 text
  • start: Character offset start
  • end: Character offset end
  • context: 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