Downloads · 30 days
14
17% of all-time downloads
Cbezz/modernbert-pii
modernbert-pii is a token classification model from Cbezz. Use it when you need labels on individual words, such as names. The card lists the license as apache-2.0.
ModernBERT fine-tuned for token classification (NER) to detect PII in Australian clinical notes. Labels use the BIO scheme over these entity types:
Downloads · 30 days
14
17% of all-time downloads
All-time downloads
81
Public
Parameters
150M
599 MB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors599 MB · 99%
From the Hugging Face model README
ModernBERT fine-tuned for token classification (NER) to detect PII in Australian clinical notes. Labels use the BIO scheme over these entity types:
ACDADDRESSAGEATTENDING_NURSECOUNTRY_OF_BIRTHDATE_OF_BIRTHDVA_NUMBEREMAILFULL_NAMEGUARDIANSHIPIHIMEDICARE_NUMBERMRNNEXT_OF_KINOCCUPATIONOTHER_CLINICAL_STAFFPHONE_NUMBERPREFERRED_NAMEPRIVATE_HEALTH_NUMBERREFERRING_GPSEX_GENDERTREATING_CLINICIANWORKCOVERfrom transformers import pipeline
ner = pipeline("token-classification", model="Cbezz/modernbert-pii", aggregation_strategy="simple")
ner("Patient John Smith, DOB 12/03/1980, MRN 4456219.")