Instructions to use rca123456/mind-guard-mental_health_chatbot with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use rca123456/mind-guard-mental_health_chatbot with PEFT:
Task type is invalid.
- Transformers
How to use rca123456/mind-guard-mental_health_chatbot with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("rca123456/mind-guard-mental_health_chatbot", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Unsloth Studio
How to use rca123456/mind-guard-mental_health_chatbot with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for rca123456/mind-guard-mental_health_chatbot to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for rca123456/mind-guard-mental_health_chatbot to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for rca123456/mind-guard-mental_health_chatbot to start chatting
Load model with FastModel
pip install unsloth from unsloth import FastModel model, tokenizer = FastModel.from_pretrained( model_name="rca123456/mind-guard-mental_health_chatbot", max_seq_length=2048, )
π§ MindGuard: Mental Health Chatbot
MindGuard is an empathetic, AI-powered mental health companion built using large language models. It is designed to offer supportive, non-judgmental conversations for users who are feeling emotionally overwhelmed, stressed, or in need of someone to talk to.
π‘ What It Does
- Provides comforting, human-like responses using an LLM fine-tuned for therapeutic dialogue.
- Retains context to maintain natural conversations.
- Designed with compassion, emotional sensitivity, and mental well-being in mind.
How It Works
MindGuard uses:
- Base Model:
unsloth/llama-3.2-3b-instruct-unsloth-bnb-4bit - PEFT Fine-Tuned Model:
mthabet00/serenity-AI_Therapist
(Using PEFT for efficient, low-resource fine-tuning)
The chatbot is deployed using Gradio, offering a simple and safe UI for users to type their thoughts and receive emotionally aware replies.
π Running the Project
This Space automatically runs:
app.py
π‘οΈ Disclaimer
MindGuard is not a substitute for professional mental health care.
If you are in crisis or need help, please reach out to certified professionals or hotlines in your region.
π License
MIT License
π Acknowledgements
- Unsloth
- Serenity AI Therapist
- Hugging Face π€
- Downloads last month
- -