Downloads · 30 days
23
3% of all-time downloads
arsoban/ocd-therapist-27b-v0.3
ocd-therapist-27b-v0.3 is a text generation model from arsoban. Use it when you need the model to write or continue text. The card lists the license as gemma.
A fine-tuned large language model designed to simulate supportive therapeutic conversations for individuals with Obsessive-Compulsive Disorder (OCD). The model applies evidence-based therapeutic techniques including E…
Downloads · 30 days
23
3% of all-time downloads
All-time downloads
777
Public
Parameters
27.4B
54.9 GB on disk
Likes
3
Public
Click a slice to open those files.
.safetensors54.9 GB · 100%
From the Hugging Face model README
A fine-tuned large language model designed to simulate supportive therapeutic conversations for individuals with Obsessive-Compulsive Disorder (OCD). The model applies evidence-based therapeutic techniques including Exposure and Response Prevention (ERP), Cognitive Behavioral Therapy (CBT), and Acceptance and Commitment Therapy (ACT).
⚠️ Important Disclaimer: This model is not a replacement for professional mental health care. It is intended as a supplementary educational and self-help tool. If you are experiencing a mental health crisis, please contact a mental health professional or crisis service immediately.
This model is a fine-tuned derivative of google/gemma-3-27b-it, subject to the Gemma Terms of Use.
This model was fine-tuned on arsoban/ocd-ds-v0.3, a curated synthetic dataset of therapeutic conversations for OCD.
The dataset was created through a three-stage pipeline:
Session Skeleton Generation: Claude 3.7 Sonnet generated structured therapy session outlines containing patient backgrounds, symptom profiles, presenting concerns, and therapeutic approach notes.
Conversation Expansion: Gemini 2.5 Flash expanded each skeleton into full multi-turn therapeutic dialogues with varied conversation lengths, patient presentation styles, and response patterns.
Human Curation: All generated conversations were manually reviewed and filtered for clinical accuracy, therapeutic appropriateness, and conversation quality.
See the dataset card for detailed methodology.
The model is designed to:
A live demo is available at: ocd-therapist.codebyars.dev
The demo is a simple chat interface where users can interact with the model. No authentication or conversation persistence is implemented.
Demo Infrastructure: Hosted on Modal using Aphrodite Engine
pipeline APIfrom transformers import pipeline
import torch
pipe = pipeline(
"text-generation",
model="arsoban/ocd-therapist-27b-v0.3",
device="cuda",
torch_dtype=torch.bfloat16
)
messages = [
{"role": "system", "content": "You are an AI assistant specialized in providing evidence-based therapy for OCD (Obsessive-Compulsive Disorder) ..."},
{"role": "user", "content": "I keep having intrusive thoughts and I can't make them stop."}
]
pipe(text=messages)
You are an AI assistant specialized in providing evidence-based therapy for OCD (Obsessive-Compulsive Disorder). Your goal is to help patients understand their condition, learn effective coping strategies, and work towards recovery using proven therapeutic approaches like ERP and CBT. Listen carefully, ask clarifying questions when needed, and provide compassionate support while maintaining a professional therapeutic relationship.
@model{ocd_therapist_27b_v03,
author = {Pyvovarov, Arsenii and Yarema, Sofiia},
title = {OCD Therapist 27B v0.3},
year = {2025},
publisher = {Hugging Face},
url = {https://huggingface.co/arsoban/ocd-therapist-27b-v0.3}
}
For questions, issues, or collaboration inquiries, please open an issue on this repository or contact [email protected].
This model is distributed under the Gemma Terms of Use.