BiomedBERT (PubMedBERT)
BERT pretrained from scratch on PubMed abstracts and PMC full text with a biomedical vocabulary; the workhorse encoder for named-entity recognition, relation extraction and classification over oncology literature and reports.
🤗 220 044 downloads / month ♥ 335 updated 2023-11-06At a glance
What it does
Not yet documented on this card.
Tasks, data types and cancers
Architecture
Training data
PubMed abstracts (14M) plus PMC full-text articles; domain-specific WordPiece vocabulary built from the corpus.
Linked datasets
- pretraining PubMed / PMC Open Access Subset Open download
Evaluation
| Benchmark / dataset | Metric | Value | External validation | Source |
|---|---|---|---|---|
| BLURB (biomedical NLP benchmark) | average score | state of the art at publication | yes | Source |
How to run
# generic transformers loader — see the model card for the task-specific head and preprocessing
from transformers import AutoModel, AutoProcessor
model = AutoModel.from_pretrained('microsoft/BiomedNLP-BiomedBERT-base-uncased-abstract-fulltext')
processor = AutoProcessor.from_pretrained('microsoft/BiomedNLP-BiomedBERT-base-uncased-abstract-fulltext')
Regulatory status and intended use
Regulatory status is quoted from the source linked above and can change. Research-use-only models must not be used for clinical decisions.
Limitations and bias
- English literature only; clinical notes and Polish text need further adaptation.
- 512-token window.
Sources
This page is educational — it is not medical advice and does not replace consultation with an oncologist. Diagnostic and treatment decisions are made solely by specialist physicians.