Dataset Viewer
Auto-converted to Parquet Duplicate
id
string
original_text
string
anonymized_text
string
entities
list
sample_14412
Following the reported coincidence, our team conducted a thorough investigation and consulted with 2204510107098659 authorities.
Following the reported coincidence, our team conducted a thorough investigation and consulted with the County Sheriff's Office.
[ { "text": "2204510107098659", "type": "CREDIT_CARD", "start": 99, "end": 115 } ]
sample_69708
0152-799356956 sent a text message to Raima about meeting at Queensway Drive 2664.
07700 900321 sent a text message to Layla about meeting at Willow Creek Lane 123.
[ { "text": "0152-799356956", "type": "DATE", "start": 0, "end": 14 }, { "text": "Raima", "type": "LOCATION", "start": 38, "end": 43 }, { "text": "Queensway Drive", "type": "LOCATION", "start": 61, "end": 76 }, { "text": "2664", "type": "UNKNOWN", ...
sample_79412
Gkentian created a fundraising campaign with a goal of raising [AMOUNTPLACEHOLDER_2] dollars. To contribute, please mail a cheque to Chemin du Godendard, D'Arcy, N0A 1H0.
Kaelen created a fundraising campaign with a goal of raising [AMOUNTPLACEHOLDER_2] dollars. To contribute, please mail a cheque to Rue des Lilas, Saint-Pierre, T3B 2X4.
[ { "text": "Gkentian", "type": "ORGANIZATION", "start": 0, "end": 8 }, { "text": "Chemin du Godendard", "type": "FULLNAME", "start": 133, "end": 152 }, { "text": "D'Arcy", "type": "FULLNAME", "start": 154, "end": 160 }, { "text": "N0A 1H0", "type": ...
sample_109721
You're welcome! I hope you enjoy it. Let me know if you have any feedback or if you'd like to discuss it further.
You're welcome! I hope you enjoy it. Let me know if you have any feedback or if you'd like to discuss it further.
[]
sample_17703
To complete the form, I require the following information: Jean-Noé Jakimovska, +7-12-408-2922, and 1987E@gmail.com.
To complete the form, I require the following information: Antoine Dubois, +1-555-123-4567, and user.email@example.com.
[ { "text": "Jean-Noé", "type": "ORGANIZATION", "start": 59, "end": 67 }, { "text": "Jakimovska", "type": "ORGANIZATION", "start": 68, "end": 78 }, { "text": "+7-12-408-2922", "type": "PHONE", "start": 80, "end": 94 }, { "text": "1987E@gmail.com", "t...
sample_74642
We are interested in learning about your personal library. Could you tell us about the books that are most meaningful to you?
We are interested in learning about your personal library. Could you tell us about the books that are most meaningful to you?
[]
sample_17089
Does anyone know when Artjon is sharing their photography portfolio from the park photoshoot?
Does anyone know when Kaelen is sharing their photography portfolio from the park photoshoot?
[ { "text": "Artjon", "type": "LOCATION", "start": 22, "end": 28 } ]
sample_14622
Hi Doen, I just confirmed that Madame Guardado can attend the meeting on 01/11/1965.
Hi Liam, I just confirmed that Ms. Rivera can attend the meeting on 07/22/2001.
[ { "text": "Doen", "type": "FULLNAME", "start": 3, "end": 7 }, { "text": "Madame", "type": "FULLNAME", "start": 31, "end": 37 }, { "text": "Guardado", "type": "FULLNAME", "start": 38, "end": 46 }, { "text": "01/11/1965", "type": "DATE", "start":...
sample_18325
Please do not hesitate to contact us if you have any questions or concerns.
Please do not hesitate to contact us if you have any questions or concerns.
[]
sample_64262
Tribute message from Frédy Zinkhöfer: Elze will always be remembered in our hearts.
Tribute message from Arthur Miller: Alice will always be remembered in our hearts.
[ { "text": "Frédy", "type": "LOCATION", "start": 21, "end": 26 }, { "text": "Zinkhöfer", "type": "FULLNAME", "start": 27, "end": 36 }, { "text": "Elze", "type": "FULLNAME", "start": 38, "end": 42 } ]
sample_90413
Alyssar loves to dance the Amaranth shuffle.
Lyra loves to dance the Starlight shuffle.
[ { "text": "Alyssar", "type": "FULLNAME", "start": 0, "end": 7 }, { "text": "Amaranth", "type": "ORGANIZATION", "start": 27, "end": 35 } ]
sample_00853
77 Pinewood Road is the location of the Highbridge wildlife observation centre.
123 Oakwood Lane is the location of the Riverbend wildlife observation centre.
[ { "text": "77", "type": "UNKNOWN", "start": 0, "end": 2 }, { "text": "Pinewood Road", "type": "ORGANIZATION", "start": 3, "end": 16 }, { "text": "Highbridge", "type": "FULLNAME", "start": 40, "end": 50 } ]
sample_103786
I'm interested in enrolling in the Memory Preservation Diaries course, I'm a M student from Dariyapur Palaswada, and I'd like to know more about the course fee.
I'm interested in enrolling in the Memory Preservation Diaries course, I'm a graduate student from Oakville, and I'd like to know more about the course fee.
[ { "text": "M", "type": "FULLNAME", "start": 35, "end": 36 }, { "text": "Dariyapur Palaswada", "type": "FULLNAME", "start": 92, "end": 111 } ]
sample_51372
Can anyone recommend a good location for our surrealist photography project? Perhaps something close to Raver Tangra or 453001?
Can anyone recommend a good location for our surrealist photography project? Perhaps something close to Shadowbrook Lane or 789012?
[ { "text": "Raver Tangra", "type": "FULLNAME", "start": 104, "end": 116 }, { "text": "453001", "type": "UNKNOWN", "start": 120, "end": 126 } ]
sample_53737
Yuto's treehouse has been expertly constructed using materials sourced from Ucluelet and carefully transported to Rang de l'Égypte 6413.
Kenji's treehouse has been expertly constructed using materials sourced from Port Blossom and carefully transported to Cedarwood Path 789.
[ { "text": "Yuto", "type": "ORGANIZATION", "start": 0, "end": 4 }, { "text": "Ucluelet", "type": "ORGANIZATION", "start": 76, "end": 84 }, { "text": "Rang de l'Égypte", "type": "ORGANIZATION", "start": 114, "end": 130 }, { "text": "6413", "type": "U...
sample_62947
Ziyan Auteri: 'We are meeting at 246 Road 194 to discuss the sales targets.'
Kai Lin: 'We are meeting at 789 Maple Street, Unit 3B to discuss the sales targets.'
[ { "text": "Ziyan", "type": "FULLNAME", "start": 0, "end": 5 }, { "text": "Auteri", "type": "FULLNAME", "start": 6, "end": 12 }, { "text": "246 Road", "type": "UNKNOWN", "start": 33, "end": 41 }, { "text": "194", "type": "UNKNOWN", "start": 42, ...
sample_45781
12:32 +4-064 644-4944: The boat designs are due on April/70. Don't forget to include your GQ1883504 with your submission.
10:45 +1-555 123-4567: The boat designs are due on March/25. Don't forget to include your XY9876543 with your submission.
[ { "text": "12:32", "type": "UNKNOWN", "start": 0, "end": 5 }, { "text": "+4-064 644-4944", "type": "PHONE", "start": 6, "end": 21 }, { "text": "April/70", "type": "FULLNAME", "start": 51, "end": 59 }, { "text": "GQ1883504", "type": "ID_NUMBER", ...
sample_85590
Angela-Maria Gazola has shared their stargazing log entry from August/02. Check it out on our group chat!
Olivia Rossi has shared their stargazing log entry from September/15. Check it out on our group chat!
[ { "text": "Angela-Maria", "type": "FULLNAME", "start": 0, "end": 12 }, { "text": "Gazola", "type": "FULLNAME", "start": 13, "end": 19 }, { "text": "August/02", "type": "FULLNAME", "start": 63, "end": 72 } ]
sample_81567
2. Send Emela a reminder about the exhibition
2. Send Lena a reminder about the exhibition
[ { "text": "Emela", "type": "FULLNAME", "start": 8, "end": 13 } ]
sample_31978
10:43 Dai Rosibel Muluneh: 'Want to meet up at Marston's community center and discuss our inner critic dialogues?'; 00:35 +80-31 618 3349: 'I'm interested, what's the plan?'
11:15 AM Luna Vance: 'Want to meet up at Willow Creek community center and discuss our inner critic dialogues?'; 11:45 AM +44-20 7946 0123: 'I'm interested, what's the plan?'
[ { "text": "10:43", "type": "UNKNOWN", "start": 0, "end": 5 }, { "text": "Dai Rosibel", "type": "FULLNAME", "start": 6, "end": 17 }, { "text": "Muluneh", "type": "FULLNAME", "start": 18, "end": 25 }, { "text": "Marston", "type": "FULLNAME", "sta...
sample_48734
In Silverado, a group of friends, including Yamna and Monorum Thenushan, came together to create a poetry anthology, Ambassador.
In Everwood, a group of friends, including Anya and Liam Patel, came together to create a poetry anthology, "The Wanderer's Verse".
[ { "text": "Silverado", "type": "FULLNAME", "start": 3, "end": 12 }, { "text": "Yamna", "type": "FULLNAME", "start": 44, "end": 49 }, { "text": "Monorum Thenushan", "type": "FULLNAME", "start": 54, "end": 71 }, { "text": "Ambassador", "type": "FULLN...
sample_47761
We kindly request your OD06@gmail.com address to send you a copy of our Medieval Poems collection.
We kindly request your info@example.com address to send you a copy of our Medieval Poems collection.
[ { "text": "OD06@gmail.com", "type": "EMAIL", "start": 23, "end": 37 } ]
sample_45064
We require a valid WILKA-570027-W9-480 and 080414416 to complete the registration process.
We require a valid SEC-987654-X1-210 and 012345678 to complete the registration process.
[ { "text": "WILKA-570027-W9-480", "type": "FULLNAME", "start": 19, "end": 38 }, { "text": "080414416", "type": "PHONE", "start": 43, "end": 52 } ]
sample_37385
March 15th - Met Daniza from Scotland Yard.
March 15th - Met Officer Miller from Scotland Yard.
[ { "text": "Daniza", "type": "DATE", "start": 17, "end": 23 } ]
sample_20352
We are excited to announce that Ghenet Gang Haddan has been selected to represent our organization at the upcoming Global Peace Movement conference in Denfield.
We are excited to announce that Lyra Orion Starling has been selected to represent our organization at the upcoming Global Peace Movement conference in Oakhaven.
[ { "text": "Ghenet Gang", "type": "LOCATION", "start": 32, "end": 43 }, { "text": "Haddan", "type": "LOCATION", "start": 44, "end": 50 }, { "text": "Denfield", "type": "FULLNAME", "start": 151, "end": 159 } ]
sample_100605
Dear Soon Ascar, your payment for the weaving patterns course has been processed successfully. Your receipt number is 6440026488829499518.
Dear Lena Petrova, your payment for the weaving patterns course has been processed successfully. Your receipt number is 1234567890123456789.
[ { "text": "Soon", "type": "FULLNAME", "start": 5, "end": 9 }, { "text": "Ascar", "type": "FULLNAME", "start": 10, "end": 15 }, { "text": "6440026488829499518", "type": "UNKNOWN", "start": 118, "end": 137 } ]
sample_22906
4:56 AM Danijal Chandro: Interesting. Do you have any information on the West US Highway 24 8175 museum exhibit on Chimu art?
10:30 PM Liam Thompson: Interesting. Do you have any information on the East State Route 101 5432 museum exhibit on Chimu art?
[ { "text": "4:56 AM", "type": "TIME", "start": 0, "end": 7 }, { "text": "Danijal Chandro", "type": "FULLNAME", "start": 8, "end": 23 }, { "text": "West US Highway 24", "type": "ORGANIZATION", "start": 73, "end": 91 }, { "text": "8175", "type": "UNKN...
sample_132551
We have received your application for the experiential museum artifact project. Please check your YE@yahoo.com for further instructions.
We have received your application for the experiential museum artifact project. Please check your project.updates@example.com for further instructions.
[ { "text": "YE@yahoo.com", "type": "EMAIL", "start": 98, "end": 110 } ]
sample_55890
Elisia Beba: Definitely the food. I had the best Male at this small 477 by the Mondoli Village Gali Number 3
Seraphina Vance: Definitely the food. I had the best Palak at this small 123 by the Veridian Hamlet Lane Number 7
[ { "text": "Elisia Beba", "type": "ORGANIZATION", "start": 0, "end": 11 }, { "text": "Male", "type": "FULLNAME", "start": 49, "end": 53 }, { "text": "477", "type": "UNKNOWN", "start": 68, "end": 71 }, { "text": "Mondoli Village Gali Number 3", "type...
sample_130185
Emka Zola: 'Hi Adrean, I'm interested in attending your mosaic crafting workshop. Can I get more information about it?'
Maya Rossi: 'Hi Liam, I'm interested in attending your mosaic crafting workshop. Can I get more information about it?'
[ { "text": "Emka Zola", "type": "FULLNAME", "start": 0, "end": 9 }, { "text": "Adrean", "type": "LOCATION", "start": 15, "end": 21 } ]
sample_39453
Lara-Sophie Kura Zerioul is participating in the winter festival by decorating their Bendravedy Mandya Road home with 727 lights.
Olivia Peterson is participating in the winter festival by decorating their Maplewood Lane home with 550 lights.
[ { "text": "Lara-Sophie", "type": "FULLNAME", "start": 0, "end": 11 }, { "text": "Kura Zerioul", "type": "ORGANIZATION", "start": 12, "end": 24 }, { "text": "Bendravedy Mandya Road", "type": "ORGANIZATION", "start": 85, "end": 107 }, { "text": "727", ...
sample_05635
Bojan: Can someone recommend a good brand for cat-themed puzzles? I want to gift one to my M friend.
Declan: Can someone recommend a good brand for cat-themed puzzles? I want to gift one to my L friend.
[ { "text": "Bojan", "type": "FULLNAME", "start": 0, "end": 5 }, { "text": "M", "type": "FULLNAME", "start": 91, "end": 92 } ]
sample_103900
Get the inside scoop on the latest fashion collaborations in Corpus Christi!
Get the inside scoop on the latest fashion collaborations in Starling City!
[ { "text": "Corpus Christi", "type": "LOCATION", "start": 61, "end": 75 } ]
sample_136357
Peruvian Marinera dance certification is only available to individuals who have completed 68 hours of training.
Peruvian Marinera dance certification is only available to individuals who have completed 40 hours of training.
[ { "text": "68", "type": "UNKNOWN", "start": 90, "end": 92 } ]
sample_135393
Reminder to send welcome package with 53542201674 and other benefits information to Mujesira Sininski Gaina.
Reminder to send welcome package with 98765432109 and other benefits information to Anya Petrova Volkov.
[ { "text": "53542201674", "type": "PHONE", "start": 38, "end": 49 }, { "text": "Mujesira", "type": "LOCATION", "start": 84, "end": 92 }, { "text": "Sininski Gaina", "type": "FULLNAME", "start": 93, "end": 107 } ]
sample_131314
11:42 Taym: My M friend who is 21 years old needs to file a complaint against the local police. Can you please help us with the format? The police officer's badge number is PQ8B1YEVXF.
10:30 Omar: My friend who is 25 years old needs to file a complaint against the local police. Can you please help us with the format? The police officer's badge number is XYZ9876543.
[ { "text": "11:42", "type": "UNKNOWN", "start": 0, "end": 5 }, { "text": "Taym", "type": "FULLNAME", "start": 6, "end": 10 }, { "text": "M", "type": "FULLNAME", "start": 12, "end": 13 }, { "text": "21", "type": "UNKNOWN", "start": 31, "end":...
sample_101154
To update your membership information, please email us at erpizzulo@hotmail.com with your ONK1PG26GA and any changes to your contact details.
To update your membership information, please email us at membership.updates@example.com with your XYZ987ABC and any changes to your contact details.
[ { "text": "erpizzulo@hotmail.com", "type": "EMAIL", "start": 58, "end": 79 }, { "text": "ONK1PG26GA", "type": "FULLNAME", "start": 90, "end": 100 } ]
sample_87013
Anoushka Research Project Update - Methodologies for Improving Experimental Design Innovations
Dr. Evelyn Reed Research Project Update - Methodologies for Improving Experimental Design Innovations
[ { "text": "Anoushka", "type": "FULLNAME", "start": 0, "end": 8 } ]
sample_18106
For more information, contact us at 0006-01404 3384 or D16@protonmail.com.
For more information, contact us at 0001-02345 6789 or info@mailservice.com.
[ { "text": "0006-01404 3384", "type": "DATE", "start": 36, "end": 51 }, { "text": "D16@protonmail.com", "type": "EMAIL", "start": 55, "end": 73 } ]
sample_137686
Miss Jonael is the leader of the Cargodera Canyon dance team.
Ms. Eleanor Vance is the leader of the Silverwood Gorge dance team.
[ { "text": "Miss", "type": "FULLNAME", "start": 0, "end": 4 }, { "text": "Jonael", "type": "FULLNAME", "start": 5, "end": 11 }, { "text": "Cargodera Canyon", "type": "LOCATION", "start": 33, "end": 49 } ]
sample_93431
Can someone verify Fehri's 93555 for shipping purposes?
Can someone verify Omar's 12345 for shipping purposes?
[ { "text": "Fehri", "type": "FULLNAME", "start": 19, "end": 24 }, { "text": "93555", "type": "ZIPCODE", "start": 27, "end": 32 } ]
sample_39932
Zico is inviting Artyom to join their personal propagation project.
Kai is inviting Leo to join their personal propagation project.
[ { "text": "Zico", "type": "ORGANIZATION", "start": 0, "end": 4 }, { "text": "Artyom", "type": "LOCATION", "start": 17, "end": 23 } ]
sample_76190
Looking for recommendations on NY publishers for my forthcoming book, can DM Liam your suggestions or connections
Looking for recommendations on NY publishers for my forthcoming book, can DM Ethan your suggestions or connections
[ { "text": "Liam", "type": "FULLNAME", "start": 77, "end": 81 } ]
sample_33757
2:48 Milovan Dilane: I'm trying to improve my archery skills. Can you help me with that?
5:30 Leo Sterling: I'm trying to improve my archery skills. Can you help me with that?
[ { "text": "2:48", "type": "TIME", "start": 0, "end": 4 }, { "text": "Milovan Dilane", "type": "FULLNAME", "start": 5, "end": 19 } ]
sample_83538
...
...
[]
sample_90980
Dear Obai, please update your ME2 4UX, ME2 4UZ and Elmwood Way information for the costume jewelry making project registration.
Dear David, please update your AB1 2CD, AB1 2CE and Maple Avenue information for the costume jewelry making project registration.
[ { "text": "Obai", "type": "FULLNAME", "start": 5, "end": 9 }, { "text": "ME2 4UX, ME2 4UZ", "type": "FULLNAME", "start": 30, "end": 46 }, { "text": "Elmwood Way", "type": "LOCATION", "start": 51, "end": 62 } ]
sample_76850
02:47:23 064 2865724 : Will you be in Germany for the food festival next week? I'd love to meet up.
03:00:00 +49 176 12345678: Will you be in France for the food festival next week? I'd love to meet up.
[ { "text": "02:47:23", "type": "UNKNOWN", "start": 0, "end": 8 }, { "text": "064 2865724 ", "type": "PHONE", "start": 9, "end": 21 }, { "text": "Germany", "type": "LOCATION", "start": 38, "end": 45 } ]
sample_44427
Meet your neighbors at our block party! RSVP with your Akshatha and Devia to let us know you're coming.
Meet your neighbors at our block party! RSVP with your Priya and Kavya to let us know you're coming.
[ { "text": "Akshatha", "type": "LOCATION", "start": 55, "end": 63 }, { "text": "Devia", "type": "FULLNAME", "start": 68, "end": 73 } ]
sample_13977
055 3508321 : Great, thank you! I'll send you a more detailed explanation via email. Please let me know if you have any further questions.
077 1234567 : Great, thank you! I'll send you a more detailed explanation via email. Please let me know if you have any further questions.
[ { "text": "055 3508321 ", "type": "PHONE", "start": 0, "end": 12 } ]
sample_05029
Hello Ajith Pierre-Gilles Fehlbier, I'm interested in sharing my story on our neighborhood's social media.
Hello Liam Alexander Reynolds, I'm interested in sharing my story on our neighborhood's social media.
[ { "text": "Ajith Pierre-Gilles", "type": "FULLNAME", "start": 6, "end": 25 }, { "text": "Fehlbier", "type": "FULLNAME", "start": 26, "end": 34 } ]
sample_101098
It's time to follow up with Mayoress Yuvarajah about the upcoming presentation of their custom piece, so I'll schedule a call for 6:20.
It's time to follow up with Mayor Chen about the upcoming presentation of their custom piece, so I'll schedule a call for 4:15.
[ { "text": "Mayoress", "type": "LOCATION", "start": 28, "end": 36 }, { "text": "Yuvarajah", "type": "LOCATION", "start": 37, "end": 46 }, { "text": "6:20", "type": "UNKNOWN", "start": 130, "end": 134 } ]
sample_19071
What's your favorite way to stay warm and cozy at home? Do you have any favorite Jan-Hendrik slippers or socks?
What's your favorite way to stay warm and cozy at home? Do you have any favorite Lars slippers or socks?
[ { "text": "Jan-Hendrik", "type": "FULLNAME", "start": 81, "end": 92 } ]
sample_102421
Please submit your application, including your UM56537KY and a brief statement of interest, to ardingui@yahoo.com by 10:02.
Please submit your application, including your AB12345CD and a brief statement of interest, to applications@example.com by 11:30.
[ { "text": "UM56537KY", "type": "ORGANIZATION", "start": 47, "end": 56 }, { "text": "ardingui@yahoo.com", "type": "EMAIL", "start": 95, "end": 113 }, { "text": "10:02", "type": "TIME", "start": 117, "end": 122 } ]
sample_137713
Piel Paul-Simon Croll Photography: Classic Car Portfolio
Leo Michael Sterling Photography: Classic Car Portfolio
[ { "text": "Piel Paul-Simon", "type": "FULLNAME", "start": 0, "end": 15 }, { "text": "Croll", "type": "FULLNAME", "start": 16, "end": 21 } ]
sample_126900
What's your favorite cultural identity poem by Ino Gyamtso Verwaard?
What's your favorite cultural identity poem by Kael Sato Renjiro?
[ { "text": "Ino", "type": "FULLNAME", "start": 47, "end": 50 }, { "text": "Gyamtso Verwaard", "type": "FULLNAME", "start": 51, "end": 67 } ]
sample_38154
Please confirm your Miss and Gisbert for certification purposes.
Please confirm your Dr. and Evelyn for certification purposes.
[ { "text": "Miss", "type": "FULLNAME", "start": 20, "end": 24 }, { "text": "Gisbert", "type": "FULLNAME", "start": 29, "end": 36 } ]
sample_108952
Please contact Fikrie Ceroni at 008-447.927 6607 or NPIB@tutanota.com for more information
Please contact Marcus Thorne at 123-555.098 7654 or info@example.net for more information
[ { "text": "Fikrie", "type": "FULLNAME", "start": 15, "end": 21 }, { "text": "Ceroni", "type": "FULLNAME", "start": 22, "end": 28 }, { "text": "008-447.927 6607", "type": "PHONE", "start": 32, "end": 48 }, { "text": "NPIB@tutanota.com", "type": "EMA...
sample_23772
Thank you for registering with us! Your 132 membership ID will be mailed to you shortly.
Thank you for registering with us! Your 789 membership ID will be mailed to you shortly.
[ { "text": "132", "type": "UNKNOWN", "start": 40, "end": 43 } ]
sample_47183
3:05 Shenadije Cristeta: 'I'm M and 6 years old.'
4:20 Anya Sharma: 'I'm L and 7 years old.'
[ { "text": "3:05", "type": "TIME", "start": 0, "end": 4 }, { "text": "Shenadije Cristeta", "type": "FULLNAME", "start": 5, "end": 23 }, { "text": "M", "type": "FULLNAME", "start": 30, "end": 31 }, { "text": "6", "type": "UNKNOWN", "start": 36, ...
sample_58704
12:58 AM Hessel Andrejus: 'Hey, I'm working on a new aluminum foil art project and I need your help.'
1:15 AM Erik Johansson: 'Hey, I'm working on a new aluminum foil art project and I need your help.'
[ { "text": "12:58 AM", "type": "TIME", "start": 0, "end": 8 }, { "text": "Hessel Andrejus", "type": "FULLNAME", "start": 9, "end": 24 } ]
sample_05466
Pezhman Ghoddoussi: 'Did you guys hear that Female got to see a shark on their last dive? Can't wait for our own adventure!'
Omar Khan: 'Did you guys hear that The Explorers got to see a shark on their last dive? Can't wait for our own adventure!'
[ { "text": "Pezhman", "type": "FULLNAME", "start": 0, "end": 7 }, { "text": "Ghoddoussi", "type": "FULLNAME", "start": 8, "end": 18 }, { "text": "Female", "type": "FULLNAME", "start": 44, "end": 50 } ]
sample_122040
Reminder: Meeting at 23:28:57 on April 13th, 1967
Reminder: Meeting at 10:00 AM on May 20th, 2024
[ { "text": "23:28:57", "type": "TIME", "start": 21, "end": 29 }, { "text": "April 13th, 1967", "type": "DATE", "start": 33, "end": 49 } ]
sample_24505
7:52 AM Anselmo Szafoni Coupat: hope you're doing great thanks again for everything.
8:00 AM Arthur Miller-Smith: hope you're doing great thanks again for everything.
[ { "text": "7:52 AM", "type": "TIME", "start": 0, "end": 7 }, { "text": "Anselmo", "type": "FULLNAME", "start": 8, "end": 15 }, { "text": "Szafoni Coupat", "type": "FULLNAME", "start": 16, "end": 30 } ]
sample_113246
Please note that our nature preserve is open to visitors of all 55 and M.
Please note that our nature preserve is open to visitors of all 60 and F.
[ { "text": "55", "type": "UNKNOWN", "start": 64, "end": 66 }, { "text": "M", "type": "FULLNAME", "start": 71, "end": 72 } ]
sample_40026
Young adult reflection diaries reveal concerns about EY2915998 requirements for voting.
Young adult reflection diaries reveal concerns about PX7421001 requirements for voting.
[ { "text": "EY2915998", "type": "ID_NUMBER", "start": 53, "end": 62 } ]
sample_136375
Dashiell Dzejlan has earned the following scouting badges: Miss Badge, Mr Badge, and Mstr Badge.
Liam O'Connell has earned the following scouting badges: Explorer Badge, Navigator Badge, and Pathfinder Badge.
[ { "text": "Dashiell Dzejlan", "type": "FULLNAME", "start": 0, "end": 16 }, { "text": "Miss", "type": "FULLNAME", "start": 59, "end": 63 }, { "text": "Mr", "type": "FULLNAME", "start": 71, "end": 73 }, { "text": "Mstr", "type": "FULLNAME", "star...
sample_99540
Hi Binay, we need to confirm your age as some of the art pieces contain mature themes. Could you please provide us with your 12?
Hi Zara Khan, we need to confirm your age as some of the art pieces contain mature themes. Could you please provide us with your 21?
[ { "text": "Binay", "type": "FULLNAME", "start": 3, "end": 8 }, { "text": "12", "type": "UNKNOWN", "start": 125, "end": 127 } ]
sample_82934
Please fill in your details (including K2017@outlook.com, 010 4319 7831, and any relevant medical information) on the attached registration form.
Please fill in your details (including J.Doe.2023@email.com, 020 7946 0958, and any relevant medical information) on the attached registration form.
[ { "text": "K2017@outlook.com", "type": "EMAIL", "start": 39, "end": 56 }, { "text": "010 4319 7831", "type": "PHONE", "start": 58, "end": 71 } ]
sample_77361
The capital expenditure memo for Romantini is attached. Please review and sign before returning it to 0199-24-605 9429.
The capital expenditure memo for Valerie is attached. Please review and sign before returning it to 0234-56-789 0123.
[ { "text": "Romantini", "type": "ORGANIZATION", "start": 33, "end": 42 }, { "text": "0199-24-605 9429", "type": "UNKNOWN", "start": 102, "end": 118 } ]
sample_126715
Photos by Laurentino Sjödin
Photos by Maria Andersson
[ { "text": "Laurentino", "type": "FULLNAME", "start": 10, "end": 20 }, { "text": "Sjödin", "type": "FULLNAME", "start": 21, "end": 27 } ]
sample_95075
+58-23 517 0504: Yeah, sounds fun! What time should I arrive at Bapuji Mandir Marg, 66?
+1-555-987-6543: Yeah, sounds fun! What time should I arrive at Harmony Lane, 102?
[ { "text": "+58-23 517 0504", "type": "PHONE", "start": 0, "end": 15 }, { "text": "Bapuji Mandir Marg", "type": "FULLNAME", "start": 64, "end": 82 }, { "text": "66", "type": "UNKNOWN", "start": 84, "end": 86 } ]
sample_04956
Announcement on Chemists' Forum: 'Upcoming meeting on July 17th, 1947 at Rack Creek Road 2676. Contact Zoè Izlifete for more details.'
Announcement on Chemists' Forum: 'Upcoming meeting on August 20th, 1955 at Pine Ridge Lane 789. Contact Dr. Lena Petrova for more details.'
[ { "text": "July 17th, 1947", "type": "DATE", "start": 54, "end": 69 }, { "text": "Rack Creek Road", "type": "LOCATION", "start": 73, "end": 88 }, { "text": "2676", "type": "UNKNOWN", "start": 89, "end": 93 }, { "text": "Zoè Izlifete", "type": "FULL...
sample_53288
Anith Mickel Steyer: Hey, have you read the debate techniques for discussing flat earth theory?
Liam O'Connell: Hey, have you read the debate techniques for discussing flat earth theory?
[ { "text": "Anith Mickel", "type": "FULLNAME", "start": 0, "end": 12 }, { "text": "Steyer", "type": "FULLNAME", "start": 13, "end": 19 } ]
sample_95850
The local government has announced plans to renovate the historic town hall on Tommy Road, which was built in 4th January 1971.
The local government has announced plans to renovate the historic town hall on Elmwood Avenue, which was built in March 12th, 1968.
[ { "text": "Tommy Road", "type": "FULLNAME", "start": 79, "end": 89 }, { "text": "4th January 1971", "type": "DATE", "start": 110, "end": 126 } ]
sample_56011
Please confirm your address: Westfield Road 1184, Settle EN1.
Please confirm your address: Oakwood Lane 7B, Portside PE5.
[ { "text": "Westfield Road", "type": "LOCATION", "start": 29, "end": 43 }, { "text": "1184", "type": "UNKNOWN", "start": 44, "end": 48 }, { "text": "Settle", "type": "LOCATION", "start": 50, "end": 56 }, { "text": "EN1", "type": "ORGANIZATION", ...
sample_79284
061 371.3745: Sure, it's Boulevard Rivard 72082, T6E.
555 123.4567: Sure, it's Maple Avenue 12345, K1L.
[ { "text": "061 371.3745", "type": "PHONE", "start": 0, "end": 12 }, { "text": "Boulevard Rivard", "type": "ORGANIZATION", "start": 25, "end": 41 }, { "text": "72082", "type": "ZIPCODE", "start": 42, "end": 47 }, { "text": "T6E", "type": "FULLNAME",...
sample_134538
Who will be portraying Alize at the upcoming King City reenactment?
Who will be portraying Lyra at the upcoming Crownsville reenactment?
[ { "text": "Alize", "type": "FULLNAME", "start": 23, "end": 28 }, { "text": "King City", "type": "LOCATION", "start": 45, "end": 54 } ]
sample_131832
To, Mrs Binazir Kaninda Mota Ahasbipura Nada Road, 2104 Sikandarabad, 500056 Dear Hatune,
To, Ms. Anya Sharma Greenwood Lane, Sector 7, 5678 Chandigarh, 123456 Dear Anya,
[ { "text": "Mrs", "type": "FULLNAME", "start": 4, "end": 7 }, { "text": "Binazir", "type": "FULLNAME", "start": 8, "end": 15 }, { "text": "Kaninda", "type": "FULLNAME", "start": 16, "end": 23 }, { "text": "Mota Ahasbipura Nada Road", "type": "FULLNA...
sample_95727
Hey Aljaz, I've heard that you have a great recipe for dandelion salad. Can you share it with me?
Hey Leo, I've heard that you have a great recipe for dandelion salad. Can you share it with me?
[ { "text": "Aljaz", "type": "FULLNAME", "start": 4, "end": 9 } ]
sample_02904
Meeting attendees: Keyse, Andréane Dettenberg, and (96) 9525.7659. Objective: To finalize plans for the rooftop farming project.
Meeting attendees: Clara, Eleanor Vance, and (71) 3456.7890. Objective: To finalize plans for the rooftop farming project.
[ { "text": "Keyse", "type": "ORGANIZATION", "start": 19, "end": 24 }, { "text": "Andréane", "type": "LOCATION", "start": 26, "end": 34 }, { "text": "Dettenberg", "type": "FULLNAME", "start": 35, "end": 45 }, { "text": "(96) 9525.7659", "type": "PHON...
sample_54472
Handwritten note: Meet Vitaliana at Bristol Easton-in-Gordano's library to discuss Celtic Poems
Handwritten note: Meet Valentina at Greenfield Public Library to discuss Celtic Poems
[ { "text": "Vitaliana", "type": "ORGANIZATION", "start": 23, "end": 32 }, { "text": "Bristol Easton-in-Gordano", "type": "ORGANIZATION", "start": 36, "end": 61 } ]
sample_33896
Classical Design Jewelry Report: The average age of our target market is 62, with a majority of M demographic.
Classical Design Jewelry Report: The average age of our target market is 55, with a majority of female demographic.
[ { "text": "62", "type": "UNKNOWN", "start": 73, "end": 75 }, { "text": "M", "type": "FULLNAME", "start": 96, "end": 97 } ]
sample_29994
To all participants, please be aware that the space simulation program will require you to provide your 18795.66327 and 037-88-0615 for administrative purposes.
To all participants, please be aware that the space simulation program will require you to provide your 24567.12345 and 098-76-5432 for administrative purposes.
[ { "text": "18795.66327", "type": "UNKNOWN", "start": 104, "end": 115 }, { "text": "037-88-0615", "type": "SSN", "start": 120, "end": 131 } ]
sample_130977
To access the Recycling Art Projects, please fill the following details: First Name: Eshaan, Last Name: Mandak, Date of Birth: 20/06/1939
To access the Recycling Art Projects, please fill the following details: First Name: Liam, Last Name: Chen, Date of Birth: 15/03/1985
[ { "text": "Eshaan", "type": "LOCATION", "start": 85, "end": 91 }, { "text": "Mandak", "type": "FULLNAME", "start": 104, "end": 110 }, { "text": "20/06/1939", "type": "DATE", "start": 127, "end": 137 } ]
sample_111587
Haujin is looking to purchase a rare pinback button featuring Rukhsana's favourite band.
Liam is looking to purchase a rare pinback button featuring Zara's favourite band.
[ { "text": "Haujin", "type": "LOCATION", "start": 0, "end": 6 }, { "text": "Rukhsana", "type": "FULLNAME", "start": 62, "end": 70 } ]
sample_91888
03:13 Wotan: Hi Jonin Dard I have recently come across an amazing Cultural Fusion Journal which combines Western and Indigenous Australian knowledge and practice. Would anyone be interested in sharing their experiences and thoughts about integrating holistic practices in everyday life?
04:20 Orion: Hi Elara Vance I have recently come across an amazing Cultural Fusion Journal which combines Western and Indigenous Australian knowledge and practice. Would anyone be interested in sharing their experiences and thoughts about integrating holistic practices in everyday life?
[ { "text": "03:13", "type": "TIME", "start": 0, "end": 5 }, { "text": "Wotan", "type": "FULLNAME", "start": 6, "end": 11 }, { "text": "Jonin Dard", "type": "FULLNAME", "start": 16, "end": 26 } ]
sample_136210
Please provide your volunteer service records, including dates and hours worked, and a copy of your CC60047FE.
Please provide your volunteer service records, including dates and hours worked, and a copy of your DR78901AB.
[ { "text": "CC60047FE", "type": "FULLNAME", "start": 100, "end": 109 } ]
sample_114586
Zufer Ágoston has been appointed as the new project manager for the aquaponics initiative. Their phone number is +03-131381346.
Dr. Marcus Thorne has been appointed as the new project manager for the aquaponics initiative. Their phone number is +49 30 123456789.
[ { "text": "Zufer", "type": "FULLNAME", "start": 0, "end": 5 }, { "text": "Ágoston", "type": "ORGANIZATION", "start": 6, "end": 13 }, { "text": "+03-131381346", "type": "PHONE", "start": 113, "end": 126 } ]
sample_137197
To access your volunteer record, please login with your 62S2SADVUC and password.
To access your volunteer record, please login with your VolunteerAccessID and password.
[ { "text": "62S2SADVUC", "type": "UNKNOWN", "start": 56, "end": 66 } ]
sample_69799
(193)-7338642 was a key contact for the Gainsborough Somerby social movement, providing support to Pashe Dionys and others.
(555)-1234567 was a key contact for the Oakhaven Ridge social movement, providing support to Liam O'Connell and others.
[ { "text": "(193)-7338642", "type": "PHONE", "start": 0, "end": 13 }, { "text": "Gainsborough Somerby", "type": "ORGANIZATION", "start": 40, "end": 60 }, { "text": "Pashe Dionys", "type": "FULLNAME", "start": 99, "end": 111 } ]
sample_110961
What's up Jaimie? Just a reminder that we have a calligraphy manuals group chat meeting today at 11:40 PM at Township Road 354 3065, Gambier Island.
What's up Alex? Just a reminder that we have a calligraphy manuals group chat meeting today at 07:00 PM at Rural Route 7 987, Emerald Isle.
[ { "text": "Jaimie", "type": "FULLNAME", "start": 10, "end": 16 }, { "text": "11:40 PM", "type": "TIME", "start": 97, "end": 105 }, { "text": "Township Road 354", "type": "LOCATION", "start": 109, "end": 126 }, { "text": "3065", "type": "UNKNOWN", ...
sample_19419
Please review the personal glass art and stained glass designs portfolio for Sayan Gabersek.
Please review the personal glass art and stained glass designs portfolio for Liam Novak.
[ { "text": "Sayan", "type": "FULLNAME", "start": 77, "end": 82 }, { "text": "Gabersek", "type": "ORGANIZATION", "start": 83, "end": 91 } ]
sample_10874
Carsten Beligan Ilauski from Gillingham is interested in designing a birdhouse with a sports arena theme.
Arthur Pendelton from Oakwood is interested in designing a birdhouse with a sports arena theme.
[ { "text": "Carsten", "type": "FULLNAME", "start": 0, "end": 7 }, { "text": "Beligan Ilauski", "type": "FULLNAME", "start": 8, "end": 23 }, { "text": "Gillingham", "type": "FULLNAME", "start": 29, "end": 39 } ]
sample_84435
To get the group discount, send me your Riola Noryang Bhatlawande, R@outlook.com, and +19 29-606-8827.
To get the group discount, send me your Elena Petrova, elena.p@email.com, and +1 212-555-9876.
[ { "text": "Riola Noryang", "type": "FULLNAME", "start": 40, "end": 53 }, { "text": "Bhatlawande", "type": "FULLNAME", "start": 54, "end": 65 }, { "text": "R@outlook.com", "type": "EMAIL", "start": 67, "end": 80 }, { "text": "+19 29-606-8827", "type...
sample_29189
Mr Shanice will review all submissions and provide feedback.
Ms. Chen will review all submissions and provide feedback.
[ { "text": "Mr", "type": "FULLNAME", "start": 0, "end": 2 }, { "text": "Shanice", "type": "FULLNAME", "start": 3, "end": 10 } ]
sample_76165
1511 Heritage Court, Avon Lake, 43506: Analysis of Deconstructivist Reinterpretations
2045 Willow Creek Drive, Sterling Heights, 90210: Analysis of Deconstructivist Reinterpretations
[ { "text": "1511", "type": "DATE", "start": 0, "end": 4 }, { "text": "Heritage Court", "type": "ORGANIZATION", "start": 5, "end": 19 }, { "text": "Avon Lake", "type": "LOCATION", "start": 21, "end": 30 }, { "text": "43506", "type": "ZIPCODE", "s...
sample_99165
Piotr and Stracuk will lead the team in analyzing the data collected from our personal research projects.
Dr. Elena and Professor Smith will lead the team in analyzing the data collected from our personal research projects.
[ { "text": "Piotr", "type": "FULLNAME", "start": 0, "end": 5 }, { "text": "Stracuk", "type": "FULLNAME", "start": 10, "end": 17 } ]
sample_13156
Chantra Behar Maratta is a great fan of CA cinema and loves watching movies in [LANGUAGEPLACEHOLDER_4].
Lena Patel is a great fan of CA cinema and loves watching movies in [LANGUAGEPLACEHOLDER_4].
[ { "text": "Chantra Behar", "type": "FULLNAME", "start": 0, "end": 13 }, { "text": "Maratta", "type": "FULLNAME", "start": 14, "end": 21 } ]
sample_116309
For a 70-year-old like Sha Arilda, creating a bonfire pit is a fun and rewarding project.
For a 65-year-old like Elara Vance, creating a bonfire pit is a fun and rewarding project.
[ { "text": "70", "type": "UNKNOWN", "start": 6, "end": 8 }, { "text": "Sha Arilda", "type": "FULLNAME", "start": 23, "end": 33 } ]
sample_43252
6:50 AM Bilge Pornthep: 'Haha, thanks for the vote of confidence. By the way, did you know that [Cosmos Agency] is planning a new space mission?'
7:15 PM Lena Petrov: 'Haha, thanks for the vote of confidence. By the way, did you know that [Cosmos Agency] is planning a new space mission?'
[ { "text": "6:50 AM", "type": "TIME", "start": 0, "end": 7 }, { "text": "Bilge Pornthep", "type": "FULLNAME", "start": 8, "end": 22 } ]
End of preview. Expand in Data Studio

SAHA-AL: PII Anonymization Benchmark

SAHA-AL is a benchmark for training and evaluating text anonymization systems. It goes beyond detection accuracy by evaluating anonymization as a system under attack — measuring adversarial re-identification risk, contextual privacy leakage, and a formalized privacy-utility tradeoff.

Key Features

  • 3 evaluation tasks: PII detection, text anonymization quality, and adversarial privacy risk
  • 11 metrics spanning leakage, utility, format preservation, and multi-vector attack resistance
  • 8 baseline systems evaluated: 3 rule-based (Regex, spaCy, Presidio) and 5 fine-tuned seq2seq models
  • Privacy-Utility Score (PUS): A parameterized framework for navigating the privacy-utility tradeoff
  • Failure taxonomy: Diagnostic error classification (full leak, boundary error, format break, context retention)

Dataset

Split Records Entities Avg Entities/Record PII Density
Train 113,133 286,542 2.53 14.9%
Validation 3,600 9,211 2.56 15.0%
Test 3,600 9,271 2.58 15.2%

Entity types (12): FULLNAME, UNKNOWN, PHONE, EMAIL, ADDRESS, DATE, FIRST_NAME, ID_NUMBER, ZIPCODE, CREDIT_CARD, SSN, ORGANIZATION

Test set is dominated by FULLNAME (57.5%) and UNKNOWN (19.6%).

Data Format

Each record is a JSON object:

{
  "id": "sample_00123",
  "original_text": "Please contact John Smith at john.smith@email.com for details.",
  "anonymized_text": "Please contact Michael Jones at m.jones@mail.org for details.",
  "entities": [
    {"text": "John Smith", "type": "FULLNAME", "start": 15, "end": 25},
    {"text": "john.smith@email.com", "type": "EMAIL", "start": 29, "end": 49}
  ]
}

Loading the Dataset

from datasets import load_dataset

dataset = load_dataset("huggingbahl21/saha-al")

# Access splits
train = dataset["train"]       # 113,133 records
val = dataset["validation"]    # 3,600 records
test = dataset["test"]         # 3,600 records (frozen)

# Example record
record = test[0]
print(record["original_text"])
print(record["entities"])

Tasks

Task 1: PII Detection

Input: original_text | Output: detected_entities: [{start, end, type}]

Evaluate span-level precision, recall, and F1 in three modes: exact match, partial (IoU > 0.5), and type-aware.

Task 2: Text Anonymization

Input: original_text | Output: anonymized_text

Replace all PII with realistic synthetic alternatives while preserving non-PII text and document structure.

Task 3: Privacy Risk Assessment

Evaluator-computed over Task 2 outputs. Simulates adversarial attacks against anonymized text to measure residual re-identification risk.

Metrics

Anonymization Quality (Task 2)

Metric What it measures Direction
ELR Entity Leakage Rate — fraction of entities found verbatim in output ↓ lower is better
Token Recall Fraction of entity tokens absent from output ↑ higher is better
OMR Over-Masking Rate — non-entity tokens unnecessarily altered ↓ lower is better
FPR Format Preservation Rate — structured replacements match expected format ↑ higher is better
BERTScore F1 Semantic similarity between original and anonymized text ↑ higher is better

Privacy Risk (Task 3)

Metric Attack model Direction
CRR-3 Capitalized 3-gram survival rate (statistical) ↓ lower is better
ERA@k Entity Recovery Attack — retrieval adversary with candidate pool (SBERT) ↓ lower is better
LRR LLM Re-identification Rate — generative adversary guesses original entities ↓ lower is better
UAC Unique Attribute Combination rate — k-anonymity proxy ↓ lower is better

Privacy-Utility Tradeoff

PUS(lambda) = lambda * (1 - ELR/100) + (1 - lambda) * (BERTScore/100)

A single parameterized score where lambda controls the privacy-utility balance (lambda=0.5 gives equal weight).

Leaderboard

Evaluated on the frozen test split (3,600 records, 9,271 entities).

Task 2: Anonymization Quality

System ELR ↓ Token Recall ↑ BERTScore F1 ↑ PUS (lambda=0.5)
BART-base + PII 0.93% 95.50% 92.74 0.959
Flan-T5-small + PII 0.99% 95.33% 92.47 0.957
T5-small + PII 1.54% 94.15% 92.59 0.955
T5-eff-tiny + PII 4.14% 90.42% 92.57 0.942
DistilBART + PII 1.23% 94.41% 86.34 0.926
spaCy+Faker 26.44% 74.59% 91.86 0.827
Presidio 33.77% 68.18% 90.04 0.781
Regex+Faker 83.39% 23.05% 98.15 0.574

Task 3: Privacy Risk

System CRR-3 ↓ ERA@1 ↓ ERA@5 ↓ LRR Exact ↓ UAC ↓
BART-base + PII 34.62% 1.90% 4.84% 0.13% 0.33%
Flan-T5-small + PII 34.94% 1.67% 5.08% 0.22%
spaCy+Faker 40.62% 9.36% 14.27% 1.58%
Presidio 50.33% 20.46% 26.09% 2.12% 1.78%

Task 1: PII Detection

System Exact F1 Partial F1 Type-aware F1
spaCy+Faker 56.30 69.38 18.18
Presidio 48.57 60.11 4.97
Regex+Faker 25.86 27.99 24.39

Key Findings

  1. **Seq2seq models achieve <1% entity leakage** while preserving >92% semantic similarity, dramatically outperforming rule-based systems (26–83% leakage).
  2. Structured PII (email, phone, SSN, credit card) is fully solved — 0% leakage across all seq2seq models. Names remain the open challenge, accounting for 83% of residual leakage.
  3. Retrieval attacks are more effective than LLM attacks. ERA@1 recovers 1.9% of entities vs LRR's 0.13%, indicating replacement-based anonymization is more vulnerable to database-level adversaries than generative inference.
  4. BART-base dominates the Pareto frontier with PUS=0.959, achieving near-maximum privacy (99.1%) and high utility (92.7%).

Evaluation Quick Start

pip install faker spacy bert_score sentence-transformers transformers
python -m spacy download en_core_web_lg

Run a baseline

# Rule-based (regex / spacy / presidio)
python -m baselines.regex_faker_baseline --gold data/test.jsonl --mode spacy --save-spans

# Seq2seq (downloads checkpoint from HuggingFace)
python -m baselines.seq2seq_inference --gold data/test.jsonl --model-name bart-base-pii --output predictions/predictions_bart-base-pii.jsonl

Evaluate

# Task 2: Anonymization quality
python -m eval.eval_anonymization \
    --gold data/test.jsonl \
    --pred predictions/predictions_bart-base-pii.jsonl \
    --print-types

# Task 1: Detection (requires --save-spans from baseline)
python -m eval.eval_detection \
    --gold data/test.jsonl \
    --pred predictions/spacy_spans.jsonl

# Task 3: Privacy risk
python -m eval.eval_privacy \
    --gold data/test.jsonl \
    --pred predictions/predictions_bart-base-pii.jsonl \
    --train data/train.jsonl \
    --skip-lrr

# Bootstrap confidence intervals
python -m eval.bootstrap \
    --gold data/test.jsonl \
    --pred predictions/predictions_bart-base-pii.jsonl \
    --metrics elr token_recall crr3

# Failure taxonomy
python -m analysis.failure_taxonomy \
    --gold data/test.jsonl \
    --pred predictions/predictions_bart-base-pii.jsonl

# Pareto frontier analysis
python -m analysis.pareto_frontier \
    --results Results/all_eval_results.json \
    --plot figures/pareto_frontier.png

# Run the full pipeline
bash scripts/run_all.sh

Submission Format

Task 2 (one JSONL line per record):

{"id": "sample_00000", "anonymized_text": "Please contact Michael Jones at m.jones@mail.org."}

Task 1 (one JSONL line per record):

{"id": "sample_00000", "detected_entities": [{"start": 15, "end": 29, "type": "FULLNAME"}]}

Repository Structure

benchmark/
├── eval/                          # Evaluation modules
│   ├── utils.py                   #   Shared: span matching, format regexes, I/O
│   ├── eval_detection.py          #   Task 1: span P/R/F1
│   ├── eval_anonymization.py      #   Task 2: ELR, Token Recall, OMR, FPR, BERTScore
│   ├── eval_privacy.py            #   Task 3: CRR-3, ERA, LRR, UAC
│   └── bootstrap.py               #   95% bootstrap confidence intervals
│
├── baselines/                     # Baseline systems
│   ├── regex_faker_baseline.py    #   Regex / spaCy / Presidio pipelines
│   ├── seq2seq_inference.py       #   BART / T5 / Flan-T5 / DistilBART inference
│   ├── bert_ner_baseline.py       #   BERT-base token classifier (NER)
│   ├── llm_baseline.py            #   GPT-4o-mini / local LLM zero-shot
│   └── hybrid_baseline.py         #   spaCy detect + LLM replace
│
├── analysis/                      # Analysis & visualization
│   ├── dataset_stats.py           #   Dataset statistics
│   ├── pareto_frontier.py         #   Privacy-utility Pareto + PUS sweep
│   ├── failure_taxonomy.py        #   5-category error classification
│   └── plot_results.py            #   Publication figures
│
├── scripts/                       # Utilities
│   ├── prepare_dataset.py         #   Build train/val/test from raw data
│   ├── push_to_hf.py             #   Push to HuggingFace Hub
│   └── run_all.sh                 #   Full evaluation pipeline
│
├── data/                          # Dataset splits (JSONL)
├── predictions/                   # Model outputs
├── Results/                       # Evaluation JSONs
├── figures/                       # Plots
│
├── RESULTS.md                     # Key results for reporting
├── RESULTS_FULL.md                # Exhaustive results reference
├── METHODOLOGY.md                 # Full methodology & theory guide
└── RESULTS_INTERPRETATION.md      # In-depth results discussion

Trained Model Checkpoints

All seq2seq checkpoints are hosted on HuggingFace:

Repository: [JALAPENO11/pii_identification_and_anonymisations](https://huggingface.co/JALAPENO11/pii_identification_and_anonymisations)

Model Base Architecture Parameters Checkpoint Path
BART-base + PII facebook/bart-base 139M checkpoints_pii_aware_loss/bart-base/best_model.pt
Flan-T5-small + PII google/flan-t5-small 77M checkpoints_pii_aware_loss/flan-t5-small/best_model.pt
T5-small + PII t5-small 60M checkpoints_pii_aware_loss/t5-small/best_model.pt
DistilBART + PII sshleifer/distilbart-cnn-6-6 230M checkpoints_pii_aware_loss/distilbart/best_model.pt
T5-eff-tiny + PII google/t5-efficient-tiny 16M checkpoints_pii_aware_loss/t5-efficient-tiny/best_model.pt

Benchmark Protocol

  1. No test set contamination — do not train or tune on test.jsonl
  2. Use the provided evaluation scripts for fair comparison
  3. Report compute — GPU type, training time, inference time
  4. Disclose pre-training data for LLM-based systems

Citation

If you use SAHA-AL in your research, please cite:

@misc{saha-al-2026,
  title={SAHA-AL: A Multi-Task Benchmark for PII Anonymization with Adversarial Privacy Evaluation},
  author={Mr. A},
  year={2026},
  howpublished={\url{https://huggingface.co/datasets/huggingbahl21/saha-al}},
}

Limitations

  • Synthetic data: Source texts are generated via Faker-based templates. Results may not fully generalize to real-world PII distributions.
  • English only: All data, models, and evaluation metrics are English-specific.
  • Entity type ambiguity: ~19.6% of test entities are typed as UNKNOWN due to heuristic type inference limitations.
  • Train/test entity overlap: 43.9% of test entity strings appear in training data, which may inflate seq2seq model performance.
  • IAA: Inter-annotator agreement was entity-level F1=0.83.

License

This benchmark is released under the MIT License.

Downloads last month
106