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

multilang-pii-ner

Date: 2026-11-15Commit: 2511104Signed: 2DC28CC7B26A283B ✓

Token classification model with 277M parameters. Safetensors weights, 1.13 GB in all. Published by Ar86Bat under MIT.

277M params1.13GBmultilang-pii-nersafetensorspermissive
FactsParams277MSize1.13 GBFormatssafetensorsTasktoken classificationLicenseMITFrom sourcepermissive
$ fw get Ar86Bat/multilang-pii-ner
# manifest sha256 dcea23d942a9… · 1.13 GB · 10 files
$ fw verify ./multilang-pii-ner Ar86Bat/multilang-pii-ner
From sourceHosted (signed)Ar86Bat/multilang-pii-nerLast check: 2026-11-15 03:37 UTC

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

Fine-tune of xlm-roberta-base.

Overview

Size
1.13 GB
Weights
1.11 GB (safetensors)
Parameters
277M
Formats
safetensors
Task
token classification
License
MIT (permissive)
Files
10, each with a sha256
Publisher
Ar86Bat
Added
2026-11-15
Section
alt.freeweights.vision
Lineage

Original release from the publisher.

Base model: FacebookAI/xlm-roberta-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 03:37 UTCpassed

Model card

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

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

10 files · 1.13 GBWeights 1.11 GB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 10 files with their sha256
FileSizesha256
.gitattributes1.57 KB34448b82c17d60fec9b65b1f093c115ddbaadc04beb1b0140b6bfed2e012a930
README.md2.97 KBa3f2ff5823b2ab62a29d67394ad82de6d7581a7a84b1028871ca7950d1c2d8b3
config.json2.26 KB58037a457a9a09540423590483f0223f39c18400a807079f6dbace42b85617e8
model.safetensors1.11 GBb2cbf91cb9f92094c06ea0bd5eb1c86897e95f3285431b230d80fc6e153623aa
sentencepiece.bpe.model5.07 MBcfc8146abe2a0488e9e2a0c56de7952f7c11ab059eca145a0a727afce0db2865
special_tokens_map.json280 B06e405a36dfe4b9604f484f6a1e619af1a7f7d09e34a8555eb0b77b66318067f
tokenizer.json17.1 MB8373f9cd3d27591e1924426bcc1c8799bc5a9affc4fc857982c5d66668dd1f41
tokenizer_config.json1.18 KBccf223ba3d5b3cc7fa6c3bf451f3bb40557a5c92b0aa33f63d17802ff1a96fd9
training_args.bin5.71 KBe91f1ed6691f27df72bf4ba20fefb2691742dddc41bc8d8243a22463632e0aa6
validation_results3.66 KB8531710b6a033199cba265b029a80e197b8e1f0d5c206640272d19430cd04a76
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
25111047e7 pinned now2026-11-15 03:37 UTC10 files · 1.13 GB

Use it

$ fw get Ar86Bat/multilang-pii-ner
# manifest sha256 dcea23d942a9… · 1.13 GB · 10 files
$ fw verify ./multilang-pii-ner Ar86Bat/multilang-pii-ner
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/Ar86Bat/multilang-pii-ner.json --dir ./multilang-pii-ner $ python3 fw.py verify ./multilang-pii-ner ./Ar86Bat__multilang-pii-ner.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download Ar86Bat/multilang-pii-ner --revision 25111047e70291ad9e6194547296846784951fb1 --local-dir ./multilang-pii-ner

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
a3f2ff5823b2ab62a29d67394ad82de6d7581a7a84b1028871ca7950d1c2d8b3
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: Ar86Bat <huggingface.co/Ar86Bat>Newsgroups: alt.freeweights.visionSubject: multilang-pii-nerDate: 2026-11-15Commit: 2511104Signed: 2DC28CC7B26A283B ✓
Upstream
Ar86Bat/multilang-pii-ner
Pinned commit
25111047e70291ad9e6194547296846784951fb1
Manifest
multilang-pii-ner.json · .minisig
Manifest sha256
dcea23d942a911becfc4e439e9c732e9aeff85256d7326651a84c413d3ab7ec3
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 03:37 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

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

FacebookAI/xlm-roberta-base · this model is a finetune 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 Ar86Bat/multilang-pii-ner
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.json. Provenance. Takedown history: none.

Variants

1 quantized or adapter build of multilang-pii-ner. 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