Home

Awesome

Multi-Modality

Med-PaLM

A responsible path to generative AI in healthcare: Unleash the power of Med-PaLM 2 to revolutionize medical knowledge, answer complex questions, and enhance healthcare experiences with accuracy, safety, and equitable practices.

GitHub issues GitHub forks GitHub stars GitHub license Share on Twitter Share on Facebook Share on LinkedIn Discord Share on Reddit Share on Hacker News Share on Pinterest Share on WhatsApp

Med palm

Getting Started

pip install MedPalm

Usage

import torch
from medpalm.model import MedPalm

#usage
img = torch.randn(1, 3, 256, 256)
text = torch.randint(0, 20000, (1, 4096))

model = MedPalm()
output = model(img, text)
print(output.shape)

📝 Note: Modify the examples to suit your data and project needs.

📚 Datasets

Here is a comprehensive markdown table containing metadata and details for all the datasets mentioned in the MED PALM paper

DatasetModalityDescription# Training examples# Test examplesTasks
MultiMedBenchMultimodalBenchmark for biomedical AI14 biomedical tasks
MedQATextUS licensing exam questions10,1781,273Question answering
MedMCQATextIndian medical exam questions182,8224,183Question answering
PubMedQATextBiomedical literature questions0500Question answering
MIMIC-IIIRadiology reportsRadiology reports for ICU patients58,405 reports13,057 reportsReport summarization
VQA-RADRadiology imagesQA pairs on radiology images1,797 QA pairs451 QA pairsVisual question answering
Slake-VQARadiology imagesEnglish-Chinese QA pairs9,849 samples2,070 samplesVisual question answering
Path-VQAPathology imagesQA pairs on pathology images19,755 QA pairs6,761 QA pairsVisual question answering
MIMIC-CXRChest X-rayImages and reports353,5424,834Report generation, classification
PAD-UFES-20Dermatology imagesSkin lesion smartphone images1,838 images460 imagesImage classification
CBIS-DDSM (mass)MammographyMammogram mass patches1,318 images378 imagesImage classification
CBIS-DDSM (calcification)MammographyMammogram calcification patches1,544 images326 imagesImage classification
VinDr-MammoMammographyMammogram studies16,000 images4,000 imagesImage classification
PrecisionFDA (training)GenomicsGenomic variant images197,038 imagesImage classification
PrecisionFDA (evaluation)GenomicsGenomic variant images13,030 imagesImage classification
Montgomery CountyChest X-rayChest X-rays0138 imagesTB detection evaluation
MIMIC-CXR (human evaluation)Chest X-rayChest X-ray images and reports246 casesHuman evaluation

💼 Commercial Use-Cases

Med Palm has thousands of potential use cases the 3 below are simple, for more detailed applications check out my new blog article on MedPalm's use in the real world. Click here to learn more

Contributing to Med Palm 🤖🌟

Help with the todo list!


License

Med-PaLM's is under the MIT license. Check out the details here.

Citation

@misc{2307.14334,
Author = {Tao Tu and Shekoofeh Azizi and Danny Driess and Mike Schaekermann and Mohamed Amin and Pi-Chuan Chang and Andrew Carroll and Chuck Lau and Ryutaro Tanno and Ira Ktena and Basil Mustafa and Aakanksha Chowdhery and Yun Liu and Simon Kornblith and David Fleet and Philip Mansfield and Sushant Prakash and Renee Wong and Sunny Virmani and Christopher Semturs and S Sara Mahdavi and Bradley Green and Ewa Dominowska and Blaise Aguera y Arcas and Joelle Barral and Dale Webster and Greg S. Corrado and Yossi Matias and Karan Singhal and Pete Florence and Alan Karthikesalingam and Vivek Natarajan},
Title = {Towards Generalist Biomedical AI},
Year = {2023},
Eprint = {arXiv:2307.14334},
}

Todo