All models

Literature · OpenMed

OpenMed-NER-PathologyDetect-PubMed-v2-109M

A 109M-parameter transformer for extracting disease entity mentions from biomedical literature and clinical text.

What OpenMed-NER-PathologyDetect-PubMed-v2-109M is

OpenMed-NER-PathologyDetect-PubMed-v2-109M is a token-classification transformer developed by OpenMed for named entity recognition in healthcare text. It is fine-tuned to automatically identify and extract disease mentions from biomedical literature, healthcare documents, and clinical records.

Manually locating disease terms across extensive scientific publications or healthcare records is labour-intensive. By automating disease mention extraction, the model supports biomedical text mining, knowledge graph construction, adverse event monitoring, and drug discovery research.

The model is designated for research use only. It is not a medical device and is not approved for clinical decision-making, disease diagnosis, or treatment planning.

How it works

The model builds upon the BiomedNLP-BiomedBERT-base-uncased-abstract base architecture, a BERT-style transformer pre-trained on PubMed abstracts. It was fine-tuned for token classification within the Hugging Face Transformers framework using the AdamW optimizer with learning rate scheduling, validated via cross-validation on a held-out test set.

Given raw English text, the model tokenises the input and predicts token-level labels following the standard BIO (Beginning, Inside, Outside) tagging scheme. It assigns labels for the start of a disease mention (B-Disease) and subsequent continuation tokens (I-Disease). Token predictions can be aggregated into span-level entities using standard aggregation strategies such as simple token grouping, score averaging, or first-token attribution.

Key facts

Base architecture
BiomedNLP-BiomedBERT-base-uncased-abstract (BERT)
Parameter count
109 million
Primary task
Token classification (Named entity recognition)
Target entities
B-Disease, I-Disease
Training dataset
NCBI Disease corpus
Input modality
English text
Output modality
BIO entity labels with confidence scores

What you can use it for

Biomedical Literature Mining
Extracting disease entity mentions systematically from PubMed abstracts and scientific publications to support biomedical research.
Biomedical Knowledge Graph Construction
Identifying disease concepts within unstructured literature to link them to ontologies and build structured relation graphs.
Adverse Event and Drug Discovery Analysis
Scanning biomedical reports to track disease and pathology mentions in the context of drug interactions and adverse outcomes.
Clinical Text Processing
Extracting disease and pathological terminology from clinical notes and health records for secondary 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-PubMed-v2-109M

Entities are labelled token by token.

Needs text

Strengths and limits

Good at

  • Attains high performance on the NCBI Disease corpus with an F1 score of 0.9110 and an overall accuracy of 0.9792.
  • Exhibits a high recall of 0.9310, allowing thorough capture of disease mentions in scientific text.
  • Integrates directly into standard token-classification pipelines with flexible 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 identifying disease entities and does not detect other biomedical categories such as chemicals or genes.
  • Must not be used as a medical device or applied to clinical diagnosis and direct patient care decisions.
  • Configured only for English biomedical and clinical text.

Inputs and outputs

You provide

  • Text

    Entities are labelled token by token.

You get back

  • Labels with confidence scores, highest first.

OpenMed-NER-PathologyDetect-PubMed-v2-109M 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-pubmed-v2-109m/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-PubMed-v2-109M 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-PubMed-v2-109M 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 24s, and a run costs about 28 credits. Visitors without an account get 1,000 credits a month.

What entity types does the model extract?

The model extracts disease mentions tagged with B-Disease (beginning of a disease entity) and I-Disease (continuation of a disease entity).

What training data was used for fine-tuning?

It was trained on the NCBI Disease corpus, a benchmark consisting of 793 PubMed abstracts containing 6,892 disease mentions mapped to MeSH and OMIM concepts.

Can this model be applied in clinical diagnosis?

No. The model is released strictly for research use and must not be used for diagnosis, clinical decisions, or treatment planning.

What underlying model architecture is used?

The model is based on BiomedNLP-BiomedBERT-base-uncased-abstract, a 109M-parameter BERT variant pre-trained on biomedical literature.

How to cite it

Panahi, M. (2025). OpenMed NER: Open-Source, Domain-Adapted State-of-the-Art Transformers for Biomedical NER Across 12 Public Datasets. arXiv preprint arXiv:2508.01630.

Written from OpenMed-NER-PathologyDetect-PubMed-v2-109M'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.