This is an OpenMed token-classification checkpoint intended for Turkish
(tr) personally identifiable information (PII) and protected health
information (PHI) span detection.
tr)Snowflake/snowflake-arctic-embed-l-v2.0from transformers import pipeline
model_id = "OpenMed/OpenMed-PII-Turkish-SnowflakeMed-Large-568M-v1"
detector = pipeline(
"token-classification",
model=model_id,
aggregation_strategy="simple",
)
text = "Örnek hasta Ayşe Yılmaz'ın e-posta adresi ayse.yilmaz@example.com ve telefon numarası +90 555 000 00 00."
print(detector(text))
The checkpoint's configured id2label mapping is authoritative for the
available entity labels. Preserve returned character offsets when applying
redaction or replacement.
No verified Turkish evaluation artifact was available during this metadata repair, so this card intentionally reports no language-specific scores. Evaluate direct-identifier recall, false negatives, span boundaries, and domain shift on representative data before deployment.
This model can miss identifiers or over-redact clinically useful context. It is not an anonymization guarantee, a compliance determination, or a medical device. Use defense in depth and human review for high-sensitivity workflows. Do not include real patient information in public examples, logs, or issue reports.
Have the files? Publish a torrent.
Publish a torrentHave the complete files and permission to share them? Replace the example folder path. The script checks the files, makes a torrent and submits its magnet and checksums. Keep your torrent client seeding. Get your community key from your settings, and read the script before running it.
curl -fsSL https://pirateface.co/package.sh | bash -s -- --repo OpenMed/OpenMed-PII-Turkish-SnowflakeMed-Large-568M-v1 ./model-folderSnowflake/snowflake-arctic-embed-l-v2.0