Gemma-3-27B-MeditronFO
[!Note] We're introducing Gemma-3-27B-MeditronFO, our latest open-weight medical specialist LLM, medical specialization of Gemma-3-27B-IT on the Fully Open Meditron Corpus. This model is part of the Fully Open Meditron family — the first end-to-end auditable pipeline for clinical LLMs, with open weights, open data, open training recipe, and clinician-vetted corpus construction.
- Part of the Fully Open Meditron family: End to end fully open clinical LLMs
- Preferred over MedGemma-27B in 57.1% of comparisons on AutoMOOVE, the clinician-validated LLM-judge evaluation (three-judge majority, 516 clinician-written vignettes)
- Scores higher on HealthBench than MedGemma-27B (56.2 vs 54.8), trained on fully open data
Benchmark
Accuracy (%) on four multiple-choice medical benchmarks (greedy decoding) and score (%) on HealthBench (all 5,000 conversations, Gemma-4-31B grader). See the paper for the full evaluation details, confidence intervals and the AutoMOOVE results.
| Benchmark | Gemma-3-27B-IT | Gemma-3-27B-MeditronFO | Δ |
|---|---|---|---|
| MedMCQA | 64.5 | 63.7 | −0.8 |
| MedQA | 76.9 | 78.2 | +1.3 |
| PubMedQA | 76.5 | 76.7 | +0.2 |
| MedXpertQA | 16.9 | 18.4 | +1.5 |
| HealthBench | 55.4 | 56.2 | +0.8 |
| Average (5) | 58.02 | 58.65 | +0.63 |
Usage
from transformers import AutoModelForCausalLM, AutoTokenizer
import torch
model_id = "EPFLiGHT/Gemma-3-27B-MeditronFO"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(
model_id,
torch_dtype=torch.bfloat16,
device_map="auto",
)
messages = [
{"role": "user", "content": "A 62-year-old woman presents with a three-day history of dyspnea on exertion and a productive cough. What is the differential diagnosis?"},
]
inputs = tokenizer.apply_chat_template(
messages,
add_generation_prompt=True,
tokenize=True,
return_dict=True,
return_tensors="pt",
).to(model.device)
outputs = model.generate(**inputs, max_new_tokens=512, do_sample=False)
print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:], skip_special_tokens=True))
Training
- Base model: Gemma-3-27B-IT
- Corpus: Fully Open Meditron, 533,888 examples: Curated QA (195.5k, seven public medical QA datasets), Synthetic Curated QA (184.5k), Guidelines QA (129.8k, generated from 14,192 clinical practice guidelines) and Synthetic vignettes (24.0k, modelled on clinician-written MOOVE vignettes). Every answer is written by gpt-oss-120b with rejection sampling (pass@8; multiple-choice answers must match the gold label), with generation prompts co-authored by four clinicians
- Decontamination: two-stage n-gram decontamination against all evaluation benchmarks and the AutoMOOVE test set (4,197 rows removed)
- Recipe: 2 epochs, learning rate 1e-6 with cosine decay and 10% warmup, effective batch 128 sequences of 8,192 packed tokens, AdamW, β2 0.95, weight decay 0.1, activation offloading, seed 42
- Framework: Axolotl with FSDP v2, bf16
Full hyperparameters are in the training appendix of the paper.
Compute & footprint
The training was done on 16 nodes of 4 NVIDIA GH200 GPUs for 3 h 25 min (219 GPU-hours) on the Alps supercomputer of the CSCS Swiss National Supercomputing Centre. Our trainings have a carbon neutral footprint as the CSCS data center is carbon neutral (CSCS energy efficiency).
Limitations & intended use
MeditronFO can produce text on a variety of topics, but the generated content may not always be factually accurate, logically consistent, or free from biases present in the training data. MeditronFO has been trained to be specialised for Medicine and is intended to be used for Medicine related tasks evaluation. These models should be used as assistive tools rather than definitive sources of information. Users should always verify important information and critically evaluate any generated content.
Citation
If you find MeditronFO useful in your research, please cite our preprint:
@misc{theimerlienhard2026fullyopenmeditronauditable,
title = {Fully Open Meditron: An Auditable Pipeline for Clinical LLMs},
author = {Xavier Theimer-Lienhard and Mushtaha El-Amin and Fay Elhassan and Sahaj Vaidya and Victor Cartier-Negadi and David Sasu and Lars Klein and Mary-Anne Hartley},
year = {2026},
eprint = {2605.16215},
archivePrefix = {arXiv},
primaryClass = {cs.AI},
url = {https://arxiv.org/abs/2605.16215}
}
Contact
Please use the community tab for any discussions or issue related to this model. Questions related to the project can be sent to xavier.theimer-lienhard@epfl.ch or mary-anne.hartley@epfl.ch.