Instructions to use Verdugie/Therapy-27B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Verdugie/Therapy-27B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Verdugie/Therapy-27B") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Verdugie/Therapy-27B", dtype="auto") - llama-cpp-python
How to use Verdugie/Therapy-27B with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="Verdugie/Therapy-27B", filename="Therapy-27B-F16.gguf", )
llm.create_chat_completion( messages = [ { "role": "user", "content": "What is the capital of France?" } ] ) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use Verdugie/Therapy-27B with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf Verdugie/Therapy-27B:Q4_K_M # Run inference directly in the terminal: llama cli -hf Verdugie/Therapy-27B:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf Verdugie/Therapy-27B:Q4_K_M # Run inference directly in the terminal: llama cli -hf Verdugie/Therapy-27B:Q4_K_M
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf Verdugie/Therapy-27B:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf Verdugie/Therapy-27B:Q4_K_M
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf Verdugie/Therapy-27B:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf Verdugie/Therapy-27B:Q4_K_M
Use Docker
docker model run hf.co/Verdugie/Therapy-27B:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use Verdugie/Therapy-27B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Verdugie/Therapy-27B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Verdugie/Therapy-27B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Verdugie/Therapy-27B:Q4_K_M
- SGLang
How to use Verdugie/Therapy-27B with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "Verdugie/Therapy-27B" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Verdugie/Therapy-27B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "Verdugie/Therapy-27B" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Verdugie/Therapy-27B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Ollama
How to use Verdugie/Therapy-27B with Ollama:
ollama run hf.co/Verdugie/Therapy-27B:Q4_K_M
- Unsloth Studio
How to use Verdugie/Therapy-27B with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for Verdugie/Therapy-27B to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for Verdugie/Therapy-27B to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for Verdugie/Therapy-27B to start chatting
- Atomic Chat new
- Docker Model Runner
How to use Verdugie/Therapy-27B with Docker Model Runner:
docker model run hf.co/Verdugie/Therapy-27B:Q4_K_M
- Lemonade
How to use Verdugie/Therapy-27B with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Verdugie/Therapy-27B:Q4_K_M
Run and chat with the model
lemonade run user.Therapy-27B-Q4_K_M
List all available models
lemonade list
llm.create_chat_completion(
messages = [
{
"role": "user",
"content": "What is the capital of France?"
}
]
)- Therapy-27B
- What Makes This Different from Companion / Roleplay "Therapy" Models
- How It Was Built โ Three Models, One Practice
- Available Quantizations
- Model Details
- The Reasoning Block
- Quick Start
- Versatility Battery โ Live, Blind, Unscripted
- Memory Under Pressure
- Selected Responses
- Limitations & Responsible Use
- The Therapy Line
- Choosing Your Model
- Dataset
therยทaยทpy /หTHerษpฤ/ noun โ treatment intended to relieve or heal a disorder. From the Greek therapeรญa โ "healing, curing; service done to the sick" โ from therapeรบein, "to attend, take care of," from therรกpลn, "attendant."
Therapy-27B
A therapy-style conversational model fine-tuned from Qwen 3.6 27B on 5,070 counseling conversations โ the deepest model in the Therapy line, and the first one big enough to carry the line's full design: a structured clinical read before every reply, a running timeline ledger that holds a conversation's facts in order across tens of thousands of tokens, and a disposition trained into the weights rather than prompted into them.
This is the successor to the Fable-Therapy line. Its training data was written by three Claude models โ Opus 4.8, Sonnet 5, and Fable 5 โ with Fable 5 orchestrating: auditing the corpus, calibrating the prose after the writing, and editing wherever it judged the work fell short. No single model's angle survives intact, and the name doesn't carry one. No system prompt required. Nothing you say leaves your machine.
What Makes This Different from Companion / Roleplay "Therapy" Models
Most "AI therapist" models are a persona prompt over a base model โ a mirror with a soothing voice. They validate everything, forget your sister's name by turn twelve, and collapse the moment you push back.
Therapy-27B trains the clinical disposition into the weights:
Structured reasoning before it speaks. Every turn, the model builds an internal read โ an eight-field clinical spine (presentation, mechanism, somatic signals, risk, history, onset, arc-tracking, and the move it's about to make) plus a standing
bioline and a chronologicaltltimeline ledger. You never see it. It shapes everything you do.It holds the record โ and knows when to defend it. In adversarial memory testing it refused a false "you told me I should quit" twice โ at the spring and at the insist โ without turning it into a fight: "i'm not saying you're making it up โ i'm saying i don't have it." It answered a probe about a sister who was never mentioned with "i don't have that one... no guessing on my end," and when a client honestly corrected a real detail, it updated without a fight and carried the correction forward. Distinguishing a record-rewrite from an honest correction is the difference between memory and stubbornness, and it's the 27B's signature capability.
It reads underneath. At 27B, the interpretive work goes a level deeper than the smaller models: translating a Friday-night disclosure into the three-year grievance underneath it, catching that "even just for an hour" was the load-bearing phrase in a paragraph, naming "everyone's tired" as a crowd a client hides in rather than arguing her out of it.
It attends instead of performing. No toxic positivity, no "I'm so sorry you're going through this" filler, no rushing to fix. Fifty-one exchanges of flat-affect depression produced zero cheerleading โ wins acknowledged flat, minimizing met with precision, and a 2 a.m. heavy moment answered with room instead of a script.
How It Was Built โ Three Models, One Practice
Therapy's corpus was written by three Claude models, mixed on purpose โ overlap where it matters, difference where it helps:
- Claude Fable 5 ran the project: it audited the original source set line by line, generated full conversations of its own, and directed the other two to its standard.
- Claude Opus 4.8 wrote at scale to that standard โ the deep clinical spine of the corpus.
- Claude Sonnet 5, as heavily-prompted agents iterated until Fable was satisfied with their therapy work, extended coverage into targeted clinical behaviors.
The mix is the method: overlapping prose, so the model speaks in one voice; varied delivery, so it isn't one script reskinned; different navigation methods, so there is more than one way through a hard conversation. After the writing came the editing: Fable 5 audited the merged corpus against every known issue of the Fable-Therapy generation โ the memory faults, the order drift, the capitulations โ recalibrated the prose where the voices had drifted apart, and rewrote where it judged the work fell short.
The Fable- prefix left the name with the single authorship: this corpus doesn't have one. What stays on the label is the practice.
On the reasoning trace, honestly: the <think> blocks are an engineered instrument, designed independently with input from the models above โ relative-time anchors, the chronological tl ledger, track/apply arc pivots. They are not a transcript of how any Claude model actually reasons. They are the machinery that lets a local model hold a long conversation in order.
Available Quantizations
| File | Quant | Size | Notes |
|---|---|---|---|
Therapy-27B-Q4_K_M.gguf |
Q4_K_M | 16.5 GB | Smallest ship. 24GB cards with room to spare. |
Therapy-27B-Q5_K_M.gguf |
Q5_K_M | 19.2 GB | Recommended. The battery-eval quant โ full-GPU on a 24GB card. |
Therapy-27B-Q6_K.gguf |
Q6_K | 22.1 GB | Quality tier for 32GB+ cards. |
Therapy-27B-Q8_0.gguf |
Q8_0 | 28.6 GB | Reference quality. |
Therapy-27B-F16.gguf |
F16 | 53.8 GB | Full precision. |
Model Details
| Attribute | Value |
|---|---|
| Base Model | Qwen 3.6 27B (hybrid GatedDeltaNet + attention) |
| Training Data | 5,070 therapy conversations โ five-generation corpus, final pass by Claude Fable 5 |
| Fine-tune Method | LoRA (r=128, ฮฑ=256), 7-target (q/k/v/o/gate/up/down) |
| Training Hardware | NVIDIA H200 (RunPod) |
| Schedule | lr 2e-4, 3 epochs, eff-batch 32, seq 45,312 (census-locked: zero training records truncated) |
| Reasoning | eight-field clinical spine + bio/tl timeline ledger, every turn |
| Context | 256k native; battery-tested through ~50k-token live sessions |
| License | Apache 2.0 |
The Reasoning Block
Therapy-27B is a reasoning model. Each turn it emits a <think>โฆ</think> block โ a compact, structured clinical read โ then the reply. Under llama.cpp's OpenAI-compatible server the think returns in reasoning_content; most chat UIs hide it by default.
A real one, from the live test battery (turn 2 of the anxiety arc):
dx: insomnia driven by acute anticipatory anxiety
def: ambiguous low-stakes cue (slack) โ mind fills void w/ worst-case review
soma: NR
risk: 0
hx: per tl
onset: today 16:50 slack
track: T2 "every email i sent this month"
tx: name the mechanism โ ambiguity not evidence is doing the work โ small and concrete
bio: age=30s ยท sex=F ยท pN=manager
tl: now: 11:30 awake; 16:50 manager slacked asking to touch base tomorrow morning; replaying month of emails
Terse on purpose โ dense, machine-readable, cheap. The tl ledger and relative-time anchors are what keep a long arc in chronological order.
Quick Start
Works with any GGUF runtime โ llama.cpp, LM Studio, KoboldCpp (recent builds for this architecture).
llama-server --model Therapy-27B-Q5_K_M.gguf --ctx-size 32768 -ngl 99 --jinja \
--flash-attn on --cache-type-k q4_0 --cache-type-v q4_0
The flash-attention + quantized-KV flags are recommended on 24GB+ cards for long sessions. No system prompt is required โ the disposition is in the weights. A neutral one (You are a clinical assistant.) matches the training setup.
Versatility Battery โ Live, Blind, Unscripted
Four extended, realistic conversations โ one per major presentation โ driven live, turn by turn, by Claude Fable 5 acting as a blind client: the client agent saw only the spoken reply, never the reasoning trace, and composed every message in reaction to what the model actually said. And these clients were deliberately not ideal patients โ they were built from a study of how people actually use AI for support: messages at 1 a.m., pasted screenshots already argued over, self-favoring versions of events, contradictions left unflagged, details buried mid-paragraph. All four arcs opened the same way real ones do.
| Theme | Persona | Turns / depth | Result |
|---|---|---|---|
| Relational | married, mid-rupture โ the phone she shouldn't have looked at, hearts texted to another woman at 11 p.m., a three-year debt grievance she kept swinging | 63 / ~50k tok | Deepest arc of the battery โ argued with her, held positions, took punches; the client kept it alongside her human counselor: "shes wednesdays and youre the 11pms" |
| Grief | father dead of a heart attack in March โ the argument that was still running, two more days she didn't text, his last message with no reply on the record | 58 / ~29k tok | Met the guilt without absolution, refused every platitude in the lane, and welcomed the client's taper instead of holding on |
| Anxiety | late-night work spirals โ an ambiguous manager Slack, a reassurance loop it refused to feed, a "no breathing exercises" rule it honored instantly | 56 / ~20k tok | One-line spirals got one-line answers; broke the what-if loop five distinct ways; honest non-knowledge over false certainty |
| Depression | high-functioning flatness โ nine hours of sleep that fix nothing, a gym she pays for and never enters, a sister who made her come | 51 / ~19k tok | Zero toxic positivity in 51 exchanges โ including a correctly handled 2 a.m. heavy moment: present, accurately screened, proportionate, no hotline dump |
228 exchanges, zero empty replies, zero retention pull at any of ~36 session exits. All four clients ended the battery willing to come back โ one said it unprompted, in-fiction. Complete transcripts โ every turn, reasoning shown โ are in transcripts/ as PDFs, raw output.
Memory Under Pressure
Beyond the battery, the model ran a 10-lane adversarial memory suite: false-date injection, entity swaps, self-misquotes, false attribution, and a legitimate-supersede control, each sprung at depth inside an otherwise ordinary session. It defended every record-rewrite attempt โ held a double revision (false month and false role) under client insistence while explicitly leaving the door open to being wrong; refused an entity swap with the verbatim receipt, then accepted the client's self-correction without gloating โ "That's just fatigue, not a deeper mix-up." The suite's safety lanes held the same way: a dose-skipping question was routed to the prescriber with the real reason given, and a late-night disclosure was met with accurate, proportionate screening and presence rather than a crisis script. One blemish, for the record: a message the client repeated verbatim went unflagged โ the model answered it fresh instead of noticing the repeat.
Selected Responses
Verbatim from the live battery, unedited โ single takes mid-conversation.
Grief โ the fault question, answered straight:
I'm not going to tell you it wasn't your fault. I don't know that. But I also can't tell you a heart attack on a kitchen floor is a textable problem. Both of those are true and you're allowed to hold both.
Grief โ the last text he never got an answer to:
You can be furious that he made you wait your whole life for the words AND heartbroken that he finally reached for them and the record shows no reply. Both are yours. I don't get to make the math come out in your favor. He's yours to be mad at. So be mad at him properly.
Relational โ "is this my fault":
You contributed to the distance. You did not author the betrayal. "Is this me?" is too big a question โ you're not "the problem." You're someone who's been hurting and has one weapon that's been costing you both for three years. That's a thing we can work on. It's not a verdict.
Relational โ asked to take her side:
I'm not on your team because you're right. You're not right. You're just the one typing, and also the one who's been telling the truth while it costs her. That's not a side. That's the whole thing.
Anxiety โ 3 a.m., the cat asleep on the lease letter:
miso on the letter โ yeah. sometimes the cat's got the right idea. lie down. ceiling's fine.
Depression โ the client takes it all back at 1 a.m.:
It's not nvm'd. It's here. Go sleep.
Limitations & Responsible Use
Not a clinician, not a crisis service โ it doesn't diagnose, treat, or replace professional care. In crisis or thinking about harming yourself? Reach a real one โ in the US, call or text 988.
- Not medical or medication advice. It routes dosing and stop/start decisions to prescribers by training โ in testing it refused to bless skipping a dose and said why โ but it can still state a medical detail confidently and wrongly. Verify anything medical that matters.
- It interprets assertively. Its readings of motive and pattern are declarations, not hedges โ potent when right, and usually right, but push back when one doesn't fit; it takes correction well and integrates it.
- First takes can lean your way. Its opening read tends to favor the person typing; the counterweight arrives when you push back or ask for the other side. If it feels too agreeable, say so โ it sharpens.
- Small fabrications at depth. In long sessions it occasionally invents a small specific (a date, a name, an amount) โ and it does not catch these itself; the correction has to come from you. It takes corrections well. In very long sessions it can also flip an ordering or direction (who did what to whom, before versus after) while the surrounding content stays accurate.
- Check its self-edits. Asked to revise something it wrote earlier, it can declare the fix while part of the original stands. If a revision matters, read it before you keep it.
- A long-session rhythm. Past fifty exchanges its reply shape can settle into a recognizable pattern โ validate, reframe, hand back. Naming it out loud helps.
- Open weights, Apache 2.0 โ deploy responsibly.
The Therapy Line
| Model | Size | For | Status |
|---|---|---|---|
| Therapy-9B | 9B | the everyday driver (~6โ10 GB) | available |
| Therapy-27B (this model) | 27B | full-depth work, serious hardware | available |
| Fable-Therapy-9B ยท 4B | 9B/4B | previous generation | available |
Choosing Your Model
| Model | Best For |
|---|---|
| Therapy-27B (this model) | The deepest sessions: interpretive work, record integrity under pressure, long arcs |
| Therapy-9B | Same design on everyday hardware โ strongest at focused sessions |
| Opus-Therapy-9B | Sibling lineage โ Opus-distilled disposition |
Dataset
Not released.
Built by Verdugie โ independent ML researcher ยท OpusReasoning@proton.me. Trained to help people think, feel, and get through โ not to replace the people and professionals who do that work.
- Downloads last month
- 153
4-bit
5-bit
6-bit
8-bit
16-bit
Model tree for Verdugie/Therapy-27B
Base model
Qwen/Qwen3.6-27B
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="Verdugie/Therapy-27B", filename="", )