The model does not guarantee anonymization. Review its output before relying on it for compliance.
Tracer Research / Open-weight model 03
PIIX-560m
An open-weight model for masking private data.
It finds names, emails, account numbers, addresses and API keys in text and masks them. 13 languages. Runs on one GPU or a laptop.
In brief
What is in this release
Three things: the model, a tool to fine-tune it on your own labelled data, and a benchmark for enterprise text. Each can be used without the others.
PIIX-560m
Open weights, Apache 2.0. Detects 25 types of personal data and secrets in 13 languages.
Read about the model ↓ 02 / Fine-tuningAdapters
Fine-tune on a few hundred documents you labelled yourself. The result is a 3.4 MB adapter file. The base model is not modified.
Read about adapters ↓ 03 / The benchmarkPrivacyBench+
TonicAI PrivacyBench v2.5 with corrected labels, and an added set of indirect identifiers.
Read about the benchmark ↓01 / The model
What PIIX-560m does
It takes text in and returns the spans to hide, with their type. We count a span as hidden only if every character of it is masked: masking "Maria" and leaving "Gonzalez" visible counts as a miss.
Parameters. Runs on one GPU, an Apple laptop or a CPU.
English, Russian, German, French, Spanish, Italian, Dutch, Portuguese, Polish, Ukrainian, Turkish, Kazakh, Belarusian.
People, organizations, contact details, identifiers, network data, secrets, dates and sensitive attributes.
Tokens used to train the model.
The model tags every token in the text. A rule layer then catches structured identifiers that follow a known format, such as card numbers, IBANs and API keys. Findings are widened to whole words so that no fragment of a name or number stays visible. Documents of any length are handled through overlapping windows.
There are two settings. Sensitivity (recall) goes from 0 to 8: 0 is the default and masks less, 8 masks as much as possible. The type list (types) limits the output to the types you name, for example "person" or "phone number".
Given name, family name, person, username
Employers, clients, counterparties
Email, phone number, postal address, location
Account number, employee ID, national ID, passport, tax number
URL, IP address, MAC address, hostname
API keys, tokens, passwords, private keys, connection strings
Dates and dates of birth
Age, gender, nationality, medical, financial, HR record
02 / Try it
Examples
Four short texts we wrote for this page, with the output PIIX-560m returned for each combination of settings. The people, companies and credentials are invented.
Settings
Change the text, the sensitivity or the types.
Text03 / Results
Results on PII Arena
PII Arena is an independent benchmark of 41 datasets of personal data and secrets in several languages. Tracer evaluated PIIX-560m on 40 of the 41 frozen v1.0.3 datasets. Each setting covered 40,147 records and 226,720 annotated spans.
Sensitive spans not fully hidden
Lower is better"Not fully hidden" is the share of spans with at least one character still visible after masking. F1 balances coverage against over-masking, on characters. Rows marked * use Arena’s published counts for the same 40 datasets. The submission requests evaluation on the remaining dataset, secrets-rules. View the measurements and reproduction instructions.
At the default setting, PIIX-560m fully hid 90.64% of annotated spans and scored 79.41% character F1. At recall 8 it fully hid 96.54% and scored 69.71% character F1. The higher sensitivity masks more surrounding text.
Arena’s strict scorer reproduced all 80 per-dataset measurements. At recall 8, PIIX-560m missed 2.16% of annotated spans entirely. The four-model ensemble missed 1.44%.
| Model | Gretel PII masking | ai4privacy 300k, English | ai4privacy 300k, five languages |
|---|---|---|---|
| Perplexity PII-Tracer | 95.4 (1.47%) | 95.5 (0.39%) | 95.0 (0.65%) |
| Nym base | 93.9 (12.84%) | 91.4 (13.52%) | 91.2 (13.18%) |
| PIIX-560m | 92.1 (1.19%) | 85.7 (5.99%) | 83.5 (6.53%) |
| OpenAI Privacy Filter | 90.2 (16.16%) | 91.1 (21.11%) | 90.6 (21.00%) |
PIIX-560m is not the best model on these two datasets without fine-tuning. Their labelling rules differ from the ones it learned. After fine-tuning on 1,000 labelled documents it reaches 95.6 on Gretel and 93.7 on ai4privacy English (see the next section).
Per chat message. 61.9 ms per document page.
Per chat message on the laptop GPU. 214 ms per page.
Per chat message. 300 ms per page.
Processed in overlapping 512-token windows.
04 / Adapters
Fine-tuning PIIX-560m on your own data
What counts as private depends on the organization: some need job titles, ticket numbers or product codes masked, others do not. You can fine-tune PIIX-560m on documents you labelled yourself. The output is a small adapter file that is loaded on top of the base model.
How to train an adapter
The fine-tuning script is in the model repository. It keeps part of your labelled documents aside and uses them to test the adapter.
- 01Label
Mark the spans to hide in a few hundred documents. The format is one JSON line per document.
- 02Train
The script trains a LoRA adapter and leaves the base model unchanged. With 400 labelled documents this took 18 seconds on one GPU.
- 03Check
The script scores the adapter on the documents it kept aside and reports whether it improves on the base model: recommended, inconclusive or not recommended.
- 04Use
Pass the adapter folder when loading the model. The file is 3.4 MB, so you can keep one adapter per data source.
pip install torch transformers peft
python piix_finetune.py fit labelled.jsonl --out my_adapter
python piix_finetune.py check new_sample.jsonl --adapter my_adapter
# in your code
from piix import Redactor
redactor = Redactor(adapter="my_adapter")
redactor.redact("Ticket INC-20417 was opened by J. Alvarez.")
An adapter only helps on text similar to what it was trained on. On unrelated text it can do worse than the base model, so keep using the base model there.
05 / The benchmark
PrivacyBench+
PrivacyBench by TonicAI is a public benchmark of enterprise text: chat messages, emails and documents written for fictional employees of 21 companies. While using it we found many missing and incorrect labels, so we corrected them and are releasing the result.
PrivacyBench+ is a modified copy of PrivacyBench v2.5, released under the same CC BY 4.0 licence. The text of the records is unchanged. We changed labels and added a separate file of indirect identifiers.
Missing labels matter for evaluation: when a name has no label, a model that masks it is counted as wrong.
| PrivacyBench v2.5 | PrivacyBench+ | |
|---|---|---|
| Records, text unchanged | 24,251 | 24,251 |
| Labels, human-annotated set (5,854 records, 6 companies) | 25,855 | 26,212 |
| Labels, native set (18,397 records, 21 companies) | 130,370 | 144,192 |
| Spans set aside as unresolved | 0 | 1,861 |
| Indirect identifiers | 0 | 1,365 |
06 / What we corrected
What we corrected
23,707 corrections in total, in four categories. Each one follows the labelling policy and is recorded in the decision log with its reason. The examples are taken from that log.
Category
The bar shows the share of each category.
Scale
How much of the original was affected
Corrections were not concentrated in one place. They appear in every company, in both parts of the dataset and in every entity type. The figures below count what our review found and are not an exhaustive audit.
Across both versions there are 172,265 distinct labels. In the original, 23,707 of them were missing or wrong.
- 148,558correct in the original86.2%
- 16,040missing: an identifier with no label9.3%
- 7,667wrong: boundaries, type, or not an identifier4.5%
2,922 of 24,251 records had at least one label corrected. Each square stands for about 121 records. Their position in the grid is illustrative.
Every company needed corrections, in 8% to 17% of its records.
The human-annotated set (14.3% of records) and the native set (11.3%).
Every type had missing labels. Nine of the ten had wrong ones.
Original labels that were changed or set aside
By entity typeWrong labels are a share of the original labels of that type. Missing labels are a share of the labels of that type after correction. Organizations and addresses account for most wrong labels. Names account for most missing ones: 9,133 given and family names had no label.
| Records with a correction | Original labels wrong | Labels missing | |
|---|---|---|---|
| Human-annotated set (5,854 records, 25,855 labels) | 14.3% | 4.3% | 3.0% |
| Native set (18,397 records, 130,370 labels) | 11.3% | 5.0% | 10.5% |
Labelling policy
The rules we applied
- 01Direct identifiers are always labelled.
Names, including initials, email addresses, usernames, phone numbers, account numbers and full postal addresses.
- 02Organizations are labelled by role.
An employer, client or counterparty is labelled. An internal tool such as Slack, a public body such as the SEC, or a department is not.
- 03Unclear cases are set aside.
When neither the policy nor the context settles a span, it is marked unresolved and is neutral in scoring. It is never counted as a negative.
Some words do not name a person or a company but still reveal one: "737" tells you the employer is Boeing. PrivacyBench+ lists 1,365 products, brands, programmes, tickers and sites that point to a single company, such as "Mounjaro", "Retail Link" and "SkyBonus". They are scored separately from the main labels.
Review record: 28,548 decisions. 13,054 were made by a human reviewer. 15,494 were applied automatically from the written policy and the reviewer's precedents, and were not individually checked by a person.| System | Precision | Recall | F1 |
|---|---|---|---|
| GPT-6 Astra, prompted | 99.4 | 96.9 | 98.1 |
| PIIX-560m | 96.5 | 97.2 | 96.9 |
| Fastino GLiNER2.5-base | 89.3 | 83.4 | 86.2 |
| Perplexity PII-Tracer | 86.1 | 72.9 | 79.0 |
| OpenAI Privacy Filter | 87.6 | 64.1 | 74.1 |
| Microsoft Presidio | 52.6 | 83.7 | 64.6 |
The dataset repository includes a scoring script (Python standard library only), the labelling policy, the decision log and a scorecard with 34 model configurations.
07 / Get it
Download
The model is under Apache 2.0 and the benchmark under CC BY 4.0. The inference code and the fine-tuning script are in the model repository.
Weights, model card, inference code and the rule layer.
Open repository ↗The fine-tuning tool and the guide, in the model repository.
Open the guide ↗Data, labelling policy, scorer, scorecard and decision log.
Open repository ↗Quick start
Download piix.py, rules.py and type_filter.py from the model repository. The weights load from Hugging Face on first use.
Sensitivity. 0 is the default, 4 is in between, 8 masks the most.
A list of type names in plain English. Leave it out to mask everything.
Path to an adapter you trained.
pip install torch transformers safetensors
from piix import Redactor
redactor = Redactor()
redactor.redact("Hi, this is Maria Gonzalez from Acme Corp. "
"Reach me at maria.g@acme.io or +1 415 555 0134.")
# 'Hi, this is [REDACTED] from [REDACTED] Reach me at
# [REDACTED] or [REDACTED]'
redactor.find(["Contact jdoe_91, tel 415-555-0134"],
types=["user name", "phone number"], recall=4)
08 / Limits
Limitations
What the model does not do, and what the results above do not cover.
Higher sensitivity hides more text that did not need hiding. At the default the model masks every date and organization name it finds unless you pass a type list.
On Gretel and ai4privacy, PIIX-560m scores below Perplexity PII-Tracer without fine-tuning. An adapter improves this for one data source at a time.
Products or sites that reveal an employer are only partly covered. On PrivacyBench+ the model hides 4.5% of them at the default setting and 58% at high coverage.
PII Arena results cover 40 of 41 datasets. Figures for other systems are the benchmark's published results and were not rerun by us.
PrivacyBench+ is synthetic and English only. Its corrected labels have not been independently re-annotated, and 1,861 spans remain unresolved.
PIIX-560m and PrivacyBench+
The model card has the full evaluation tables, parameters and limitations. The benchmark card has the data structure, the labelling policy, the scorer and the scorecard.
Citation / BibTeX
@misc{piix560m2026,
title = {PIIX-560m},
author = {Tracer},
year = {2026},
url = {https://huggingface.co/Tracer-ML/PIIX-560m}
}
@misc{privacybenchplus2026,
title = {PrivacyBench+},
author = {Tracer},
year = {2026},
url = {https://huggingface.co/datasets/Tracer-ML/PrivacyBench-Plus}
}
Model: Apache 2.0. Benchmark: CC BY 4.0, a modified copy of PrivacyBench v2.5 by TonicAI.
Sources and notes
Sources and method notes
- PIIX-560m model card: evaluation tables, parameters, entity types and limitations.
- PrivacyBench+ dataset card: structure, labelling policy, scorer, scorecard and changelog.
- PrivacyBench v2.5 by TonicAI, CC BY 4.0, the source of the PrivacyBench+ text.
- PII Arena v1.0.3. PIIX-560m was run with its runner and scorer on 40 datasets. Figures for other systems are its published per-dataset results, summed over the same 40 datasets.
- Gretel PII masking: 5,000 test documents. ai4privacy 300k: 3,000 validation rows per column. All models evaluated with the PII Arena runner and the same scorer.
- Correction counts are computed from the PrivacyBench+ correction log: 16,040 labels added, 4,673 boundaries changed, 1,861 labels set aside and 1,133 types changed. Original label counts per type are reconstructed from the corrected data and the log, and sum to the 156,225 labels of PrivacyBench v2.5.