Downloads · 30 days
22
29% of all-time downloads
AIMH/SQPsychLLM-8b-command-no_questionnaire
SQPsychLLM-8b-command-no_questionnaire is a text generation model from AIMH. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as llama3.
SQPsychLLM-8b-command-noquestionnaire is a chat model fine-tuned to roleplay a therapist in synthetic, Cognitive Behavioral Therapy (CBT)-informed counseling conversations. It is part of the SQPsychLLM family released…
Downloads · 30 days
22
29% of all-time downloads
All-time downloads
75
Public
Parameters
8B
16.1 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors16.1 GB · 100%
From the Hugging Face model README
SQPsychLLM-8b-command-no_questionnaire is a chat model fine-tuned to roleplay a therapist in synthetic, Cognitive Behavioral Therapy (CBT)-informed counseling conversations. It is part of the SQPsychLLM family released with the paper Roleplaying with Structure: Synthetic Therapist-Client Conversation Generation from Questionnaires.
This checkpoint is Llama-3-8B-Instruct supervised-fine-tuned on SQPsychConv (Command, no-questionnaire ablation), the synthetic corpus generated by CohereLabs/c4ai-command-a-03-2025 from real, de-identified structured client profiles. This is the no-questionnaire ablation: unlike the main models, the client agent was not conditioned on questionnaire scores (BDI, HAM-D) during data generation.
⚠️ Research use only. This model is not a medical device and not a substitute for professional mental-health care. It must not be deployed to interact with patients or anyone in distress without rigorous further validation and qualified clinical oversight. See Out-of-Scope Use.
Research on synthetic mental-health dialogue: generating therapist-side turns in CBT-style counseling conversations, studying privacy-preserving synthetic data, and benchmarking counseling-oriented language models. For the full questionnaire-conditioned, dual-agent (therapist + client) generation pipeline, see the code repository.
As a starting point for further research fine-tuning, or as a component in supervised, human-in-the-loop training and education settings (e.g., clinician/student practice simulations) under appropriate oversight and ethics approval.
This model must not be used to:
CohereLabs/c4ai-command-a-03-2025) used to generate the training corpus.Keep a qualified human professional in the loop for any applied use, validate on your own population, obtain your own ethics approval before any study involving people, and add explicit safety guardrails and crisis-resource handling in any interactive system. See the project ETHICS statement.
from transformers import AutoModelForCausalLM, AutoTokenizer
model_id = "AIMH/SQPsychLLM-8b-command-no_questionnaire"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(model_id, dtype="bfloat16", device_map="auto")
messages = [
{"role": "system", "content": "You are an empathetic therapist conducting a CBT-informed session."},
{"role": "user", "content": "I've felt down and unmotivated for weeks and I don't know why."},
]
inputs = tokenizer.apply_chat_template(
messages, add_generation_prompt=True, return_tensors="pt"
).to(model.device)
outputs = model.generate(inputs, max_new_tokens=512, temperature=0.7, do_sample=True)
print(tokenizer.decode(outputs[0][inputs.shape[-1]:], skip_special_tokens=True))
Serve with vLLM (OpenAI-compatible API):
vllm serve "AIMH/SQPsychLLM-8b-command-no_questionnaire"
AIMH/SQPsychConv_command_no_questionnaire, synthetic therapist-client conversations generated by CohereLabs/c4ai-command-a-03-2025 from the de-identified structured profiles of the cohort of Kircher et al. (2019), without questionnaire-score conditioning (the no-questionnaire ablation). The instruction-formatted split used for training is AIMH/SQPsychConv_command_no_questionnaire_finetune.
The model weights derive from Llama-3-8B-Instruct (Llama 3 Community License). The training data was generated by CohereLabs/c4ai-command-a-03-2025, so the synthetic data was produced by a model under a non-commercial license (CC-BY-NC 4.0 plus Cohere's acceptable-use policy) — review it carefully before any non-research use or redistribution. The source structured data is de-identified and pre-anonymized, and the released conversations are synthetic and contain no personally identifiable information. Released for research only.