extract 0 0 0

mukunda1729/pii-detection-fixtures

published by @mukunda1729

Alignment dataset tracked in the /datasets sub-catalog.

Lifetime downloads
230
Last 30 days
71
Likes
-
Size
10 KB
Created on HF
2026-04-27
Age
5 months ago

Description

pii-detection-fixtures

25 short text snippets labeled for PII (Personally Identifiable Information) and secrets. Designed as a small, hand-curated fixture set for testing PII redaction pipelines, agent guardrails, and LLM prompt sanitizers.

All data is synthetic — no real people, real keys, or real accounts.

PII / secret types covered

Type

Examples in this set

email

3

phone

2

ssn

1

dob

1

credit_card

1

address

1

name

2

medical_record

1… See the full description on the dataset page: https://huggingface.co/datasets/mukunda1729/pii-detection-fixtures.

Tags

language:enlicense:mitsize_categories:n<1Kformat:jsonmodality:textlibrary:datasetslibrary:pandaslibrary:polarslibrary:mlcroissantregion:uspiiprivacysecurityllmtestingred-team

README current version from Hugging Face


license: mit
language:

  • en
    tags:
  • pii
  • privacy
  • security
  • llm
  • testing
  • red-team
    size_categories:
  • n<1K
    configs:
  • config_name: default
    data_files:
    • split: train
      path: data.jsonl

pii-detection-fixtures

25 short text snippets labeled for PII (Personally Identifiable Information) and secrets. Designed as a small, hand-curated fixture set for testing PII redaction pipelines, agent guardrails, and LLM prompt sanitizers.

All data is synthetic — no real people, real keys, or real accounts.

PII / secret types covered

Type Examples in this set
email 3
phone 2
ssn 1
dob 1
credit_card 1
address 1
name 2
medical_record 1
passport 1
coordinates 1
bank_routing, bank_account 1 each
mac_address, ip_address 1 each
api_key, aws_access_key, github_token, slack_token, stripe_key, jwt, credentials_url 1 each
No PII (control) 5

Schema

{
  "id": "string",
  "text": "string",                       // the input snippet
  "has_pii": true,                        // boolean overall flag
  "pii_types": ["email", "phone", ...],   // unique types found
  "spans": [
    {"start": 0, "end": 17, "type": "email", "value": "[email protected]"}
  ]
}

spans use character offsets into text.

Quickstart

from datasets import load_dataset
ds = load_dataset("mukunda1729/pii-detection-fixtures", split="train")
controls = [r for r in ds if not r["has_pii"]]
print(f"{len(controls)} negative examples (no PII)")

Related

License

MIT.

README history 2 revisions

Every night we snapshot the README of every dataset in the catalog. When the SHA changes we archive the new version and diff it against the last. This is the evolving thought record of the alignment-data field: what the author decided to say about the corpus, and how that framing shifted over time.

  1. 2026-04-27Initial: 25 PII / secret detection fixtures with span offsets036ef3b1.8 KB
    Loading...
  2. 2026-04-27initial commit259f98f0 B
    Loading...

Used by abliterated models none yet

No abliterated models in our catalog have declared this dataset in their YAML metadata yet. This can mean the dataset is used but not declared, is used outside abliteration workflows, or is new. The link will populate automatically as models are indexed.

Related datasets same stage · extract

Read further

Metadata

License
mit

Repository

Download the dataset

0

Copy any of these snippets into your notebook or terminal. All three fetch directly from Hugging Face using your own credentials.

Recommended: datasets library (Python)
from datasets import load_dataset
ds = load_dataset("mukunda1729/pii-detection-fixtures")
Raw snapshot (Python)
from huggingface_hub import snapshot_download
snapshot_download(repo_id="mukunda1729/pii-detection-fixtures", repo_type="dataset")
git clone (requires git-lfs)
git clone https://huggingface.co/datasets/mukunda1729/pii-detection-fixtures
Catalog is the map. Apps are the tools.

Run models on your own machine, not in the cloud.

Every model page has an "Open in Abliteration" button that hands the model directly to the first-party desktop client, at the quantization your rig can actually run. No API keys, no subscription, no prompt leakage.

Open in Abliteration