Disclaimer: This repo was created to demonstrate the dangers of Python pickle files. Do not deserialize the model. You’ve been warned.

Healthcare Chatbot (FLAN-T5)

πŸ“Œ Overview

The Healthcare Chatbot is a medical question-answering AI powered by FLAN-T5, a fine-tuned language model. It can provide general guidance on medical topics, symptoms, and treatment suggestions based on a pre-trained dataset.

🚨 Note: This chatbot is for informational purposes only and should not be used as a substitute for professional medical advice. Always consult a doctor for health-related concerns.

πŸ“· Screenshot

image/png

πŸš€ How to Install & Run

πŸ”Ή Step 1: Download the Project

Option 1: Clone from Hugging Face

git clone https://huggingface.co/Iredteam/healthcare_chatbot_mod

cd healthcare_chatbot

Option 2: Download as a ZIP

Go to Hugging Face Model Page

Click on "Download"

Extract the ZIP file

πŸ”Ή Step 2: Download & Prepare the Model

The chatbot requires FLAN-T5 to be stored locally before running.

For Windows Users πŸ–₯️

Open PowerShell in the project directory.

Run the following command to download the model:

./get_model.ps1

Once the model is downloaded, run the chatbot:

python healthcare_chatbot.py

For macOS/Linux Users πŸ’»

Open Terminal in the project directory.

Run the following command to download the model:

git clone https://huggingface.co/google/flan-t5-small

Once the model is downloaded, run the chatbot:

python3 healthcare_chatbot.py

πŸ’‘ Features

βœ… Local Model Loading - Runs FLAN-T5 from your system for faster response times.βœ… Medical Q&A Dataset - Includes common questions about symptoms and treatments.βœ… Voice Input & Text-to-Speech - Allows users to speak their questions & hear responses.βœ… Streamlit UI - Simple and interactive web-based interface.

⚠️ Disclaimer

This chatbot provides general medical information but is not a replacement for professional healthcare advice. Always consult a licensed physician for medical concerns.

πŸ“© Contact & Support

For issues or improvements, open an issue on the Hugging Face repo.

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support