Views
No views yet

OpenMed/OpenMed-PII-mSuperClinical-Large-279M-v1-onnx-android| Field | Value |
|---|---|
| Task | PII token classification |
| Language | English |
| Architecture | DeBERTa-v2 |
| Parameters | 279M (279,000,000) |
| Maximum sequence length | 512 tokens |
| Entity labels | account_number, age, api_key, bank_routing_number, biometric_identifier, blood_type, certificate_license_number, city, company_name, coordinate, country, county, credit_debit_card, customer_id, cvv, date, date_of_birth, date_time, device_identifier, education_level, email, employee_id, employment_status, fax_number, first_name, gender, health_plan_beneficiary_number, http_cookie, ipv4, ipv6, language, last_name, license_plate, mac_address, medical_record_number, occupation, password, phone_number, pin, political_view, postcode, race_ethnicity, religious_belief, sexuality, ssn, state, street_address, swift_bic, tax_id, time, unique_id, url, user_name, vehicle_identifier |
| Source model | OpenMed/OpenMed-PII-mSuperClinical-Large-279M-v1 |
| License | apache-2.0 |
pip install --upgrade "openmed[onnx-runtime]"1from openmed import OnnxModel
2
3model = OnnxModel.from_pretrained("OpenMed/OpenMed-PII-mSuperClinical-Large-279M-v1-onnx-android")
4entities = model("Patient Alice Nguyen can be reached at alice@example.org.")
5
6for entity in entities:
7 print(entity.to_dict())npm install openmed @huggingface/transformers onnxruntime-web1import { loadOnnxModel } from "openmed";
2
3const repo = "OpenMed/OpenMed-PII-mSuperClinical-Large-279M-v1-onnx-android";
4const model = await loadOnnxModel(repo);
5const entities = await model("Patient Alice Nguyen can be reached at alice@example.org.");1const model = await loadOnnxModel(repo, {
2 variant: "fp16",
3 device: "webgpu",
4});settings.gradle.kts:1dependencyResolutionManagement {
2 repositories {
3 google()
4 mavenCentral()
5 maven {
6 url = uri("https://jitpack.io")
7 content { includeGroup("com.github.maziyarpanahi") }
8 }
9 }
10}master branch:1dependencies {
2 implementation("com.github.maziyarpanahi:openmed:master-SNAPSHOT")
3}1import com.openmed.openmedkit.OpenMedKit
2
3OpenMedKit.fromDirectory(modelDirectory).use { model ->
4 val entities = model.analyzeText("Patient Alice Nguyen can be reached at alice@example.org.")
5}| Artifact | Recommended use |
|---|---|
model_int8.onnx | CPU, WebAssembly, and Android default |
model_fp16.onnx | WebGPU and compatible accelerated runtimes |
model.onnx | Full-precision reference |
model.ort | Custom ONNX Runtime Mobile integration |
tokenizer.json | Cross-platform tokenizer |
openmed-onnx.json | Runtime contract and operator metadata |
1@misc{panahi2025openmedneropensourcedomainadapted,
2 title={OpenMed NER: Open-Source, Domain-Adapted State-of-the-Art
3 Transformers for Biomedical NER Across 12 Public Datasets},
4 author={Maziyar Panahi},
5 year={2025},
6 eprint={2508.01630},
7 archivePrefix={arXiv},
8 primaryClass={cs.CL}
9}