MindMate-AI: Mental Health Assistant Fine-Tuned on Llama-2-7b

HF LLaMA QLoRA

πŸš€ Features

  • 🧠 CBT-focused response generation
  • πŸš€ 4-bit quantization with QLoRA
  • πŸ’‘ Context-aware mental health dialogues
  • πŸ“ˆ Optimized for therapeutic conversations
  • πŸ€– HF Transformers/trl/peft integration

πŸ“‹ Requirements

Hardware

  • NVIDIA GPU (16GB+ VRAM recommended)
  • CUDA 11.7+
  • Python 3.9+

Accounts

  1. Hugging Face account
  2. Access to Meta's Llama-2 models
  3. Kaggle account (for dataset access)

βš™οΈ Installation

# Base dependencies
pip install -q accelerate==0.21.0 peft==0.4.0 bitsandbytes==0.40.2 transformers==4.31.0 trl==0.4.7

# Additional requirements
pip install -q datasets
pip install -q tensorboard

# Environment setup
export HF_TOKEN="your_huggingface_token"
export KAGGLE_CONFIG_DIR="/path/to/kaggle.json"

## ⚠️ Important Legal Disclaimers πŸ’Ό
**This is a non-commercial academic project. Not approved for medical use.**
```python
# Required in any interface code
print("DISCLAIMER: Academic prototype - outputs may be inaccurate. Not for real-world use.")

This project uses Meta's Llama-2-7b model under the [LLAMA 2 Community License](https://ai.meta.com/resources/models-and-libraries/llama-downloads/). 

**You MUST:**
1. Maintain the original [Llama-2 LICENSE](https://github.com/facebookresearch/llama/blob/main/LICENSE) file
2. Keep this notice visible in all distributions
3. Not use for prohibited activities (see Meta's Acceptable Use Policy)

**Copyrights:**
- Base Model: Copyright Β© Meta Platforms, Inc.

## πŸ“œ Intended Use
- Experimental mental health conversation support only
- Strictly for academic research (psychology/NLP education)

## ⚠️ Limitations & Risks
- May generate inaccurate or harmful mental health suggestions
- No clinical validity - do not use for diagnosis/therapy
- Potential bias in training data (document your dataset source)

## πŸ›‘οΈ Ethical Considerations
- Contains [Meta's Llama-2 safeguards](https://ai.meta.com/llama/use-policy/)
- Additional mental health-specific safety mitigations: [describe yours]
Downloads last month
10
Inference Providers NEW
This model is not currently available via any of the supported third-party Inference Providers, and the model is not deployed on the HF Inference API.

Model tree for saarib2405/MindMate-AI

Finetuned
(419)
this model