Extracts 16 cancer-related entity types from English biomedical text
Extract biomedical entitiesCancer and oncologyEnglishSmall · 109Mapache-2.0
What it does
This model performs named-entity recognition for cancer genetics, identifying entities such as Cancer, Gene or gene product, and Organism substance in English clinical and research documents. It reports an F1 score of 0.732 on the BioNLP 2013 Cancer Genetics test set, with 109M parameters and a 512-token input limit.
Best for
- Entity extraction from cancer research papers
- Mining clinical notes for oncology terms
- Building biomedical knowledge graphs
What it detects (16 labels)
- Amino acid
- Anatomical system
- Cancer
- Cell
- Cellular component
- Developing anatomical structure
- Gene or gene product
- Immaterial anatomical entity
- Multi-tissue structure
- Organ
- Organism
- Organism subdivision
- Organism substance
- Pathological formation
- Simple chemical
- Tissue
Quality
| Benchmark | BioNLP 2013 Cancer Genetics · all models on this benchmark |
|---|---|
| F1 | 0.732 |
| Precision | 0.720 |
| Recall | 0.744 |
| Accuracy | 0.897 |
| Source | Reported by the authors (test_results.json in the repository) |
Cancer Genetics - Cancer-related genetic entities
Use it
pip install transformers torch
from transformers import pipeline
ner = pipeline("token-classification", model="OpenMed/OpenMed-NER-OncologyDetect-ElectraMed-109M", 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-NER-OncologyDetect-ElectraMed-109M-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-NER-OncologyDetect-ElectraMed-109M", config=OpenMedConfig(backend="mlx"))
for e in result.entities:
print(e.label, e.text)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.