Datasets:
Tasks:
Token Classification
Modalities:
Text
Formats:
parquet
Languages:
Slovenian
Size:
10K - 100K
DOI:
License:
File size: 11,096 Bytes
e0169d5 219c490 4cfd0b8 219c490 e0169d5 219c490 4cfd0b8 219c490 4cfd0b8 219c490 4cfd0b8 219c490 7bf42f9 219c490 7bf42f9 219c490 7bf42f9 219c490 7bf42f9 219c490 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 | ---
pretty_name: MultiPII-X
language:
- sl
task_categories:
- token-classification
size_categories:
- 10K<n<100K
source_datasets:
- extended
license:
- cc-by-4.0
tags:
- text
- pii
- privacy
- anonymization
- named-entity-recognition
- fine-grained-ner
- slovene
- multi-domain
- medical
- legal
- telecom
- news
- finance
- banking
- gliner
- gliner2
configs:
- config_name: canonical
default: true
data_files:
- split: train
path: canonical/slovene_pii_train.parquet
- config_name: gliner
data_files:
- split: train
path: gliner/gliner_train.parquet
- config_name: gliner25
data_files:
- split: train
path: gliner25/gliner25_train.parquet
---
# MultiPII-X
## Description
**MultiPII-X** is an extensible fine-grained dataset for personally identifiable information (PII), sensitive-entity recognition, and text anonymization.
Version **1.0** contains Slovene (`sl`) data collected and adapted from multiple source corpora and domains under one unified annotation scheme.
The release contains:
- **15,180** text records
- **89,812** entity annotations
- **56** fine-grained entity types
- **8** normalized source collections
- general, news, telecom, legal, medical, healthcare, finance, and banking domains
The dataset is intended for training and research on fine-grained PII detection, anonymization, and named entity recognition.
MultiPII-X does **not** prescribe an official train/validation/test partition. The complete release is exposed as one `train` split so users can construct splits appropriate to their experiments.
## Dataset representations
MultiPII-X provides three configurations.
### `canonical`
The canonical representation is the authoritative version of the dataset.
```python
from datasets import load_dataset
dataset = load_dataset(
"Nan0NJ/MultiPII-X",
"canonical",
split="train",
)
```
Each record contains:
- `text` — original text
- `tagged` — text with annotated spans replaced by `[ENTITY_TYPE]`
- `source` — normalized provenance/source identifier
- `domain` — text domain
- `language` — ISO language code (`sl`)
- `entities` — character-level entity annotations
- `gliner_tokenized_text` — derived word tokens for classic GLiNER
- `gliner_entities` — derived token-level entities where exact representation is possible
Each canonical entity contains:
```json
{
"start": 0,
"end": 5,
"text": "Janez",
"entity_type": "NAME_GIVEN",
"entity_group": "PERSON"
}
```
Character offsets are zero-based and use an exclusive end offset:
```python
text[start:end] == entity["text"]
```
The `entities` field is the source of truth for annotation boundaries.
### `gliner`
A convenience representation for classic [GLiNER](https://github.com/urchade/GLiNER).
```python
dataset = load_dataset(
"Nan0NJ/MultiPII-X",
"gliner",
split="train",
)
```
The representation contains:
- `tokenized_text`
- `ner`
Entity spans use zero-based token indices with an inclusive end index.
The classic GLiNER export contains **14,631** complete examples. The remaining **549** canonical rows contain character-level entity boundaries that cannot be represented exactly by the classic word-token representation without modifying the annotation. They remain available in `canonical` and `gliner25`.
The native JSONL representation is also provided in:
```text
gliner/gliner_train.jsonl
```
### `gliner25`
A convenience representation for [GLiNER2 / GLiNER2.5](https://github.com/fastino-ai/GLiNER2).
```python
dataset = load_dataset(
"Nan0NJ/MultiPII-X",
"gliner25",
split="train",
)
```
All **15,180** records are available in this representation.
The native JSONL representation is also provided in:
```text
gliner25/gliner25_train.jsonl
```
## Dataset sources
MultiPII-X is a derived and reannotated resource. The original source datasets remain separate works and should be cited according to their respective terms.
The normalized `source` field contains the following values:
- `tanaos` — **7,612** records
- `gigafida` — **2,125** records
- `eeisenzopf` — **1,494** records
- `kurkowski` — **1,026** records
- `COLESLAW` — **1,000** records
- `PoVeJMo-VeMo-Med` — **1,000** records
- `telekom_synthetic` — **500** records
- `e3-jsi` — **423** records
### Upstream resources
- [Tanaos Text Anonymizer Training Dataset](https://huggingface.co/datasets/tanaos/synthetic-text-anonymizer-dataset-v1)
- [Contextual Text Anonymizer Dataset](https://huggingface.co/datasets/kurkowski/synthetic-contextual-anonymizer-dataset)
- [Corpus of Written Standard Slovene Gigafida 2.0](https://www.clarin.si/repository/xmlui/handle/11356/1320)
- [Telecom Conversation Corpus](https://huggingface.co/datasets/eisenzopf/telecom-conversation-corpus)
- [E3-JSI Synthetic Multi-Domain PII NER Dataset](https://huggingface.co/datasets/E3-JSI/synthetic-multi-pii-ner-v1)
- [PoVeJMo-VeMo-Med 1.0](https://www.clarin.si/repository/xmlui/handle/11356/1983)
- [COLESLAW 1.0](https://www.clarin.si/repository/xmlui/handle/11356/2095)
`telekom_synthetic` is additional telecom-oriented synthetic material included in the MultiPII-X construction process rather than a separately published upstream dataset.
Full citation metadata for upstream resources is provided in `CITATION.cff`.
## Domains
The current Slovene release contains the following domains:
- `general` — 8,742 records
- `news` — 2,125 records
- `telecom` — 1,994 records
- `legal` — 1,065 records
- `medical` — 1,000 records
- `banking` — 94 records
- `finance` — 82 records
- `healthcare` — 78 records
The `e3-jsi` subset retains its original domain assignments.
## Entity types
MultiPII-X v1.0 defines **56 fine-grained entity types**.
The fine-grained `entity_type` is the model target. `entity_group` is additional metadata and should not replace the fine-grained label during training.
### PERSON
`NAME_GIVEN`, `NAME_FAMILY`, `NAME_ALIAS`
### TEMPORAL
`DATE_OF_BIRTH`, `DATE`, `AGE`, `PASSPORT_EXPIRATION`, `CREDIT_CARD_EXPIRATION`
### CONTACT
`EMAIL_ADDRESS`, `PHONE_NUMBER`
### LOCATION
`LOCATION_ADDRESS`, `LOCATION_CITY`, `LOCATION_ZIP`, `LOCATION_OTHER`, `LOCATION_COORDINATES`
### FINANCIAL
`BANK_ACCOUNT`, `CREDIT_CARD`
### IDENTIFIER
`SSN`, `PASSPORT_NUMBER`, `INTERNAL_ID`, `IMEI`, `IMSI`, `RIO`, `HEALTH_INSURANCE_ID`, `DRIVER_LICENSE_NUMBER`, `STUDENT_ID`, `INSURANCE_ID`, `REGISTRATION_NUMBER`, `VEHICLE_REGISTRATION_NUMBER`, `SERIAL_NUMBER`, `RESERVATION_NUMBER`, `TRANSACTION_ID`, `VISA_NUMBER`, `BIRTH_CERTIFICATE_NUMBER`, `TRAIN_TICKET_NUMBER`, `IDENTITY_DOCUMENT_NUMBER`
### DIGITAL
`USERNAME`, `URL`, `IP_OR_MAC`
### CONTEXTUAL
`ORGANIZATION`, `PRODUCT`
### SECRET
`TAX_ID`, `PIN`, `PUK`, `CVV`, `PASSWORD`, `SIM_CODE`, `ACTIVATION_CODE`, `VERIFICATION_CODE`, `AUTH_TOKEN`
### MISC
`CURRENCY_AMOUNT`, `MEASUREMENT`, `RATIO`
### HEALTH
`MEDICAL_CONDITION`, `MEDICATION`, `BLOOD_TYPE`
Detailed label definitions are available in `label_registry.json`.
## Annotation conventions
MultiPII-X uses exact span annotations under a unified fine-grained ontology.
Important conventions include:
- **Full entity spans.** The complete intended entity is annotated.
- **Slovene suffix absorption.** Inflectional endings attached to protected entities are included in the entity span.
- **Honorific exclusion.** Titles such as `gospod`, `gospa`, `dr.`, and `prof.` remain outside personal-name annotations.
- **No clock-time tagging.** Clock times are not annotated as `DATE`.
- **Fine-grained secret labels.** Tax IDs, PINs, PUKs, CVVs, passwords, SIM codes, activation codes, verification codes, and authentication tokens use dedicated labels.
- **Fine-grained numeric labels.** Monetary amounts, measurements, and ratios use `CURRENCY_AMOUNT`, `MEASUREMENT`, and `RATIO`.
Raw source text is preserved in `text`. Character-level entities are authoritative.
## Construction
The source material was translated, adapted, sampled, reannotated, or otherwise transformed as appropriate for each upstream resource and normalized into the common MultiPII-X ontology.
The final release contains all **15,180** prepared records and all **89,812** final annotations.
The construction pipeline validated:
- entity labels against the frozen ontology
- ordered and non-overlapping character spans
- exact `text[start:end]` recovery
- deterministic reconstruction of `tagged`
- source, domain, and language normalization
- derived classic GLiNER token spans
- GLiNER2/2.5 representation compatibility
Rare labels and zero-entity records are intentionally retained.
The release contains **634** zero-entity records.
## Intended use
MultiPII-X is intended for:
- fine-grained PII and sensitive-entity recognition
- text anonymization and pseudonymization research
- NER model training and fine-tuning
- cross-domain PII detection
- evaluation of domain adaptation and label generalization
- GLiNER and GLiNER2/2.5 fine-tuning
- research on privacy-preserving NLP for Slovene
The canonical representation is model-agnostic and can be converted for architectures other than GLiNER.
## Limitations
- Version 1.0 contains Slovene only.
- Entity frequencies are intentionally imbalanced.
- Some fine-grained labels contain very few examples.
- Several source collections are synthetic or translated and should not be treated as representative samples of naturally occurring Slovene.
- Domains differ substantially in style, length, and annotation density.
- The model-specific exports inherit representation-specific limitations from their target model formats.
- MultiPII-X is a research resource and does not itself establish legal or regulatory compliance for deployed anonymization systems.
## License
MultiPII-X is released under the **Creative Commons Attribution 4.0 International (CC BY 4.0)** license.
Users may share and adapt the dataset, including for commercial use, provided appropriate attribution is given and changes are indicated.
Upstream source datasets and corpora retain their own attribution requirements. See `CITATION.cff` for provenance and source citations.
## Citation
If you use **MultiPII-X** in your research, please cite:
**DOI:** [10.57967/hf/10725](https://doi.org/10.57967/hf/10725)
```bibtex
@misc{jakovchevski2026multipiix,
author = {Nenad Jakovchevski},
title = {MultiPII-X},
year = {2026},
publisher = {Hugging Face},
doi = {10.57967/hf/10725},
url = {https://huggingface.co/datasets/Nan0NJ/multiPII-x}
}
```
## Author
**Nenad Jakovchevski**
Department of Knowledge Technologies
Jožef Stefan Institute
Ljubljana, Slovenia
## Acknowledgements
MultiPII-X builds on multiple existing datasets and corpora. Their creators and maintainers are acknowledged in `CITATION.cff`.
Part of the annotation methodology builds on prior work on fine-grained PII anonymization in Slovene:
*Nenad Jakovchevski and Matej Martinc. Privacy-Preserving NLP for a Low-Resource Language: Benchmarking LLM-Based Personally Identifiable Information Anonymization in Slovene. CLEF 2026.*
|