
Powered by Dr7.ai Medical AI Platform
PMC-LLaMA is an open medical language model from Shanghai Jiao Tong University and Shanghai AI Laboratory. It continues LLaMA pretraining on 4.8 million biomedical papers and 30,000 medical textbooks, then instruction-tunes the result for medical question answering and dialogue.
Ask USMLE-style or clinical questions â the demo shows the literature-grounded medical reasoning PMC-LLaMA was built for.
Get unlimited medical Q&A, longer context and API access for exam preparation and research workflows.
PMC-LLaMA is an open-source medical large language model developed by researchers at Shanghai Jiao Tong University and the Shanghai AI Laboratory (Wu et al., 2023, "PMC-LLaMA: Towards Building Open-source Language Models for Medicine"). It is available in 7B and 13B sizes.
Training happens in two stages. First, LLaMA is further pretrained on 4.8 million PubMed Central biomedical papers plus 30,000 medical textbooks (the MedC-K corpus), producing "MedLLaMA". Second, the model is instruction-tuned on MedC-I â medical QA, rationales and conversations â to become PMC-LLaMA.
The 13B model reported 56.4% on MedQA (USMLE), 56.0% on MedMCQA and 77.9% on PubMedQA, ahead of earlier open medical models and competitive with ChatGPT at the time on these benchmarks. It is a research model: it is not a medical device and its answers require expert verification.
Released 2023 by Shanghai Jiao Tong University & Shanghai AI Laboratory (Wu et al.)
Open weights on Hugging Face (axiong/PMC_LLaMA_13B); LLaMA licence terms apply
Knowledge injection from the biomedical literature
USMLE-style medical question answering
Continued pretraining on 4.8M PubMed Central papers
30,000 medical textbooks in the pretraining corpus
Instruction tuning on medical QA, rationales and dialogue
Available in 7B and 13B parameter sizes
Open weights for research use
Strong PubMedQA and MedMCQA results for an open model
Fits on a single high-memory GPU
Scores reported in the PMC-LLaMA paper for the 13B model (not measured by Dr7.ai)
US Medical Licensing Examination-style questions
Indian medical entrance exam questions
Biomedical literature question answering
Plus 30K textbooks (MedC-K), followed by MedC-I instruction data
An open baseline for studying domain-adaptive pretraining in medicine.
Literature-grounded answers to clinical questions for professional review.
USMLE-style practice questions with explanations.
Open 7B / 13B weights
Load the 7B or 13B checkpoints from Hugging Face with transformers. LLaMA licence terms apply.
Use it as a chat or QA model, or fine-tune further on your own data.
Plan for privacy, validation and human oversight before putting PMC-LLaMA anywhere near patient data.
PMC-LLaMA 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.
Where an open 13B medical model fits
Open medical LLaMA (SJTU / Shanghai AI Lab)
Research and education that need an open, literature-grounded medical LLM
How it compares
Pick by modality (text vs. image), licence, and the hardware you actually have
Common questions about PMC-LLaMA
Researchers at Shanghai Jiao Tong University and the Shanghai AI Laboratory (Wu et al., 2023). It is not a Stanford or Google model.
4.8 million PubMed Central papers and 30,000 medical textbooks for continued pretraining, then medical QA, rationale and dialogue data for instruction tuning.
The 13B model reports 56.4% on MedQA (USMLE), 56.0% on MedMCQA and 77.9% on PubMedQA.
Yes. The 13B model fits on a single high-memory GPU, and the 7B model on consumer hardware with quantisation.
The demo uses Dr7.ai's medical assistant to show literature-grounded medical Q&A. For the exact model, use the open weights.