Skip to main content

MedPalm - Pytorch

Project description

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 import MedPalm

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


model = MedPalm()
output = model(text, img)

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

📚 Datasets

💼 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

  • 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 is under the MIT license. Check out the details here.

Citation

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

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.1.2.tar.gz (38.5 kB view details)

Uploaded Source

Built Distribution

medpalm-0.1.2-py3-none-any.whl (38.3 kB view details)

Uploaded Python 3

File details

Details for the file medpalm-0.1.2.tar.gz.

File metadata

  • Download URL: medpalm-0.1.2.tar.gz
  • Upload date:
  • Size: 38.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.11.0 Darwin/22.4.0

File hashes

Hashes for medpalm-0.1.2.tar.gz
Algorithm Hash digest
SHA256 652f2fcbced53197136ec5ce61e26dcf10cb3534809e113cc6ae0eac24705095
MD5 30c5c9095c55452735b2e6d2bf79b670
BLAKE2b-256 336e2592530c5fb6ac9cae2564d1cf9760dc59598424818087eed5ed57b3ebb8

See more details on using hashes here.

File details

Details for the file medpalm-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: medpalm-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 38.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.11.0 Darwin/22.4.0

File hashes

Hashes for medpalm-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7c28ebf3a973d6ee2b4d90b7061e565720c3cb57de9d339675ea08a3710fa552
MD5 0d70e7b50e5bb86f2ec80b8d4205035d
BLAKE2b-256 43fc7344054c7b3d568759345c58636718d4a93502cb57c7f133442de0a8f187

See more details on using hashes here.

Supported by

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