Finds gene and protein mentions in English biomedical text
Extract biomedical entitiesGenes, proteins and cellsEnglishTiny · 66Mapache-2.0
What it does
This model identifies mentions of genes and proteins in English clinical texts and research papers, using a single fixed label. It is a 66M-parameter DistilBERT model with a reported F1 score of 0.858 on the BC2GM benchmark, and it processes sequences up to 512 tokens.
Best for
- Gene mentions in research articles
- Protein names in clinical notes
- Biomedical literature mining
What it detects (1 labels)
- Gene or protein
Quality
| Benchmark | BC2GM · all models on this benchmark |
|---|---|
| F1 | 0.858 |
| Precision | 0.849 |
| Recall | 0.867 |
| Accuracy | 0.955 |
| Source | Reported by the authors (test_results.json in the repository) |
Gene/Protein Entity Recognition - Gene and protein mentions
Use it
pip install transformers torch
from transformers import pipeline
ner = pipeline("token-classification", model="OpenMed/OpenMed-NER-GenomeDetect-TinyMed-66M", 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-GenomeDetect-TinyMed-66M-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-GenomeDetect-TinyMed-66M", 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.