CoolFace
Modelpublic

EdwinUstb/CPCD-Chat-8B

sourceHugging Faceapache-2.0updated 4mo agoView on Hugging Face
1likes32downloads
README.md181 linesDownload Raw Back to root
1---2license: apache-2.03language:4- zh5- en6library_name: transformers7pipeline_tag: text-generation8base_model: Qwen/Qwen3-8B-Base9tags:10- qwen311- mental-health12- psychological-counseling13- chinese14- long-context15- dialogue16- campus-counseling17---18 19# CPCD-Chat-8B20 21CPCD-Chat-8B is a Chinese long-horizon campus psychological counseling dialogue model developed as part of the **Psy-Chronicle** project.22 23- **Model page**: https://huggingface.co/EdwinUstb/CPCD-Chat-8B24- **Project GitHub**: https://github.com/EdwinUSTB/Psy-Chronicle25- **The Hugging Face paper URL**: https://huggingface.co/papers/2605.2214026- **The arXiv URL**: https://arxiv.org/abs/2605.2214027 28## Model Description29 30CPCD-Chat-8B is fine-tuned from **Qwen3-8B-Base** on CPCD, a synthetic Chinese long-horizon campus psychological counseling dialogue dataset.31 32The model is designed for research on:33 34- long-horizon psychological counseling dialogue generation;35- campus mental-health support scenarios;36- cross-session counseling memory;37- student stress-event evolution;38- temporal-causal reasoning in counseling conversations.39 40## Dataset41 42The model is trained on **CPCD**, a Chinese long-horizon dialogue dataset for college psychological counseling scenarios.43 44CPCD is generated by the Psy-Chronicle framework, which constructs:45 461. structured student profiles;472. semester-level temporal stress event graphs;483. cross-session counseling dialogues;494. structured memory summaries.50 51Dataset statistics:52 53| Component | Value |54|---|---:|55| Student profiles | 100 |56| Counseling dialogue units | 90,000 |57| Chinese characters | ~11.45M |58| Scenario | Chinese campus psychological counseling |59 60## Psy-Chronicle Framework61 62Psy-Chronicle synthesizes long-horizon counseling trajectories through a structured pipeline:63 64```text65Student Profile66    ↓67Temporal Stress Event Graph68    ↓69Cross-session Counseling Simulation70    ↓71Structured Memory Update72    ↓73CPCD Dataset / CPCD-Bench74```75 76Unlike single-turn or short multi-turn counseling datasets, Psy-Chronicle focuses on how college students' psychological distress accumulates, interacts, and evolves across a semester.77 78## CPCD-Bench79 80CPCD-Bench evaluates long-horizon campus counseling capabilities from three dimensions:81 82| Task | Description |83|---|---|84| Session-level Response | Generate appropriate counselor responses using current context and historical memory |85| Memory Recall | Recall factual information from long counseling histories |86| Temporal-Causal Reasoning | Analyze chronological event development and causal relationships |87 88## Usage89 90```python91from transformers import AutoTokenizer, AutoModelForCausalLM92import torch93 94model_name = "EdwinUstb/CPCD-Chat-8B"95 96tokenizer = AutoTokenizer.from_pretrained(97    model_name,98    trust_remote_code=True99)100 101model = AutoModelForCausalLM.from_pretrained(102    model_name,103    torch_dtype=torch.bfloat16,104    device_map="auto",105    trust_remote_code=True106)107 108messages = [109    {110        "role": "user",111        "content": "我最近因为学业和家庭压力感到很焦虑,不知道该怎么办。"112    }113]114 115text = tokenizer.apply_chat_template(116    messages,117    tokenize=False,118    add_generation_prompt=True119)120 121inputs = tokenizer([text], return_tensors="pt").to(model.device)122 123outputs = model.generate(124    **inputs,125    max_new_tokens=512,126    temperature=0.7,127    top_p=0.9128)129 130response = tokenizer.decode(131    outputs[0][inputs.input_ids.shape[-1]:],132    skip_special_tokens=True133)134 135print(response)136```137 138## Intended Use139 140This model is intended for research on:141 142- psychological counseling dialogue modeling;143- long-horizon dialogue generation;144- cross-session memory modeling;145- campus mental-health support datasets;146- temporal-causal reasoning in counseling scenarios.147 148## Limitations149 150CPCD-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.151 152The model should **not** be used as a substitute for professional psychological counseling, clinical diagnosis, or treatment.153 154## Ethical Considerations155 156This model is released for research and evaluation purposes only.157 158Users should be aware that:159 160- the training data are synthetic and do not represent real counseling records;161- the model may fail to detect or properly handle crisis situations;162- any deployment-oriented use should include professional review, safety monitoring, and clear user-facing disclaimers.163 164## Citation165 166If you find this model or project useful, please cite:167 168```bibtex169@misc{gou2026psychronicle,170  title  = {Psy-Chronicle: A Structured Pipeline for Synthesizing Long-Horizon Campus Psychological Counseling Dialogues},171  author = {Chaogui Gou and Jiarui Liang},172  year   = {2026},173  note   = {Preprint},174  url    = {https://github.com/EdwinUSTB/Psy-Chronicle}175}176```177 178## License179 180This model is released under the Apache License 2.0.181