ZhiyangQi97 commited on
Commit
8e96f4d
·
verified ·
1 Parent(s): 3373e04

Publish CounselTrajD with source-specific licenses and loadable configurations

Browse files
LICENSES/Apache-2.0.txt ADDED
@@ -0,0 +1,202 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright [yyyy] [name of copyright owner]
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
LICENSES/CC-BY-SA-4.0.txt ADDED
@@ -0,0 +1,428 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Attribution-ShareAlike 4.0 International
2
+
3
+ =======================================================================
4
+
5
+ Creative Commons Corporation ("Creative Commons") is not a law firm and
6
+ does not provide legal services or legal advice. Distribution of
7
+ Creative Commons public licenses does not create a lawyer-client or
8
+ other relationship. Creative Commons makes its licenses and related
9
+ information available on an "as-is" basis. Creative Commons gives no
10
+ warranties regarding its licenses, any material licensed under their
11
+ terms and conditions, or any related information. Creative Commons
12
+ disclaims all liability for damages resulting from their use to the
13
+ fullest extent possible.
14
+
15
+ Using Creative Commons Public Licenses
16
+
17
+ Creative Commons public licenses provide a standard set of terms and
18
+ conditions that creators and other rights holders may use to share
19
+ original works of authorship and other material subject to copyright
20
+ and certain other rights specified in the public license below. The
21
+ following considerations are for informational purposes only, are not
22
+ exhaustive, and do not form part of our licenses.
23
+
24
+ Considerations for licensors: Our public licenses are
25
+ intended for use by those authorized to give the public
26
+ permission to use material in ways otherwise restricted by
27
+ copyright and certain other rights. Our licenses are
28
+ irrevocable. Licensors should read and understand the terms
29
+ and conditions of the license they choose before applying it.
30
+ Licensors should also secure all rights necessary before
31
+ applying our licenses so that the public can reuse the
32
+ material as expected. Licensors should clearly mark any
33
+ material not subject to the license. This includes other CC-
34
+ licensed material, or material used under an exception or
35
+ limitation to copyright. More considerations for licensors:
36
+ wiki.creativecommons.org/Considerations_for_licensors
37
+
38
+ Considerations for the public: By using one of our public
39
+ licenses, a licensor grants the public permission to use the
40
+ licensed material under specified terms and conditions. If
41
+ the licensor's permission is not necessary for any reason--for
42
+ example, because of any applicable exception or limitation to
43
+ copyright--then that use is not regulated by the license. Our
44
+ licenses grant only permissions under copyright and certain
45
+ other rights that a licensor has authority to grant. Use of
46
+ the licensed material may still be restricted for other
47
+ reasons, including because others have copyright or other
48
+ rights in the material. A licensor may make special requests,
49
+ such as asking that all changes be marked or described.
50
+ Although not required by our licenses, you are encouraged to
51
+ respect those requests where reasonable. More considerations
52
+ for the public:
53
+ wiki.creativecommons.org/Considerations_for_licensees
54
+
55
+ =======================================================================
56
+
57
+ Creative Commons Attribution-ShareAlike 4.0 International Public
58
+ License
59
+
60
+ By exercising the Licensed Rights (defined below), You accept and agree
61
+ to be bound by the terms and conditions of this Creative Commons
62
+ Attribution-ShareAlike 4.0 International Public License ("Public
63
+ License"). To the extent this Public License may be interpreted as a
64
+ contract, You are granted the Licensed Rights in consideration of Your
65
+ acceptance of these terms and conditions, and the Licensor grants You
66
+ such rights in consideration of benefits the Licensor receives from
67
+ making the Licensed Material available under these terms and
68
+ conditions.
69
+
70
+
71
+ Section 1 -- Definitions.
72
+
73
+ a. Adapted Material means material subject to Copyright and Similar
74
+ Rights that is derived from or based upon the Licensed Material
75
+ and in which the Licensed Material is translated, altered,
76
+ arranged, transformed, or otherwise modified in a manner requiring
77
+ permission under the Copyright and Similar Rights held by the
78
+ Licensor. For purposes of this Public License, where the Licensed
79
+ Material is a musical work, performance, or sound recording,
80
+ Adapted Material is always produced where the Licensed Material is
81
+ synched in timed relation with a moving image.
82
+
83
+ b. Adapter's License means the license You apply to Your Copyright
84
+ and Similar Rights in Your contributions to Adapted Material in
85
+ accordance with the terms and conditions of this Public License.
86
+
87
+ c. BY-SA Compatible License means a license listed at
88
+ creativecommons.org/compatiblelicenses, approved by Creative
89
+ Commons as essentially the equivalent of this Public License.
90
+
91
+ d. Copyright and Similar Rights means copyright and/or similar rights
92
+ closely related to copyright including, without limitation,
93
+ performance, broadcast, sound recording, and Sui Generis Database
94
+ Rights, without regard to how the rights are labeled or
95
+ categorized. For purposes of this Public License, the rights
96
+ specified in Section 2(b)(1)-(2) are not Copyright and Similar
97
+ Rights.
98
+
99
+ e. Effective Technological Measures means those measures that, in the
100
+ absence of proper authority, may not be circumvented under laws
101
+ fulfilling obligations under Article 11 of the WIPO Copyright
102
+ Treaty adopted on December 20, 1996, and/or similar international
103
+ agreements.
104
+
105
+ f. Exceptions and Limitations means fair use, fair dealing, and/or
106
+ any other exception or limitation to Copyright and Similar Rights
107
+ that applies to Your use of the Licensed Material.
108
+
109
+ g. License Elements means the license attributes listed in the name
110
+ of a Creative Commons Public License. The License Elements of this
111
+ Public License are Attribution and ShareAlike.
112
+
113
+ h. Licensed Material means the artistic or literary work, database,
114
+ or other material to which the Licensor applied this Public
115
+ License.
116
+
117
+ i. Licensed Rights means the rights granted to You subject to the
118
+ terms and conditions of this Public License, which are limited to
119
+ all Copyright and Similar Rights that apply to Your use of the
120
+ Licensed Material and that the Licensor has authority to license.
121
+
122
+ j. Licensor means the individual(s) or entity(ies) granting rights
123
+ under this Public License.
124
+
125
+ k. Share means to provide material to the public by any means or
126
+ process that requires permission under the Licensed Rights, such
127
+ as reproduction, public display, public performance, distribution,
128
+ dissemination, communication, or importation, and to make material
129
+ available to the public including in ways that members of the
130
+ public may access the material from a place and at a time
131
+ individually chosen by them.
132
+
133
+ l. Sui Generis Database Rights means rights other than copyright
134
+ resulting from Directive 96/9/EC of the European Parliament and of
135
+ the Council of 11 March 1996 on the legal protection of databases,
136
+ as amended and/or succeeded, as well as other essentially
137
+ equivalent rights anywhere in the world.
138
+
139
+ m. You means the individual or entity exercising the Licensed Rights
140
+ under this Public License. Your has a corresponding meaning.
141
+
142
+
143
+ Section 2 -- Scope.
144
+
145
+ a. License grant.
146
+
147
+ 1. Subject to the terms and conditions of this Public License,
148
+ the Licensor hereby grants You a worldwide, royalty-free,
149
+ non-sublicensable, non-exclusive, irrevocable license to
150
+ exercise the Licensed Rights in the Licensed Material to:
151
+
152
+ a. reproduce and Share the Licensed Material, in whole or
153
+ in part; and
154
+
155
+ b. produce, reproduce, and Share Adapted Material.
156
+
157
+ 2. Exceptions and Limitations. For the avoidance of doubt, where
158
+ Exceptions and Limitations apply to Your use, this Public
159
+ License does not apply, and You do not need to comply with
160
+ its terms and conditions.
161
+
162
+ 3. Term. The term of this Public License is specified in Section
163
+ 6(a).
164
+
165
+ 4. Media and formats; technical modifications allowed. The
166
+ Licensor authorizes You to exercise the Licensed Rights in
167
+ all media and formats whether now known or hereafter created,
168
+ and to make technical modifications necessary to do so. The
169
+ Licensor waives and/or agrees not to assert any right or
170
+ authority to forbid You from making technical modifications
171
+ necessary to exercise the Licensed Rights, including
172
+ technical modifications necessary to circumvent Effective
173
+ Technological Measures. For purposes of this Public License,
174
+ simply making modifications authorized by this Section 2(a)
175
+ (4) never produces Adapted Material.
176
+
177
+ 5. Downstream recipients.
178
+
179
+ a. Offer from the Licensor -- Licensed Material. Every
180
+ recipient of the Licensed Material automatically
181
+ receives an offer from the Licensor to exercise the
182
+ Licensed Rights under the terms and conditions of this
183
+ Public License.
184
+
185
+ b. Additional offer from the Licensor -- Adapted Material.
186
+ Every recipient of Adapted Material from You
187
+ automatically receives an offer from the Licensor to
188
+ exercise the Licensed Rights in the Adapted Material
189
+ under the conditions of the Adapter's License You apply.
190
+
191
+ c. No downstream restrictions. You may not offer or impose
192
+ any additional or different terms or conditions on, or
193
+ apply any Effective Technological Measures to, the
194
+ Licensed Material if doing so restricts exercise of the
195
+ Licensed Rights by any recipient of the Licensed
196
+ Material.
197
+
198
+ 6. No endorsement. Nothing in this Public License constitutes or
199
+ may be construed as permission to assert or imply that You
200
+ are, or that Your use of the Licensed Material is, connected
201
+ with, or sponsored, endorsed, or granted official status by,
202
+ the Licensor or others designated to receive attribution as
203
+ provided in Section 3(a)(1)(A)(i).
204
+
205
+ b. Other rights.
206
+
207
+ 1. Moral rights, such as the right of integrity, are not
208
+ licensed under this Public License, nor are publicity,
209
+ privacy, and/or other similar personality rights; however, to
210
+ the extent possible, the Licensor waives and/or agrees not to
211
+ assert any such rights held by the Licensor to the limited
212
+ extent necessary to allow You to exercise the Licensed
213
+ Rights, but not otherwise.
214
+
215
+ 2. Patent and trademark rights are not licensed under this
216
+ Public License.
217
+
218
+ 3. To the extent possible, the Licensor waives any right to
219
+ collect royalties from You for the exercise of the Licensed
220
+ Rights, whether directly or through a collecting society
221
+ under any voluntary or waivable statutory or compulsory
222
+ licensing scheme. In all other cases the Licensor expressly
223
+ reserves any right to collect such royalties.
224
+
225
+
226
+ Section 3 -- License Conditions.
227
+
228
+ Your exercise of the Licensed Rights is expressly made subject to the
229
+ following conditions.
230
+
231
+ a. Attribution.
232
+
233
+ 1. If You Share the Licensed Material (including in modified
234
+ form), You must:
235
+
236
+ a. retain the following if it is supplied by the Licensor
237
+ with the Licensed Material:
238
+
239
+ i. identification of the creator(s) of the Licensed
240
+ Material and any others designated to receive
241
+ attribution, in any reasonable manner requested by
242
+ the Licensor (including by pseudonym if
243
+ designated);
244
+
245
+ ii. a copyright notice;
246
+
247
+ iii. a notice that refers to this Public License;
248
+
249
+ iv. a notice that refers to the disclaimer of
250
+ warranties;
251
+
252
+ v. a URI or hyperlink to the Licensed Material to the
253
+ extent reasonably practicable;
254
+
255
+ b. indicate if You modified the Licensed Material and
256
+ retain an indication of any previous modifications; and
257
+
258
+ c. indicate the Licensed Material is licensed under this
259
+ Public License, and include the text of, or the URI or
260
+ hyperlink to, this Public License.
261
+
262
+ 2. You may satisfy the conditions in Section 3(a)(1) in any
263
+ reasonable manner based on the medium, means, and context in
264
+ which You Share the Licensed Material. For example, it may be
265
+ reasonable to satisfy the conditions by providing a URI or
266
+ hyperlink to a resource that includes the required
267
+ information.
268
+
269
+ 3. If requested by the Licensor, You must remove any of the
270
+ information required by Section 3(a)(1)(A) to the extent
271
+ reasonably practicable.
272
+
273
+ b. ShareAlike.
274
+
275
+ In addition to the conditions in Section 3(a), if You Share
276
+ Adapted Material You produce, the following conditions also apply.
277
+
278
+ 1. The Adapter's License You apply must be a Creative Commons
279
+ license with the same License Elements, this version or
280
+ later, or a BY-SA Compatible License.
281
+
282
+ 2. You must include the text of, or the URI or hyperlink to, the
283
+ Adapter's License You apply. You may satisfy this condition
284
+ in any reasonable manner based on the medium, means, and
285
+ context in which You Share Adapted Material.
286
+
287
+ 3. You may not offer or impose any additional or different terms
288
+ or conditions on, or apply any Effective Technological
289
+ Measures to, Adapted Material that restrict exercise of the
290
+ rights granted under the Adapter's License You apply.
291
+
292
+
293
+ Section 4 -- Sui Generis Database Rights.
294
+
295
+ Where the Licensed Rights include Sui Generis Database Rights that
296
+ apply to Your use of the Licensed Material:
297
+
298
+ a. for the avoidance of doubt, Section 2(a)(1) grants You the right
299
+ to extract, reuse, reproduce, and Share all or a substantial
300
+ portion of the contents of the database;
301
+
302
+ b. if You include all or a substantial portion of the database
303
+ contents in a database in which You have Sui Generis Database
304
+ Rights, then the database in which You have Sui Generis Database
305
+ Rights (but not its individual contents) is Adapted Material,
306
+ including for purposes of Section 3(b); and
307
+
308
+ c. You must comply with the conditions in Section 3(a) if You Share
309
+ all or a substantial portion of the contents of the database.
310
+
311
+ For the avoidance of doubt, this Section 4 supplements and does not
312
+ replace Your obligations under this Public License where the Licensed
313
+ Rights include other Copyright and Similar Rights.
314
+
315
+
316
+ Section 5 -- Disclaimer of Warranties and Limitation of Liability.
317
+
318
+ a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE
319
+ EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS
320
+ AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF
321
+ ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS,
322
+ IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION,
323
+ WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR
324
+ PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS,
325
+ ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT
326
+ KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT
327
+ ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU.
328
+
329
+ b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE
330
+ TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION,
331
+ NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT,
332
+ INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES,
333
+ COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR
334
+ USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN
335
+ ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR
336
+ DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR
337
+ IN PART, THIS LIMITATION MAY NOT APPLY TO YOU.
338
+
339
+ c. The disclaimer of warranties and limitation of liability provided
340
+ above shall be interpreted in a manner that, to the extent
341
+ possible, most closely approximates an absolute disclaimer and
342
+ waiver of all liability.
343
+
344
+
345
+ Section 6 -- Term and Termination.
346
+
347
+ a. This Public License applies for the term of the Copyright and
348
+ Similar Rights licensed here. However, if You fail to comply with
349
+ this Public License, then Your rights under this Public License
350
+ terminate automatically.
351
+
352
+ b. Where Your right to use the Licensed Material has terminated under
353
+ Section 6(a), it reinstates:
354
+
355
+ 1. automatically as of the date the violation is cured, provided
356
+ it is cured within 30 days of Your discovery of the
357
+ violation; or
358
+
359
+ 2. upon express reinstatement by the Licensor.
360
+
361
+ For the avoidance of doubt, this Section 6(b) does not affect any
362
+ right the Licensor may have to seek remedies for Your violations
363
+ of this Public License.
364
+
365
+ c. For the avoidance of doubt, the Licensor may also offer the
366
+ Licensed Material under separate terms or conditions or stop
367
+ distributing the Licensed Material at any time; however, doing so
368
+ will not terminate this Public License.
369
+
370
+ d. Sections 1, 5, 6, 7, and 8 survive termination of this Public
371
+ License.
372
+
373
+
374
+ Section 7 -- Other Terms and Conditions.
375
+
376
+ a. The Licensor shall not be bound by any additional or different
377
+ terms or conditions communicated by You unless expressly agreed.
378
+
379
+ b. Any arrangements, understandings, or agreements regarding the
380
+ Licensed Material not stated herein are separate from and
381
+ independent of the terms and conditions of this Public License.
382
+
383
+
384
+ Section 8 -- Interpretation.
385
+
386
+ a. For the avoidance of doubt, this Public License does not, and
387
+ shall not be interpreted to, reduce, limit, restrict, or impose
388
+ conditions on any use of the Licensed Material that could lawfully
389
+ be made without permission under this Public License.
390
+
391
+ b. To the extent possible, if any provision of this Public License is
392
+ deemed unenforceable, it shall be automatically reformed to the
393
+ minimum extent necessary to make it enforceable. If the provision
394
+ cannot be reformed, it shall be severed from this Public License
395
+ without affecting the enforceability of the remaining terms and
396
+ conditions.
397
+
398
+ c. No term or condition of this Public License will be waived and no
399
+ failure to comply consented to unless expressly agreed to by the
400
+ Licensor.
401
+
402
+ d. Nothing in this Public License constitutes or may be interpreted
403
+ as a limitation upon, or waiver of, any privileges and immunities
404
+ that apply to the Licensor or You, including from the legal
405
+ processes of any jurisdiction or authority.
406
+
407
+
408
+ =======================================================================
409
+
410
+ Creative Commons is not a party to its public
411
+ licenses. Notwithstanding, Creative Commons may elect to apply one of
412
+ its public licenses to material it publishes and in those instances
413
+ will be considered the “Licensor.” The text of the Creative Commons
414
+ public licenses is dedicated to the public domain under the CC0 Public
415
+ Domain Dedication. Except for the limited purpose of indicating that
416
+ material is shared under a Creative Commons public license or as
417
+ otherwise permitted by the Creative Commons policies published at
418
+ creativecommons.org/policies, Creative Commons does not authorize the
419
+ use of the trademark "Creative Commons" or any other trademark or logo
420
+ of Creative Commons without its prior written consent including,
421
+ without limitation, in connection with any unauthorized modifications
422
+ to any of its public licenses or any other arrangements,
423
+ understandings, or agreements concerning use of licensed material. For
424
+ the avoidance of doubt, this paragraph does not form part of the
425
+ public licenses.
426
+
427
+ Creative Commons may be contacted at creativecommons.org.
428
+
LICENSES/CC0-1.0.txt ADDED
@@ -0,0 +1,121 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Creative Commons Legal Code
2
+
3
+ CC0 1.0 Universal
4
+
5
+ CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE
6
+ LEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN
7
+ ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS
8
+ INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES
9
+ REGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS
10
+ PROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM
11
+ THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED
12
+ HEREUNDER.
13
+
14
+ Statement of Purpose
15
+
16
+ The laws of most jurisdictions throughout the world automatically confer
17
+ exclusive Copyright and Related Rights (defined below) upon the creator
18
+ and subsequent owner(s) (each and all, an "owner") of an original work of
19
+ authorship and/or a database (each, a "Work").
20
+
21
+ Certain owners wish to permanently relinquish those rights to a Work for
22
+ the purpose of contributing to a commons of creative, cultural and
23
+ scientific works ("Commons") that the public can reliably and without fear
24
+ of later claims of infringement build upon, modify, incorporate in other
25
+ works, reuse and redistribute as freely as possible in any form whatsoever
26
+ and for any purposes, including without limitation commercial purposes.
27
+ These owners may contribute to the Commons to promote the ideal of a free
28
+ culture and the further production of creative, cultural and scientific
29
+ works, or to gain reputation or greater distribution for their Work in
30
+ part through the use and efforts of others.
31
+
32
+ For these and/or other purposes and motivations, and without any
33
+ expectation of additional consideration or compensation, the person
34
+ associating CC0 with a Work (the "Affirmer"), to the extent that he or she
35
+ is an owner of Copyright and Related Rights in the Work, voluntarily
36
+ elects to apply CC0 to the Work and publicly distribute the Work under its
37
+ terms, with knowledge of his or her Copyright and Related Rights in the
38
+ Work and the meaning and intended legal effect of CC0 on those rights.
39
+
40
+ 1. Copyright and Related Rights. A Work made available under CC0 may be
41
+ protected by copyright and related or neighboring rights ("Copyright and
42
+ Related Rights"). Copyright and Related Rights include, but are not
43
+ limited to, the following:
44
+
45
+ i. the right to reproduce, adapt, distribute, perform, display,
46
+ communicate, and translate a Work;
47
+ ii. moral rights retained by the original author(s) and/or performer(s);
48
+ iii. publicity and privacy rights pertaining to a person's image or
49
+ likeness depicted in a Work;
50
+ iv. rights protecting against unfair competition in regards to a Work,
51
+ subject to the limitations in paragraph 4(a), below;
52
+ v. rights protecting the extraction, dissemination, use and reuse of data
53
+ in a Work;
54
+ vi. database rights (such as those arising under Directive 96/9/EC of the
55
+ European Parliament and of the Council of 11 March 1996 on the legal
56
+ protection of databases, and under any national implementation
57
+ thereof, including any amended or successor version of such
58
+ directive); and
59
+ vii. other similar, equivalent or corresponding rights throughout the
60
+ world based on applicable law or treaty, and any national
61
+ implementations thereof.
62
+
63
+ 2. Waiver. To the greatest extent permitted by, but not in contravention
64
+ of, applicable law, Affirmer hereby overtly, fully, permanently,
65
+ irrevocably and unconditionally waives, abandons, and surrenders all of
66
+ Affirmer's Copyright and Related Rights and associated claims and causes
67
+ of action, whether now known or unknown (including existing as well as
68
+ future claims and causes of action), in the Work (i) in all territories
69
+ worldwide, (ii) for the maximum duration provided by applicable law or
70
+ treaty (including future time extensions), (iii) in any current or future
71
+ medium and for any number of copies, and (iv) for any purpose whatsoever,
72
+ including without limitation commercial, advertising or promotional
73
+ purposes (the "Waiver"). Affirmer makes the Waiver for the benefit of each
74
+ member of the public at large and to the detriment of Affirmer's heirs and
75
+ successors, fully intending that such Waiver shall not be subject to
76
+ revocation, rescission, cancellation, termination, or any other legal or
77
+ equitable action to disrupt the quiet enjoyment of the Work by the public
78
+ as contemplated by Affirmer's express Statement of Purpose.
79
+
80
+ 3. Public License Fallback. Should any part of the Waiver for any reason
81
+ be judged legally invalid or ineffective under applicable law, then the
82
+ Waiver shall be preserved to the maximum extent permitted taking into
83
+ account Affirmer's express Statement of Purpose. In addition, to the
84
+ extent the Waiver is so judged Affirmer hereby grants to each affected
85
+ person a royalty-free, non transferable, non sublicensable, non exclusive,
86
+ irrevocable and unconditional license to exercise Affirmer's Copyright and
87
+ Related Rights in the Work (i) in all territories worldwide, (ii) for the
88
+ maximum duration provided by applicable law or treaty (including future
89
+ time extensions), (iii) in any current or future medium and for any number
90
+ of copies, and (iv) for any purpose whatsoever, including without
91
+ limitation commercial, advertising or promotional purposes (the
92
+ "License"). The License shall be deemed effective as of the date CC0 was
93
+ applied by Affirmer to the Work. Should any part of the License for any
94
+ reason be judged legally invalid or ineffective under applicable law, such
95
+ partial invalidity or ineffectiveness shall not invalidate the remainder
96
+ of the License, and in such case Affirmer hereby affirms that he or she
97
+ will not (i) exercise any of his or her remaining Copyright and Related
98
+ Rights in the Work or (ii) assert any associated claims and causes of
99
+ action with respect to the Work, in either case contrary to Affirmer's
100
+ express Statement of Purpose.
101
+
102
+ 4. Limitations and Disclaimers.
103
+
104
+ a. No trademark or patent rights held by Affirmer are waived, abandoned,
105
+ surrendered, licensed or otherwise affected by this document.
106
+ b. Affirmer offers the Work as-is and makes no representations or
107
+ warranties of any kind concerning the Work, express, implied,
108
+ statutory or otherwise, including without limitation warranties of
109
+ title, merchantability, fitness for a particular purpose, non
110
+ infringement, or the absence of latent or other defects, accuracy, or
111
+ the present or absence of errors, whether or not discoverable, all to
112
+ the greatest extent permissible under applicable law.
113
+ c. Affirmer disclaims responsibility for clearing rights of other persons
114
+ that may apply to the Work or any use thereof, including without
115
+ limitation any person's Copyright and Related Rights in the Work.
116
+ Further, Affirmer disclaims responsibility for obtaining any necessary
117
+ consents, permissions or other rights required for any use of the
118
+ Work.
119
+ d. Affirmer understands and acknowledges that Creative Commons is not a
120
+ party to this document and has no duty or obligation with respect to
121
+ this CC0 or use of the Work.
LICENSING.md ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Licensing Scope
2
+
3
+ This repository contains independently licensed code and source-specific data.
4
+
5
+ ## Code
6
+
7
+ The loader in `scripts/load_counseltraj.py` is distributed under Apache-2.0.
8
+ See `LICENSES/Apache-2.0.txt`. This code license
9
+ does not override any data license. It also does not relicense pre-existing files
10
+ that may be present in the upstream project repository.
11
+
12
+ ## Data
13
+
14
+ | File | Source | Release terms |
15
+ | --- | --- | --- |
16
+ | `data/smilechat_derived.jsonl.gz` | SmileChat | CC0-1.0 for the released contributions, subject to applicable source rights and notices |
17
+ | `data/psydt_derived.jsonl.gz` | PsyDTCorpus | Apache-2.0, preserving applicable source notices |
18
+ | `data/cpsycound_derived.jsonl.gz` | CPsyCounD | CC-BY-SA-4.0 for the released adaptation, preserving applicable source notices |
19
+
20
+ Each record carries a `license` identifier. Full texts are in `LICENSES/`.
21
+ Attribution, source links, and modification descriptions are in
22
+ `THIRD_PARTY_NOTICES.md` and must accompany redistributed source-derived material
23
+ as required by its applicable terms. Retain any applicable upstream NOTICE or
24
+ copyright notices if supplied with the source version you use.
25
+
26
+ These notices describe the direct dataset licenses reviewed for this release;
27
+ they are not a warranty of ownership, privacy clearance, or third-party consent.
28
+ The repository does not claim to grant rights beyond those held by its authors.
29
+ The original publication of SmileChat includes research-purpose statements;
30
+ CPsyCoun's GitHub and dataset-card license labels differ. Both facts are recorded
31
+ in the source notices rather than silently removed.
32
+
33
+ Mere co-location of separable materials does not replace their individual
34
+ licenses. Do not apply a blanket code license to the data, or attach extra
35
+ restrictions that contradict rights granted by an applicable data license.
README.md ADDED
@@ -0,0 +1,183 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ pretty_name: CounselTrajD
3
+ language:
4
+ - zh
5
+ license:
6
+ - cc0-1.0
7
+ - apache-2.0
8
+ - cc-by-sa-4.0
9
+ task_categories:
10
+ - text-generation
11
+ size_categories:
12
+ - 10K<n<100K
13
+ tags:
14
+ - counseling
15
+ - synthetic
16
+ - dialogue
17
+ - dialogue-act
18
+ - counseltraj
19
+ configs:
20
+ - config_name: default
21
+ default: true
22
+ data_files:
23
+ - split: train
24
+ path:
25
+ - data/smilechat_derived.jsonl.gz
26
+ - data/psydt_derived.jsonl.gz
27
+ - data/cpsycound_derived.jsonl.gz
28
+ - config_name: smilechat
29
+ data_files:
30
+ - split: train
31
+ path: data/smilechat_derived.jsonl.gz
32
+ - config_name: psydtcorpus
33
+ data_files:
34
+ - split: train
35
+ path: data/psydt_derived.jsonl.gz
36
+ - config_name: cpsycound
37
+ data_files:
38
+ - split: train
39
+ path: data/cpsycound_derived.jsonl.gz
40
+ ---
41
+
42
+ # CounselTrajD
43
+
44
+ 📄 **Paper:** [CounselTraj (arXiv:2611.24168)](https://arxiv.org/abs/2611.24168)
45
+
46
+ 💻 **Project:** [GitHub](https://github.com/UEC-InabaLab/CounselTraj) · [中文说明](https://github.com/UEC-InabaLab/CounselTraj/blob/master/README_zh-CN.md)
47
+
48
+ CounselTrajD contains **10,964 synthetic Chinese counseling dialogues**, totaling
49
+ **958,791 utterances** across **15 topics**. The mean length is **87.45 individual
50
+ utterances per dialogue**. These are generated expansions conditioned on seed
51
+ conversations, rather than newly collected human counseling sessions.
52
+
53
+ The three compressed JSONL files and their manifest are identical to the GitHub
54
+ data release. They are separated by provenance to preserve attribution and make
55
+ source-specific licensing explicit.
56
+
57
+ ## Load the dataset
58
+
59
+ ```bash
60
+ pip install datasets
61
+ ```
62
+
63
+ ```python
64
+ from datasets import load_dataset
65
+
66
+ dataset = load_dataset("UEC-InabaLab/CounselTrajD", split="train")
67
+ print(len(dataset)) # 10964
68
+ messages = dataset[0]["messages"]
69
+ ```
70
+
71
+ The `train` split contains the entire public release; no predefined evaluation
72
+ split is supplied. The default configuration includes all three sources. To load
73
+ a single source or stream the data:
74
+
75
+ ```python
76
+ smilechat = load_dataset("UEC-InabaLab/CounselTrajD", "smilechat", split="train")
77
+ psydt = load_dataset("UEC-InabaLab/CounselTrajD", "psydtcorpus", split="train")
78
+ cpsy = load_dataset("UEC-InabaLab/CounselTrajD", "cpsycound", split="train")
79
+
80
+ stream = load_dataset("UEC-InabaLab/CounselTrajD", split="train", streaming=True)
81
+ first_dialogue = next(iter(stream))
82
+ ```
83
+
84
+ After downloading this repository, the standard-library loader can verify the
85
+ file checksums, unique IDs, dialogue counts, and utterance counts:
86
+
87
+ ```bash
88
+ python3 scripts/load_counseltraj.py
89
+ ```
90
+
91
+ The full-record comparison and configuration loading checks are documented in
92
+ [validation.json](validation.json). [SHA256SUMS](SHA256SUMS) covers the release files.
93
+
94
+ ## Sources and licenses
95
+
96
+ **Licenses apply by source, not as interchangeable license options for the whole
97
+ dataset.** Each record includes its applicable `license` identifier. Please
98
+ retain attribution and notices as required by the respective source terms.
99
+
100
+ | Source of seed conversations | Configuration | Dialogues | License | Paper |
101
+ | --- | --- | ---: | --- | --- |
102
+ | SmileChat | `smilechat` | 7,672 | CC0-1.0 | [SMILE (Qiu et al., 2024)](https://aclanthology.org/2024.findings-emnlp.34/) |
103
+ | PsyDTCorpus | `psydtcorpus` | 2,595 | Apache-2.0 | [PsyDT (Xie et al., 2025)](https://aclanthology.org/2025.acl-long.55/) |
104
+ | CPsyCounD | `cpsycound` | 697 | CC-BY-SA-4.0 | [CPsyCoun (Zhang et al., 2024)](https://aclanthology.org/2024.findings-acl.830/) |
105
+ | **Total** | `default` | **10,964** | **Source-specific terms** | |
106
+
107
+ See [LICENSING.md](LICENSING.md), [THIRD_PARTY_NOTICES.md](THIRD_PARTY_NOTICES.md),
108
+ and the complete license texts in [LICENSES](LICENSES). The data do not inherit a
109
+ blanket code license.
110
+
111
+ ## Statistics
112
+
113
+ | Statistic | Overall | Client | Counselor |
114
+ | --- | ---: | ---: | ---: |
115
+ | Dialogues | 10,964 | — | — |
116
+ | Utterances | 958,791 | 473,910 | 484,881 |
117
+ | Mean utterances per dialogue | 87.45 | 43.22 | 44.22 |
118
+ | Characters | 42,197,155 | 18,321,830 | 23,875,325 |
119
+ | Topics | 15 | — | — |
120
+
121
+ Utterances are individual messages. Character counts exclude speaker and tag
122
+ markup. Counts, topic frequencies, and source-file SHA256 checksums are recorded
123
+ in [data/manifest.json](data/manifest.json).
124
+
125
+ ## Schema
126
+
127
+ Each JSONL record contains:
128
+
129
+ | Field | Meaning |
130
+ | --- | --- |
131
+ | `id` | Stable unique CounselTrajD identifier |
132
+ | `source_dataset`, `source_id` | Source of the seed conversation and original record identifier |
133
+ | `topic`, `topic_zh` | Topic labels |
134
+ | `license` | Source-specific release license identifier |
135
+ | `messages` | Ordered generated messages with `role`, `dialogue_act`, and `content` |
136
+ | `planned_dialogue_acts` | Intended trajectory entries with `role` and `dialogue_act` |
137
+
138
+ `user` denotes the client, and `assistant` denotes the counselor. A dialogue may
139
+ start with a counselor greeting; strict speaker alternation is not enforced.
140
+
141
+ <a id="dialogue-acts"></a>
142
+
143
+ ### Dialogue-act fields
144
+
145
+ The message-level `dialogue_act` values preserve tags emitted during generation.
146
+ They are stored separately from the planned trajectory and are **not guaranteed
147
+ to align with it one-to-one**. In this release, 114 dialogues have different
148
+ planned and generated sequence lengths. These records are retained without
149
+ truncation or silent repair. Label definitions are documented in the
150
+ [project README](https://github.com/UEC-InabaLab/CounselTraj#dialogue-acts).
151
+
152
+ The export excludes raw seed dialogue text, API wrappers, request IDs, billing,
153
+ usage metadata, and internal file paths. See the [data card](data/README.md) for
154
+ additional schema details.
155
+
156
+ ## Construction and use
157
+
158
+ CounselTraj learns session-level interaction patterns from
159
+ [KokoroChat](https://github.com/UEC-InabaLab/KokoroChat), plans dialogue-act
160
+ trajectories from brief dialogues, and uses these plans to guide dialogue
161
+ expansion. The CounselTrajD release was generated using GPT-5.5. The
162
+ [construction overview](https://github.com/UEC-InabaLab/CounselTraj#data-construction)
163
+ and [DA annotation prompts](https://github.com/UEC-InabaLab/CounselTraj/tree/master/annotation)
164
+ are available in the project repository. The
165
+ [CounselTrajLM model versions](https://github.com/UEC-InabaLab/CounselTraj#counseltrajlm)
166
+ are fine-tuned on this dataset for next counselor response generation.
167
+
168
+ This dataset is intended for counseling dialogue research. Synthetic generation
169
+ and automated pattern screening do not establish complete anonymity, clinical
170
+ safety, or freedom from bias. The data are not a substitute for professional
171
+ diagnosis or treatment.
172
+
173
+ ## Citation
174
+
175
+ ```bibtex
176
+ @inproceedings{qi-inaba-2027-counseltraj,
177
+ title = "{CounselTraj}: Synthesizing Process-Aware Psychological Counseling Dialogues via Dialogue-Act Trajectory Planning",
178
+ author = "Qi, Zhiyang and Inaba, Michimasa",
179
+ booktitle = "Proceedings of the 20th Conference of the European Chapter of the Association for Computational Linguistics",
180
+ year = "2027",
181
+ url = "https://arxiv.org/abs/2611.24168",
182
+ }
183
+ ```
SHA256SUMS ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 LICENSES/Apache-2.0.txt
2
+ 28a9529c7d0bb4dc51f4bf5c116a3d16ef247a052f7591466768ddf563fd1cf5 LICENSES/CC-BY-SA-4.0.txt
3
+ a2010f343487d3f7618affe54f789f5487602331c0a8d03f49e9a7c547cf0499 LICENSES/CC0-1.0.txt
4
+ 35c3ca90c00ae126ebc5b9372d96a1efb80f68d929b6e73cea7ba599cc9588ef LICENSING.md
5
+ 09cb071d2f945522be79c59fec58a0baf7d87ab2a087c16100e7c19f450ae6b1 README.md
6
+ 752af4dda45cae961fea849a2d0b82b43c57dfb36bf3cbdffbe69b33fbf9755a THIRD_PARTY_NOTICES.md
7
+ abf9b80a3b24c4e855691cda9fc6011fe94cbc0715f50ecfc63c0d7d4257c43b data/README.md
8
+ bfaa0556f8d637606efcd7e994da9dc91620a10011887848e6469dcffb712a13 data/cpsycound_derived.jsonl.gz
9
+ 70eb37621777cce77b710f8daefeb5bae439d0e6ce5245d6baba267c641dbad9 data/manifest.json
10
+ a2d9ea61e4bd6a355c5ca15daf87752eeb80656256d1dd16f1024ab0fe202e1e data/psydt_derived.jsonl.gz
11
+ 1231505b661ba69e251748e8198034d70f2f0d714a61793ff10e58cb5c01967f data/smilechat_derived.jsonl.gz
12
+ dbb68a392f489091d6ff7cd816e5eed196aa975087701f1aba914cac58cf2b58 scripts/load_counseltraj.py
13
+ 6645ad90843ce733b9ceceaa7ebdb1eb274b1bd471043209991a16f580873245 validation.json
THIRD_PARTY_NOTICES.md ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Third-Party Data Notices
2
+
3
+ CounselTrajD is generated using seed conversations from the following datasets.
4
+ The source dataset names and original record identifiers are retained for
5
+ provenance; raw source conversations are not included in this release.
6
+
7
+ ## SmileChat: 7,672 derived dialogues
8
+
9
+ - Creators: Huachuan Qiu, Hongliang He, Shuai Zhang, Anqi Li, and Zhenzhong Lan.
10
+ - Source: https://github.com/qiuhuachuan/smile
11
+ - Source license: https://github.com/qiuhuachuan/smile/blob/main/LICENSE (CC0-1.0).
12
+ - Paper: Qiu et al. (2024), [SMILE: Single-turn to Multi-turn Inclusive Language Expansion via ChatGPT for Mental Health Support](https://aclanthology.org/2024.findings-emnlp.34/). Findings of EMNLP 2024.
13
+ - Changes: source conversations conditioned dialogue-act trajectory generation
14
+ and long-dialogue expansion; generated utterances and trajectories were
15
+ extracted into the public JSONL schema. These are not original SmileChat rows.
16
+ - The paper's Data Sharing section additionally describes research-purpose
17
+ release. The CC0 repository label is not represented as a separate warranty
18
+ that all possible rights or uses have been cleared.
19
+
20
+ ## PsyDTCorpus: 2,595 derived dialogues
21
+
22
+ - Creators: Haojie Xie, Yirong Chen, Xiaofen Xing, Jingkai Lin, and Xiangmin Xu.
23
+ - Source: https://modelscope.cn/datasets/YIRONGCHEN/PsyDTCorpus
24
+ - Direct dataset license metadata:
25
+ https://modelscope.cn/api/v1/datasets/YIRONGCHEN/PsyDTCorpus (Apache License 2.0).
26
+ - Official project and license: https://github.com/scutcyr/SoulChat2.0
27
+ - Paper: Xie et al. (2025), [PsyDT: Using LLMs to Construct the Digital Twin of Psychological Counselor with Personalized Counseling Style for Psychological Counseling](https://aclanthology.org/2025.acl-long.55/). ACL 2025.
28
+ - Changes: source conversations conditioned dialogue-act trajectory generation
29
+ and long-dialogue expansion; generated utterances and trajectories were
30
+ extracted into the public JSONL schema. These are not original PsyDTCorpus rows.
31
+ - Preserve applicable copyright, attribution, and NOTICE information under
32
+ Apache-2.0. The model-use statements in the project README do not relicense the
33
+ model weights under this data release.
34
+
35
+ ## CPsyCounD: 697 derived dialogues
36
+
37
+ - Creators: Chenhao Zhang and the CPsyCoun project authors.
38
+ - Source: https://huggingface.co/datasets/CAS-SIAT-XinHai/CPsyCoun
39
+ - Dataset card: https://huggingface.co/datasets/CAS-SIAT-XinHai/CPsyCoun/blob/main/README.md
40
+ (CC-BY-SA-4.0).
41
+ - Project: https://github.com/CAS-SIAT-XinHai/CPsyCoun
42
+ - Paper: Zhang et al. (2024), [CPsyCoun: A Report-based Multi-turn Dialogue Reconstruction and Evaluation Framework for Chinese Psychological Counseling](https://aclanthology.org/2024.findings-acl.830/). Findings of ACL 2024.
43
+ - Changes: source conversations conditioned dialogue-act trajectory generation
44
+ and long-dialogue expansion; generated utterances and trajectories were
45
+ extracted into the public JSONL schema. These are not original CPsyCounD rows.
46
+ - The GitHub repository LICENSE says CC-BY-4.0 while the official dataset card
47
+ says CC-BY-SA-4.0. This release follows the dataset-specific ShareAlike label
48
+ for these adaptations and does not erase that discrepancy.
49
+ - Adaptations are distributed under CC-BY-SA-4.0. Attribution, license links,
50
+ and modification notices must be preserved as required by that license.
51
+
52
+ The original authors do not necessarily endorse CounselTraj or its outputs.
53
+ Please cite the original papers alongside the CounselTraj work when appropriate.
data/README.md ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # CounselTrajD Data Card
2
+
3
+ 📄 **Paper:** [CounselTraj (arXiv:2611.24168)](https://arxiv.org/abs/2611.24168)
4
+
5
+ ## Contents
6
+
7
+ The three `*_derived.jsonl.gz` files contain all 10,964 dialogues. Each gzip stream
8
+ stores one UTF-8 JSON object per line. Counts and SHA256 checksums are in
9
+ `manifest.json`.
10
+
11
+ The mean dialogue length is 87.45 individual utterances (not 87.45 client/counselor
12
+ pairs). The complete release contains 473,910 user utterances and 484,881 assistant
13
+ utterances, with 42,197,155 text characters excluding speaker and tag markup.
14
+
15
+ ## Schema
16
+
17
+ | Field | Meaning |
18
+ | --- | --- |
19
+ | `id` | Stable unique CounselTrajD identifier |
20
+ | `source_dataset` | Source of the seed conversation |
21
+ | `source_id` | Original source record identifier |
22
+ | `topic`, `topic_zh` | Topic labels |
23
+ | `license` | Source-specific release license identifier |
24
+ | `messages` | Ordered generated utterances; keys are `role`, `dialogue_act`, and `content` |
25
+ | `planned_dialogue_acts` | Intended ordered trajectory; keys are `role` and `dialogue_act` |
26
+
27
+ `user` corresponds to the original `client` speaker, and `assistant` corresponds
28
+ to `counselor`. Dialogues can begin with an assistant greeting. The export preserves
29
+ all utterances, their order, and dialogue-act tags. It does not force alternation,
30
+ truncate to the planned trajectory, or silently correct generated content.
31
+ The message-level `dialogue_act` values are tags emitted during generation.
32
+ They are stored separately from the planned trajectory and are not guaranteed
33
+ to align with it one-to-one.
34
+ See [dialogue acts and trajectories](../README.md#dialogue-acts) for the role-specific
35
+ tag definitions and an illustrative trajectory segment.
36
+ In this release, 114 dialogues have different planned and realized trajectory
37
+ lengths. They are retained without truncation or silent repair.
38
+
39
+ The export removes the API wrapper and strips only outer whitespace following the
40
+ original dataset's statistics parser. It does not include the original
41
+ `short_dialogue`, internal filenames, absolute paths, request IDs, billing, usage,
42
+ or API response metadata.
43
+
44
+ ## Licensing and responsible interpretation
45
+
46
+ See `../LICENSING.md` and `../THIRD_PARTY_NOTICES.md`. The data files do not inherit
47
+ the code license. The release is synthetic research material, not validated
48
+ clinical advice. Automated pattern checks are not a substitute for privacy,
49
+ clinical safety, or rights review. Removing the seed field is not a claim that
50
+ generated text has no relationship to its source.
data/cpsycound_derived.jsonl.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bfaa0556f8d637606efcd7e994da9dc91620a10011887848e6469dcffb712a13
3
+ size 3522829
data/manifest.json ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset": "CounselTrajD",
3
+ "version": "10964-20261113",
4
+ "dialogues": 10964,
5
+ "unique_ids": 10964,
6
+ "utterances": 958791,
7
+ "text_characters": 42197155,
8
+ "source_counts": {
9
+ "CPsyCounD": 697,
10
+ "PsyDTCorpus": 2595,
11
+ "SmileChat": 7672
12
+ },
13
+ "topic_counts": {
14
+ "学业校园": 838,
15
+ "行为习惯": 711,
16
+ "抑郁低落": 930,
17
+ "情绪焦虑": 970,
18
+ "成长规划": 1010,
19
+ "健康睡眠躯体": 623,
20
+ "人际社交": 1010,
21
+ "其他": 219,
22
+ "自我认同": 1009,
23
+ "性心理": 97,
24
+ "社会适应": 97,
25
+ "治疗与心理知识": 399,
26
+ "职场职业": 1010,
27
+ "家庭亲子": 1004,
28
+ "婚恋关系": 1037
29
+ },
30
+ "role_counts": {
31
+ "assistant": 484881,
32
+ "user": 473910
33
+ },
34
+ "generation_model_counts": {
35
+ "gpt-5.5-2026-04-23": 10964
36
+ },
37
+ "dialogues_with_plan_length_mismatch": 114,
38
+ "sensitive_pattern_flag_counts": {
39
+ "email_like": 0,
40
+ "cn_mobile_like": 0,
41
+ "cn_id_like": 0,
42
+ "credential_like": 0,
43
+ "internal_path_like": 0
44
+ },
45
+ "raw_seed_dialogues_included": false,
46
+ "provider_envelopes_included": false,
47
+ "files": {
48
+ "smilechat_derived.jsonl.gz": {
49
+ "source_dataset": "SmileChat",
50
+ "license": "CC0-1.0",
51
+ "dialogues": 7672,
52
+ "bytes": 38371458,
53
+ "sha256": "1231505b661ba69e251748e8198034d70f2f0d714a61793ff10e58cb5c01967f"
54
+ },
55
+ "psydt_derived.jsonl.gz": {
56
+ "source_dataset": "PsyDTCorpus",
57
+ "license": "Apache-2.0",
58
+ "dialogues": 2595,
59
+ "bytes": 13382424,
60
+ "sha256": "a2d9ea61e4bd6a355c5ca15daf87752eeb80656256d1dd16f1024ab0fe202e1e"
61
+ },
62
+ "cpsycound_derived.jsonl.gz": {
63
+ "source_dataset": "CPsyCounD",
64
+ "license": "CC-BY-SA-4.0",
65
+ "dialogues": 697,
66
+ "bytes": 3522829,
67
+ "sha256": "bfaa0556f8d637606efcd7e994da9dc91620a10011887848e6469dcffb712a13"
68
+ }
69
+ }
70
+ }
data/psydt_derived.jsonl.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a2d9ea61e4bd6a355c5ca15daf87752eeb80656256d1dd16f1024ab0fe202e1e
3
+ size 13382424
data/smilechat_derived.jsonl.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1231505b661ba69e251748e8198034d70f2f0d714a61793ff10e58cb5c01967f
3
+ size 38371458
scripts/load_counseltraj.py ADDED
@@ -0,0 +1,72 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env python3
2
+ # SPDX-License-Identifier: Apache-2.0
3
+ """Stream source-specific CounselTrajD files and verify the release manifest."""
4
+ import argparse
5
+ from collections import Counter
6
+ import gzip
7
+ import hashlib
8
+ import json
9
+ from pathlib import Path
10
+
11
+
12
+ FIELDS = {'id', 'source_dataset', 'source_id', 'topic', 'topic_zh', 'license',
13
+ 'messages', 'planned_dialogue_acts'}
14
+
15
+
16
+ def load_dialogues(data_dir, source=None):
17
+ data_dir = Path(data_dir)
18
+ manifest = json.loads((data_dir / 'manifest.json').read_text(encoding='utf-8'))
19
+ if source is not None and source not in manifest['source_counts']:
20
+ raise ValueError('Unknown source: ' + source)
21
+ for filename, info in manifest['files'].items():
22
+ if source is not None and info['source_dataset'] != source:
23
+ continue
24
+ if Path(filename).name != filename:
25
+ raise ValueError('Unsafe manifest filename')
26
+ with gzip.open(data_dir / filename, 'rt', encoding='utf-8') as f:
27
+ for line in f:
28
+ yield json.loads(line)
29
+
30
+
31
+ def verify(data_dir):
32
+ data_dir = Path(data_dir)
33
+ manifest = json.loads((data_dir / 'manifest.json').read_text(encoding='utf-8'))
34
+ for filename, info in manifest['files'].items():
35
+ if Path(filename).name != filename:
36
+ raise ValueError('Unsafe manifest filename')
37
+ path = data_dir / filename
38
+ h = hashlib.sha256()
39
+ with path.open('rb') as f:
40
+ for block in iter(lambda: f.read(1024 * 1024), b''):
41
+ h.update(block)
42
+ if h.hexdigest() != info['sha256'] or path.stat().st_size != info['bytes']:
43
+ raise ValueError('Checksum or size mismatch: ' + filename)
44
+ counts = Counter()
45
+ seen = set()
46
+ utterances = 0
47
+ for row in load_dialogues(data_dir):
48
+ if set(row) != FIELDS or row['id'] in seen:
49
+ raise ValueError('Schema or duplicate ID error')
50
+ seen.add(row['id'])
51
+ counts[row['source_dataset']] += 1
52
+ utterances += len(row['messages'])
53
+ for message in row['messages']:
54
+ if set(message) != {'role', 'dialogue_act', 'content'}:
55
+ raise ValueError('Unexpected message fields')
56
+ if message['role'] not in ['user', 'assistant'] or not message['content']:
57
+ raise ValueError('Invalid role or empty utterance')
58
+ if dict(counts) != manifest['source_counts'] or len(seen) != manifest['dialogues']:
59
+ raise ValueError('Dialogue count mismatch')
60
+ if utterances != manifest['utterances']:
61
+ raise ValueError('Utterance count mismatch')
62
+ result = {'dialogues': len(seen), 'unique_ids': len(seen),
63
+ 'utterances': utterances, 'source_counts': dict(counts), 'verified': True}
64
+ print(json.dumps(result, indent=2))
65
+ return result
66
+
67
+
68
+ if __name__ == '__main__':
69
+ p = argparse.ArgumentParser(description=__doc__)
70
+ p.add_argument('--data-dir', type=Path, default=Path(__file__).resolve().parents[1] / 'data')
71
+ args = p.parse_args()
72
+ verify(args.data_dir)
validation.json ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "status": "passed",
3
+ "dialogues": 10964,
4
+ "utterances": 958791,
5
+ "configs": {
6
+ "default": 10964,
7
+ "smilechat": 7672,
8
+ "psydtcorpus": 2595,
9
+ "cpsycound": 697
10
+ },
11
+ "source_counts": {
12
+ "CPsyCounD": 697,
13
+ "PsyDTCorpus": 2595,
14
+ "SmileChat": 7672
15
+ },
16
+ "github_data_checksums_match": true,
17
+ "all_loaded_records_equal_original_jsonl": true,
18
+ "dataset_card_validated": true,
19
+ "datasets_version": "4.8.4"
20
+ }