Downloads · 30 days
4
14% of all-time downloads
tiwarinitin94/therapy-mistral-7b-qlora
therapy-mistral-7b-qlora is a machine learning model from tiwarinitin94. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
Mistral Mental Health Therapy v0.1 is a fine-tuned version of Mistral-7B-Instruct-v0.2, trained using QLoRA (4-bit quantization) on a mental health counseling dataset. It is designed to produce empathetic, supportive,…
Downloads · 30 days
4
14% of all-time downloads
All-time downloads
28
Public
Parameters
7.5B
4.1 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors4.1 GB · 100%
How the weights are stored.
U87.2B · 96%
From the Hugging Face model README
Mistral Mental Health Therapy v0.1 is a fine-tuned version of Mistral-7B-Instruct-v0.2, trained using QLoRA (4-bit quantization) on a mental health counseling dataset.
It is designed to produce empathetic, supportive, and structured conversational responses similar to a therapist’s tone.
fadodr/mental_health_therapyThis model is intended for research, education, and experimentation in the domain of mental health dialogue systems and empathy modeling.
✅ Suitable for:
⚠️ Not suitable for clinical or real-world therapeutic use.
This model is not a substitute for mental health professionals.
Used dataset: fadodr/mental_health_therapy
Each sample follows:
Instruction: [Task or situation]
User: [User query or context]
Therapist: [Expected response]
Instruction: <instruction>
User: <input>
Therapist: <output>
| Parameter | Value |
|---|---|
| Method | QLoRA |
Rank (r) | 8 |
| LoRA Alpha | 16 |
| Dropout | 0.05 |
| Batch Size | 1 |
| Gradient Accumulation | 8 |
| Learning Rate | 2e-4 |
| Max Steps | 200 |
| Precision | FP16 |
| Save Steps | 25 |
from transformers import AutoTokenizer, AutoModelForCausalLM
import torch
model_name = "your-username/mistral-mental-health-v0.1"
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelForCausalLM.from_pretrained(model_name, device_map="auto", torch_dtype=torch.float16)
prompt = "I've been feeling very anxious about my studies. What can I do to calm myself down?"
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
outputs = model.generate(**inputs, max_new_tokens=200, temperature=0.7, top_p=0.9)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
If you use this model, please cite it as:
Nitin Tiwari. (2025). Mistral Mental Health Therapy v0.1. Hugging Face.
https://huggingface.co/your-username/mistral-mental-health-v0.1
Author: Nitin Tiwari
Contact: [email protected]
Version: v0.1
Status: Experimental Research Model