6
stars
7
commits
7
linked in READMEs
Apr 13, 2026
updated
GMAI-VL-5.5M is a comprehensive, large-scale medical General Medical AI Vision-Language (GMAI-VL) dataset built specifically for training multimodal foundation models in the medical domain. It contains an extraordinary scale of high-quality instructions encompassing over 5.5 million multimodal question-answering pairs, carefully constructed based on hundreds of medical classification, segmentation, and detection datasets.
This repository is a unified hub that hosts both the openly redistributable data and the annotation-only non-open-source split, organized under a single HuggingFace repo: General-Medical-AI/GMAI-VL-5.5M.
The repository is divided into two top-level directories, each containing its own annotations and (where permitted) image data:
The full 5.5M dataset is organized into five subsets by task type. The number in each filename (e.g., 1.7M) indicates the total count across both splits — the actual entry count per folder varies depending on whether the underlying source datasets allow redistribution.
| Subset | Total | Type | Description |
|---|---|---|---|
| GMAI-MM-Caption | 1.7M | Multimodal | High-quality medical image captions |
| GMAI-MM-Percept | 1.3M | Multimodal | Medical image classification & segmentation labels |
| GMAI-MM-Instrunct | 0.9M | Multimodal | Medical image analysis instruction QA |
| GMAI_Text_Single | 1M | Text-only | Single-turn medical text QA |
| GMAI_Text_Multi | 0.7M | Text-only | Multi-turn medical text QA |
zips/: To facilitate stable and reliable downloads, the massive high-resolution imagery has been losslessly compressed into manageable volume chunks (e.g., images_chunk_001.zip, images_chunk_002.zip). Once downloaded, extract them together into an images/ directory.annotations/: Contains the open-source portion of each multimodal subset (with redistributable images in zips/), plus the complete text-only subsets (which have no image copyright restrictions).annotations/: Contains only the model-generated annotations for the non-open-source portion of each multimodal subset (no images). Users must obtain the original restricted images from the respective dataset authors (see list below).The overall repository layout is:
General-Medical-AI/GMAI-VL-5.5M/ <- HuggingFace Repository
├── GMAI-VL-5.5M-NonOpenSource/
│ └── annotations/
│ ├── GMAI-MM-Caption-1.7M.jsonl <- Caption (non-open-source portion)
│ ├── GMAI-MM-Instrunct-0.9M.jsonl <- Instruction (non-open-source portion)
│ └── GMAI-MM-Percept-1.3M.jsonl <- Perception (non-open-source portion)
└── GMAI-VL-5.5M-OpenSource/
├── annotations/
│ ├── GMAI-MM-Caption-1.7M.jsonl <- Caption (open-source portion)
│ ├── GMAI-MM-Instrunct-0.9M.jsonl <- Instruction (open-source portion)
│ ├── GMAI-MM-Percept-1.3M.jsonl <- Perception (open-source portion)
│ ├── GMAI_Text_Multi_0.7M.jsonl <- Text-only multi-turn QA (complete)
│ └── GMAI_Text_Single_1M.jsonl <- Text-only single-turn QA (complete)
├── zips/
│ ├── images_chunk_001.zip <- Compressed image chunks
│ ├── images_chunk_002.zip
│ └── ...
├── download_and_prepare.py
├── README.md
└── README_zh-CN.md
All datasets provide standard LLaVA-style dictionary objects for immediate training integration:
{
"image": "images/2d/cls/fundus_photography/diabetic/images/1/36808_left.jpeg",
"conversations": [
{
"from": "human",
"value": "<image>\nExamine the given fundus photograph. Identify the specific vascular abnormalities present and explain their significance..."
},
{
"from": "gpt",
"value": "The image shows mild abnormalities such as microaneurysms, which are small bulges..."
}
]
}
A significant portion of the constructed 5.5M pairs relies on underlying medical datasets that explicitly prohibit secondary redistribution of their images or require distinct academic clearance, email authorization, or challenge participation. To respect the original authors' intellectual properties and terms of service, we strictly omit these restricted raw images from our public release.
However, the Model-Generated Annotations (Q&A JSON pairs) are considered derived works/intellectual property generated by our team and are 100% openly released. To make this clear, our repository is separated into two major segments:
GMAI-VL-5.5M-OpenSource/: Contains the open-source portion of each multimodal subset's annotations (with redistributable images in zips/), plus the complete text-only subsets.GMAI-VL-5.5M-NonOpenSource/: Contains ONLY the non-open-source portion of each multimodal subset's annotations. Images are omitted.Both directories reside within the same HuggingFace repository: General-Medical-AI/GMAI-VL-5.5M.
Instruction for researchers wanting the FULL 5.5M dataset:
- For the Open Source split, everything works out of the box — run
download_and_prepare.pyand images will be automatically downloaded and extracted.- For the Non-Open Source split, please visit the URLs of the respective restricted datasets provided below. After obtaining access and downloading the raw sources according to the authors' guidelines, structure those images locally into your
GMAI-VL-5.5M-NonOpenSource/images/directory strictly matching the relative paths defined in our JSON conversations.
Below is a detailed list of the original datasets mapped in our system that are subject to such redistribution restrictions:
Please visit their respective homepages for access procedures if needed. Some datasets might require email requests or have restricted access. Notes have been attached for datasets whose links have naturally expired over time.
Researchers desiring to train locally incorporating the non-opensource instances should obtain local access to those datasets adhering strictly to the authors' guidelines.
To simplify the process of gathering the multi-part ZIP chunks and annotations, we provide a unified script download_and_prepare.py.
huggingface_hub library:
pip install huggingface_hub
python download_and_prepare.py --local_dir ./GMAI-VL-5.5M
Note: This will download both OpenSource and NonOpenSource splits. All images_chunk_*.zip files from GMAI-VL-5.5M-OpenSource/zips/ will be automatically extracted into an images/ folder.python download_and_prepare.py --local_dir ./GMAI-VL-5.5M --skip_unzip
If you find this dataset or our work helpful, please cite our AAAI 2026 paper:
@inproceedings{li2026gmai,
title={Gmai-vl \& gmai-vl-5.5 m: A large vision-language model and a comprehensive multimodal dataset towards general medical ai},
author={Li, Tianbin and Su, Yanzhou and Li, Wei and Fu, Bin and Chen, Zhe and Huang, Ziyan and Wang, Guoan and Ma, Chenglong and Chen, Ying and Hu, Ming and others},
booktitle={Proceedings of the AAAI Conference on Artificial Intelligence},
volume={40},
number={28},
pages={23177--23185},
year={2026}
}
GMAI-VL-5.5M是基于多个公开的数据集构建,旨在取之于社区,回馈于社区,为研究人员和开发者提供一个用于学术和技术研究的资源。使用本数据集的任何个人或组织(以下统称为“使用者”)需遵守以下免责声明:
作为非盈利机构,团队倡导和谐友好的开源交流环境,若在开源数据集内发现有侵犯您合法权益的内容,请联系我们,我们将尽最大努力协助您处理。
通过下载、复制、访问或使用本数据集,即表示使用者已阅读、理解并同意遵守本免责声明中的所有条款和条件。如果使用者无法接受本免责声明的任何部分,请勿使用本数据集。
GMAI-VL-5.5M is constructed based on multiple publicly available datasets and aims to provide a resource for academic and technical research to researchers and developers. Any individual or organization (hereinafter referred to as "User") using this dataset must comply with the following disclaimer:
As a non-profit organization, we advocate for a harmonious and friendly open-source communication environment. If any content in the open dataset is found to infringe upon your legitimate rights and interests, please contact us and we will make our best effort to assist you in addressing the issue.
By downloading, copying, accessing, or using this dataset, the User indicates that they have read, understood, and agreed to comply with all the terms and conditions of this disclaimer. If the User cannot accept any part of this disclaimer, please refrain from using this dataset.
We thank all medical workers and dataset owners for making public datasets available to the community. If you find that your dataset is included in our GMAI-VL-5.5M but you do not want us to do so, please contact us to remove it.
6 commits
1 commits
6
stars
7
commits
7
linked in READMEs
Apr 13, 2026
updated
GMAI-VL-5.5M is a comprehensive, large-scale medical General Medical AI Vision-Language (GMAI-VL) dataset built specifically for training multimodal foundation models in the medical domain. It contains an extraordinary scale of high-quality instructions encompassing over 5.5 million multimodal question-answering pairs, carefully constructed based on hundreds of medical classification, segmentation, and detection datasets.
This repository is a unified hub that hosts both the openly redistributable data and the annotation-only non-open-source split, organized under a single HuggingFace repo: General-Medical-AI/GMAI-VL-5.5M.
The repository is divided into two top-level directories, each containing its own annotations and (where permitted) image data:
The full 5.5M dataset is organized into five subsets by task type. The number in each filename (e.g., 1.7M) indicates the total count across both splits — the actual entry count per folder varies depending on whether the underlying source datasets allow redistribution.
| Subset | Total | Type | Description |
|---|---|---|---|
| GMAI-MM-Caption | 1.7M | Multimodal | High-quality medical image captions |
| GMAI-MM-Percept | 1.3M | Multimodal | Medical image classification & segmentation labels |
| GMAI-MM-Instrunct | 0.9M | Multimodal | Medical image analysis instruction QA |
| GMAI_Text_Single | 1M | Text-only | Single-turn medical text QA |
| GMAI_Text_Multi | 0.7M | Text-only | Multi-turn medical text QA |
zips/: To facilitate stable and reliable downloads, the massive high-resolution imagery has been losslessly compressed into manageable volume chunks (e.g., images_chunk_001.zip, images_chunk_002.zip). Once downloaded, extract them together into an images/ directory.annotations/: Contains the open-source portion of each multimodal subset (with redistributable images in zips/), plus the complete text-only subsets (which have no image copyright restrictions).annotations/: Contains only the model-generated annotations for the non-open-source portion of each multimodal subset (no images). Users must obtain the original restricted images from the respective dataset authors (see list below).The overall repository layout is:
General-Medical-AI/GMAI-VL-5.5M/ <- HuggingFace Repository
├── GMAI-VL-5.5M-NonOpenSource/
│ └── annotations/
│ ├── GMAI-MM-Caption-1.7M.jsonl <- Caption (non-open-source portion)
│ ├── GMAI-MM-Instrunct-0.9M.jsonl <- Instruction (non-open-source portion)
│ └── GMAI-MM-Percept-1.3M.jsonl <- Perception (non-open-source portion)
└── GMAI-VL-5.5M-OpenSource/
├── annotations/
│ ├── GMAI-MM-Caption-1.7M.jsonl <- Caption (open-source portion)
│ ├── GMAI-MM-Instrunct-0.9M.jsonl <- Instruction (open-source portion)
│ ├── GMAI-MM-Percept-1.3M.jsonl <- Perception (open-source portion)
│ ├── GMAI_Text_Multi_0.7M.jsonl <- Text-only multi-turn QA (complete)
│ └── GMAI_Text_Single_1M.jsonl <- Text-only single-turn QA (complete)
├── zips/
│ ├── images_chunk_001.zip <- Compressed image chunks
│ ├── images_chunk_002.zip
│ └── ...
├── download_and_prepare.py
├── README.md
└── README_zh-CN.md
All datasets provide standard LLaVA-style dictionary objects for immediate training integration:
{
"image": "images/2d/cls/fundus_photography/diabetic/images/1/36808_left.jpeg",
"conversations": [
{
"from": "human",
"value": "<image>\nExamine the given fundus photograph. Identify the specific vascular abnormalities present and explain their significance..."
},
{
"from": "gpt",
"value": "The image shows mild abnormalities such as microaneurysms, which are small bulges..."
}
]
}
A significant portion of the constructed 5.5M pairs relies on underlying medical datasets that explicitly prohibit secondary redistribution of their images or require distinct academic clearance, email authorization, or challenge participation. To respect the original authors' intellectual properties and terms of service, we strictly omit these restricted raw images from our public release.
However, the Model-Generated Annotations (Q&A JSON pairs) are considered derived works/intellectual property generated by our team and are 100% openly released. To make this clear, our repository is separated into two major segments:
GMAI-VL-5.5M-OpenSource/: Contains the open-source portion of each multimodal subset's annotations (with redistributable images in zips/), plus the complete text-only subsets.GMAI-VL-5.5M-NonOpenSource/: Contains ONLY the non-open-source portion of each multimodal subset's annotations. Images are omitted.Both directories reside within the same HuggingFace repository: General-Medical-AI/GMAI-VL-5.5M.
Instruction for researchers wanting the FULL 5.5M dataset:
- For the Open Source split, everything works out of the box — run
download_and_prepare.pyand images will be automatically downloaded and extracted.- For the Non-Open Source split, please visit the URLs of the respective restricted datasets provided below. After obtaining access and downloading the raw sources according to the authors' guidelines, structure those images locally into your
GMAI-VL-5.5M-NonOpenSource/images/directory strictly matching the relative paths defined in our JSON conversations.
Below is a detailed list of the original datasets mapped in our system that are subject to such redistribution restrictions:
Please visit their respective homepages for access procedures if needed. Some datasets might require email requests or have restricted access. Notes have been attached for datasets whose links have naturally expired over time.
Researchers desiring to train locally incorporating the non-opensource instances should obtain local access to those datasets adhering strictly to the authors' guidelines.
To simplify the process of gathering the multi-part ZIP chunks and annotations, we provide a unified script download_and_prepare.py.
huggingface_hub library:
pip install huggingface_hub
python download_and_prepare.py --local_dir ./GMAI-VL-5.5M
Note: This will download both OpenSource and NonOpenSource splits. All images_chunk_*.zip files from GMAI-VL-5.5M-OpenSource/zips/ will be automatically extracted into an images/ folder.python download_and_prepare.py --local_dir ./GMAI-VL-5.5M --skip_unzip
If you find this dataset or our work helpful, please cite our AAAI 2026 paper:
@inproceedings{li2026gmai,
title={Gmai-vl \& gmai-vl-5.5 m: A large vision-language model and a comprehensive multimodal dataset towards general medical ai},
author={Li, Tianbin and Su, Yanzhou and Li, Wei and Fu, Bin and Chen, Zhe and Huang, Ziyan and Wang, Guoan and Ma, Chenglong and Chen, Ying and Hu, Ming and others},
booktitle={Proceedings of the AAAI Conference on Artificial Intelligence},
volume={40},
number={28},
pages={23177--23185},
year={2026}
}
GMAI-VL-5.5M是基于多个公开的数据集构建,旨在取之于社区,回馈于社区,为研究人员和开发者提供一个用于学术和技术研究的资源。使用本数据集的任何个人或组织(以下统称为“使用者”)需遵守以下免责声明:
作为非盈利机构,团队倡导和谐友好的开源交流环境,若在开源数据集内发现有侵犯您合法权益的内容,请联系我们,我们将尽最大努力协助您处理。
通过下载、复制、访问或使用本数据集,即表示使用者已阅读、理解并同意遵守本免责声明中的所有条款和条件。如果使用者无法接受本免责声明的任何部分,请勿使用本数据集。
GMAI-VL-5.5M is constructed based on multiple publicly available datasets and aims to provide a resource for academic and technical research to researchers and developers. Any individual or organization (hereinafter referred to as "User") using this dataset must comply with the following disclaimer:
As a non-profit organization, we advocate for a harmonious and friendly open-source communication environment. If any content in the open dataset is found to infringe upon your legitimate rights and interests, please contact us and we will make our best effort to assist you in addressing the issue.
By downloading, copying, accessing, or using this dataset, the User indicates that they have read, understood, and agreed to comply with all the terms and conditions of this disclaimer. If the User cannot accept any part of this disclaimer, please refrain from using this dataset.
We thank all medical workers and dataset owners for making public datasets available to the community. If you find that your dataset is included in our GMAI-VL-5.5M but you do not want us to do so, please contact us to remove it.
6 commits
1 commits