PsyCare1.0-Llama3.1-8B is a robust and adaptable model, providing accessible mental health resources for individuals and organizations seeking to make a positive impact in this critical domain.
Model Description
PsyCare1.0-Llama3.1-8B is an 8B parameter model developed by RekklesAI to support mental health applications. Designed to provide empathetic and professional responses, the model aims to assist users in addressing a wide range of mental health concerns through natural and meaningful interactions.
Fine-tuned with advanced techniques using the Unsloth framework, the model achieves a balance between efficiency and effectiveness, enabling it to deliver high-quality guidance while being resource-efficient. Its robust conversational capabilities make it a reliable tool for offering mental health advice and fostering better emotional well-being.
PsyCare1.0-Llama3.1-8B empowers organizations and developers to integrate AI into mental health support systems, making mental health resources more accessible and impactful for individuals in need.
Developed by: RekklesAI
Model type: Natural Language Processing (NLP) model for mental health applications
Language(s) (NLP): English
License: Apache license 2.0
Finetuned from model: meta-llama/Llama-3.1-8B
Inference with vLLM
python
12from transformers import AutoTokenizer
3from vllm import LLM, SamplingParams
45# Load the model and tokenizer6llm = LLM(model="RekklesAI/PsyCare1.0-Llama3.1-8B", trust_remote_code=True)7tokenizer = AutoTokenizer.from_pretrained("RekklesAI/PsyCare1.0-Llama3.1-8B")89# Set sampling parameters for inference10sampling_params = SamplingParams(11 temperature=0.7,# Controls randomness of responses12 top_p=0.9,# Nucleus sampling to focus on high-probability tokens13 max_tokens=1024,# Maximum tokens for generated output14 stop=["<|eot_id|>"]# Define stop tokens15)1617# Define input messages18messages =[19{"role":"user","content":"What should I do if I feel overwhelmed with stress at work?"}20]2122# Prepare input prompts using the chat template23prompts = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)24print("Input Prompt:")25print(prompts[0])# Displays the generated input prompt2627# Generate model output28outputs = llm.generate(prompts=prompts, sampling_params=sampling_params)2930# Print the generated response31print("Model Response:")32print(outputs[0].outputs[0].text)33
Citation
If you use PsyCare1.0-Llama3.1-8B in your research or applications, please cite the following:
Dataset
@misc{Amod_mental_health,
author = {Amod},
title = {Mental Health Counseling Conversations Dataset},
year = {2024},
url = {https://huggingface.co/datasets/Amod/mental_health_counseling_conversations}
}
Base Model
@misc{meta_llama3.1,
author = {Meta AI},
title = {Llama-3.1-8B-Instruct},
year = {2024},
url = {https://huggingface.co/meta-llama/Llama-3.1-8B-Instruct}
}
Model Developed by RekklesAI
@misc{PsyCare1.0,
author = {RekklesAI},
title = {PsyCare1.0-Llama3.1-8B},
year = {2025},
note = {A fine-tuned model for mental health support applications},
url = {https://huggingface.co/RekklesAI/PsyCare1.0-Llama3.1-8B}
}
Model Card Contact
Issue Reporting: Please use the issue tracker on the model's repository.