Views
No views yet

OpenMed/OpenMed-NER-DNADetect-BigMed-560M-v1-onnx-android| Field | Value |
|---|---|
| Task | DNA named-entity recognition |
| Language | English |
| Architecture | XLM-RoBERTa |
| Parameters | 560M (560,000,000) |
| Maximum sequence length | 512 tokens |
| Entity labels | DNA, RNA, cell_line, cell_type, protein |
| Source model | OpenMed/OpenMed-NER-DNADetect-BigMed-560M |
| License | apache-2.0 |
pip install --upgrade "openmed[onnx-runtime]"1from openmed import OnnxModel
2
3model = OnnxModel.from_pretrained("OpenMed/OpenMed-NER-DNADetect-BigMed-560M-v1-onnx-android")
4entities = model("A BRCA1 mutation was detected in the tumor sample.")
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-NER-DNADetect-BigMed-560M-v1-onnx-android";
4const model = await loadOnnxModel(repo);
5const entities = await model("A BRCA1 mutation was detected in the tumor sample.");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("A BRCA1 mutation was detected in the tumor sample.")
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 |
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}