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.

TracerOpen weightsApache 2.0

PIIX-560m output

          

More examples and settings

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.

Part 01. PIIX-560mThe 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.

Size560M

Parameters. Runs on one GPU, an Apple laptop or a CPU.

Languages13

English, Russian, German, French, Spanish, Italian, Dutch, Portuguese, Polish, Ukrainian, Turkish, Kazakh, Belarusian.

Entity types25

People, organizations, contact details, identifiers, network data, secrets, dates and sensitive attributes.

Training31M

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".

People

Given name, family name, person, username

Organizations

Employers, clients, counterparties

Contact

Email, phone number, postal address, location

Identifiers

Account number, employee ID, national ID, passport, tax number

Technical

URL, IP address, MAC address, hostname

Secrets

API keys, tokens, passwords, private keys, connection strings

Dates

Dates and dates of birth

Sensitive attributes

Age, gender, nationality, medical, financial, HR record

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.

Text
Sensitivity
Types to mask
Output

          
    Masked spans0
    Characters hidden0%
    Settingdefault

    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%.

      Other public benchmarks, without fine-tuning. F1, with the share of spans not fully hidden in parentheses
      ModelGretel PII maskingai4privacy 300k, Englishai4privacy 300k, five languages
      Perplexity PII-Tracer95.4 (1.47%)95.5 (0.39%)95.0 (0.65%)
      Nym base93.9 (12.84%)91.4 (13.52%)91.2 (13.18%)
      PIIX-560m92.1 (1.19%)85.7 (5.99%)83.5 (6.53%)
      OpenAI Privacy Filter90.2 (16.16%)91.1 (21.11%)90.6 (21.00%)
      Note

      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).

      NVIDIA A10026.5 ms

      Per chat message. 61.9 ms per document page.

      Apple M5 Max32 ms

      Per chat message on the laptop GPU. 214 ms per page.

      NVIDIA T448 ms

      Per chat message. 300 ms per page.

      Long documentsAny length

      Processed in overlapping 512-token windows.

      Part 02. AdaptersFine-tuning on your data

      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.

      Number of labelled documents

      Each adapter is trained on documents from one dataset and tested on other documents from the same dataset. Average of three runs.

      F1 on unseen documents
      Gretel PII masking
      0
      ai4privacy, English
      0
      ai4privacy, five languages
      0

      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.

      1. 01Label

        Mark the spans to hide in a few hundred documents. The format is one JSON line per document.

      2. 02Train

        The script trains a LoRA adapter and leaves the base model unchanged. With 400 labelled documents this took 18 seconds on one GPU.

      3. 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.

      4. 04Use

        Pass the adapter folder when loading the model. The file is 3.4 MB, so you can keep one adapter per data source.

      Train and use an adapter
      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.")
      Note

      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.

      Part 03. PrivacyBench+The corrected 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 and PrivacyBench+
      PrivacyBench v2.5PrivacyBench+
      Records, text unchanged24,25124,251
      Labels, human-annotated set (5,854 records, 6 companies)25,85526,212
      Labels, native set (18,397 records, 21 companies)130,370144,192
      Spans set aside as unresolved01,861
      Indirect identifiers01,365

      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.

      Missing labels added16,040

          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.

          Labels About 1 in 7

          Across both versions there are 172,265 distinct labels. In the original, 23,707 of them were missing or wrong.

          Records12.0%

          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.

          Companies21 of 21

          Companies21 of 21

          Every company needed corrections, in 8% to 17% of its records.

          Parts of the dataset2 of 2

          The human-annotated set (14.3% of records) and the native set (11.3%).

          Entity types10 of 10

          Every type had missing labels. Nine of the ten had wrong ones.

          Original labels that were changed or set aside

          By entity type

            Wrong 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.

            The two parts of PrivacyBench v2.5
            Records with a correctionOriginal labels wrongLabels 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%

            The rules we applied

            1. 01
              Direct identifiers are always labelled.

              Names, including initials, email addresses, usernames, phone numbers, account numbers and full postal addresses.

            2. 02
              Organizations 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.

            3. 03
              Unclear 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.

            Indirect identifiers

            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.
            PII detection on the recommended PrivacyBench+ evaluation set, 1,877 records
            SystemPrecisionRecallF1
            GPT-6 Astra, prompted99.496.998.1
            PIIX-560m96.597.296.9
            Fastino GLiNER2.5-base89.383.486.2
            Perplexity PII-Tracer86.172.979.0
            OpenAI Privacy Filter87.664.174.1
            Microsoft Presidio52.683.764.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.

            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.

            Quick start

            Download piix.py, rules.py and type_filter.py from the model repository. The weights load from Hugging Face on first use.

            01
            recall

            Sensitivity. 0 is the default, 4 is in between, 8 masks the most.

            02
            types

            A list of type names in plain English. Leave it out to mask everything.

            03
            adapter

            Path to an adapter you trained.

            Quick start
            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)

            Limitations

            What the model does not do, and what the results above do not cover.

            No guarantee

            The model does not guarantee anonymization. Review its output before relying on it for compliance.

            Over-masking

            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.

            Other datasets

            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.

            Indirect identifiers

            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.

            Benchmark 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.

            Benchmark labels

            PrivacyBench+ is synthetic and English only. Its corrected labels have not been independently re-annotated, and 1,861 spans remain unresolved.

            Links

            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}
            }
            Tracer / November 2026

            Model: Apache 2.0. Benchmark: CC BY 4.0, a modified copy of PrivacyBench v2.5 by TonicAI.

            Try now on Tracer Talk to us

            Sources and notes

            Sources and method notes
            1. PIIX-560m model card: evaluation tables, parameters, entity types and limitations.
            2. PrivacyBench+ dataset card: structure, labelling policy, scorer, scorecard and changelog.
            3. PrivacyBench v2.5 by TonicAI, CC BY 4.0, the source of the PrivacyBench+ text.
            4. 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.
            5. 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.
            6. 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.