👋 Join our LiGHT community.
📖 Check out the MeditronFO blog and MeditronFO preprint.
🔜 If you are a clinician join the MOOVE initiative here.
[Website]
[Hugging Face]
[Preprint]
[GitHub]
[Dataset]
License: gemma | Authors: LiGHT
[!Note] We're introducing Gemma-3-27B-MeditronFO, our latest open-weight medical specialist LLM, medical specialization of Gemma-3-27B-IT on the MeditronFO Corpus. This model is part of the MeditronFO family — the first end-to-end auditable pipeline for clinical LLMs, with open weights, open data, open training recipe, and clinician-vetted corpus construction.
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 |
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=8192, do_sample=True, temperature=0.7)
print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:], skip_special_tokens=True))
Full hyperparameters are in the training appendix of the paper.
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).
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.
If you find MeditronFO useful in your research, please cite our preprint:
@misc{theimerlienhard2026meditronfoauditablepipelineclinical,
title = {MeditronFO: An Auditable Pipeline for Clinical LLMs},
author = {Xavier Theimer-Lienhard and Vadim El Guedj and Mushtaha El-Amin and Fay Elhassan and Sahaj Vaidya and Kristina Keitel 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}
}
Please use the community tab for any discussions or issue related to this model. Questions related to the project can be sent to [email protected] or [email protected].
model-00004-of-00012.safetensors 4.6 GiBmodel-00005-of-00012.safetensors 4.6 GiBmodel-00006-of-00012.safetensors 4.6 GiBmodel-00007-of-00012.safetensors 4.6 GiBmodel-00008-of-00012.safetensors 4.6 GiBmodel-00009-of-00012.safetensors 4.6 GiBmodel-00010-of-00012.safetensors 4.6 GiBmodel-00011-of-00012.safetensors 4.6 GiBmodel-00003-of-00012.safetensors 4.6 GiBmodel-00002-of-00012.safetensors 4.6 GiBmodel-00001-of-00012.safetensors 4.5 GiBmodel-00012-of-00012.safetensors 3.1 GiB