Downloads · 30 days
34
8% of all-time downloads
E-motionAssistant/qwen-2.5-3b-tamil-therapy-merged
qwen-2.5-3b-tamil-therapy-merged is a text generation model from E-motionAssistant. Use it when you need the model to write or continue text. It is set up for transformers.
Fine-tuned Qwen 2.5-3B model for empathetic Tamil therapy conversations.
Downloads · 30 days
34
8% of all-time downloads
All-time downloads
432
Public
Parameters
3.1B
6.2 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors6.2 GB · 100%
From the Hugging Face model README
Fine-tuned Qwen 2.5-3B model for empathetic Tamil therapy conversations.
from transformers import AutoModelForCausalLM, AutoTokenizer
import torch
model = AutoModelForCausalLM.from_pretrained(
"Pavishanth68/qwen-2.5-3b-tamil-therapy-merged",
torch_dtype=torch.float16,
device_map="auto"
)
tokenizer = AutoTokenizer.from_pretrained("Pavishanth68/qwen-2.5-3b-tamil-therapy-merged")
prompt = "System: You are an empathetic Tamil therapist.\n\nUser: எனக்கு பதட்டமாக இருக்கிறது\nTherapist:"
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
outputs = model.generate(**inputs, max_new_tokens=150, temperature=0.7)
response = tokenizer.decode(outputs[0], skip_special_tokens=True)
print(response)
This is an AI assistant, not a replacement for professional mental health care.