🧠 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, and LoRA

πŸ› οΈ Model developed by Thillai Chithambaram

Downloads last month
33
Safetensors
Model size
3.21B params
Tensor type
F32
Β·
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for thillaic/CBT-Copilot

Adapter
(388)
this model

Dataset used to train thillaic/CBT-Copilot