alt.freeweights.vision / llama-ai4privacy-multilingual-categorical-anonymiser-openpii
From: ai4privacy <huggingface.co/ai4privacy>Newsgroups: alt.freeweights.visionSubject:

llama-ai4privacy-multilingual-categorical-anonymiser-openpii

Date: 2026-11-15Commit: 83ef30dSigned: 2DC28CC7B26A283B ✓

Token classification model with 150M parameters. Onnx and safetensors weights, 2.54 GB in all. Published by ai4privacy under MIT.

150M params2.54GBllama-ai4privacy-multilingual-categorical-anonymiser-openpiionnx safetensorspermissive
FactsParams150MSize2.54 GBFormatsonnx, safetensorsTasktoken classificationLicenseMITFrom sourcepermissive
$ fw get ai4privacy/llama-ai4privacy-multilingual-categorical-anonymiser-openpii
# manifest sha256 888aeae75688… · 2.54 GB · 15 files
$ fw verify ./llama-ai4privacy-multilingual-categorical-anonymiser-openpii ai4privacy/llama-ai4privacy-multilingual-categorical-anonymiser-openpii
From sourceHosted (signed)ai4privacy/llama-ai4privacy-multilingual-categorical-anonymiser-openpiiLast check: 2026-11-15 05:04 UTC

Get help: custom fine-tune or private deploy. We review your setup before we quote.

Quantized of ModernBERT-base.

Works with

Overview

Size
2.54 GB
Weights
599 MB (safetensors)
Parameters
150M
Formats
onnx, safetensors
Task
token classification
License
MIT (permissive)
Files
15, each with a sha256
Publisher
ai4privacy
Added
2026-11-15
Section
alt.freeweights.vision
Lineage

Original release from the publisher.

Base model: answerdotai/ModernBERT-base

Where these bytes come from
Publisher at the pinned commit→You

Sources are tried in order. A file counts only when its size and sha256 match the manifest. Sources are checked when you ask for them, not on a timer.

Sources
BadgeHostLast checkResult
From sourcehuggingface.co2026-11-15 05:04 UTCpassed

Model card

From the publisher at commit 83ef30d. Shown as plain text with links; images open at the publisher.

Multilingual Anonymiser OpenPII (Ai4Privacy)#

This model is designed to redact and classify Personally Identifiable Information (PII) from multilingual text. It has been fine-tuned on the open-pii-masking-500k-ai4privacy dataset and supports multiple languages, including French (fr), English (en), German (de), Telugu (te), Hindi (hi), Italian (it), Spanish (es), and Dutch (nl).


Evaluation Metrics#

The table below summarizes the detailed evaluation results per PII label. Metrics are presented as percentages rounded to two decimal places. For the "O" (Non-PII) label, precision, recall, and F1 score are not applicable (n/a) due to the absence of true positives.

LabelTPFPFNAccuracyPrecisionRecallF1 Score
O (Non-PII)0734098.97%n/an/an/a
GIVENNAME662366135286.73%90.93%94.95%92.90%
SURNAME278687716272.84%76.06%94.50%84.28%
CITY176321622579.99%89.09%88.68%88.88%
DATE21951399.82%99.95%99.86%99.91%
AGE1767295.14%96.17%98.88%97.51%
EMAIL298100100.0%100.0%100.0%100.0%
CREDITCARDNUMBER601573586.72%91.34%94.50%92.89%
SEX10345169.13%69.59%99.04%81.75%
SOCIALNUM3641342070.27%73.09%94.79%82.54%
TIME16311399.76%99.94%99.82%99.88%
TELEPHONENUM353710999.47%99.72%99.75%99.73%
IDCARDNUM154031414876.92%83.06%91.23%86.96%
ZIPCODE311391684.97%88.86%95.11%91.87%
DRIVERLICENSENUM2961432663.66%67.43%91.93%77.79%
PASSPORTNUM4822852560.86%62.84%95.07%75.67%
TITLE224687860.54%76.71%74.17%75.42%
BUILDINGNUM292451483.19%86.65%95.42%90.85%
STREET12721556785.14%89.14%94.99%91.97%
TAXNUM4711013477.72%82.34%93.27%87.47%
GENDER12335973.65%77.85%93.18%84.83%
Overall Evaluation#
  • Accuracy: 95.03%
  • Precision: 87.61%
  • Recall: 95.76%
  • F1 Score: 91.50%
  • Total True Positives (TP): 27,771
  • Total False Positives (FP): 3,928
  • Total False Negatives (FN): 1,229
Macro-Averaged Metrics#
  • Accuracy: 82.17%
  • Precision: 80.99%
  • Recall: 89.96%
  • F1 Score: 84.91%

Model Behavior & Limitations#

  • Evaluation Focus: The metrics above reflect performance on the test split of the open-pii-masking-500k-ai4privacy dataset. This model both redacts and classifies PII into specific categories (e.g., GIVENNAME, EMAIL). Real-world performance may vary depending on text domain and language, so additional validation is recommended. For support, contact support@ai4privacy.com.
  • Strengths:
    • High recall (95.76%) ensures most PII is detected.
    • Exceptional performance on labels like "EMAIL" (100% F1), "DATE" (99.91% F1), and "TIME" (99.88% F1).
  • Limitations:
    • Lower precision for labels such as "PASSPORTNUM" (62.84%) and "DRIVERLICENSENUM" (67.43%), indicating a higher rate of false positives.
    • The "O" (Non-PII) label has no true positives, making precision, recall, and F1 score not applicable (n/a).

Disclaimer#

This model card details the evaluation metrics and fine-tuning parameters for the multilingual anonymiser with PII classification capabilities. Please note:

  • The model is provided as-is under the MIT License.
  • It is intended for both redaction and PII classification purposes.
  • Users should thoroughly test and evaluate its performance on their specific datasets before deploying in production environments.

Ai4Privacy – Committed to protecting personal data in the age of AI.


Files

15 files · 2.54 GBWeights 599 MB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 15 files with their sha256
FileSizesha256
.gitattributes1.52 KB11ad7efa24975ee4b0c3c3a38ed18737f0658a5f75a0a96787b576a78a023361
README.md6.07 KBb76cc8a02fa564045090e7bc72cf3a4363f7dc0c25786bac5109a32edd6ae13d
config.json3.13 KB2d658bd91c0f0cae9317cfd26184e0dd2acbaefa1bd27f2a7fae5e76f02f6463
model.safetensors599 MB400b96e14b636df9ee6305e37e7986095e40d0e1840f3c1a907584986fa66c0c
onnx/model.onnx599 MB952d52e981d1e2acaff9dc80e746b1aa3a865812ce137f5e8fb0ebd2ad22ebfc
onnx/model_bnb4.onnx218 MBd73413bef7b80f065df542e346894c09d1fff56ff16290b159d2379a0510528a
onnx/model_fp16.onnx300 MB0b2199d8f7fb5d905c107fc00a4ada71bd4a546e1e6a765d8bce9afd4a49b5a8
onnx/model_int8.onnx151 MB8e8af012cee32e14820f13bdc855868f6984e507dff84d92abbe2eeaf713e43f
onnx/model_q4.onnx225 MB4dec10b22b468f3ba71b43a0996939815a214d9836eb63b366645be66d515567
onnx/model_q4f16.onnx140 MB494a25b9acac44f27b03b315e5c79a3401e7bc4b1c46778857bd2a12dccc74aa
onnx/model_quantized.onnx151 MB8e8af012cee32e14820f13bdc855868f6984e507dff84d92abbe2eeaf713e43f
onnx/model_uint8.onnx151 MB4caf5dec49bfffef3ab643fd51d2c361e614cd7dd6f6b6794f3ce5a5c1dc71c0
special_tokens_map.json694 Bea97ecdbcc73713039d8d64dbb05e3689495c96657fbd9a18f5bed381be81049
tokenizer.json3.58 MB6c8aaa9a542084f2457eab775d4eeb51f92a70c0fd9de28d5edb0ddec3c08d30
tokenizer_config.json20.8 KB4eb3cf041fb316c7c6ef5be980449e21becd9ab45e0a9790419bac1e04f835d1
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
83ef30d5e7 pinned now2026-11-15 05:04 UTC15 files · 2.54 GB

Use it

$ fw get ai4privacy/llama-ai4privacy-multilingual-categorical-anonymiser-openpii
# manifest sha256 888aeae75688… · 2.54 GB · 15 files
$ fw verify ./llama-ai4privacy-multilingual-categorical-anonymiser-openpii ai4privacy/llama-ai4privacy-multilingual-categorical-anonymiser-openpii
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/ai4privacy/llama-ai4privacy-multilingual-categorical-anonymiser-openpii.json --dir ./llama-ai4privacy-multilingual-categorical-anonymiser-openpii $ python3 fw.py verify ./llama-ai4privacy-multilingual-categorical-anonymiser-openpii ./ai4privacy__llama-ai4privacy-multilingual-categorical-anonymiser-openpii.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download ai4privacy/llama-ai4privacy-multilingual-categorical-anonymiser-openpii --revision 83ef30d5e7c9d113ad80ce745b564cdd2320c5d5 --local-dir ./llama-ai4privacy-multilingual-categorical-anonymiser-openpii

License

Name
MIT License
Id
MIT
Class
Permissive
Redistribution
yes
Listing
Hosted (signed)
Decided
License as declared by the publisher. No person read it. 2026-11-15
Text in
README.md
Text sha256
b76cc8a02fa564045090e7bc72cf3a4363f7dc0c25786bac5109a32edd6ae13d
Terms gate
No extra terms beyond the license.

Read the license text

Licenses are checked against the license table. A custom license passes only after a person reads it.

Provenance

From: ai4privacy <huggingface.co/ai4privacy>Newsgroups: alt.freeweights.visionSubject: llama-ai4privacy-multilingual-categorical-anonymiser-openpiiDate: 2026-11-15Commit: 83ef30dSigned: 2DC28CC7B26A283B ✓
Upstream
ai4privacy/llama-ai4privacy-multilingual-categorical-anonymiser-openpii
Pinned commit
83ef30d5e7c9d113ad80ce745b564cdd2320c5d5
Manifest
llama-ai4privacy-multilingual-categorical-anonymiser-openpii.json · .minisig
Manifest sha256
888aeae75688acadebe842f4fefc5cded26d91887357d4d442ee1fe2399cd7ec
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 05:04 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/ai4privacy/llama-ai4privacy-multilingual-categorical-anonymiser-openpii.json $ curl -O https://freeweights.allternit.com/manifests/ai4privacy/llama-ai4privacy-multilingual-categorical-anonymiser-openpii.json.minisig $ minisign -Vm llama-ai4privacy-multilingual-categorical-anonymiser-openpii.json -P RWQ7KGqyx4zCLXtUFOqvfv8L3g+8fpKJ1FsuxPyOYMF+4KufbUxKq1Oq $ shasum -a 256 <file> # compare with the Files tab

A manifest whose signature fails must be rejected. A file whose size or sha256 does not match must be discarded. Verify a download

Model tree

Parent

answerdotai/ModernBERT-base · this model is a quantization of it

1 model in the catalog name this one as their parent.

Quantizations
1
Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download ai4privacy/llama-ai4privacy-multilingual-categorical-anonymiser-openpii
Open in Freeweights Studio

Pull, verify and run it in the Allternit app on Desktop, web or phone.

Signed manifest
minisign, key 2DC28CC7B26A283B. llama-ai4privacy-multilingual-categorical-anonymiser-openpii.json. Provenance. Takedown history: none.

Variants

1 quantized or adapter build of llama-ai4privacy-multilingual-categorical-anonymiser-openpii. Each has its own license check and page.

From: dima806 <huggingface.co/dima806>Subject: ai_vs_real_image_detection
From: legekka <huggingface.co/legekka>Subject: AI-Anime-Image-Detector-ViT
From: onnx-community <huggingface.co/onnx-community>Subject: AI-Anime-Image-Detector-ViT-ONNX
From: AICodexLab <huggingface.co/AICodexLab>Subject: answerdotai-ModernBERT-base-ai-detector
From: onnx-community <huggingface.co/onnx-community>Subject: answerdotai-ModernBERT-base-ai-detector-ONNX
From: onnx-community <huggingface.co/onnx-community>Subject: bart-large-cnn-ONNX