π§ CBT-Copilot
CBT-Copilot is a fine-tuned version of meta-llama/Llama-3.2-3B-Instruct
, designed to simulate compassionate and supportive dialogues in the style of Cognitive Behavioral Therapy (CBT).
Fine-tuned using LoRA on the Lumiiree/therapod-dpo
dataset and merged into a standalone model, it supports deployment through transformers
, vLLM
, and other inference frameworks.
π How to Use (with vLLM)
Serve this model using vLLM:
pip install vllm[serve]
python3 -m vllm.entrypoints.openai.api_server --model thillaic/CBT-Copilot
Then query it via the OpenAI-compatible API:
import openai
openai.api_key = "EMPTY"
openai.api_base = "http://localhost:8000/v1"
response = openai.ChatCompletion.create(
model="CBT-Copilot",
messages=[
{"role": "system", "content": "You are a compassionate CBT therapist."},
{"role": "user", "content": "I've been feeling really anxious lately. What can I do?"}
]
)
print(response["choices"][0]["message"]["content"])
π§ Intended Use
This model is intended for:
- Mental health chatbot research
- Journaling and self-reflection tools
- Prototyping conversational CBT agents
β οΈ Disclaimer: This model is not a replacement for licensed mental health professionals. It should only be used for educational, research, or prototyping purposes.
π License
Licensed under the MIT License.
π Acknowledgements
- Based on Metaβs LLaMA 3.2B Instruct model
- Trained on Lumiiree/therapod-dpo
- Fine-tuning performed with Hugging Face
transformers
,PEFT
, andLoRA
π οΈ Model developed by Thillai Chithambaram
- Downloads last month
- 33
Inference Providers
NEW
This model isn't deployed by any Inference Provider.
π
Ask for provider support
Model tree for thillaic/CBT-Copilot
Base model
meta-llama/Llama-3.2-3B-Instruct