Downloads · 30 days
30
22% of all-time downloads
EdwinUstb/CPCD-Chat-8B
CPCD-Chat-8B is a text generation model from EdwinUstb. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
CPCD-Chat-8B is a Chinese long-horizon campus psychological counseling dialogue model developed as part of the Psy-Chronicle project.
Downloads · 30 days
30
22% of all-time downloads
All-time downloads
138
Public
Parameters
8.2B
16.4 GB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors16.4 GB · 100%
From the Hugging Face model README
CPCD-Chat-8B is a Chinese long-horizon campus psychological counseling dialogue model developed as part of the Psy-Chronicle project.
CPCD-Chat-8B is fine-tuned from Qwen3-8B-Base on CPCD, a synthetic Chinese long-horizon campus psychological counseling dialogue dataset.
The model is designed for research on:
The model is trained on CPCD, a Chinese long-horizon dialogue dataset for college psychological counseling scenarios.
CPCD is generated by the Psy-Chronicle framework, which constructs:
Dataset statistics:
| Component | Value |
|---|---|
| Student profiles | 100 |
| Counseling dialogue units | 90,000 |
| Chinese characters | ~11.45M |
| Scenario | Chinese campus psychological counseling |
Psy-Chronicle synthesizes long-horizon counseling trajectories through a structured pipeline:
Student Profile
↓
Temporal Stress Event Graph
↓
Cross-session Counseling Simulation
↓
Structured Memory Update
↓
CPCD Dataset / CPCD-Bench
Unlike single-turn or short multi-turn counseling datasets, Psy-Chronicle focuses on how college students' psychological distress accumulates, interacts, and evolves across a semester.
CPCD-Bench evaluates long-horizon campus counseling capabilities from three dimensions:
| Task | Description |
|---|---|
| Session-level Response | Generate appropriate counselor responses using current context and historical memory |
| Memory Recall | Recall factual information from long counseling histories |
| Temporal-Causal Reasoning | Analyze chronological event development and causal relationships |
from transformers import AutoTokenizer, AutoModelForCausalLM
import torch
model_name = "EdwinUstb/CPCD-Chat-8B"
tokenizer = AutoTokenizer.from_pretrained(
model_name,
trust_remote_code=True
)
model = AutoModelForCausalLM.from_pretrained(
model_name,
torch_dtype=torch.bfloat16,
device_map="auto",
trust_remote_code=True
)
messages = [
{
"role": "user",
"content": "我最近因为学业和家庭压力感到很焦虑,不知道该怎么办。"
}
]
text = tokenizer.apply_chat_template(
messages,
tokenize=False,
add_generation_prompt=True
)
inputs = tokenizer([text], return_tensors="pt").to(model.device)
outputs = model.generate(
**inputs,
max_new_tokens=512,
temperature=0.7,
top_p=0.9
)
response = tokenizer.decode(
outputs[0][inputs.input_ids.shape[-1]:],
skip_special_tokens=True
)
print(response)
This model is intended for research on:
CPCD-Chat-8B is trained on synthetic counseling data. It may generate responses that are incomplete, overly generic, or inappropriate in high-risk mental-health situations.
The model should not be used as a substitute for professional psychological counseling, clinical diagnosis, or treatment.
This model is released for research and evaluation purposes only.
Users should be aware that:
If you find this model or project useful, please cite:
@misc{gou2026psychronicle,
title = {Psy-Chronicle: A Structured Pipeline for Synthesizing Long-Horizon Campus Psychological Counseling Dialogues},
author = {Chaogui Gou and Jiarui Liang},
year = {2026},
note = {Preprint},
url = {https://github.com/EdwinUSTB/Psy-Chronicle}
}
This model is released under the Apache License 2.0.