Datasets:

Modalities:
Tabular
Text
Formats:
parquet
ArXiv:
Libraries:
Datasets
pandas
License:
andreaskoepf commited on
Commit
a6f2189
1 Parent(s): b1d09bb

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +88 -0
README.md CHANGED
@@ -146,6 +146,94 @@ All messages have a role which can either be "assistant" or "prompter". The role
146
  conversation threads from prompt to leaf node in a conversation tree are stricly alternating
147
  between "assistant" and "prompter".
148
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
149
  Please refer to [oasst-data](https://github.com/LAION-AI/Open-Assistant/tree/main/oasst-data) for
150
  details about the data structure and python code to read and write jsonl files containing oasst objects.
151
 
 
146
  conversation threads from prompt to leaf node in a conversation tree are stricly alternating
147
  between "assistant" and "prompter".
148
 
149
+ ### JSON Example: Message
150
+
151
+ For readability the following JSON examples are shown formatted with indentation on multiple lines.
152
+ Objects are stored without indentation on a single lines in the actual jsonl files.
153
+
154
+ ```
155
+ {
156
+ "message_id": "218440fd-5317-4355-91dc-d001416df62b",
157
+ "parent_id": "13592dfb-a6f9-4748-a92c-32b34e239bb4",
158
+ "user_id": "8e95461f-5e94-4d8b-a2fb-d4717ce973e4",
159
+ "text": "It was the winter of 2035, and artificial intelligence (..)",
160
+ "role": "assistant",
161
+ "lang": "en",
162
+ "review_count": 3,
163
+ "review_result": true,
164
+ "deleted": false,
165
+ "rank": 0,
166
+ "synthetic": true,
167
+ "model_name": "oasst-sft-0_3000,max_new_tokens=400 (..)",
168
+ "labels": {
169
+ "spam": { "value": 0.0, "count": 3 },
170
+ "lang_mismatch": { "value": 0.0, "count": 3 },
171
+ "pii": { "value": 0.0, "count": 3 },
172
+ "not_appropriate": { "value": 0.0, "count": 3 },
173
+ "hate_speech": { "value": 0.0, "count": 3 },
174
+ "sexual_content": { "value": 0.0, "count": 3 },
175
+ "quality": { "value": 0.416, "count": 3 },
176
+ "toxicity": { "value": 0.16, "count": 3 },
177
+ "humor": { "value": 0.0, "count": 3 },
178
+ "creativity": { "value": 0.33, "count": 3 },
179
+ "violence": { "value": 0.16, "count": 3 }
180
+ }
181
+ }
182
+ ```
183
+
184
+ ### JSON Example: Conversation Tree
185
+
186
+ For readability only a subset of properties are shown here.
187
+
188
+ ```
189
+ {
190
+ "message_tree_id": "14fbb664-a620-45ce-bee4-7c519b16a793",
191
+ "tree_state": "ready_for_export",
192
+ "prompt": {
193
+ "message_id": "14fbb664-a620-45ce-bee4-7c519b16a793",
194
+ "text": "Why can't we divide by 0? (..)",
195
+ "role": "prompter",
196
+ "lang": "en",
197
+ "replies": [
198
+ {
199
+ "message_id": "894d30b6-56b4-4605-a504-89dd15d4d1c8",
200
+ "text": "The reason we cannot divide by zero is because (..)",
201
+ "role": "assistant",
202
+ "lang": "en",
203
+ "replies": [
204
+ // ...
205
+ ]
206
+ },
207
+ {
208
+ "message_id": "84d0913b-0fd9-4508-8ef5-205626a7039d",
209
+ "text": "The reason that the result of a division by zero is (..)",
210
+ "role": "assistant",
211
+ "lang": "en",
212
+ "replies": [
213
+ {
214
+ "message_id": "3352725e-f424-4e3b-a627-b6db831bdbaa",
215
+ "text": "Math is confusing. Like those weird Irrational (..)",
216
+ "role": "prompter",
217
+ "lang": "en",
218
+ "replies": [
219
+ {
220
+ "message_id": "f46207ca-3149-46e9-a466-9163d4ce499c",
221
+ "text": "Irrational numbers are simply numbers (..)",
222
+ "role": "assistant",
223
+ "lang": "en",
224
+ "replies": []
225
+ },
226
+ // ...
227
+ ]
228
+ }
229
+ ]
230
+ }
231
+ ]
232
+ }
233
+ }
234
+ ```
235
+
236
+
237
  Please refer to [oasst-data](https://github.com/LAION-AI/Open-Assistant/tree/main/oasst-data) for
238
  details about the data structure and python code to read and write jsonl files containing oasst objects.
239