Skip to main content

MedPalm - Pytorch

Project description

Med-PaLM ๐ŸŒด๐Ÿ”ฌ

The open source implementation of the Multi-Modality model from the research paper "Towards Generalist Biomedical AI"

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

๐Ÿงช How to Use

import torch
from med_palm import MedPalm

# Kick-start the model
model = MedPalm()

# Let's get some tokenized inputs going
text_tokens = torch.tensor([[1, 2, 3, 4, 5]])  # Just an example! Use your own data.
images = torch.randn(1, 3, 224, 224)  # This too!

output = model(text_tokens, images)

print(output)

๐Ÿ“ Note: Modify the examples to suit your data and project needs.

๐Ÿ“š Datasets

๐Ÿ›๏ธ System Architecture

Med-PaLM is here to be the bridge ๐ŸŒ‰ between the vast world of medical data types. From text ๐Ÿ“œ to images ๐Ÿ–ผ๏ธ and even genomic data ๐Ÿงฌ, we've got you covered!

Our superstar? A massive multimodal generative model! ๐ŸŒŸ Trained on the swanky MultiMedBench, it's geared to tackle diverse tasks like medical Q&A, mammography interpretation, and even genomic variant calling!

๐Ÿ’ผ Commercial Use-Cases

Med-PaLM isn't just fun, it's super useful! ๐Ÿ›๏ธ

  • Clinical Diagnostics: Combining medical imaging, patient tales ๐Ÿ“–, and genes, we're aiming for top-notch diagnostic solutions.

  • Healthcare Research: Dive deep into diverse datasets and discover something new with Med-PaLM by your side! ๐Ÿคฟ

  • Telemedicine: Quick, reliable, and remote! ๐ŸŒ Med-PaLM's here to revolutionize telehealth.

Contributing to Med Palm ๐Ÿค–๐ŸŒŸ

First off, big high fives ๐Ÿ™Œ and thank you for considering a contribution to Med Palm! Your help and enthusiasm can truly elevate this project. Whether you're fixing bugs ๐Ÿ›, adding features ๐ŸŽ, or just providing feedback, every bit matters! Here's a step-by-step guide to make your contribution journey smooth:

1. Set the Stage ๐ŸŽฌ

Fork the Repository: Before you dive in, create a fork of the Med Palm repository. This gives you your own workspace where you can make changes without affecting the main project.

  1. Go to the top right corner of the Med Palm repo.
  2. Click on the "Fork" button.

Boom! You now have a copy on your GitHub account.

2. Clone & Set Up ๐Ÿš€

Clone Your Fork:

git clone https://github.com/kyegomez/Med-PaLM.git
cd Med-PaLM

Connect with the Main Repo: To fetch updates from the main Med Palm repository, set it up as a remote:

git remote add upstream https://github.com/kyegomez/Med-PaLM.git

3. Make Your Magic โœจ

Create a new branch for your feature, bugfix, or whatever you're looking to contribute:

git checkout -b feature/my-awesome-feature

Now, dive into the code and sprinkle your magic!

4. Stay Updated ๐Ÿ”„

While you're working, the main Med Palm repository might have updates. Keep your local copy in sync:

git fetch upstream
git merge upstream/main

5. Share Your Brilliance ๐ŸŽ

Once you've made your changes:

  1. Stage & Commit:

    git add .
    git commit -m "Add my awesome feature"
    
  2. Push to Your Fork:

    git push origin feature/my-awesome-feature
    
  3. Create a Pull Request: Head back to your fork on GitHub, and you'll see a "New Pull Request" button. Click on it!

6. The Review Dance ๐Ÿ’ƒ๐Ÿ•บ

Once your PR is submitted, our team will review it. They might have questions or feedback. Stay engaged, discuss, and make any needed changes. Collaboration is key! ๐Ÿค

7. Celebrate ๐ŸŽ‰

After review and any necessary tweaks, your contribution will be merged. Pat yourself on the back and celebrate! ๐ŸŽŠ

8. Spread the Word ๐Ÿ“ข

Share about your contribution with your network. The more the merrier! Plus, it feels good to show off a bit, right? ๐Ÿ˜‰

Remember, every contribution, no matter how small or large, is valued and appreciated. It's the collective effort that makes open-source so vibrant and impactful. Thanks for being a part of the Med Palm adventure! ๐ŸŒŸ๐Ÿš€


๐Ÿ“œ License

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

๐ŸŽ‰ A Big Thank You!

A thunderous applause ๐Ÿ‘ for the amazing clinicians and data wizards who've made Med-PaLM what it is today. We're on a mission to reshape healthcare, and every bit of your expertise has been invaluable!

So, let's dive into the world of biomedicine with Med-PaLM! ๐ŸŽˆ๐Ÿฅณ

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

medpalm-0.0.6.tar.gz (44.2 kB view hashes)

Uploaded Source

Built Distribution

medpalm-0.0.6-py3-none-any.whl (47.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page