Datasets:
Download README.md from UEC-InabaLab/CounselTrajD: direct link, hf CLI and curl.
- Browser
- Download file 6.94 kB
-
https://huggingface.co/datasets/UEC-InabaLab/CounselTrajD/resolve/8e96f4d38bd753dbd0adc0db3b00a210b44a8fd0/README.md
- Command line
-
hf download hf://datasets/UEC-InabaLab/CounselTrajD@8e96f4d38bd753dbd0adc0db3b00a210b44a8fd0/README.md
-
curl -L -o README.md https://huggingface.co/datasets/UEC-InabaLab/CounselTrajD/resolve/8e96f4d38bd753dbd0adc0db3b00a210b44a8fd0/README.md
pretty_name: CounselTrajD
language:
- zh
license:
- cc0-1.0
- apache-2.0
- cc-by-sa-4.0
task_categories:
- text-generation
size_categories:
- 10K<n<100K
tags:
- counseling
- synthetic
- dialogue
- dialogue-act
- counseltraj
configs:
- config_name: default
default: true
data_files:
- split: train
path:
- data/smilechat_derived.jsonl.gz
- data/psydt_derived.jsonl.gz
- data/cpsycound_derived.jsonl.gz
- config_name: smilechat
data_files:
- split: train
path: data/smilechat_derived.jsonl.gz
- config_name: psydtcorpus
data_files:
- split: train
path: data/psydt_derived.jsonl.gz
- config_name: cpsycound
data_files:
- split: train
path: data/cpsycound_derived.jsonl.gz
CounselTrajD
📄 Paper: CounselTraj (arXiv:2611.24168)
CounselTrajD contains 10,964 synthetic Chinese counseling dialogues, totaling 958,791 utterances across 15 topics. The mean length is 87.45 individual utterances per dialogue. These are generated expansions conditioned on seed conversations, rather than newly collected human counseling sessions.
The three compressed JSONL files and their manifest are identical to the GitHub data release. They are separated by provenance to preserve attribution and make source-specific licensing explicit.
Load the dataset
pip install datasets
from datasets import load_dataset
dataset = load_dataset("UEC-InabaLab/CounselTrajD", split="train")
print(len(dataset)) # 10964
messages = dataset[0]["messages"]
The train split contains the entire public release; no predefined evaluation
split is supplied. The default configuration includes all three sources. To load
a single source or stream the data:
smilechat = load_dataset("UEC-InabaLab/CounselTrajD", "smilechat", split="train")
psydt = load_dataset("UEC-InabaLab/CounselTrajD", "psydtcorpus", split="train")
cpsy = load_dataset("UEC-InabaLab/CounselTrajD", "cpsycound", split="train")
stream = load_dataset("UEC-InabaLab/CounselTrajD", split="train", streaming=True)
first_dialogue = next(iter(stream))
After downloading this repository, the standard-library loader can verify the file checksums, unique IDs, dialogue counts, and utterance counts:
python3 scripts/load_counseltraj.py
The full-record comparison and configuration loading checks are documented in validation.json. SHA256SUMS covers the release files.
Sources and licenses
Licenses apply by source, not as interchangeable license options for the whole
dataset. Each record includes its applicable license identifier. Please
retain attribution and notices as required by the respective source terms.
| Source of seed conversations | Configuration | Dialogues | License | Paper |
|---|---|---|---|---|
| SmileChat | smilechat |
7,672 | CC0-1.0 | SMILE (Qiu et al., 2024) |
| PsyDTCorpus | psydtcorpus |
2,595 | Apache-2.0 | PsyDT (Xie et al., 2025) |
| CPsyCounD | cpsycound |
697 | CC-BY-SA-4.0 | CPsyCoun (Zhang et al., 2024) |
| Total | default |
10,964 | Source-specific terms |
See LICENSING.md, THIRD_PARTY_NOTICES.md, and the complete license texts in LICENSES. The data do not inherit a blanket code license.
Statistics
| Statistic | Overall | Client | Counselor |
|---|---|---|---|
| Dialogues | 10,964 | — | — |
| Utterances | 958,791 | 473,910 | 484,881 |
| Mean utterances per dialogue | 87.45 | 43.22 | 44.22 |
| Characters | 42,197,155 | 18,321,830 | 23,875,325 |
| Topics | 15 | — | — |
Utterances are individual messages. Character counts exclude speaker and tag markup. Counts, topic frequencies, and source-file SHA256 checksums are recorded in data/manifest.json.
Schema
Each JSONL record contains:
| Field | Meaning |
|---|---|
id |
Stable unique CounselTrajD identifier |
source_dataset, source_id |
Source of the seed conversation and original record identifier |
topic, topic_zh |
Topic labels |
license |
Source-specific release license identifier |
messages |
Ordered generated messages with role, dialogue_act, and content |
planned_dialogue_acts |
Intended trajectory entries with role and dialogue_act |
user denotes the client, and assistant denotes the counselor. A dialogue may
start with a counselor greeting; strict speaker alternation is not enforced.
Dialogue-act fields
The message-level dialogue_act values preserve tags emitted during generation.
They are stored separately from the planned trajectory and are not guaranteed
to align with it one-to-one. In this release, 114 dialogues have different
planned and generated sequence lengths. These records are retained without
truncation or silent repair. Label definitions are documented in the
project README.
The export excludes raw seed dialogue text, API wrappers, request IDs, billing, usage metadata, and internal file paths. See the data card for additional schema details.
Construction and use
CounselTraj learns session-level interaction patterns from KokoroChat, plans dialogue-act trajectories from brief dialogues, and uses these plans to guide dialogue expansion. The CounselTrajD release was generated using GPT-5.5. The construction overview and DA annotation prompts are available in the project repository. The CounselTrajLM model versions are fine-tuned on this dataset for next counselor response generation.
This dataset is intended for counseling dialogue research. Synthetic generation and automated pattern screening do not establish complete anonymity, clinical safety, or freedom from bias. The data are not a substitute for professional diagnosis or treatment.
Citation
@inproceedings{qi-inaba-2027-counseltraj,
title = "{CounselTraj}: Synthesizing Process-Aware Psychological Counseling Dialogues via Dialogue-Act Trajectory Planning",
author = "Qi, Zhiyang and Inaba, Michimasa",
booktitle = "Proceedings of the 20th Conference of the European Chapter of the Association for Computational Linguistics",
year = "2027",
url = "https://arxiv.org/abs/2611.24168",
}