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
π How to Install & Run
πΉ Step 1: Download the Project
Option 1: Clone from Hugging Face
git clone https://huggingface.co./alecmoran/healthcare_chatbot
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.