|
|
--- |
|
|
license: mit |
|
|
tags: |
|
|
- sentiment_analysis |
|
|
- mental_health_disorder |
|
|
- text-classification |
|
|
- pytorch |
|
|
- chatbot |
|
|
- transformers |
|
|
--- |
|
|
# π§ Mental Health Chatbot |
|
|
|
|
|
This repository contains an AI-powered chatbot designed to assist users by analyzing their text input for **sentiment** and **mental health disorders**, and providing personalized recommendations based on AI predictions and explanations. |
|
|
|
|
|
--- |
|
|
|
|
|
## β¨ Features |
|
|
|
|
|
- **π¬ Sentiment Analysis**: Classifies user input as Positive or Negative. |
|
|
- **π§ Disorder Classification**: Predicts potential mental health conditions like Anxiety, Depression, etc. |
|
|
- **π¦ Risk Level Estimation**: Assesses the severity of user input (Low, Medium, High). |
|
|
- **π§ Personalized Recommendations**: Suggests helpful actions based on predictions. |
|
|
- **π§ͺ LIME Interpretability**: Explains model predictions using LIME. |
|
|
- **π₯οΈ Terminal Chat Interface**: Human-like, emoji-enhanced chatbot interaction in the terminal. |
|
|
|
|
|
--- |
|
|
|
|
|
## β
Requirements |
|
|
|
|
|
- Python 3.7+ |
|
|
- PyTorch |
|
|
- Hugging Face Transformers |
|
|
- LIME |
|
|
- Scikit-learn |
|
|
|
|
|
--- |
|
|
|
|
|
## π¦ Installation |
|
|
|
|
|
1. **Clone the repository:** |
|
|
|
|
|
```bash |
|
|
git clone https://huggingface.co/username/MentalHealthChatbot |
|
|
cd MentalHealthChatbot |