alt.freeweights.vision / multilang-pii-ner-ONNX
From: onnx-community <huggingface.co/onnx-community>Newsgroups: alt.freeweights.visionSubject:

multilang-pii-ner-ONNX

Date: 2026-11-15Commit: 730c579Signed: 2DC28CC7B26A283B ✓

Token classification model. Onnx weights, 4.59 GB in all. Published by onnx-community under MIT.

vision4.59GBmultilang-pii-ner-ONNXonnxpermissive
FactsParamsnot statedSize4.59 GBFormatsonnxTasktoken classificationLicenseMITFrom sourcepermissive
$ fw get onnx-community/multilang-pii-ner-ONNX
# manifest sha256 e5c75b11c988… · 4.59 GB · 15 files
$ fw verify ./multilang-pii-ner-ONNX onnx-community/multilang-pii-ner-ONNX
From sourceHosted (signed)onnx-community/multilang-pii-ner-ONNXLast check: 2026-11-15 05:06 UTC

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

Quantized of multilang-pii-ner.

Works with

Runs with

Ranked by fit to this model (onnx), then by GitHub stars.

Convert with

Scan with

Overview

Size
4.59 GB
Weights
279 MB (smallest of 8 ONNX variants)
Parameters
not stated
Formats
onnx
Task
token classification
License
MIT (permissive)
Files
15, each with a sha256
Publisher
onnx-community
Added
2026-11-15
Section
alt.freeweights.vision
Lineage

Original release from the publisher.

Base model: Ar86Bat/multilang-pii-ner

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:06 UTCpassed

Model card

From the publisher at commit 730c579. Shown as plain text with links; images open at the publisher.

multilang-pii-ner (ONNX)#

This is an ONNX version of Ar86Bat/multilang-pii-ner. It was automatically converted and uploaded using this Hugging Face Space.

Usage with Transformers.js#

See the pipeline documentation for token-classification: https://huggingface.co/docs/transformers.js/api/pipelines#module_pipelines.TokenClassificationPipeline


Multilingual PII NER#

A multilingual transformer model (xlm-roberta-base) fine-tuned for Named Entity Recognition (NER) to detect and mask Personally Identifiable Information (PII) in text across English, German, Italian, and French.

Model Description#

  • Architecture: XLM-RoBERTa Base
  • Task: Named Entity Recognition (NER) for PII detection and masking
  • Languages: English, German, Italian, French
  • Training Data: ai4privacy/open-pii-masking-500k-ai4privacy (CoNLL format)
  • License: MIT

Intended Uses & Limitations#

  • Intended use: Detect and mask PII entities in multilingual text for privacy-preserving applications.
  • Not suitable for: Use cases requiring perfect recall/precision on rare or ambiguous PII types without further fine-tuning.

How to Use#

from transformers import AutoTokenizer, AutoModelForTokenClassification, pipeline

model_id = "Ar86Bat/multilang-pii-ner"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForTokenClassification.from_pretrained(model_id)

nlp = pipeline("ner", model=model, tokenizer=tokenizer, aggregation_strategy="simple")
text = "John Doe was born on 12/12/1990 and lives in Berlin."
results = nlp(text)
print(results)

Evaluation Results#

  • Overall accuracy: 99.24%
  • Macro F1-score: 0.954
  • Weighted F1-score: 0.992
Entity-level highlights#
  • High F1-scores (>0.97) for common entities: AGE, BUILDINGNUM, CITY, DATE, EMAIL, GIVENNAME, STREET, TELEPHONENUM, TIME
  • Excellent performance on EMAIL and DATE (F1 ≈ 0.999)
  • Lower F1-scores for challenging/rare entities: DRIVERLICENSENUM (F1 ≈ 0.85), GENDER (F1 ≈ 0.83), PASSPORTNUM (F1 ≈ 0.88), SURNAME (F1 ≈ 0.85), SEX (F1 ≈ 0.84)

Training & Validation#

  • Preprocessing, training, and validation scripts are available in the GitHub repository.
  • All model artifacts and outputs are in the model/ directory.
  • Training hyperparameters:
    • num_train_epochs=2 # Total number of training epochs
    • per_device_train_batch_size=32 # Batch size for training
    • per_device_eval_batch_size=32 # Batch size for evaluation

Citation#

If you use this model, please cite the repository:

@misc{ar86bat_multilang_pii_ner_2025,
  author = {Arif Hizlan},
  title = {Multilingual PII NER},
  year = {2025},
  howpublished = {\\url{https://huggingface.co/Ar86Bat/multilang-pii-ner}}
}

GitHub Repository#

https://github.com/Ar86Bat/multilang-pii-ner

License#

MIT License

Files

15 files · 4.59 GBWeights 279 MB (smallest of 8 ONNX variants). Sizes and sha256 from the signed manifest.
Hide all 15 files with their sha256
FileSizesha256
.gitattributes1.57 KB34448b82c17d60fec9b65b1f093c115ddbaadc04beb1b0140b6bfed2e012a930
README.md3.48 KB814b7e7e2d7e8cfffba9d81be60f291c6268676d685874f01640000dd05be3bc
config.json2.35 KB3503fb27021640b315b1e7636933f7df9c209746251cae4975bdef46be4e8158
onnx/model.onnx1.11 GB2ffd60f1bb7b03dc899eb612cb78834248cbb9b42755c14de2868a72131f6509
onnx/model_bnb4.onnx818 MBef351699a879680b4fb20d050c8ba237b1a21fd4f46705367b0d75635a6ddc43
onnx/model_fp16.onnx555 MBe4903e69253b0aa1c1d018d12dfe18689ea0ac40382cb72308d8e7c8724edfad
onnx/model_int8.onnx279 MB1d02f3829ad90d95dea5e64d35f5528f96d7b223c1e056a96075c6229a484356
onnx/model_q4.onnx824 MB3b1a1b7bd27c3d084215a8a7af61a3ded300e5aaeca8420ea4b0388523601b8e
onnx/model_q4f16.onnx433 MBa7eaec97fb74b3cc030009bc29be063db7f969631c28b86ebceb0414d0f963ab
onnx/model_quantized.onnx279 MB1d02f3829ad90d95dea5e64d35f5528f96d7b223c1e056a96075c6229a484356
onnx/model_uint8.onnx279 MB4718468e21632d66a66d6b7261a13fafef67f552ee4a38b8f38746898934e9cd
quantize_config.json310 B9b60b5877b9a1687b5cddbc06124a974cb7536af9dbf5295279bf73c3823170c
special_tokens_map.json964 B8c785abebea9ae3257b61681b4e6fd8365ceafde980c21970d001e834cf10835
tokenizer.json17.1 MB8373f9cd3d27591e1924426bcc1c8799bc5a9affc4fc857982c5d66668dd1f41
tokenizer_config.json1.29 KB9c8ae206d3538c14363c221d3bf5872fb06bad35b80fd1af7f8cd2cddf257b60
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
730c579658 pinned now2026-11-15 05:06 UTC15 files · 4.59 GB

Use it

$ fw get onnx-community/multilang-pii-ner-ONNX
# manifest sha256 e5c75b11c988… · 4.59 GB · 15 files
$ fw verify ./multilang-pii-ner-ONNX onnx-community/multilang-pii-ner-ONNX
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/onnx-community/multilang-pii-ner-ONNX.json --dir ./multilang-pii-ner-ONNX $ python3 fw.py verify ./multilang-pii-ner-ONNX ./onnx-community__multilang-pii-ner-ONNX.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download onnx-community/multilang-pii-ner-ONNX --revision 730c579658f8258600cc8a069b2fad1615289201 --local-dir ./multilang-pii-ner-ONNX

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
814b7e7e2d7e8cfffba9d81be60f291c6268676d685874f01640000dd05be3bc
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: onnx-community <huggingface.co/onnx-community>Newsgroups: alt.freeweights.visionSubject: multilang-pii-ner-ONNXDate: 2026-11-15Commit: 730c579Signed: 2DC28CC7B26A283B ✓
Upstream
onnx-community/multilang-pii-ner-ONNX
Pinned commit
730c579658f8258600cc8a069b2fad1615289201
Manifest
multilang-pii-ner-ONNX.json · .minisig
Manifest sha256
e5c75b11c988a66241abc3d5f29c2eaac9a1babe220bcf914be51e8b2116f233
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 05:06 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/onnx-community/multilang-pii-ner-ONNX.json $ curl -O https://freeweights.allternit.com/manifests/onnx-community/multilang-pii-ner-ONNX.json.minisig $ minisign -Vm multilang-pii-ner-ONNX.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

Ar86Bat/multilang-pii-ner · this model is a quantization of it

No model in the catalog names this one as its parent.

Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download onnx-community/multilang-pii-ner-ONNX
Open in Freeweights Studio

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

Signed manifest
minisign, key 2DC28CC7B26A283B. multilang-pii-ner-ONNX.json. Provenance. Takedown history: none.
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