Detects 54 personal identifier types in Hindi clinical and biomedical text
What it does
This token classification model identifies personal identifiers such as names, addresses, and social security numbers in Hindi clinical and biomedical text. It reports an F1 score of 0.777 on the Hindi subset of the AI4Privacy dataset, with 596M parameters and a 512-token sequence length.
Best for
- De-identifying Hindi medical records
- Redacting personal data from clinical notes
- Anonymizing Hindi biomedical research documents
What it detects (54 labels)
- Account name
- Age
- Amount
- Bank account
- BIC code
- Bitcoin address
- Building number
- City
- County
- Credit card number
- Credit card issuer
- Currency
- Currency code
- Currency name
- Currency symbol
- Card CVV
- Date
- Date of birth
- Ethereum address
- Eye color
- First name
- Gender
- GPS coordinates
- Height
- IBAN
- IMEI
- IP address
- Job department
- Job title
- Last name
- Litecoin address
- MAC address
- Masked number
- Middle name
- Occupation
- Ordinal direction
- Organization
- Password
- Phone
- PIN
- Prefix
- Secondary address
- Sex
- Social security number
- State
- Street
- Time
- URL
- User agent
- Username
- Vehicle identification number
- Vehicle registration
- ZIP code
Quality
| Benchmark | AI4Privacy (Hindi subset) · all models on this benchmark |
|---|---|
| F1 | 0.778 |
| Precision | 0.769 |
| Recall | 0.787 |
| Accuracy | 0.961 |
| Source | Reported by the authors (test_results.json in the repository) |
Use it
pip install transformers torch
from transformers import pipeline
ner = pipeline("token-classification", model="OpenMed/OpenMed-PII-Hindi-QwenMed-XLarge-600M-v1", aggregation_strategy="simple")
print(ner("Patient prescribed 10 mg aspirin for hypertension."))
Android, browser, CPU (ONNX) build
pip install --upgrade "openmed[onnx-runtime]"
from openmed import OnnxModel
model = OnnxModel.from_pretrained("OpenMed/OpenMed-PII-Hindi-QwenMed-XLarge-600M-v1-onnx-android")
for entity in model("The patient started imatinib after the consultation."):
print(entity.to_dict())Limitations stated in the model card
Important: This model is intended as an assistive tool, not a replacement for human review. - False Negatives: Some PII may not be detected; always verify critical applications - Context Sensitivity: Performance may vary with domain-specific terminology - Language: Optimized for Hindi text; may not perform well on other languages
All model information shown here is public and belongs to its authors: use and download it freely under each model’s license. The selection, organization, search design and presentation of this catalog are © 2026 Clinical Corpus. Please link to these pages rather than copy them.