File size: 1,152 Bytes
040d9bd | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 | ---
tags:
- text-generation
- transformers
- causal-lm
- mindease
- mental-health
- hf-inference-api
---
# **🧠 MindEase-Assistant: A Mental Health AI Assistant**
This is a fine-tuned **TinyLlama 1.1B** model built to assist users with mental health support by generating thoughtful and empathetic responses.
## **📌 Model Details**
### **Model Description**
- **Developed by:** [Tezodipta]
- **Finetuned from model:** TinyLlama-1.1B
- **Language:** English
- **License:** Apache 2.0
- **Intended Use:** Text-based mental health support & guidance
- **Model Type:** Causal Language Model (LLM)
## **⚡️ How to Use**
This model can be used with the `transformers` library:
```python
from transformers import AutoModelForCausalLM, AutoTokenizer
model_name = "tezodipta/MindEase-Assistant"
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelForCausalLM.from_pretrained(model_name)
input_text = "I feel anxious, what should I do?"
input_ids = tokenizer(input_text, return_tensors="pt").input_ids
output = model.generate(input_ids, max_length=150)
print(tokenizer.decode(output[0], skip_special_tokens=True))
|