All models

Literature · OpenMed

OpenMed-NER-PathologyDetect-ModernClinical-395M

A biomedical transformer model for extracting disease entity mentions from clinical text and scientific literature.

What OpenMed-NER-PathologyDetect-ModernClinical-395M is

OpenMed-NER-PathologyDetect-ModernClinical-395M is a token classification model developed by OpenMed for disease named entity recognition. Fine-tuned on the NCBI Disease corpus, the model identifies and extracts disease mentions across clinical records, scientific articles, and healthcare documentation.

Automated identification of disease terms assists researchers in tasks such as mining biomedical literature, monitoring adverse events, tracking medication mentions, and constructing biomedical knowledge graphs. The model marks entities using standard BIO tagging notation, identifying both beginning and continuation disease tokens.

The model is intended strictly for research purposes. It is not a certified medical device and must not be used for diagnosis, patient management, or any clinical decision-making.

How it works

The system is built upon the BioClinical-ModernBERT-large architecture and adapted for token classification via the Hugging Face Transformers library. Training was performed using the AdamW optimizer with learning rate scheduling, with evaluation conducted through cross-validation on a held-out test split.

The model processes tokenised biomedical text and assigns label classifications to each token, specifically predicting whether a token belongs to the start or continuation of a disease entity. When integrated into an inference pipeline, adjacent token predictions can be grouped into complete entity spans using aggregation strategies such as simple grouping or score averaging.

Key facts

Base architecture
BioClinical-ModernBERT-large
Task
Named entity recognition (token classification)
Target entities
B-Disease, I-Disease
Training dataset
NCBI Disease corpus
Dataset size
793 PubMed abstracts (6,892 disease mentions)
F1 score
0.88
Precision
0.87
Recall
0.90
Accuracy
0.97
Input modality
Text
Output modality
Token labels with confidence scores
Memory requirement
16 GB GPU memory

What you can use it for

Biomedical Literature Mining
Extracting disease mentions from PubMed abstracts and research publications to support large-scale text mining.
Adverse Event Monitoring
Identifying pathological conditions and disease terms within healthcare records to track adverse drug reactions.
Knowledge Graph Construction
Extracting structured disease concepts from unstructured text to populate biomedical ontologies and knowledge networks.
Clinical Text Parsing
Detecting references to illnesses and syndromes across de-identified healthcare documents for research analysis.

Run it here

No installation and no GPU of your own: fill in the inputs and it runs on our servers. Results stay in your browser unless you sign in.

Runs on On-demand GPU

Runs on our servers with on-demand compute. A first run needs time to load the model; active capacity can be reused and scales down when idle.

Run this model

OpenMed-NER-PathologyDetect-ModernClinical-395M

Entities are labelled token by token.

Needs text

Strengths and limits

Good at

  • Delivers a recall of 0.90 and an overall accuracy of 0.97 on the NCBI Disease benchmark.
  • Trained on a curated gold-standard dataset mapped to MeSH and OMIM disease concepts.
  • Uses the domain-adapted BioClinical-ModernBERT-large base architecture for clinical and biomedical text processing.
  • Integrates with standard Transformers pipelines supporting multiple token aggregation strategies.

Watch out for

  • For research use only: it is not a medical device and must not be used for diagnosis, treatment or any clinical decision.
  • Restricted to research use only and prohibited from clinical diagnosis or patient treatment.
  • Only detects disease entities and does not label other biomedical concepts such as genes, chemicals, or treatments.
  • Demonstrates a lower F1 score (0.88) compared to PubMed-based models in the same OpenMed series on the NCBI Disease benchmark.
  • Requires approximately 16 GB of GPU memory for standard pipeline execution.

Inputs and outputs

You provide

  • Text

    Entities are labelled token by token.

You get back

  • Labels with confidence scores, highest first.

OpenMed-NER-PathologyDetect-ModernClinical-395M API

The same run, from your own code: one HTTP request with an API key, billed in the same credits as the Run button. A fast run answers with its outputs; a longer one answers with a poll_url to read.

bash
curl https://corollary-labs.com/api/v1/models/openmed-openmed-ner-pathologydetect-modernclinical-395m/runs \
  -H "Authorization: Bearer $COROLLARY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "inputs": {
    "text": "<Text>"
  }
}'

Make an API key, then read the models reference.

Licence

Commercial use permitted · apache-2.0

apache-2.0, as the repository declares it. Read by the catalogue intake on 2026-11-28.

Questions

Can I use OpenMed-NER-PathologyDetect-ModernClinical-395M commercially?

Commercial use permitted. apache-2.0, as the repository declares it. Read by the catalogue intake on 2026-11-28.

How do I run OpenMed-NER-PathologyDetect-ModernClinical-395M without installing anything?

Use the form under “Run it here” on this page: fill in the inputs and press Run model. It runs on our servers on CPU only, typically in 30s, and a run costs about 28 credits. Visitors without an account get 1,000 credits a month.

Which entity types can this model identify?

The model classifies disease terms into two token-level tags: B-Disease for the start of a disease mention and I-Disease for subsequent tokens within the same mention.

What training dataset was used?

It was fine-tuned on the NCBI Disease corpus, which comprises 793 PubMed abstracts containing 6,892 disease mentions linked to MeSH and OMIM concepts.

Can this model be used to diagnose patients in clinical practice?

No. The model is released strictly for research purposes and must not be employed as a medical device or used for clinical diagnosis or treatment.

What underlying architecture does the model employ?

The model uses BioClinical-ModernBERT-large as its underlying base architecture.

How to cite it

Maziyar Panahi. OpenMed NER: Open-Source, Domain-Adapted State-of-the-Art Transformers for Biomedical NER Across 12 Public Datasets. arXiv:2508.01630 [cs.CL], 2025.

Written from OpenMed-NER-PathologyDetect-ModernClinical-395M's own documentation (model card). Statements citing a figure that does not appear there are removed before publication. Licence and running details come from our registry.