New: 3 free searches, no sign-up · Free 7-day trial, no credit card

OpenMed-PII-Vietnamese-ClinicalBGE-Large-335M-v1

Detects 54 personal identifier types in Vietnamese clinical text

De-identify text (PII/PHI)Personal identifiers (PII/PHI)VietnameseMedium · 334Mapache-2.0

What it does

This model performs token classification to identify 54 types of personal identifiers, including names, addresses, and financial details, in Vietnamese clinical and biomedical text. It reports an F1 score of 0.731 on the AI4Privacy and synthetic Vietnamese PII test set.

Best for

  • De-identifying Vietnamese medical records
  • Redacting personal data in clinical notes
  • Anonymizing Vietnamese biomedical research data

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
  • Email
  • 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 + Synthetic Vietnamese PII · all models on this benchmark
F10.731
Precision0.717
Recall0.746
Accuracy0.873
SourceReported by the authors (test_results.json in the repository)

This model was trained on a combination of: - AI4Privacy PII Masking 200K: Multilingual base dataset (200K records across 8 languages) - NVIDIA Nemotron-PII: Seed dataset for synthetic data generation - Synthetic Vietnamese Data: ~25K high-quality samples generated with locale-specific formatting (CCCD format, +84 phones, Vietnamese names, ₫ currency)

Use it

pip install transformers torch

from transformers import pipeline
ner = pipeline("token-classification", model="OpenMed/OpenMed-PII-Vietnamese-ClinicalBGE-Large-335M-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-Vietnamese-ClinicalBGE-Large-335M-v1-onnx-android")
for entity in model("The patient started imatinib after the consultation."):
    print(entity.to_dict())
Apple Silicon (MLX) build
pip install "openmed[mlx]"

from openmed import analyze_text
from openmed.core.config import OpenMedConfig
result = analyze_text("Patient started imatinib in March.", model_name="OpenMed/OpenMed-PII-Vietnamese-ClinicalBGE-Large-335M-v1", config=OpenMedConfig(backend="mlx"))
for e in result.entities:
    print(e.label, e.text)
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 Vietnamese text; may not perform well on other languages

← All free models

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.