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

OpenMed-NER-ChemicalDetect-PubMed-v2-109M

Detects chemical and drug names in English biomedical literature

Extract biomedical entitiesDrugs and chemicalsEnglishSmall · 109Mapache-2.0

What it does

This model identifies chemical compounds and drugs in English biomedical literature, including clinical texts and research papers. It reports an F1 score of 0.949 on the BC4CHEMD benchmark, using a BERT backbone with 109 million parameters.

Best for

  • Drug interaction detection in research papers
  • Medication extraction from patient records
  • Adverse event monitoring in literature

What it detects (1 labels)

  • Chemical or drug

Quality

Benchmark BC4CHEMD · all models on this benchmark
F10.949
Precision0.942
Recall0.956
Accuracy0.989
SourceReported by the authors (test_results.json in the repository)

Chemical Entity Recognition - Identifies chemical compounds and substances in biomedical literature

Use it

pip install transformers torch

from transformers import pipeline
ner = pipeline("token-classification", model="OpenMed/OpenMed-NER-ChemicalDetect-PubMed-v2-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-ChemicalDetect-PubMed-v2-109M-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-ChemicalDetect-PubMed-v2-109M", config=OpenMedConfig(backend="mlx"))
for e in result.entities:
    print(e.label, e.text)

← 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.