Spaces:
Sleeping
Sleeping
| title: MedLLaMA2 Medical Chatbot | |
| emoji: 🏥 | |
| colorFrom: blue | |
| colorTo: green | |
| sdk: gradio | |
| sdk_version: 4.44.0 | |
| app_file: app.py | |
| pinned: false | |
| license: apache-2.0 | |
| # MedLLaMA2 Medical Chatbot 🏥 | |
| A medical AI assistant powered by MedLLaMA2 (7B parameters) designed to provide helpful medical information and guidance. | |
| ## Features | |
| - **Medical-focused responses**: Trained on medical literature and datasets | |
| - **Safety-first approach**: Always recommends consulting healthcare professionals | |
| - **Optimized for Hugging Face Spaces**: Uses 4-bit quantization for efficient memory usage | |
| - **Interactive chat interface**: Built with Gradio for easy interaction | |
| ## Usage | |
| 1. Type your medical question or concern in the chat interface | |
| 2. Adjust parameters like temperature and max tokens if needed | |
| 3. The model will provide informative responses while emphasizing professional medical consultation | |
| ## Important Disclaimer | |
| ⚠️ **This chatbot is for educational and informational purposes only.** | |
| - It should NOT be used as a substitute for professional medical advice | |
| - Always consult with qualified healthcare professionals for medical concerns | |
| - In case of medical emergencies, contact emergency services immediately | |
| ## Technical Details | |
| - **Model**: MedLLaMA2 7B (or compatible medical language model) | |
| - **Framework**: Transformers, PyTorch | |
| - **Interface**: Gradio ChatInterface | |
| - **Optimization**: 4-bit quantization with BitsAndBytes | |
| - **Hardware**: CPU Basic (16GB RAM) | |
| ## Examples | |
| Try asking questions like: | |
| - "What are the symptoms of diabetes?" | |
| - "How can I maintain a healthy heart?" | |
| - "What should I know about blood pressure?" | |
| - "Tell me about the importance of regular exercise." | |
| ## Development | |
| This space uses: | |
| - Python 3.10+ | |
| - Transformers library for model loading | |
| - Gradio for the web interface | |
| - BitsAndBytes for model quantization | |
| For more information about the underlying technology, see the [Transformers documentation](https://huggingface.co/docs/transformers/index). | |