
Powered by Dr7.ai Medical AI Platform
BioMedLM (formerly PubMedGPT) is a 2.7-billion-parameter GPT-style language model trained by Stanford CRFM and MosaicML exclusively on PubMed abstracts and full-text articles. It shows that a small, domain-specific model can rival much larger general models on biomedical question answering.
Ask questions about biomedical literature, mechanisms or terminology โ the demo shows the kind of PubMed-grounded answers a domain-trained language model produces.
Get unlimited biomedical Q&A, longer context and API access for literature-heavy workflows.
BiomedLM is a 2.7-billion-parameter autoregressive language model built by the Stanford Center for Research on Foundation Models (CRFM) together with MosaicML. It was first released in December 2022 as PubMedGPT and later renamed BioMedLM.
Unlike general models that see a little biomedical text among everything else, BioMedLM was trained from scratch only on PubMed abstracts and PubMed Central full-text articles (the PubMed portion of The Pile, roughly 50 billion tokens). That focus lets a comparatively tiny model reach about 50% on MedQA (USMLE) and 74% on PubMedQA after fine-tuning โ results that at release were competitive with models 50ร its size.
BioMedLM is open weights and small enough to fine-tune on a single GPU, which made it a popular base for biomedical extraction, summarisation and question-answering research. It is a research artefact, not a clinical product, and is not intended for patient-facing use.
Released December 2022 as PubMedGPT by Stanford CRFM and MosaicML; renamed BioMedLM in 2023 (paper: Bolton et al., 2024)
Open weights on Hugging Face (stanford-crfm/BioMedLM); trained on 300B tokens of PubMed text
A small model trained only on biomedical literature
2.7B parameters โ fine-tunable on one GPU
Trained exclusively on PubMed abstracts and PMC full text
Biomedical question answering (MedQA, PubMedQA, MedMCQA)
Literature summarisation and information extraction
Biomedical entity and relation extraction after fine-tuning
GPT-2-style architecture with a custom biomedical tokenizer
Open weights for research use
Strong per-parameter efficiency versus general LLMs
Results reported by Stanford CRFM / MosaicML for the fine-tuned 2.7B model
US Medical Licensing Examination-style questions, 4-option
Yes/no/maybe questions over PubMed abstracts
Indian medical entrance exam questions; reported in the BioMedLM paper
Reaches these scores with a fraction of the parameters of general LLMs
Summarise papers, extract entities and generate hypotheses from the literature.
Question answering and summarisation grounded in PubMed-style text.
Answer exam-style biomedical questions and explain underlying mechanisms.
Open weights that fit on a single GPU
Load stanford-crfm/BioMedLM from Hugging Face with transformers. The base model is a plain language model โ fine-tune it for your task.
BioMedLM is most useful as a base for task-specific fine-tuning.
Plan for privacy, validation and human oversight before putting BioMedLM anywhere near patient data.
BioMedLM is a research model. Its outputs must be reviewed by qualified healthcare professionals before any clinical use.
The model is not a cleared or approved medical device. Ensure compliance with local healthcare regulations and data-protection rules (e.g. HIPAA, GDPR) before deployment.
Small and specialised versus large and general
Stanford CRFM's 2.7B model
Research groups that need a fine-tunable biomedical base model on modest hardware
How it compares
Pick by modality (text vs. image), licence, and the hardware you actually have
Common questions about BioMedLM
Stanford CRFM (Center for Research on Foundation Models) together with MosaicML. It was originally released as PubMedGPT in December 2022.
2.7 billion parameters โ small enough to fine-tune on one GPU, which is the whole point of the project.
About 50.3% on MedQA (USMLE) and 74.4% on PubMedQA after fine-tuning, according to the Stanford CRFM release.
The weights are open for research. It is not a medical device and the authors explicitly caution against patient-facing use without validation.
The demo uses Dr7.ai's medical assistant to show PubMed-style biomedical Q&A. For exact reproductions, run the open weights locally.