Amod amod-plnyr commited on
Commit
472ad8c
·
verified ·
1 Parent(s): 4672e03

licensing (#8)

Browse files

- Updated licencing terms to RAIL-D allowing commercial use. (7f9bba9360848b1a10ad05b25aa3b4781c50262c)
- Switch metadata license field to 'other' (RAIL-D custom) (b604859460ee43cb28766d2089f8a55db0cc4099)
- Switch metadata license field to 'other' (rail-d custom) (b6252249300fc5f1ee8feb3d8555dd647a696c70)


Co-authored-by: Amod S <[email protected]>

Files changed (2) hide show
  1. LICENSE-RAIL-D.txt +314 -0
  2. README.md +40 -30
LICENSE-RAIL-D.txt ADDED
@@ -0,0 +1,314 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Generated on: 2025-07-06 17:13:41.847000+00:00
2
+ License ID: eac45811-c155-4c5e-b0a2-7395273fa5de
3
+ License Template Version: e8502289197accc4ddd023f0fc234ca26062a9f1
4
+
5
+ Amod/mental_health_counseling_conversations RAIL-D
6
+
7
+ Licensed Artifact(s):
8
+
9
+ - Data
10
+
11
+ NOTE: The primary difference between a RAIL and OpenRAIL license is that
12
+ the RAIL license does not require the licensee to have royalty-free use
13
+ of the relevant artifact(s), nor does the RAIL license necessarily
14
+ permit modifications to the artifact(s). Both RAIL and OpenRAIL licenses
15
+ include use restrictions prohibiting certain uses of the licensed
16
+ artifact(s).
17
+
18
+ Section I: PREAMBLE
19
+
20
+ This RAIL License is generally applicable to the Artifact(s) identified
21
+ above.
22
+
23
+ For valuable consideration, You and Licensor agree as follows:
24
+
25
+ 1. Definitions
26
+
27
+ (a) “Artifact” refers to the dataset identified above as the “Licensed Artifact” (“Data”).
28
+
29
+ (b) “Contribution” means any work, including any modifications or
30
+ additions to an Artifact, that is intentionally submitted to
31
+ Licensor for inclusion or incorporation in the Artifact directly or
32
+ indirectly by the rights owner. For the purposes of this definition,
33
+ “submitted” means any form of electronic, verbal, or written
34
+ communication sent to the Licensor or its representatives, including
35
+ but not limited to communication on electronic mailing lists, source
36
+ code control systems, and issue tracking systems that are managed
37
+ by, or on behalf of, the Licensor for the purpose of discussing,
38
+ sharing and improving the Artifact, but excluding communication that
39
+ is conspicuously marked or otherwise designated in writing by the
40
+ contributor as “Not a Contribution.”
41
+
42
+ (c) “Contributor” means Licensor or any other individual or legal entity
43
+ that creates or owns a Contribution that is added to or incorporated
44
+ into an Artifact.
45
+
46
+ (d) “Data” means a collection of information and/or content extracted
47
+ from the dataset used to train, pretrain, or otherwise evaluate machine‑learning systems.
48
+
49
+ (e) “Derivative” means a work derived from or based upon an Artifact,
50
+ and includes all modified versions of such Artifact.
51
+
52
+ (f) “Harm” includes but is not limited to physical, mental,
53
+ psychological, financial and reputational damage, pain, or loss.
54
+
55
+ (g) “License” means the terms and conditions for use, reproduction, and
56
+ Distribution as defined in this document.
57
+
58
+ (h) “Licensor” means the rights owner (by virtue of creation or
59
+ documented transfer of ownership) or entity authorized by the rights
60
+ owner (e.g., exclusive licensee) that is granting the rights in this
61
+ License.
62
+
63
+ (i) “Output” means the results of operating a Model as embodied in
64
+ informational content resulting therefrom.
65
+
66
+ (j) “Third Parties” means individuals or legal entities that are not
67
+ under common control with Licensor or You.
68
+
69
+ (k) “Use” includes accessing and utilizing an Artifact, and may, in
70
+ connection with a Model, also include creating content, fine-tuning,
71
+ updating, running, training, evaluating and/or re-parametrizing such
72
+ Model.
73
+
74
+ (l) “You” (or “Your”) means an individual or legal entity receiving and
75
+ exercising permissions granted by this License and/or making use of
76
+ the Artifact for permitted purposes and in any permitted field of
77
+ use, including usage of the Artifact in an end-use application -
78
+ e.g. chatbot, translator, image generator, etc.
79
+
80
+ Section II: INTELLECTUAL PROPERTY RIGHTS
81
+
82
+ Both copyright and patent grants may apply to the Artifact. The Artifact
83
+ is subject to additional terms as described in Section III below, which
84
+ govern the use of the Artifact in the event that Section II is held
85
+ unenforceable or inapplicable.
86
+
87
+ 2. Grant of Copyright License. Conditioned upon compliance with Section
88
+ III below and subject to the terms and conditions of this License, each
89
+ Contributor hereby grants to You a worldwide, non-exclusive,
90
+ royalty-free copyright license to reproduce (for internal purposes),
91
+ use, publicly display, and publicly perform the Artifact.
92
+
93
+ 3. Grant of Patent License. Conditioned upon compliance with Section III
94
+ below and subject to the terms and conditions of this License, and only
95
+ where and as applicable, each Contributor hereby grants to You a
96
+ worldwide, non-exclusive, royalty-free, irrevocable (except as stated in
97
+ this paragraph) patent license to make, use, sell, offer to sell, and
98
+ import the Artifact where such license applies only to those patent
99
+ claims licensable by such Contributor that are necessarily infringed by
100
+ their Contribution(s) alone or by combination of their Contribution(s)
101
+ with the Artifact to which such Contribution(s) was submitted. If You
102
+ institute patent litigation against any entity (including a cross-claim
103
+ or counterclaim in a lawsuit) alleging that the Artifact and/or a
104
+ Contribution incorporated within the Artifact constitutes direct or
105
+ contributory patent infringement, then any patent licenses granted to
106
+ You under this License in connection with the Artifact shall terminate
107
+ as of the date such litigation is asserted or filed.
108
+
109
+ Licensor and Contributor each have the right to grant the licenses
110
+ above.
111
+
112
+ Section III: CONDITIONS OF USAGE, DISTRIBUTION AND REDISTRIBUTION
113
+
114
+ 4. Use-based restrictions. The restrictions set forth in Attachment A
115
+ are mandatory Use-based restrictions. Therefore You cannot Use the
116
+ Artifact in violation of such restrictions. You may distribute the Artifact,
117
+ provided it remains unmodified in content and is accompanied by this License;
118
+ you may create filtered or subset selections for analytical purposes,
119
+ but you must not alter, rewrite, or remove any individual Question‑and‑Answer pair.
120
+
121
+ 5. Commercial‑Use Donation Requirement. Commercial use of the Artifact
122
+ is permitted only after the licensee donates a sum of not less than
123
+ USD 100 (one hundred United States dollars) to the CCC Foundation’s
124
+ mental‑health helpline via https://1333.lk/donations. The licensee must
125
+ e‑mail proof of this donation (receipt or confirmation) to [email protected]
126
+ within thirty (30) days before, or no later than thirty (30) days after,
127
+ the commencement of any commercial deployment. Failure to provide such proof
128
+ automatically terminates commercial‑use rights under this License.
129
+
130
+ 6. The Output You Generate. Except as set forth herein, Licensor claims
131
+ no rights in the Output You generate using an Artifact. If the Artifact
132
+ is a Model, You are accountable for the Output You generate and its
133
+ subsequent uses, and no use of the Output can contravene any provision
134
+ as stated in this License.
135
+
136
+ 7. Notices. You shall retain all copyright, patent, trademark, and
137
+ attribution notices that accompany the Artifact.
138
+
139
+ Section IV: OTHER PROVISIONS
140
+
141
+ 8. Updates and Runtime Restrictions. To the maximum extent permitted by
142
+ law, Licensor reserves the right to restrict (remotely or otherwise)
143
+ usage of the Artifact in violation of this License or update the
144
+ Artifact through electronic means.
145
+
146
+ 9. Trademarks and related. Nothing in this License permits You to make
147
+ use of Licensors’ trademarks, trade names, logos or to otherwise suggest
148
+ endorsement or misrepresent the relationship between the parties; and
149
+ any rights not expressly granted herein are reserved by the Licensors.
150
+
151
+ 10. Disclaimer of Warranty. Unless required by applicable law or agreed
152
+ to in writing, Licensor provides the Artifact (and each Contributor
153
+ provides its Contributions) on an “AS IS” BASIS, WITHOUT WARRANTIES OR
154
+ CONDITIONS OF ANY KIND, either express or implied, including, without
155
+ limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT,
156
+ MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely
157
+ responsible for determining the appropriateness of using the Artifact,
158
+ and assume any risks associated with Your exercise of permissions under
159
+ this License.
160
+
161
+ 11. Limitation of Liability. In no event and under no legal theory,
162
+ whether in tort (including negligence), contract, or otherwise, unless
163
+ required by applicable law (such as deliberate and grossly negligent
164
+ acts) or agreed to in writing, shall any Contributor be liable to You
165
+ for damages, including any direct, indirect, special, incidental, or
166
+ consequential damages of any character arising as a result of this
167
+ License or out of the use or inability to use the Artifact (including
168
+ but not limited to damages for loss of goodwill, work stoppage, computer
169
+ failure or malfunction, or any and all other commercial damages or
170
+ losses), even if such Contributor has been advised of the possibility of
171
+ such damages.
172
+
173
+ 12. If any provision of this License is held to be invalid, illegal or
174
+ unenforceable, the remaining provisions shall be unaffected thereby and
175
+ remain valid as if such provision had not been set forth herein.
176
+
177
+ 13. Term and Termination. The term of this License will commence upon
178
+ the earlier of (a) Your acceptance of this License or (b) accessing the
179
+ Artifact; and will continue in full force and effect until terminated in
180
+ accordance with the terms and conditions herein. Licensor may terminate
181
+ this License if You are in breach of any term or condition of this
182
+ Agreement. Upon termination of this Agreement, You shall delete and
183
+ cease use of the Artifact. Section 10 shall survive the termination of
184
+ this License.
185
+
186
+ END OF TERMS AND CONDITIONS
187
+
188
+ Attachment A
189
+
190
+ USE RESTRICTIONS
191
+
192
+ You agree not to use the Artifact in furtherance of any of the
193
+ following:
194
+
195
+ 1. Discrimination
196
+
197
+ (a) To discriminate or exploit individuals or groups based on
198
+ legally protected characteristics and/or vulnerabilities.
199
+
200
+ (b) For purposes of administration of justice, law enforcement,
201
+ immigration, or asylum processes, such as predicting that a
202
+ natural person will commit a crime or the likelihood thereof.
203
+
204
+ (c) To engage in, promote, incite, or facilitate discrimination or
205
+ other unlawful or harmful conduct in the provision of
206
+ employment, employment benefits, credit, housing, or other
207
+ essential goods and services.
208
+
209
+ 2. Military
210
+
211
+ (a) For weaponry or warfare.
212
+
213
+ (b) For purposes of building or optimizing military weapons or in
214
+ the service of nuclear proliferation or nuclear weapons
215
+ technology.
216
+
217
+ (c) For purposes of military surveillance, including any research or
218
+ development relating to military surveillance.
219
+
220
+ 3. Legal
221
+
222
+ (a) To engage or enable fully automated decision-making that
223
+ adversely impacts a natural person's legal rights without
224
+ expressly and intelligibly disclosing the impact to such natural
225
+ person and providing an appeal process.
226
+
227
+ (b) To engage or enable fully automated decision-making that
228
+ creates, modifies or terminates a binding, enforceable
229
+ obligation between entities; whether these include natural
230
+ persons or not.
231
+
232
+ (c) In any way that violates any applicable national, federal,
233
+ state, local or international law or regulation.
234
+
235
+ 4. Disinformation
236
+
237
+ (a) To create, present or disseminate verifiably false or misleading
238
+ information for economic gain or to intentionally deceive the
239
+ public, including creating false impersonations of natural
240
+ persons.
241
+
242
+ (b) To synthesize or modify a natural person's appearance, voice, or
243
+ other individual characteristics, unless prior informed consent
244
+ of said natural person is obtained.
245
+
246
+ (c) To autonomously interact with a natural person, in text or audio
247
+ format, unless disclosure and consent is given prior to
248
+ interaction that the system engaging in the interaction is not a
249
+ natural person.
250
+
251
+ (d) To defame or harm a natural person's reputation, such as by
252
+ generating, creating, promoting, or spreading defamatory content
253
+ (statements, images, or other content).
254
+
255
+ (e) To generate or disseminate information (including - but not
256
+ limited to - images, code, posts, articles), and place the
257
+ information in any public context without expressly and
258
+ intelligibly disclaiming that the information and/or content is
259
+ machine generated.
260
+
261
+ 5. Privacy
262
+
263
+ (a) To utilize personal information to infer additional personal
264
+ information about a natural person, including but not limited to
265
+ legally protected characteristics, vulnerabilities or
266
+ categories; unless informed consent from the data subject to
267
+ collect said inferred personal information for a stated purpose
268
+ and defined duration is received.
269
+
270
+ (b) To generate or disseminate personal identifiable information
271
+ that can be used to harm an individual or to invade the personal
272
+ privacy of an individual.
273
+
274
+ (c) To engage in, promote, incite, or facilitate the harassment,
275
+ abuse, threatening, or bullying of individuals or groups of
276
+ individuals.
277
+
278
+ 6. Health
279
+
280
+ (a) To provide medical advice or make clinical decisions without
281
+ necessary (external) accreditation of the system; unless the use
282
+ is (i) in an internal research context with independent and
283
+ accountable oversight and/or (ii) with medical professional
284
+ oversight that is accompanied by any related compulsory
285
+ certification and/or safety/quality standard for the
286
+ implementation of the technology.
287
+
288
+ (b) To provide medical advice and medical results interpretation
289
+ without external, human validation of such advice or
290
+ interpretation.
291
+
292
+ (c) In connection with any activities that present a risk of death
293
+ or bodily harm to individuals, including self-harm or harm to
294
+ others, or in connection with regulated or controlled
295
+ substances.
296
+
297
+ (d) In connection with activities that present a risk of death or
298
+ bodily harm to individuals, including inciting or promoting
299
+ violence, abuse, or any infliction of bodily harm to an
300
+ individual or group of individuals
301
+
302
+ 7. General
303
+
304
+ (a) To defame, disparage or otherwise harass others.
305
+
306
+ (b) To Intentionally deceive or mislead others, including failing to
307
+ appropriately disclose to end users any known dangers of your
308
+ system.
309
+
310
+ 8. Research
311
+
312
+ (a) In connection with any academic dishonesty, including submitting
313
+ any informational content or output of a Model as Your own work
314
+ in any academic setting.
README.md CHANGED
@@ -1,5 +1,7 @@
1
  ---
2
- license: openrail
 
 
3
  task_categories:
4
  - text-generation
5
  - question-answering
@@ -16,67 +18,75 @@ size_categories:
16
  ## Table of Contents
17
  - [Dataset Description](#dataset-description)
18
  - [Dataset Summary](#dataset-summary)
19
- - [Supported Tasks](#supported-tasks-and-leaderboards)
20
  - [Languages](#languages)
21
  - [Dataset Structure](#dataset-structure)
22
  - [Data Instances](#data-instances)
23
- - [Data Fields](#data-instances)
24
  - [Data Splits](#data-splits)
25
  - [Dataset Creation](#dataset-creation)
26
  - [Curation Rationale](#curation-rationale)
27
  - [Source Data](#source-data)
28
- - [Annotations](#annotations)
29
  - [Personal and Sensitive Information](#personal-and-sensitive-information)
 
30
 
31
  ## Dataset Description
32
 
33
- - **Homepage:**
34
- - **Repository:**
35
- - **Paper:** Bertagnolli, Nicolas (2020). Counsel chat: Bootstrapping high-quality therapy data. Towards Data Science. https://towardsdatascience.com/counsel-chat
36
- - **Leaderboard:**
37
- - **Point of Contact:**
38
 
39
  ### Dataset Summary
 
 
40
 
41
- This dataset is a collection of questions and answers sourced from two online counseling and therapy platforms. The questions cover a wide range of mental health topics, and the answers are provided by qualified psychologists. The dataset is intended to be used for fine-tuning language models to improve their ability to provide mental health advice.
42
-
43
- ### Supported Tasks and Leaderboards
44
-
45
- The dataset supports the task of text generation, particularly for generating advice or suggestions in response to a mental health-related question.
46
 
47
  ### Languages
48
-
49
- The text in the dataset is in English.
50
 
51
  ## Dataset Structure
52
 
53
  ### Data Instances
54
-
55
- A data instance includes a 'Context' and a 'Response'. 'Context' contains the question asked by a user, and 'Response' contains the corresponding answer provided by a psychologist.
 
56
 
57
  ### Data Fields
58
-
59
- - 'Context': a string containing the question asked by a user
60
- - 'Response': a string containing the corresponding answer provided by a psychologist
61
 
62
  ### Data Splits
63
-
64
- The dataset has no predefined splits. Users can create their own splits as needed.
65
 
66
  ## Dataset Creation
67
 
68
  ### Curation Rationale
69
-
70
- This dataset was created to aid in the development of AI models that can provide mental health advice or guidance. The raw data was meticulously cleaned to only include the conversations.
71
 
72
  ### Source Data
 
73
 
74
- The data was sourced from two online counseling and therapy platforms. The raw data can be found [here](https://github.com/nbertagnolli/counsel-chat/tree/master/data).
 
75
 
76
- ### Annotations
77
 
78
- The dataset does not contain any additional annotations.
79
 
80
- ### Personal and Sensitive Information
 
 
 
 
 
 
 
 
 
 
 
 
 
81
 
82
- The dataset may contain sensitive information related to mental health. All data was anonymized and no personally identifiable information is included.
 
1
  ---
2
+ license: other
3
+ license_name: rail-d
4
+ license_files: LICENSE-RAIL-D.txt
5
  task_categories:
6
  - text-generation
7
  - question-answering
 
18
  ## Table of Contents
19
  - [Dataset Description](#dataset-description)
20
  - [Dataset Summary](#dataset-summary)
21
+ - [Supported Tasks](#supported-tasks)
22
  - [Languages](#languages)
23
  - [Dataset Structure](#dataset-structure)
24
  - [Data Instances](#data-instances)
25
+ - [Data Fields](#data-fields)
26
  - [Data Splits](#data-splits)
27
  - [Dataset Creation](#dataset-creation)
28
  - [Curation Rationale](#curation-rationale)
29
  - [Source Data](#source-data)
 
30
  - [Personal and Sensitive Information](#personal-and-sensitive-information)
31
+ - [Licence and Commercial-Use Terms](#licence-and-commercial-use-terms)
32
 
33
  ## Dataset Description
34
 
35
+ - **Point of Contact:** [email protected]
 
 
 
 
36
 
37
  ### Dataset Summary
38
+ This dataset is a collection of real counselling question-and-answer pairs taken from two public mental-health platforms.
39
+ It is intended for training and evaluating language models that provide safer, context-aware mental-health responses.
40
 
41
+ ### Supported Tasks
42
+ Text generation and question-answering with an advice-giving focus.
 
 
 
43
 
44
  ### Languages
45
+ English (en)
 
46
 
47
  ## Dataset Structure
48
 
49
  ### Data Instances
50
+ Each instance contains:
51
+ - **Context** the user’s question
52
+ - **Response** – the psychologist’s answer
53
 
54
  ### Data Fields
55
+ - `Context` *:string*
56
+ - `Response` *:string*
 
57
 
58
  ### Data Splits
59
+ No predefined splits. Users may create their own.
 
60
 
61
  ## Dataset Creation
62
 
63
  ### Curation Rationale
64
+ Created to advance AI systems that deliver compassionate, evidence-based mental-health guidance.
65
+ All data were anonymised and retained verbatim to preserve conversational integrity.
66
 
67
  ### Source Data
68
+ Collected directly from two publicly accessible counselling websites; no private or paid sources were used.
69
 
70
+ ### Personal and Sensitive Information
71
+ Content is sensitive by nature. All personally identifiable information has been removed during curation.
72
 
73
+ ## Licence and Commercial-Use Terms
74
 
75
+ This dataset is released under **RAIL-D**.
76
 
77
+ **Free non-commercial research use**
78
+ Academic, scientific, educational and other non-profit uses are royalty-free. Users must comply with the ethical restrictions in `LICENSE-RAIL-D.txt`.
79
+
80
+ **Commercial use — mandatory donation**
81
+ Any commercial use requires a donation of **USD 100 or more** to the CCC Foundation mental-health helpline.
82
+ Donation page: <https://1333.lk/donations>
83
+ Email proof of donation to **[email protected]** within thirty (30) days before or after first commercial deployment.
84
+ Commercial rights terminate automatically if proof is not provided.
85
+
86
+ **No content modification**
87
+ Filtering or subsetting is allowed, but individual question-and-answer pairs must not be rewritten, deleted, or altered.
88
+
89
+ **Redistribution**
90
+ Permitted only in the original, unmodified form and with this licence attached.
91
 
92
+ The full legal text is provided in `LICENSE-RAIL-D.txt` within this repository.