RajChat commited on
Commit
1d74ba2
1 Parent(s): be5b354

Upload 4 files

Browse files
Files changed (4) hide show
  1. LICENSE (1).txt +201 -0
  2. LICENSE.txt +201 -0
  3. README.md +351 -3
  4. gitattributes.txt +54 -0
LICENSE (1).txt ADDED
@@ -0,0 +1,201 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright [yyyy] [name of copyright owner]
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
LICENSE.txt ADDED
@@ -0,0 +1,201 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright [yyyy] [name of copyright owner]
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
README.md CHANGED
@@ -1,3 +1,351 @@
1
- ---
2
- license: apache-2.0
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ dataset_info:
4
+ features:
5
+ - name: message_id
6
+ dtype: string
7
+ - name: parent_id
8
+ dtype: string
9
+ - name: user_id
10
+ dtype: string
11
+ - name: created_date
12
+ dtype: string
13
+ - name: text
14
+ dtype: string
15
+ - name: role
16
+ dtype: string
17
+ - name: lang
18
+ dtype: string
19
+ - name: review_count
20
+ dtype: int32
21
+ - name: review_result
22
+ dtype: bool
23
+ - name: deleted
24
+ dtype: bool
25
+ - name: rank
26
+ dtype: int32
27
+ - name: synthetic
28
+ dtype: bool
29
+ - name: model_name
30
+ dtype: string
31
+ - name: detoxify
32
+ struct:
33
+ - name: toxicity
34
+ dtype: float64
35
+ - name: severe_toxicity
36
+ dtype: float64
37
+ - name: obscene
38
+ dtype: float64
39
+ - name: identity_attack
40
+ dtype: float64
41
+ - name: insult
42
+ dtype: float64
43
+ - name: threat
44
+ dtype: float64
45
+ - name: sexual_explicit
46
+ dtype: float64
47
+ - name: message_tree_id
48
+ dtype: string
49
+ - name: tree_state
50
+ dtype: string
51
+ - name: emojis
52
+ sequence:
53
+ - name: name
54
+ dtype: string
55
+ - name: count
56
+ dtype: int32
57
+ - name: labels
58
+ sequence:
59
+ - name: name
60
+ dtype: string
61
+ - name: value
62
+ dtype: float64
63
+ - name: count
64
+ dtype: int32
65
+ splits:
66
+ - name: train
67
+ num_bytes: 100367999
68
+ num_examples: 84437
69
+ - name: validation
70
+ num_bytes: 5243405
71
+ num_examples: 4401
72
+ download_size: 41596430
73
+ dataset_size: 105611404
74
+ language:
75
+ - en
76
+ - es
77
+ - ru
78
+ - de
79
+ - pl
80
+ - th
81
+ - vi
82
+ - sv
83
+ - bn
84
+ - da
85
+ - he
86
+ - it
87
+ - fa
88
+ - sk
89
+ - id
90
+ - nb
91
+ - el
92
+ - nl
93
+ - hu
94
+ - eu
95
+ - zh
96
+ - eo
97
+ - ja
98
+ - ca
99
+ - cs
100
+ - bg
101
+ - fi
102
+ - pt
103
+ - tr
104
+ - ro
105
+ - ar
106
+ - uk
107
+ - gl
108
+ - fr
109
+ - ko
110
+ tags:
111
+ - human-feedback
112
+ size_categories:
113
+ - 100K<n<1M
114
+ pretty_name: OpenAssistant Conversations
115
+ ---
116
+
117
+ # OpenAssistant Conversations Dataset (OASST1)
118
+
119
+ ## Dataset Description
120
+
121
+ - **Homepage:** https://www.open-assistant.io/
122
+ - **Repository:** https://github.com/LAION-AI/Open-Assistant
123
+ - **Paper:** https://arxiv.org/abs/2304.07327
124
+
125
+ ### Dataset Summary
126
+
127
+ In an effort to democratize research on large-scale alignment, we release OpenAssistant
128
+ Conversations (OASST1), a human-generated, human-annotated assistant-style conversation
129
+ corpus consisting of 161,443 messages in 35 different languages, annotated with 461,292
130
+ quality ratings, resulting in over 10,000 fully annotated conversation trees. The corpus
131
+ is a product of a worldwide crowd-sourcing effort involving over 13,500 volunteers.
132
+
133
+ Please refer to our [paper](https://arxiv.org/abs/2304.07327) for further details.
134
+
135
+ ### Dataset Structure
136
+
137
+ This dataset contains message trees. Each message tree has an initial prompt message as the root node,
138
+ which can have multiple child messages as replies, and these child messages can have multiple replies.
139
+
140
+ All messages have a role property: this can either be "assistant" or "prompter". The roles in
141
+ conversation threads from prompt to leaf node strictly alternate between "prompter" and "assistant".
142
+
143
+ This version of the dataset contains data collected on the [open-assistant.io](https://open-assistant.io/) website until April 12 2023.
144
+
145
+ ### JSON Example: Message
146
+
147
+ For readability, the following JSON examples are shown formatted with indentation on multiple lines.
148
+ Objects are stored without indentation (on single lines) in the actual jsonl files.
149
+
150
+ ```json
151
+ {
152
+ "message_id": "218440fd-5317-4355-91dc-d001416df62b",
153
+ "parent_id": "13592dfb-a6f9-4748-a92c-32b34e239bb4",
154
+ "user_id": "8e95461f-5e94-4d8b-a2fb-d4717ce973e4",
155
+ "text": "It was the winter of 2035, and artificial intelligence (..)",
156
+ "role": "assistant",
157
+ "lang": "en",
158
+ "review_count": 3,
159
+ "review_result": true,
160
+ "deleted": false,
161
+ "rank": 0,
162
+ "synthetic": true,
163
+ "model_name": "oasst-sft-0_3000,max_new_tokens=400 (..)",
164
+ "labels": {
165
+ "spam": { "value": 0.0, "count": 3 },
166
+ "lang_mismatch": { "value": 0.0, "count": 3 },
167
+ "pii": { "value": 0.0, "count": 3 },
168
+ "not_appropriate": { "value": 0.0, "count": 3 },
169
+ "hate_speech": { "value": 0.0, "count": 3 },
170
+ "sexual_content": { "value": 0.0, "count": 3 },
171
+ "quality": { "value": 0.416, "count": 3 },
172
+ "toxicity": { "value": 0.16, "count": 3 },
173
+ "humor": { "value": 0.0, "count": 3 },
174
+ "creativity": { "value": 0.33, "count": 3 },
175
+ "violence": { "value": 0.16, "count": 3 }
176
+ }
177
+ }
178
+ ```
179
+
180
+ ### JSON Example: Conversation Tree
181
+
182
+ For readability, only a subset of the message properties is shown here.
183
+
184
+ ```json
185
+ {
186
+ "message_tree_id": "14fbb664-a620-45ce-bee4-7c519b16a793",
187
+ "tree_state": "ready_for_export",
188
+ "prompt": {
189
+ "message_id": "14fbb664-a620-45ce-bee4-7c519b16a793",
190
+ "text": "Why can't we divide by 0? (..)",
191
+ "role": "prompter",
192
+ "lang": "en",
193
+ "replies": [
194
+ {
195
+ "message_id": "894d30b6-56b4-4605-a504-89dd15d4d1c8",
196
+ "text": "The reason we cannot divide by zero is because (..)",
197
+ "role": "assistant",
198
+ "lang": "en",
199
+ "replies": [
200
+ // ...
201
+ ]
202
+ },
203
+ {
204
+ "message_id": "84d0913b-0fd9-4508-8ef5-205626a7039d",
205
+ "text": "The reason that the result of a division by zero is (..)",
206
+ "role": "assistant",
207
+ "lang": "en",
208
+ "replies": [
209
+ {
210
+ "message_id": "3352725e-f424-4e3b-a627-b6db831bdbaa",
211
+ "text": "Math is confusing. Like those weird Irrational (..)",
212
+ "role": "prompter",
213
+ "lang": "en",
214
+ "replies": [
215
+ {
216
+ "message_id": "f46207ca-3149-46e9-a466-9163d4ce499c",
217
+ "text": "Irrational numbers are simply numbers (..)",
218
+ "role": "assistant",
219
+ "lang": "en",
220
+ "replies": []
221
+ },
222
+ // ...
223
+ ]
224
+ }
225
+ ]
226
+ }
227
+ ]
228
+ }
229
+ }
230
+ ```
231
+
232
+ Please refer to [oasst-data](https://github.com/LAION-AI/Open-Assistant/tree/main/oasst-data) for
233
+ details about the data structure and Python code to read and write jsonl files containing oasst data objects.
234
+
235
+ If you would like to explore the dataset yourself you can find a
236
+ [`getting-started`](https://github.com/LAION-AI/Open-Assistant/blob/main/notebooks/openassistant-oasst1/getting-started.ipynb)
237
+ notebook in the `notebooks/openassistant-oasst1` folder of the [LAION-AI/Open-Assistant](https://github.com/LAION-AI/Open-Assistant)
238
+ github repository.
239
+
240
+
241
+ ## Main Dataset Files
242
+
243
+ Conversation data is provided either as nested messages in trees (extension `.trees.jsonl.gz`)
244
+ or as a flat list (table) of messages (extension `.messages.jsonl.gz`).
245
+
246
+ ### Ready For Export Trees
247
+
248
+ ```
249
+ 2023-04-12_oasst_ready.trees.jsonl.gz 10,364 trees with 88,838 total messages
250
+ 2023-04-12_oasst_ready.messages.jsonl.gz 88,838 messages
251
+ ```
252
+ Trees in `ready_for_export` state without spam and deleted messages including message labels.
253
+ The oasst_ready-trees file usually is sufficient for supervised fine-tuning (SFT) & reward model (RM) training.
254
+
255
+
256
+ ### All Trees
257
+
258
+ ```
259
+ 2023-04-12_oasst_all.trees.jsonl.gz 66,497 trees with 161,443 total messages
260
+ 2023-04-12_oasst_all.messages.jsonl.gz 161,443 messages
261
+ ```
262
+ All trees, including those in states `prompt_lottery_waiting` (trees that consist of only one message, namely the initial prompt),
263
+ `aborted_low_grade` (trees that stopped growing because the messages had low quality), and `halted_by_moderator`.
264
+
265
+
266
+ ### Supplemental Exports: Spam & Prompts
267
+
268
+ ```
269
+ 2023-04-12_oasst_spam.messages.jsonl.gz
270
+ ```
271
+ These are messages which were deleted or have a negative review result (`"review_result": false`).
272
+ Besides low quality, a frequent reason for message deletion is a wrong language tag.
273
+
274
+ ```
275
+ 2023-04-12_oasst_prompts.messages.jsonl.gz
276
+ ```
277
+ These are all the kept initial prompt messages with positive review result (no spam) of trees in `ready_for_export` or `prompt_lottery_waiting` state.
278
+
279
+ ### Using the Huggingface Datasets
280
+
281
+ While HF datasets is ideal for tabular datasets, it is not a natural fit for nested data structures like the OpenAssistant conversation trees.
282
+ Nevertheless, we make all messages which can also be found in the file `2023-04-12_oasst_ready.trees.jsonl.gz` available in parquet as train/validation splits.
283
+ These are directly loadable by [Huggingface Datasets](https://pypi.org/project/datasets/).
284
+
285
+ To load the oasst1 train & validation splits use:
286
+
287
+ ```python
288
+ from datasets import load_dataset
289
+ ds = load_dataset("OpenAssistant/oasst1")
290
+ train = ds['train'] # len(train)=84437 (95%)
291
+ val = ds['validation'] # len(val)=4401 (5%)
292
+ ```
293
+
294
+ The messages appear in depth-first order of the message trees.
295
+
296
+ Full conversation trees can be reconstructed from the flat messages table by using the `parent_id`
297
+ and `message_id` properties to identify the parent-child relationship of messages. The `message_tree_id`
298
+ and `tree_state` properties (only present in flat messages files) can be used to find all messages of a message tree or to select trees by their state.
299
+
300
+ ### Languages
301
+
302
+ OpenAssistant Conversations incorporates 35 different languages with a distribution of messages as follows:
303
+
304
+ **Languages with over 1000 messages**
305
+ - English: 71956
306
+ - Spanish: 43061
307
+ - Russian: 9089
308
+ - German: 5279
309
+ - Chinese: 4962
310
+ - French: 4251
311
+ - Thai: 3042
312
+ - Portuguese (Brazil): 2969
313
+ - Catalan: 2260
314
+ - Korean: 1553
315
+ - Ukrainian: 1352
316
+ - Italian: 1320
317
+ - Japanese: 1018
318
+
319
+ <details>
320
+ <summary><b>Languages with under 1000 messages</b></summary>
321
+ <ul>
322
+ <li>Vietnamese: 952</li>
323
+ <li>Basque: 947</li>
324
+ <li>Polish: 886</li>
325
+ <li>Hungarian: 811</li>
326
+ <li>Arabic: 666</li>
327
+ <li>Dutch: 628</li>
328
+ <li>Swedish: 512</li>
329
+ <li>Turkish: 454</li>
330
+ <li>Finnish: 386</li>
331
+ <li>Czech: 372</li>
332
+ <li>Danish: 358</li>
333
+ <li>Galician: 339</li>
334
+ <li>Hebrew: 255</li>
335
+ <li>Romanian: 200</li>
336
+ <li>Norwegian Bokmål: 133</li>
337
+ <li>Indonesian: 115</li>
338
+ <li>Bulgarian: 95</li>
339
+ <li>Bengali: 82</li>
340
+ <li>Persian: 72</li>
341
+ <li>Greek: 66</li>
342
+ <li>Esperanto: 59</li>
343
+ <li>Slovak: 19</li>
344
+ </ul>
345
+ </details>
346
+
347
+ ## Contact
348
+
349
+ - Discord [Open Assistant Discord Server](https://ykilcher.com/open-assistant-discord)
350
+ - GitHub: [LAION-AI/Open-Assistant](https://github.com/LAION-AI/Open-Assistant)
351
+ - E-Mail: [[email protected]](mailto:[email protected])
gitattributes.txt ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ *.7z filter=lfs diff=lfs merge=lfs -text
2
+ *.arrow filter=lfs diff=lfs merge=lfs -text
3
+ *.bin filter=lfs diff=lfs merge=lfs -text
4
+ *.bz2 filter=lfs diff=lfs merge=lfs -text
5
+ *.ckpt filter=lfs diff=lfs merge=lfs -text
6
+ *.ftz filter=lfs diff=lfs merge=lfs -text
7
+ *.gz filter=lfs diff=lfs merge=lfs -text
8
+ *.h5 filter=lfs diff=lfs merge=lfs -text
9
+ *.joblib filter=lfs diff=lfs merge=lfs -text
10
+ *.lfs.* filter=lfs diff=lfs merge=lfs -text
11
+ *.lz4 filter=lfs diff=lfs merge=lfs -text
12
+ *.mlmodel filter=lfs diff=lfs merge=lfs -text
13
+ *.model filter=lfs diff=lfs merge=lfs -text
14
+ *.msgpack filter=lfs diff=lfs merge=lfs -text
15
+ *.npy filter=lfs diff=lfs merge=lfs -text
16
+ *.npz filter=lfs diff=lfs merge=lfs -text
17
+ *.onnx filter=lfs diff=lfs merge=lfs -text
18
+ *.ot filter=lfs diff=lfs merge=lfs -text
19
+ *.parquet filter=lfs diff=lfs merge=lfs -text
20
+ *.pb filter=lfs diff=lfs merge=lfs -text
21
+ *.pickle filter=lfs diff=lfs merge=lfs -text
22
+ *.pkl filter=lfs diff=lfs merge=lfs -text
23
+ *.pt filter=lfs diff=lfs merge=lfs -text
24
+ *.pth filter=lfs diff=lfs merge=lfs -text
25
+ *.rar filter=lfs diff=lfs merge=lfs -text
26
+ *.safetensors filter=lfs diff=lfs merge=lfs -text
27
+ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
28
+ *.tar.* filter=lfs diff=lfs merge=lfs -text
29
+ *.tflite filter=lfs diff=lfs merge=lfs -text
30
+ *.tgz filter=lfs diff=lfs merge=lfs -text
31
+ *.wasm filter=lfs diff=lfs merge=lfs -text
32
+ *.xz filter=lfs diff=lfs merge=lfs -text
33
+ *.zip filter=lfs diff=lfs merge=lfs -text
34
+ *.zst filter=lfs diff=lfs merge=lfs -text
35
+ *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ # Audio files - uncompressed
37
+ *.pcm filter=lfs diff=lfs merge=lfs -text
38
+ *.sam filter=lfs diff=lfs merge=lfs -text
39
+ *.raw filter=lfs diff=lfs merge=lfs -text
40
+ # Audio files - compressed
41
+ *.aac filter=lfs diff=lfs merge=lfs -text
42
+ *.flac filter=lfs diff=lfs merge=lfs -text
43
+ *.mp3 filter=lfs diff=lfs merge=lfs -text
44
+ *.ogg filter=lfs diff=lfs merge=lfs -text
45
+ *.wav filter=lfs diff=lfs merge=lfs -text
46
+ # Image files - uncompressed
47
+ *.bmp filter=lfs diff=lfs merge=lfs -text
48
+ *.gif filter=lfs diff=lfs merge=lfs -text
49
+ *.png filter=lfs diff=lfs merge=lfs -text
50
+ *.tiff filter=lfs diff=lfs merge=lfs -text
51
+ # Image files - compressed
52
+ *.jpg filter=lfs diff=lfs merge=lfs -text
53
+ *.jpeg filter=lfs diff=lfs merge=lfs -text
54
+ *.webp filter=lfs diff=lfs merge=lfs -text