HFAbrar parquet-converter commited on
Commit
9420c1f
·
verified ·
0 Parent(s):

Duplicate from community-datasets/disaster_response_messages

Browse files

Co-authored-by: Parquet-converter (BOT) <parquet-converter@users.noreply.huggingface.co>

.gitattributes ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ *.bin.* filter=lfs diff=lfs merge=lfs -text
5
+ *.bz2 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
+ *.model filter=lfs diff=lfs merge=lfs -text
12
+ *.msgpack filter=lfs diff=lfs merge=lfs -text
13
+ *.onnx filter=lfs diff=lfs merge=lfs -text
14
+ *.ot filter=lfs diff=lfs merge=lfs -text
15
+ *.parquet filter=lfs diff=lfs merge=lfs -text
16
+ *.pb filter=lfs diff=lfs merge=lfs -text
17
+ *.pt filter=lfs diff=lfs merge=lfs -text
18
+ *.pth filter=lfs diff=lfs merge=lfs -text
19
+ *.rar filter=lfs diff=lfs merge=lfs -text
20
+ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
21
+ *.tar.* filter=lfs diff=lfs merge=lfs -text
22
+ *.tflite filter=lfs diff=lfs merge=lfs -text
23
+ *.tgz filter=lfs diff=lfs merge=lfs -text
24
+ *.xz filter=lfs diff=lfs merge=lfs -text
25
+ *.zip filter=lfs diff=lfs merge=lfs -text
26
+ *.zstandard filter=lfs diff=lfs merge=lfs -text
27
+ *tfevents* filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,437 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ annotations_creators:
3
+ - expert-generated
4
+ language_creators:
5
+ - crowdsourced
6
+ language:
7
+ - en
8
+ - es
9
+ - fr
10
+ - ht
11
+ - ur
12
+ license:
13
+ - unknown
14
+ multilinguality:
15
+ - multilingual
16
+ size_categories:
17
+ - 10K<n<100K
18
+ source_datasets:
19
+ - original
20
+ task_categories:
21
+ - text2text-generation
22
+ - text-classification
23
+ task_ids:
24
+ - intent-classification
25
+ - sentiment-classification
26
+ - text-simplification
27
+ pretty_name: Disaster Response Messages
28
+ dataset_info:
29
+ features:
30
+ - name: split
31
+ dtype: string
32
+ - name: message
33
+ dtype: string
34
+ - name: original
35
+ dtype: string
36
+ - name: genre
37
+ dtype: string
38
+ - name: related
39
+ dtype:
40
+ class_label:
41
+ names:
42
+ '0': 'false'
43
+ '1': 'true'
44
+ '2': maybe
45
+ - name: PII
46
+ dtype: int8
47
+ - name: request
48
+ dtype:
49
+ class_label:
50
+ names:
51
+ '0': 'false'
52
+ '1': 'true'
53
+ - name: offer
54
+ dtype: int8
55
+ - name: aid_related
56
+ dtype:
57
+ class_label:
58
+ names:
59
+ '0': 'false'
60
+ '1': 'true'
61
+ - name: medical_help
62
+ dtype:
63
+ class_label:
64
+ names:
65
+ '0': 'false'
66
+ '1': 'true'
67
+ - name: medical_products
68
+ dtype:
69
+ class_label:
70
+ names:
71
+ '0': 'false'
72
+ '1': 'true'
73
+ - name: search_and_rescue
74
+ dtype:
75
+ class_label:
76
+ names:
77
+ '0': 'false'
78
+ '1': 'true'
79
+ - name: security
80
+ dtype:
81
+ class_label:
82
+ names:
83
+ '0': 'false'
84
+ '1': 'true'
85
+ - name: military
86
+ dtype:
87
+ class_label:
88
+ names:
89
+ '0': 'false'
90
+ '1': 'true'
91
+ - name: child_alone
92
+ dtype: int8
93
+ - name: water
94
+ dtype:
95
+ class_label:
96
+ names:
97
+ '0': 'false'
98
+ '1': 'true'
99
+ - name: food
100
+ dtype:
101
+ class_label:
102
+ names:
103
+ '0': 'false'
104
+ '1': 'true'
105
+ - name: shelter
106
+ dtype:
107
+ class_label:
108
+ names:
109
+ '0': 'false'
110
+ '1': 'true'
111
+ - name: clothing
112
+ dtype:
113
+ class_label:
114
+ names:
115
+ '0': 'false'
116
+ '1': 'true'
117
+ - name: money
118
+ dtype:
119
+ class_label:
120
+ names:
121
+ '0': 'false'
122
+ '1': 'true'
123
+ - name: missing_people
124
+ dtype:
125
+ class_label:
126
+ names:
127
+ '0': 'false'
128
+ '1': 'true'
129
+ - name: refugees
130
+ dtype:
131
+ class_label:
132
+ names:
133
+ '0': 'false'
134
+ '1': 'true'
135
+ - name: death
136
+ dtype:
137
+ class_label:
138
+ names:
139
+ '0': 'false'
140
+ '1': 'true'
141
+ - name: other_aid
142
+ dtype:
143
+ class_label:
144
+ names:
145
+ '0': 'false'
146
+ '1': 'true'
147
+ - name: infrastructure_related
148
+ dtype:
149
+ class_label:
150
+ names:
151
+ '0': 'false'
152
+ '1': 'true'
153
+ - name: transport
154
+ dtype:
155
+ class_label:
156
+ names:
157
+ '0': 'false'
158
+ '1': 'true'
159
+ - name: buildings
160
+ dtype:
161
+ class_label:
162
+ names:
163
+ '0': 'false'
164
+ '1': 'true'
165
+ - name: electricity
166
+ dtype:
167
+ class_label:
168
+ names:
169
+ '0': 'false'
170
+ '1': 'true'
171
+ - name: tools
172
+ dtype:
173
+ class_label:
174
+ names:
175
+ '0': 'false'
176
+ '1': 'true'
177
+ - name: hospitals
178
+ dtype:
179
+ class_label:
180
+ names:
181
+ '0': 'false'
182
+ '1': 'true'
183
+ - name: shops
184
+ dtype:
185
+ class_label:
186
+ names:
187
+ '0': 'false'
188
+ '1': 'true'
189
+ - name: aid_centers
190
+ dtype:
191
+ class_label:
192
+ names:
193
+ '0': 'false'
194
+ '1': 'true'
195
+ - name: other_infrastructure
196
+ dtype:
197
+ class_label:
198
+ names:
199
+ '0': 'false'
200
+ '1': 'true'
201
+ - name: weather_related
202
+ dtype:
203
+ class_label:
204
+ names:
205
+ '0': 'false'
206
+ '1': 'true'
207
+ - name: floods
208
+ dtype:
209
+ class_label:
210
+ names:
211
+ '0': 'false'
212
+ '1': 'true'
213
+ - name: storm
214
+ dtype:
215
+ class_label:
216
+ names:
217
+ '0': 'false'
218
+ '1': 'true'
219
+ - name: fire
220
+ dtype:
221
+ class_label:
222
+ names:
223
+ '0': 'false'
224
+ '1': 'true'
225
+ - name: earthquake
226
+ dtype:
227
+ class_label:
228
+ names:
229
+ '0': 'false'
230
+ '1': 'true'
231
+ - name: cold
232
+ dtype:
233
+ class_label:
234
+ names:
235
+ '0': 'false'
236
+ '1': 'true'
237
+ - name: other_weather
238
+ dtype:
239
+ class_label:
240
+ names:
241
+ '0': 'false'
242
+ '1': 'true'
243
+ - name: direct_report
244
+ dtype:
245
+ class_label:
246
+ names:
247
+ '0': 'false'
248
+ '1': 'true'
249
+ splits:
250
+ - name: train
251
+ num_bytes: 10060751
252
+ num_examples: 21046
253
+ - name: test
254
+ num_bytes: 1253794
255
+ num_examples: 2629
256
+ - name: validation
257
+ num_bytes: 1266858
258
+ num_examples: 2573
259
+ download_size: 3635948
260
+ dataset_size: 12581403
261
+ configs:
262
+ - config_name: default
263
+ data_files:
264
+ - split: train
265
+ path: data/train-*
266
+ - split: test
267
+ path: data/test-*
268
+ - split: validation
269
+ path: data/validation-*
270
+ ---
271
+
272
+ # Dataset Card for Disaster Response Messages
273
+
274
+ ## Table of Contents
275
+ - [Dataset Description](#dataset-description)
276
+ - [Dataset Summary](#dataset-summary)
277
+ - [Supported Tasks and Leaderboards](#supported-tasks-and-leaderboards)
278
+ - [Languages](#languages)
279
+ - [Dataset Structure](#dataset-structure)
280
+ - [Data Instances](#data-instances)
281
+ - [Data Fields](#data-fields)
282
+ - [Data Splits](#data-splits)
283
+ - [Dataset Creation](#dataset-creation)
284
+ - [Curation Rationale](#curation-rationale)
285
+ - [Source Data](#source-data)
286
+ - [Annotations](#annotations)
287
+ - [Personal and Sensitive Information](#personal-and-sensitive-information)
288
+ - [Considerations for Using the Data](#considerations-for-using-the-data)
289
+ - [Social Impact of Dataset](#social-impact-of-dataset)
290
+ - [Discussion of Biases](#discussion-of-biases)
291
+ - [Other Known Limitations](#other-known-limitations)
292
+ - [Additional Information](#additional-information)
293
+ - [Dataset Curators](#dataset-curators)
294
+ - [Licensing Information](#licensing-information)
295
+ - [Citation Information](#citation-information)
296
+ - [Contributions](#contributions)
297
+
298
+ ## Dataset Description
299
+
300
+ - **Homepage:** [HomePage](https://appen.com/datasets/combined-disaster-response-data/)
301
+ - **Repository:** [Repo to Download the Dataset](https://datasets.appen.com/appen_datasets/disaster_response_data/disaster_response_messages_training.csv)
302
+ - **Paper:
303
+ - **Leaderboard:
304
+ - **Point of Contact:** [Darshan Gandhi](darshangandhi1151@gmail.com)
305
+
306
+ ### Dataset Summary
307
+
308
+ This dataset contains 30,000 messages drawn from events including an earthquake in Haiti in 2010, an earthquake in Chile in 2010, floods in Pakistan in 2010, super-storm Sandy in the U.S.A. in 2012, and news articles spanning a large number of years and 100s of different disasters. The data has been encoded with 36 different categories related to disaster response and has been stripped of messages with sensitive information in their entirety. Upon release, this is the featured dataset of a new Udacity course on Data Science and the AI4ALL summer school and is especially utile for text analytics and natural language processing (NLP) tasks and models.The input data in this job contains thousands of untranslated disaster-related messages and their English translations. In the “Data” tab above, you’ll find the annotated data, with 40 class labels for intent and content.
309
+
310
+ ### Supported Tasks and Leaderboards
311
+
312
+ The input data in this job contains thousands of untranslated disaster-related messages and their English translations. In the dataset, you’ll find the annotated data, with 40 class labels for intent and content. This dataset contains the original message in its original language, the English translation, and dozens of classes for message content. These classes are noted in column titles with a simple binary 1= yes, 0=no.
313
+
314
+ ### Languages
315
+
316
+ The dataset is a multilingual dataset which has the messages in the original language and also it's translated English form.
317
+
318
+ ## Dataset Structure
319
+
320
+ ### Data Instances
321
+
322
+ The dataset consists of a message in English and also it's original language form. Adding on, there are 40 labels which help to understand more about the exact essence of the message.
323
+
324
+ Example of a Disaster Response : { 'split': 'train', 'message': 'Weather update - a cold front from Cuba that could pass over Haiti', 'original': 'Un front froid se retrouve sur Cuba ce matin. Il pourrait traverser Haiti demain. Des averses de pluie isolee sont encore prevues sur notre region ce soi', 'genre': 'direct', 'related': 1, 'PII': 0, 'request': 0, 'offer': 0, 'aid_related': 0, 'medical_help': 0, 'medical_products': 0, 'search_and_rescue': 0, 'security': 0, 'military': 0, 'child_alone': 0, 'water': 0, 'food': 0, 'shelter': 0, 'clothing': 0, 'money': 0, 'missing_people': 0, 'refugees': 0, 'death': 0, 'other_aid': 0, 'infrastructure_related': 0, 'transport': 0, 'buildings': 0, 'electricity': 0, 'tools': 0, 'hospitals': 0, 'shops': 0, 'aid_centers': 0, 'other_infrastructure': 0, 'weather_related': 0, 'floods': 0, 'storm': 0, 'fire': 0, 'earthquake': 0, 'cold': 0, 'other_weather': 0, 'direct_report': 0}
325
+
326
+ ### Data Fields
327
+
328
+ *split: Train, Test split</br>
329
+ *message: English text of actual messages related to disaster </br>
330
+ *original: Text of column 3 in native language as originally written</br>
331
+ *genre: Type of message, including direct messages, social posting, and news stories or bulletins</br>
332
+ *related: Is the message disaster related? 1= yes, 0=no, 2=maybe</br>
333
+ *PII: Does the message contain PII? 1= yes, 0=no </br>
334
+ *request: Does the message contain a request? 1= yes, 0=no </br>
335
+ *offer: Does the message contain an offer? 1= yes, 0=no </br>
336
+ *aid_related: Is the message aid related? 1= yes, 0=no </br>
337
+ *medical_help: Does the message concern medical help? 1= yes, 0=no </br>
338
+ *medical_products: Does the message concern medical products? 1= yes, 0=no </br>
339
+ *search_and_rescue: Does the message concern search and rescue? 1= yes, 0=no </br>
340
+ *security: Does the message concern security? 1= yes, 0=no </br>
341
+ *military: Does the message concern military? 1= yes, 0=no </br>
342
+ *child_alone: Does the message mention a child alone? 1= yes, 0=no</br>
343
+ *water: Does the message concern water? 1= yes, 0=no</br>
344
+ *food: Does the message concern food? 1= yes, 0=no </br>
345
+ *shelter: Does the message concern shelter? 1= yes, 0=no </br>
346
+ *clothing: Does the message concern clothing? 1= yes, 0=no </br>
347
+ *money: Does the message concern money? 1= yes, 0=no </br>
348
+ *missing_people: Does the message indicate missing people? 1= yes, 0=no</br>
349
+ *refugees: Does the message concern refugess? 1= yes, 0=no</br>
350
+ *death: Does the message imply death? 1= yes, 0=no </br>
351
+ *other_aid: Is there any other aid needed? 1=yes, 0=no </br>
352
+ *infrastructure_related: Does the message concern infrastructure? 1= yes, 0=no </br>
353
+ *transport: Does the message concern transport? 1= yes, 0=no </br>
354
+ *buildings: Does the message concern buildings? 1= yes, 0=no </br>
355
+ *electricity: Does the message concern electricity? 1= yes, 0=no </br>
356
+ *tools: Does the message concern tools? 1= yes, 0=no </br>
357
+ *hospitals: Does the message concern clothing? 1= yes, 0=no </br>
358
+ *shops: Does the message concern clothing? 1= yes, 0=no </br>
359
+ *aid_centers:Does the message concern clothing? 1= yes, 0=no </br>
360
+ *other_infrastructure:Does the message concern clothing? 1= yes, 0=no </br>
361
+ *weather_related: Does the message concern weather? 1= yes, 0=no</br>
362
+ *floods: Does the message indicate there was a flood? 1= yes, 0=no</br>
363
+ *storm: Does the message indicate there was a storm? 1= yes, 0=no </br>
364
+ *fire: Does the message indicate there was a fire? 1= yes, 0=no</br>
365
+ *earthquake: Does the message indicate there was an earthquake? 1= yes, 0=no</br>
366
+ *cold: Does the message indicate there was a cold? 1= yes, 0=no</br>
367
+ *other_weather: Does the message indicate there was other weather issues? 1= yes, 0=no</br>
368
+ *direct_report: Does the show a direct report? 1= yes, 0=no
369
+
370
+ ### Data Splits
371
+
372
+ |train|test |validation|
373
+ |:----:|:-----------:|:----:|
374
+ |21046|2629|2573|
375
+
376
+ ## Dataset Creation
377
+
378
+ ### Curation Rationale
379
+
380
+ The dataset was built to understand about the sentiments of the citizens and also more about want was the emergency about and what kind of help they were seeking
381
+
382
+ ### Source Data
383
+
384
+ #### Initial Data Collection and Normalization
385
+
386
+ [More Information Needed]
387
+
388
+ #### Who are the source language producers?
389
+
390
+ [More Information Needed]
391
+
392
+ ### Annotations
393
+
394
+ #### Annotation process
395
+
396
+ [More Information Needed]
397
+
398
+ #### Who are the annotators?
399
+
400
+ [More Information Needed]
401
+
402
+ ### Personal and Sensitive Information
403
+
404
+ [More Information Needed]
405
+
406
+ ## Considerations for Using the Data
407
+
408
+ ### Social Impact of Dataset
409
+
410
+ The dataset has a great usecase of understand more about the sentiments of the citizens around the globe during a disaster and how their responses are. Also, it helps the government to understand their citizens better and would eventually help to draft better policies accordingly.
411
+
412
+ ### Discussion of Biases
413
+
414
+ The messages since have been translated in English may not be able to judically imply the exact significance of the individual when they would have posted the message
415
+
416
+ ### Other Known Limitations
417
+
418
+ [More Information Needed]
419
+
420
+ ## Additional Information
421
+
422
+ ### Dataset Curators
423
+
424
+ The dataset was initially created by [Appen](https://appen.com/)
425
+
426
+ ### Licensing Information
427
+
428
+ [More Information Needed]
429
+
430
+ ### Citation Information
431
+
432
+ [Multilingual Disaster Response Messages](https://appen.com/datasets/combined-disaster-response-data/)
433
+
434
+
435
+ ### Contributions
436
+
437
+ Thanks to [@darshan-gandhi](https://github.com/darshan-gandhi) for adding this dataset.
data/test-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ae38ee653cfe31d712b8d8b36114f2106d064855ce76e577b1d2b768bb1a26e0
3
+ size 379323
data/train-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4287f7b70f24b0026565fe1017be00694702188275c422e1fbcb92b93a0e3196
3
+ size 2868843
data/validation-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8a3c3f415cdb659113d9a2e956b1ce15cceaebd12d21b12a815d965a3810ea54
3
+ size 387782