Downloads · 30 days
17
28% of all-time downloads
avkay-llama/modernbert-pii-v0.1
modernbert-pii-v0.1 is a token classification model from avkay-llama. Use it when you need labels on individual words, such as names. It is set up for transformers. The card lists the license as apache-2.0.
ModernBERT-base fine-tuned for PII/PHI span detection over a 169-label BIO space derived from a versioned 84-concept ontology.
Downloads · 30 days
17
28% of all-time downloads
All-time downloads
61
Public
Parameters
150M
599 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors599 MB · 99%
From the Hugging Face model README
ModernBERT-base fine-tuned for PII/PHI span detection over a 169-label BIO space derived from a versioned 84-concept ontology.
| base model | answerdotai/ModernBERT-base |
| objective | scheme-aware marginal loss (not plain cross-entropy) |
| steps | 33,100 |
| max length | 512 |
| label level | core (ontology v0.1) |
| seed | 0 |
The 32 source corpora annotate different label sets. A corpus that
annotates 7 concepts tags every email and phone number as O — under plain
cross-entropy those become hard negatives and the model unlearns them. Instead
each token is trained against the set of labels consistent with its
annotation: for O, that is O plus every concept the source dataset does not
annotate.
ai4privacy/legacy-tiersai4privacy/open-pii-500kai4privacy/openpii-1.5malrosait/russian-piibccard/openpii-financebob14/korean-sensitivebtx24/turkish-piicareons/dutch-healthcare-piidatafog/test-corpusdataiku/kijidialogpiie3jsi/multi-pii-nerfelipe53/name-judgmentgrascco/multigrascco/pii-v2gretel/pii-finance-multilingualgretel/pii-masking-enkdpiikeler/turkish-medical-deid-evalkierandesmond/gdpr-special-categorieslacuna/piilocaldoc/azerbaijani-piimeddocanmeddoplacemeddoprofnisaefendiolu/code-secretsnutrient/docpiinvidia/nemotron-piipresidio/research-evalsidharth/indicphitab/text-anonymization-benchmarktonicai/privacy-benchderived in the corpus; they train but were never scored.