Dataset Viewer
Auto-converted to Parquet Duplicate
text
stringlengths
43
84
pii_type
stringclasses
11 values
pii_value
stringlengths
8
46
start
int64
5
40
end
int64
19
66
context
stringclasses
5 values
Please contact john.doe@example.com for more information about your account.
email
john.doe@example.com
15
35
support
Send the invoice to billing@fakecorp.net by end of week.
email
billing@fakecorp.net
24
45
financial
You can reach our HR department at hr.team@syntheticcompany.org anytime.
email
hr.team@syntheticcompany.org
39
66
hr
My personal email is alice.wonderland99@testmail.com, please use it.
email
alice.wonderland99@testmail.com
21
52
support
Forward the medical records to patient.records@fakehealth.com immediately.
email
patient.records@fakehealth.com
35
64
medical
Please call me at (555) 123-4567 to discuss the contract.
phone
(555) 123-4567
19
33
legal
Emergency contact number: 555-987-6543. Available 24/7.
phone
555-987-6543
26
38
medical
Reach our support line at +1-555-246-8135 during business hours.
phone
+1-555-246-8135
27
41
support
The patient's phone number is 555.321.7654 on file.
phone
555.321.7654
29
41
medical
Call 1-800-555-0199 for immediate assistance with your claim.
phone
1-800-555-0199
5
19
financial
Social security number on file: 123-45-6789. Please verify.
ssn
123-45-6789
33
44
hr
The applicant provided SSN 987-65-4321 on the form.
ssn
987-65-4321
28
39
hr
Tax ID associated with the account: 456-78-9012.
ssn
456-78-9012
37
48
financial
Records show SSN 111-22-3333 for the primary account holder.
ssn
111-22-3333
17
28
financial
Employee SSN: 222-33-4444. Update HR records accordingly.
ssn
222-33-4444
14
25
hr
Payment method on file: 4111-1111-1111-1111. Expires 12/28.
credit_card
4111-1111-1111-1111
26
45
financial
Charge the amount to card number 5500 0000 0000 0004.
credit_card
5500 0000 0000 0004
33
52
financial
Customer's card: 3782 822463 10005. Process refund.
credit_card
3782 822463 10005
17
34
financial
Use card 6011-0009-9013-9424 for the subscription payment.
credit_card
6011-0009-9013-9424
9
28
financial
Billing card ending in 4242: full number 4242424242424242.
credit_card
4242424242424242
40
56
financial
Server accessed from IP 192.168.1.105 at 3:42 AM.
ip
192.168.1.105
24
37
support
Suspicious login detected from 10.0.0.254 on the admin panel.
ip
10.0.0.254
31
41
support
Firewall blocked connection from 203.0.113.42 repeatedly.
ip
203.0.113.42
33
46
support
User's last known IP address: 172.16.254.1. Check access logs.
ip
172.16.254.1
29
41
support
Connection originated from 2001:0db8:85a3:0000:0000:8a2e:0370:7334.
ip
2001:0db8:85a3:0000:0000:8a2e:0370:7334
27
66
support
Patient date of birth: 03/15/1985. Verify with records.
dob
03/15/1985
23
33
medical
DOB on application: 1990-07-22. Matches government ID.
dob
1990-07-22
22
32
hr
The insured's birth date is 12/01/1978 as noted.
dob
12/01/1978
27
37
financial
Employee born on 11-30-1995. Update benefits enrollment.
dob
11-30-1995
17
27
hr
Records indicate DOB of 06/25/2001 for the minor.
dob
06/25/2001
27
37
legal
Ship to: 742 Evergreen Terrace, Springfield, IL 62704.
address
742 Evergreen Terrace, Springfield, IL 62704
10
52
support
Home address listed: 221B Baker Street, London, NW1 6XE.
address
221B Baker Street, London, NW1 6XE
22
53
hr
Send documents to 1600 Pennsylvania Ave NW, Washington, DC 20500.
address
1600 Pennsylvania Ave NW, Washington, DC 20500
22
62
legal
Patient resides at 350 Fifth Avenue, New York, NY 10118.
address
350 Fifth Avenue, New York, NY 10118
20
52
medical
Office location: 1 Infinite Loop, Cupertino, CA 95014.
address
1 Infinite Loop, Cupertino, CA 95014
18
50
hr
Passport number: AB1234567. Valid until 2029.
passport
AB1234567
17
26
legal
Travel document: C9876543. Issued by US State Department.
passport
C9876543
17
25
legal
Passport on file: XY7654321. Needs renewal.
passport
XY7654321
17
26
hr
International ID: P12345678. Used for KYC verification.
passport
P12345678
18
27
financial
Document reference: N98765432. Verified in person.
passport
N98765432
21
30
legal
API key in config: sk-proj-abc123def456ghi789jkl012mno345pqr678. Rotate immediately.
api_key
sk-proj-abc123def456ghi789jkl012mno345pqr678
20
58
support
Found hardcoded key: AKIA1234567890ABCDEF in the source code.
api_key
AKIA1234567890ABCDEF
21
41
support
The token ghp_1234567890abcdefABCDEF1234567890abcd was exposed in logs.
api_key
ghp_1234567890abcdefABCDEF1234567890abcd
10
50
support
Stripe key found: sk_test_4eC39HqLyjWDarjtT1zdp7dc in production.
api_key
sk_test_4eC39HqLyjWDarjtT1zdp7dc
19
48
support
Database password: xK9#mP2$vL5nQ8wR was committed to the repo.
api_key
xK9#mP2$vL5nQ8wR
20
37
support
The claim was filed by James Robert Wilson on March 3rd.
name
James Robert Wilson
27
46
legal
Patient: Dr. Sarah Elizabeth Chen. Room 204B.
name
Dr. Sarah Elizabeth Chen
9
33
medical
Beneficiary listed as Mohammed Ali Al-Rashid on the policy.
name
Mohammed Ali Al-Rashid
23
44
financial
Interview scheduled with candidate Maria Guadalupe Torres-Vega.
name
Maria Guadalupe Torres-Vega
34
61
hr
Power of attorney granted to Alexander Dmitrievich Petrov.
name
Alexander Dmitrievich Petrov
30
58
legal
Wire transfer to IBAN: DE89 3704 0044 0532 0130 00. Process today.
iban
DE89 3704 0044 0532 0130 00
22
49
financial
Beneficiary account: GB29 NWBK 6016 1331 9268 19.
iban
GB29 NWBK 6016 1331 9268 19
22
49
financial
Payment IBAN: FR76 3000 6000 0112 3456 7890 189.
iban
FR76 3000 6000 0112 3456 7890 189
14
47
financial
Send funds to IT60 X054 2811 1010 0000 0123 456.
iban
IT60 X054 2811 1010 0000 0123 456
14
46
financial
Account holder IBAN: ES91 2100 0418 4502 0005 1332.
iban
ES91 2100 0418 4502 0005 1332
21
51
financial

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

Downloads last month
32

Models trained or fine-tuned on zachz/pii-detection-corpus