All models

Literature · blaze999

Medical-NER

Token classification model fine-tuned on PubMed text to identify 41 medical entity categories.

What Medical-NER is

Medical-NER (also referred to as deberta-med-ner-2) is a token classification sequence tagger developed by Saketh Mattupalli (blaze999). It is designed to extract biomedical and clinical terminology from unstructured text by classifying tokens into medical categories.

The model assists researchers and clinicians in parsing literature and clinical records by identifying 41 specific medical entities. It was produced by fine-tuning a foundation language model on biomedical abstracts from PubMed.

How it works

The model is a fine-tuned version of the microsoft/deberta-v3-base architecture trained for token classification. Fine-tuning was carried out on the PubMed Dataset using the Adam optimiser with native automatic mixed precision (AMP) across 30 epochs.

Training used a learning rate of 2e-05 scheduled with a cosine decay and a warmup ratio of 0.1. A batch size of 8 was combined with 2 gradient accumulation steps to yield an effective training batch size of 16, alongside an evaluation batch size of 16 and a random seed of 42.

Key facts

Base model
microsoft/deberta-v3-base
Task
Token classification (named entity recognition)
Entity categories
41 medical entities
Training dataset
PubMed Dataset
Input
Text
Output
Token labels with confidence scores
GPU memory requirement
16 GB

What you can use it for

Biomedical entity extraction
Tagging scientific literature and research text across 41 medical entity classifications.
Clinical text parsing
Annotating diagnostic statements, clinical descriptions, and patient notes with entity labels and confidence scores.

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

Medical-NER

Entities are labelled token by token.

Needs text

Strengths and limits

Good at

  • Recognises 41 distinct medical entity categories in text.
  • Built upon the DeBERTa-v3 architecture and adapted to domain-specific PubMed text.
  • Trained over 30 epochs using native mixed-precision arithmetic and cosine learning rate scheduling.

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.
  • Requires 16 GB of GPU memory to execute.
  • The specific names and schema of the 41 supported medical entities are not listed in the documentation.
  • Benchmark evaluation results and accuracy metrics on validation sets are not provided.

Inputs and outputs

You provide

  • Text

    Entities are labelled token by token.

You get back

  • Labels with confidence scores, highest first.

Medical-NER 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/blaze999-medical-ner/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 · mit

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

Questions

Can I use Medical-NER commercially?

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

How do I run Medical-NER 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 53s, and a run costs about 28 credits. Visitors without an account get 1,000 credits a month.

What base architecture does this model use?

It is based on microsoft/deberta-v3-base, utilising the DeBERTa-v2 transformer architecture fine-tuned for token classification.

What training data was utilised?

The model was fine-tuned using the PubMed Dataset.

What outputs are returned from inference?

It outputs classification labels for input tokens along with their associated confidence scores, ranked from highest to lowest.

How many medical entities can the model identify?

It is trained to identify 41 distinct medical entity types.

Written from Medical-NER'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.