Commit ·
86c694a
0
Parent(s):
Duplicate from EPFLiGHT/fully-open-meditron
Browse filesCo-authored-by: Xavier Theimer-Lienhard <Xkrilandar@users.noreply.huggingface.co>
- .gitattributes +60 -0
- README.md +131 -0
- data/README.md +125 -0
- data/curated_qa/train-00000.parquet +3 -0
- data/curated_qa/train-00001.parquet +3 -0
- data/curated_qa/train-00002.parquet +3 -0
- data/curated_qa/train-00003.parquet +3 -0
- data/curated_qa/train-00004.parquet +3 -0
- data/guidelines_qa/train-00000.parquet +3 -0
- data/guidelines_qa/train-00001.parquet +3 -0
- data/guidelines_qa/train-00002.parquet +3 -0
- data/synthetic_curated_qa/train-00000.parquet +3 -0
- data/synthetic_curated_qa/train-00001.parquet +3 -0
- data/synthetic_curated_qa/train-00002.parquet +3 -0
- data/synthetic_curated_qa/train-00003.parquet +3 -0
- data/synthetic_curated_qa/train-00004.parquet +3 -0
- data/synthetic_moove/train-00000.parquet +3 -0
.gitattributes
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
*.7z filter=lfs diff=lfs merge=lfs -text
|
| 2 |
+
*.arrow filter=lfs diff=lfs merge=lfs -text
|
| 3 |
+
*.avro filter=lfs diff=lfs merge=lfs -text
|
| 4 |
+
*.bin filter=lfs diff=lfs merge=lfs -text
|
| 5 |
+
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
| 6 |
+
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
| 7 |
+
*.ftz filter=lfs diff=lfs merge=lfs -text
|
| 8 |
+
*.gz filter=lfs diff=lfs merge=lfs -text
|
| 9 |
+
*.h5 filter=lfs diff=lfs merge=lfs -text
|
| 10 |
+
*.joblib filter=lfs diff=lfs merge=lfs -text
|
| 11 |
+
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
| 12 |
+
*.lz4 filter=lfs diff=lfs merge=lfs -text
|
| 13 |
+
*.mds filter=lfs diff=lfs merge=lfs -text
|
| 14 |
+
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
| 15 |
+
*.model filter=lfs diff=lfs merge=lfs -text
|
| 16 |
+
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
| 17 |
+
*.npy filter=lfs diff=lfs merge=lfs -text
|
| 18 |
+
*.npz filter=lfs diff=lfs merge=lfs -text
|
| 19 |
+
*.onnx filter=lfs diff=lfs merge=lfs -text
|
| 20 |
+
*.ot filter=lfs diff=lfs merge=lfs -text
|
| 21 |
+
*.parquet filter=lfs diff=lfs merge=lfs -text
|
| 22 |
+
*.pb filter=lfs diff=lfs merge=lfs -text
|
| 23 |
+
*.pickle filter=lfs diff=lfs merge=lfs -text
|
| 24 |
+
*.pkl filter=lfs diff=lfs merge=lfs -text
|
| 25 |
+
*.pt filter=lfs diff=lfs merge=lfs -text
|
| 26 |
+
*.pth filter=lfs diff=lfs merge=lfs -text
|
| 27 |
+
*.rar filter=lfs diff=lfs merge=lfs -text
|
| 28 |
+
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 29 |
+
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
| 30 |
+
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
| 31 |
+
*.tar filter=lfs diff=lfs merge=lfs -text
|
| 32 |
+
*.tflite filter=lfs diff=lfs merge=lfs -text
|
| 33 |
+
*.tgz filter=lfs diff=lfs merge=lfs -text
|
| 34 |
+
*.wasm filter=lfs diff=lfs merge=lfs -text
|
| 35 |
+
*.xz filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
# Audio files - uncompressed
|
| 40 |
+
*.pcm filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
*.sam filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
*.raw filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
# Audio files - compressed
|
| 44 |
+
*.aac filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
*.flac filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
*.mp3 filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
*.ogg filter=lfs diff=lfs merge=lfs -text
|
| 48 |
+
*.wav filter=lfs diff=lfs merge=lfs -text
|
| 49 |
+
# Image files - uncompressed
|
| 50 |
+
*.bmp filter=lfs diff=lfs merge=lfs -text
|
| 51 |
+
*.gif filter=lfs diff=lfs merge=lfs -text
|
| 52 |
+
*.png filter=lfs diff=lfs merge=lfs -text
|
| 53 |
+
*.tiff filter=lfs diff=lfs merge=lfs -text
|
| 54 |
+
# Image files - compressed
|
| 55 |
+
*.jpg filter=lfs diff=lfs merge=lfs -text
|
| 56 |
+
*.jpeg filter=lfs diff=lfs merge=lfs -text
|
| 57 |
+
*.webp filter=lfs diff=lfs merge=lfs -text
|
| 58 |
+
# Video files - compressed
|
| 59 |
+
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 60 |
+
*.webm filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
|
@@ -0,0 +1,131 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
language:
|
| 4 |
+
- en
|
| 5 |
+
task_categories:
|
| 6 |
+
- question-answering
|
| 7 |
+
- text-generation
|
| 8 |
+
size_categories:
|
| 9 |
+
- 100K<n<1M
|
| 10 |
+
tags:
|
| 11 |
+
- medical
|
| 12 |
+
- clinical
|
| 13 |
+
- healthcare
|
| 14 |
+
- llm
|
| 15 |
+
- sft
|
| 16 |
+
pretty_name: Fully Open Meditron Corpus
|
| 17 |
+
---
|
| 18 |
+
|
| 19 |
+
# Fully Open Meditron Corpus
|
| 20 |
+
|
| 21 |
+
<div align="center">
|
| 22 |
+
<img src=https://raw.githubusercontent.com/EPFLiGHT/MeditronFO/3caab22b7efaf9e56e2894bac65dab6d3a31aaa0/static/images/MeditronFO-logo-cube.png width="15%"/>
|
| 23 |
+
</div>
|
| 24 |
+
<p align="center">
|
| 25 |
+
👋 Join our <a href="https://www.light-laboratory.org/" target="_blank">LiGHT</a> community.
|
| 26 |
+
<br>
|
| 27 |
+
📖 Check out the MeditronFO <a href="https://epflight.github.io/MeditronFO/" target="_blank">blog</a> and MeditronFO <a href="https://arxiv.org/abs/2605.16215" target="_blank">preprint</a>.
|
| 28 |
+
<br>
|
| 29 |
+
🔜 If you are a clinician join the MOOVE initiative <a href="https://jointhemoove.org/">here</a>.
|
| 30 |
+
</p>
|
| 31 |
+
|
| 32 |
+
<p align="center">
|
| 33 |
+
[<a href="https://huggingface.co/collections/EPFLiGHT/meditronfo" target="_blank">Hugging Face</a>]
|
| 34 |
+
[<a href="https://arxiv.org/abs/2605.16215" target="_blank">Preprint</a>]
|
| 35 |
+
[<a href="https://github.com/EPFLiGHT/FullyOpenMeditron" target="_blank">GitHub</a>]
|
| 36 |
+
[<a href="https://huggingface.co/datasets/EPFLiGHT/fully-open-meditron" target="_blank">Dataset</a>]
|
| 37 |
+
<br>
|
| 38 |
+
<b>License</b>: <a href="https://www.apache.org/licenses/LICENSE-2.0.txt" target="_blank">Apache 2.0</a> | <b>Authors</b>: <a href="https://www.light-laboratory.org/" target="_blank">LiGHT</a>
|
| 39 |
+
</p>
|
| 40 |
+
|
| 41 |
+
> [!Note]
|
| 42 |
+
> A clinician-vetted training corpus for medical large language models, accompanying the paper [*Fully Open Meditron: An Auditable Pipeline for Clinical LLMs*](https://arxiv.org/abs/2605.16215).
|
| 43 |
+
> The corpus combines eight aggregated public medical QA datasets with three clinician-vetted synthetic components, totaling approximately **601k examples (~150M tokens)**. It is designed to support supervised fine-tuning of large language models for clinical decision support and medical question answering, with full transparency over data provenance, generation prompts, and decontamination.
|
| 44 |
+
|
| 45 |
+
- 📄 **Paper:** [*Fully Open Meditron: An Auditable Pipeline for Clinical LLMs*](https://arxiv.org/abs/2605.16215)
|
| 46 |
+
- 🤖 **Models trained on this corpus:** [MeditronFO Collection](https://huggingface.co/collections/EPFLiGHT/meditronfo)
|
| 47 |
+
|
| 48 |
+
|
| 49 |
+
## Quick Start
|
| 50 |
+
|
| 51 |
+
```python
|
| 52 |
+
from datasets import load_dataset
|
| 53 |
+
|
| 54 |
+
# Load the full merged corpus (default)
|
| 55 |
+
ds = load_dataset("EPFLiGHT/fully-open-meditron")
|
| 56 |
+
|
| 57 |
+
# Load a single component (e.g. for ablations)
|
| 58 |
+
ds = load_dataset("EPFLiGHT/fully-open-meditron", "synthetic_moove")
|
| 59 |
+
```
|
| 60 |
+
|
| 61 |
+
## Components
|
| 62 |
+
|
| 63 |
+
| Config | Examples | Description |
|
| 64 |
+
|---|---:|---|
|
| 65 |
+
| `curated_qa` | 216,546 | Aggregated public medical QA training splits (MedQA, MedMCQA, PubMedQA, MedExpQA, HealthSearchQA, LiveQA, AfriMed-QA v1/v2), normalized into `(system, user, assistant)` conversational format. 173 items removed by system-wide decontamination. |
|
| 66 |
+
| `synthetic_curated_qa` | 214,654 | Novel exam-style QA generated by gpt-oss-120b, seeded from the curated pool, stratified by question type with continuous answer-position monitoring to prevent label bias. |
|
| 67 |
+
| `guidelines_qa` | 145,681 | QA grounded in 46,469 clinical practice guidelines from 16 global institutions. |
|
| 68 |
+
| `synthetic_moove` | 24,465 | Open-ended clinical vignette prompts seeded from an expert-written vignette pool, designed to elicit complex diagnostic reasoning. |
|
| 69 |
+
| **Total** | **601,346** | |
|
| 70 |
+
|
| 71 |
+
The `default` config concatenates all four.
|
| 72 |
+
|
| 73 |
+
## Schema
|
| 74 |
+
|
| 75 |
+
| Field | Type | Description |
|
| 76 |
+
|---|---|---|
|
| 77 |
+
| `id` | string | Unique identifier |
|
| 78 |
+
| `messages` | list of `{role, content}` | Conversation in OpenAI-style format. Roles: `system`, `user`, `assistant`. |
|
| 79 |
+
| `source_component` | string | One of `curated_qa`, `synthetic_curated_qa`, `guidelines_qa`, `synthetic_moove`. |
|
| 80 |
+
| `is_synthetic` | bool | Whether the row was generated by an LLM teacher. |
|
| 81 |
+
| `teacher_model` | string | Teacher model used for generation (`gpt-oss-120b`) or `null` for source items. |
|
| 82 |
+
| `source_dataset` | string | Original public dataset name (`curated_qa` rows only). |
|
| 83 |
+
| `gold_label` | string | Multiple-choice gold answer letter, where applicable. |
|
| 84 |
+
| `label_text` | string | Multiple-choice gold answer text, where applicable. |
|
| 85 |
+
| `exact_match` | bool | Whether teacher prediction matched the gold label after rejection-sampling. |
|
| 86 |
+
| `try_count` | int | Number of resampling attempts required (1–8). |
|
| 87 |
+
|
| 88 |
+
## Construction
|
| 89 |
+
|
| 90 |
+
The corpus was constructed in three stages:
|
| 91 |
+
|
| 92 |
+
1. **Aggregation.** Eight public medical QA datasets were normalized into a unified conversational schema. Items that could not be unambiguously mapped were discarded.
|
| 93 |
+
2. **Clinician-vetted synthetic generation.** A four-physician panel reviewed three sampled outputs per few-shot generation prompt template, with disagreements resolved by panel discussion. The audit produced four structural changes to the generation pipeline: tightening overbroad constraints on "controversial" and "outdated" content; requiring explicit disease progression and geographic context; decoupling stems from answers; and excluding overly US-centric phrasing. Synthetic components were then generated by gpt-oss-120b.
|
| 94 |
+
3. **Hallucination mitigation.** For every multiple-choice item carrying a labeled answer, the predicted letter was extracted via dataset-specific regex and resampled independently up to 8 times at temperature 0.7 until the extracted letter matched the gold label.
|
| 95 |
+
|
| 96 |
+
## Licencing for curated_qa subset
|
| 97 |
+
|
| 98 |
+
| Asset | Reference | URL | License |
|
| 99 |
+
|---|---|---|---|
|
| 100 |
+
| MedQA | Jin et al. [2021] | https://github.com/jind11/MedQA | MIT |
|
| 101 |
+
| MedMCQA | Pal et al. [2022] | https://medmcqa.github.io | MIT |
|
| 102 |
+
| PubMedQA | Jin et al. [2019] | https://pubmedqa.github.io | MIT |
|
| 103 |
+
| MedExpQA | Alonso et al. [2024] | https://huggingface.co/datasets/HiTZ/MedExpQA | CC BY-NC-SA 4.0 |
|
| 104 |
+
| HealthSearchQA | Singhal et al. [2023] | https://huggingface.co/datasets/katielink/healthsearchqa | CC BY 4.0 |
|
| 105 |
+
| LiveQA-Med | Abacha et al. [2017] | https://github.com/abachaa/LiveQA_MedicalTask_TREC2017 | Open / research use† |
|
| 106 |
+
| AfriMed-QA v1/v2 | Olatunji et al. [2024] | https://huggingface.co/datasets/intronhealth/afrimedqa_v2 | CC BY 4.0† |
|
| 107 |
+
|
| 108 |
+
## Limitations & intended use
|
| 109 |
+
|
| 110 |
+
This corpus is intended for medical specialisation of LLMs, the main limitation is that the corpus is only in english.
|
| 111 |
+
|
| 112 |
+
## Citation
|
| 113 |
+
|
| 114 |
+
```bibtex
|
| 115 |
+
@misc{theimerlienhard2026fullyopenmeditronauditable,
|
| 116 |
+
title = {Fully Open Meditron: An Auditable Pipeline for Clinical LLMs},
|
| 117 |
+
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},
|
| 118 |
+
year = {2026},
|
| 119 |
+
eprint = {2605.16215},
|
| 120 |
+
archivePrefix = {arXiv},
|
| 121 |
+
primaryClass = {cs.AI},
|
| 122 |
+
url = {https://arxiv.org/abs/2605.16215}
|
| 123 |
+
}
|
| 124 |
+
```
|
| 125 |
+
## Acknowledgments and Disclosure of Funding
|
| 126 |
+
This work was supported under project ID #27 as part of the Swiss AI Initiative, through a grant from the ETH Domain and computational resources provided by the Swiss National Supercomputing Centre (CSCS) under the Alps infrastructure.
|
| 127 |
+
We thank the physician review panel within the LiGHT laboratory for their clinical auditing, methodological review, and validation of the synthetic generation and evaluation pipelines. We additionally thank the many physicians and clinical experts who contributed to the MOOVE initiative through expert review, pairwise evaluation, benchmarking, and clinical vignette development across diverse international settings.
|
| 128 |
+
|
| 129 |
+
## Contact
|
| 130 |
+
Please use the community tab for any discussions or issue related to this model.
|
| 131 |
+
Questions related to the project can be sent to xavier.theimer-lienhard@epfl.ch or mary-anne.hartley@epfl.ch.
|
data/README.md
ADDED
|
@@ -0,0 +1,125 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: cc-by-nc-4.0
|
| 3 |
+
language:
|
| 4 |
+
- en
|
| 5 |
+
task_categories:
|
| 6 |
+
- question-answering
|
| 7 |
+
- text-generation
|
| 8 |
+
tags:
|
| 9 |
+
- medical
|
| 10 |
+
- clinical
|
| 11 |
+
- healthcare
|
| 12 |
+
- llm
|
| 13 |
+
- sft
|
| 14 |
+
size_categories:
|
| 15 |
+
- 100K<n<1M
|
| 16 |
+
pretty_name: Fully Open Meditron Corpus
|
| 17 |
+
configs:
|
| 18 |
+
- config_name: default
|
| 19 |
+
data_files:
|
| 20 |
+
- split: train
|
| 21 |
+
path: data/*/train-*.parquet
|
| 22 |
+
- config_name: curated_qa
|
| 23 |
+
data_files:
|
| 24 |
+
- split: train
|
| 25 |
+
path: data/curated_qa/train-*.parquet
|
| 26 |
+
- config_name: synthetic_curated_qa
|
| 27 |
+
data_files:
|
| 28 |
+
- split: train
|
| 29 |
+
path: data/synthetic_curated_qa/train-*.parquet
|
| 30 |
+
- config_name: guidelines_qa
|
| 31 |
+
data_files:
|
| 32 |
+
- split: train
|
| 33 |
+
path: data/guidelines_qa/train-*.parquet
|
| 34 |
+
- config_name: synthetic_moove
|
| 35 |
+
data_files:
|
| 36 |
+
- split: train
|
| 37 |
+
path: data/synthetic_moove/train-*.parquet
|
| 38 |
+
---
|
| 39 |
+
|
| 40 |
+
# Fully Open Meditron Corpus
|
| 41 |
+
|
| 42 |
+
A clinician-vetted training corpus for medical large language models, accompanying the paper *Fully Open Meditron: An Auditable Pipeline for Clinical LLMs* (anonymous submission to NeurIPS 2026 Evaluations & Datasets Track).
|
| 43 |
+
|
| 44 |
+
The corpus combines eight aggregated public medical QA datasets with three clinician-vetted synthetic components, totaling approximately 601k examples (~150M tokens). It is designed to support supervised fine-tuning of large language models for clinical decision support and medical question answering, with full transparency over data provenance, generation prompts, and decontamination.
|
| 45 |
+
|
| 46 |
+
## Quick Start
|
| 47 |
+
|
| 48 |
+
```python
|
| 49 |
+
from datasets import load_dataset
|
| 50 |
+
|
| 51 |
+
# Load the full merged corpus (default)
|
| 52 |
+
ds = load_dataset("meditron-fo-anon/fully-open-meditron")
|
| 53 |
+
|
| 54 |
+
# Load a single component (e.g. for ablations)
|
| 55 |
+
ds = load_dataset("meditron-fo-anon/fully-open-meditron", "synthetic_moove")
|
| 56 |
+
```
|
| 57 |
+
|
| 58 |
+
## Components
|
| 59 |
+
|
| 60 |
+
| Config | Examples | Description |
|
| 61 |
+
|---|---|---|
|
| 62 |
+
| `curated_qa` | 216,546 | Aggregated public medical QA training splits (MedQA, MedMCQA, PubMedQA, MedExpQA, HealthSearchQA, LiveQA, AfriMed-QA v1/v2), normalized into (system, user, assistant) conversational format. 173 items removed by system-wide decontamination. |
|
| 63 |
+
| `synthetic_curated_qa` | 214,654 | Novel exam-style QA generated by gpt-oss-120b, seeded from the curated pool, stratified by question type with continuous answer-position monitoring to prevent label bias. |
|
| 64 |
+
| `guidelines_qa` | 145,681 | QA grounded in 46,469 clinical practice guidelines from 16 global institutions. |
|
| 65 |
+
| `synthetic_moove` | 24,465 | Open-ended clinical vignette prompts seeded from an expert-written vignette pool, designed to elicit complex diagnostic reasoning. |
|
| 66 |
+
| **Total** | **601,346** | |
|
| 67 |
+
|
| 68 |
+
The `default` config concatenates all four.
|
| 69 |
+
|
| 70 |
+
## Schema
|
| 71 |
+
|
| 72 |
+
| Field | Type | Description |
|
| 73 |
+
|---|---|---|
|
| 74 |
+
| `id` | string | Unique identifier |
|
| 75 |
+
| `messages` | list of `{role, content}` | Conversation in OpenAI-style format. Roles: `system`, `user`, `assistant`. |
|
| 76 |
+
| `source_component` | string | One of `curated_qa`, `synthetic_curated_qa`, `guidelines_qa`, `synthetic_moove`. |
|
| 77 |
+
| `is_synthetic` | bool | Whether the row was generated by an LLM teacher. |
|
| 78 |
+
| `teacher_model` | string | Teacher model used for generation (`gpt-oss-120b` or null for source items). |
|
| 79 |
+
| `source_dataset` | string | Original public dataset name (curated_qa rows only). |
|
| 80 |
+
| `gold_label` | string | Multiple-choice gold answer letter, where applicable. |
|
| 81 |
+
| `label_text` | string | Multiple-choice gold answer text, where applicable. |
|
| 82 |
+
| `exact_match` | bool | Whether teacher prediction matched the gold label after rejection-sampling resampling. |
|
| 83 |
+
| `try_count` | int | Number of resampling attempts required (1–8). |
|
| 84 |
+
|
| 85 |
+
## Construction
|
| 86 |
+
|
| 87 |
+
The corpus was constructed in three stages:
|
| 88 |
+
|
| 89 |
+
1. **Aggregation.** Eight public medical QA datasets were normalized into a unified conversational schema. Items that could not be unambiguously mapped were discarded.
|
| 90 |
+
2. **Clinician-vetted synthetic generation.** A four-physician panel reviewed three sampled outputs per few-shot generation prompt template, with disagreements resolved by panel discussion. The audit produced four structural changes to the generation pipeline: tightening overbroad constraints on "controversial" and "outdated" content; requiring explicit disease progression and geographic context; decoupling stems from answers; and excluding overly US-centric phrasing. Synthetic components were then generated by gpt-oss-120b.
|
| 91 |
+
3. **Hallucination mitigation.** For every multiple-choice item carrying a labeled answer, the predicted letter was extracted via dataset-specific regex and resampled independently up to 8 times at temperature 0.7 until the extracted letter matched the gold label.
|
| 92 |
+
|
| 93 |
+
## Decontamination
|
| 94 |
+
|
| 95 |
+
System-wide two-stage n-gram and token-alignment decontamination was applied against all evaluation references used in the accompanying paper: MedQA, MedMCQA, PubMedQA, MedXpertQA test splits, an open-ended clinical evaluation split, HealthBench Hard, MMLU-Pro, IFEval, and ARC-Challenge. Decontamination is syntactic rather than semantic.
|
| 96 |
+
|
| 97 |
+
## Licensing
|
| 98 |
+
|
| 99 |
+
The synthetic components (`synthetic_curated_qa`, `guidelines_qa`, `synthetic_moove`) are released under CC BY-NC 4.0 for research use.
|
| 100 |
+
|
| 101 |
+
The `curated_qa` component is a derived aggregation of publicly released datasets, each retaining its original license. Users redistributing this component should consult the original licenses of MedQA, MedMCQA, PubMedQA, MedExpQA, HealthSearchQA, LiveQA, and AfriMed-QA v1/v2.
|
| 102 |
+
|
| 103 |
+
## Limitations
|
| 104 |
+
|
| 105 |
+
- Approximately 64% of items (71% of tokens) are synthetic, generated by a single teacher (gpt-oss-120b), which introduces model-specific stylistic and reasoning biases.
|
| 106 |
+
- Clinician audit covered three sampled QA pairs per generation prompt template, bounding systematic but not item-level errors.
|
| 107 |
+
- Decontamination is syntactic (n-gram and token alignment) rather than semantic, leaving open the possibility of paraphrased leakage from teacher generations.
|
| 108 |
+
- Coverage of non-English clinical content is limited.
|
| 109 |
+
- Inherits geographic and demographic biases of the source datasets (predominantly North American and European clinical contexts), partially mitigated by AfriMed-QA v1/v2.
|
| 110 |
+
|
| 111 |
+
## Intended Use
|
| 112 |
+
|
| 113 |
+
For research, including reproducibility, auditing, and red-teaming of medical LLMs. **Not intended as a substitute for clinical judgment.** Models trained on this corpus should not be deployed without independent domain-specific safety evaluation.
|
| 114 |
+
|
| 115 |
+
## Citation
|
| 116 |
+
|
| 117 |
+
```bibtex
|
| 118 |
+
@inproceedings{anonymous2026meditron,
|
| 119 |
+
title={Fully Open Meditron: An Auditable Pipeline for Clinical LLMs},
|
| 120 |
+
author={Anonymous},
|
| 121 |
+
booktitle={NeurIPS 2026 Evaluations and Datasets Track},
|
| 122 |
+
year={2026},
|
| 123 |
+
note={Under review}
|
| 124 |
+
}
|
| 125 |
+
```
|
data/curated_qa/train-00000.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0134be6d9187dc5735ca019d1bc92d5f0086d041e527b73a5ac32d54baf28d5c
|
| 3 |
+
size 23819149
|
data/curated_qa/train-00001.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ee41153a0fedd746bd4076e5d3d322c37523032b4fb6edc3b88a322cbfafeca2
|
| 3 |
+
size 18408865
|
data/curated_qa/train-00002.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4f68ca1fb73c40ce23894d5efcb960a87d678e347c739ee8021d3717495630e0
|
| 3 |
+
size 18572509
|
data/curated_qa/train-00003.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:50c9a1200e12d76063bfa4aa7a6cbe8f1a46e84da48518718f7aa6bb69874ce8
|
| 3 |
+
size 36314682
|
data/curated_qa/train-00004.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a443040f1b0c280f74276d5a19ff970b5497445d418f57b517cf0f143b754242
|
| 3 |
+
size 43506464
|
data/guidelines_qa/train-00000.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:17968974af6310add665488672eacf35903f94534322621d15d9294b0bb4a969
|
| 3 |
+
size 12099374
|
data/guidelines_qa/train-00001.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:77fb907786ca55e3dbc4016be72da8e062123b0f1ba6a9489672808deb82d510
|
| 3 |
+
size 13497586
|
data/guidelines_qa/train-00002.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9b07a31af91a2551913d4e98423a71791451f89913064d31a5fff3b04eaa1d89
|
| 3 |
+
size 14086594
|
data/synthetic_curated_qa/train-00000.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:30499dc344b2bb7fd6da1bdff5a8bededbfe0c1a15aa24855fd2ff471f259708
|
| 3 |
+
size 57100017
|
data/synthetic_curated_qa/train-00001.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5a2683abdb88c5a1c1201466f8c3d32c0a172f7cf7f4ca1fd9ce2736b0b837e1
|
| 3 |
+
size 57220990
|
data/synthetic_curated_qa/train-00002.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:990fe6476758376babf3a2a031a8c36c7f5e9f68f173041ab9d074d2821e15bd
|
| 3 |
+
size 57132520
|
data/synthetic_curated_qa/train-00003.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e824a579a8057b4de841e4a86bac38ac09b33d3ff183d095c78189fc9ceb01c4
|
| 3 |
+
size 59629550
|
data/synthetic_curated_qa/train-00004.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4f3e22937625184f38f0214fd4640d33398b37c16c814c53142b52f6ea6d9a53
|
| 3 |
+
size 29893648
|
data/synthetic_moove/train-00000.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:66aed27c2d3de02ab42d5b31043c7069f390e0e3df1825f4dedefbacb6d6b250
|
| 3 |
+
size 96110700
|