File size: 11,248 Bytes
67f33e9
f9d3dbe
954a2cb
d349f66
 
 
 
 
 
 
 
 
 
 
9c038ba
 
 
d349f66
 
 
 
 
 
0e71c24
 
 
d349f66
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9c038ba
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
d349f66
 
 
 
 
 
0e71c24
 
 
d349f66
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
0e71c24
 
 
d349f66
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
0e71c24
 
 
d349f66
 
 
 
 
67f33e9
 
 
 
 
 
 
f9d3dbe
67f33e9
 
 
 
f9d3dbe
67f33e9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6e43a6c
67f33e9
 
 
 
 
 
4fdf0ce
 
67f33e9
6e43a6c
67f33e9
 
 
 
 
 
 
 
f9d3dbe
67f33e9
 
 
6e43a6c
67f33e9
 
 
6e43a6c
67f33e9
6e43a6c
67f33e9
 
 
 
4fdf0ce
 
67f33e9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4fdf0ce
 
67f33e9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4fdf0ce
 
67f33e9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4fdf0ce
 
67f33e9
 
 
 
 
 
 
 
 
 
 
6e43a6c
67f33e9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
f9d3dbe
67f33e9
 
 
 
 
 
 
 
6e43a6c
67f33e9
6e43a6c
67f33e9
 
 
6e43a6c
67f33e9
f9d3dbe
 
 
 
 
 
67f33e9
 
6e43a6c
67f33e9
f9d3dbe
 
 
 
 
 
67f33e9
 
6e43a6c
67f33e9
 
 
6e43a6c
67f33e9
6e43a6c
67f33e9
 
 
6e43a6c
67f33e9
 
 
6e43a6c
67f33e9
 
 
6e43a6c
67f33e9
6e43a6c
67f33e9
 
 
6e43a6c
67f33e9
 
 
6e43a6c
67f33e9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
d349f66
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
---
paperswithcode_id: matinf
pretty_name: Maternal and Infant Dataset
dataset_info:
- config_name: age_classification
  features:
  - name: question
    dtype: string
  - name: description
    dtype: string
  - name: label
    dtype:
      class_label:
        names:
          '0': 0-1
          '1': 1-2
          '2': 2-3
  - name: id
    dtype: int32
  splits:
  - name: train
    num_bytes: 33901977
    num_examples: 134852
  - name: test
    num_bytes: 9616194
    num_examples: 38318
  - name: validation
    num_bytes: 4869685
    num_examples: 19323
  download_size: 0
  dataset_size: 48387856
- config_name: topic_classification
  features:
  - name: question
    dtype: string
  - name: description
    dtype: string
  - name: label
    dtype:
      class_label:
        names:
          '0': 产褥期保健
          '1': 儿童过敏
          '2': 动作发育
          '3': 婴幼保健
          '4': 婴幼心理
          '5': 婴幼早教
          '6': 婴幼期喂养
          '7': 婴幼营养
          '8': 孕期保健
          '9': 家庭教育
          '10': 幼儿园
          '11': 未准父母
          '12': 流产和不孕
          '13': 疫苗接种
          '14': 皮肤护理
          '15': 宝宝上火
          '16': 腹泻
          '17': 婴幼常见病
  - name: id
    dtype: int32
  splits:
  - name: train
    num_bytes: 153326538
    num_examples: 613036
  - name: test
    num_bytes: 43877443
    num_examples: 175363
  - name: validation
    num_bytes: 21834951
    num_examples: 87519
  download_size: 0
  dataset_size: 219038932
- config_name: summarization
  features:
  - name: description
    dtype: string
  - name: question
    dtype: string
  - name: id
    dtype: int32
  splits:
  - name: train
    num_bytes: 181245403
    num_examples: 747888
  - name: test
    num_bytes: 51784189
    num_examples: 213681
  - name: validation
    num_bytes: 25849900
    num_examples: 106842
  download_size: 0
  dataset_size: 258879492
- config_name: qa
  features:
  - name: question
    dtype: string
  - name: answer
    dtype: string
  - name: id
    dtype: int32
  splits:
  - name: train
    num_bytes: 188047511
    num_examples: 747888
  - name: test
    num_bytes: 53708532
    num_examples: 213681
  - name: validation
    num_bytes: 26931809
    num_examples: 106842
  download_size: 0
  dataset_size: 268687852
---

# Dataset Card for "matinf"

## Table of Contents
- [Dataset Description](#dataset-description)
  - [Dataset Summary](#dataset-summary)
  - [Supported Tasks and Leaderboards](#supported-tasks-and-leaderboards)
  - [Languages](#languages)
- [Dataset Structure](#dataset-structure)
  - [Data Instances](#data-instances)
  - [Data Fields](#data-fields)
  - [Data Splits](#data-splits)
- [Dataset Creation](#dataset-creation)
  - [Curation Rationale](#curation-rationale)
  - [Source Data](#source-data)
  - [Annotations](#annotations)
  - [Personal and Sensitive Information](#personal-and-sensitive-information)
- [Considerations for Using the Data](#considerations-for-using-the-data)
  - [Social Impact of Dataset](#social-impact-of-dataset)
  - [Discussion of Biases](#discussion-of-biases)
  - [Other Known Limitations](#other-known-limitations)
- [Additional Information](#additional-information)
  - [Dataset Curators](#dataset-curators)
  - [Licensing Information](#licensing-information)
  - [Citation Information](#citation-information)
  - [Contributions](#contributions)

## Dataset Description

- **Homepage:** [https://github.com/WHUIR/MATINF](https://github.com/WHUIR/MATINF)
- **Repository:** [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
- **Paper:** [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
- **Point of Contact:** [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
- **Size of downloaded dataset files:** 0.00 MB
- **Size of the generated dataset:** 795.00 MB
- **Total amount of disk used:** 795.00 MB

### Dataset Summary

MATINF is the first jointly labeled large-scale dataset for classification, question answering and summarization.
MATINF contains 1.07 million question-answer pairs with human-labeled categories and user-generated question
descriptions. Based on such rich information, MATINF is applicable for three major NLP tasks, including classification,
question answering, and summarization. We benchmark existing methods and a novel multi-task baseline over MATINF to
inspire further research. Our comprehensive comparison and experiments over MATINF and other datasets demonstrate the
merits held by MATINF.

### Supported Tasks and Leaderboards

[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)

### Languages

[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)

## Dataset Structure

### Data Instances

#### age_classification

- **Size of downloaded dataset files:** 0.00 MB
- **Size of the generated dataset:** 48.39 MB
- **Total amount of disk used:** 48.39 MB

An example of 'validation' looks as follows.
```
This example was too long and was cropped:

{
    "description": "\"6个月的时候去儿宝检查,医生说宝宝的分胯动作做的不好,说最好去儿童医院看看,但我家宝宝很好,感觉没有什么不正常啊,请教一下,分胯做的不好,有什么不好吗?\"...",
    "id": 88016,
    "label": 0,
    "question": "医生说宝宝的分胯动作不好"
}
```

#### qa

- **Size of downloaded dataset files:** 0.00 MB
- **Size of the generated dataset:** 268.69 MB
- **Total amount of disk used:** 268.69 MB

An example of 'train' looks as follows.
```
This example was too long and was cropped:

{
    "answer": "\"我一个同学的孩子就是发现了肾积水,治疗了一段时间,结果还是越来越多,没办法就打掉了。虽然舍不得,但是还是要忍痛割爱,不然以后孩子真的有问题,大人和孩子都受罪。不过,这个最后的决定还要你自己做,毕竟是你的宝宝。,、、、、\"...",
    "id": 536714,
    "question": "孕5个月检查右侧肾积水孩子能要吗?"
}
```

#### summarization

- **Size of downloaded dataset files:** 0.00 MB
- **Size of the generated dataset:** 258.88 MB
- **Total amount of disk used:** 258.88 MB

An example of 'train' looks as follows.
```
This example was too long and was cropped:

{
    "description": "\"宝宝有中度HIE,但原因未查明,这是他出生后脸上红的几道,嘴唇深红近紫,请问这是像缺氧的表现吗?\"...",
    "id": 173649,
    "question": "宝宝脸上红的几道嘴唇深红近紫是像缺氧的表现吗?"
}
```

#### topic_classification

- **Size of downloaded dataset files:** 0.00 MB
- **Size of the generated dataset:** 219.04 MB
- **Total amount of disk used:** 219.04 MB

An example of 'train' looks as follows.
```
{
    "description": "媳妇怀孕五个月了经检查右侧肾积水、过了半月左侧也出现肾积水、她要拿掉孩子、怎么办?",
    "id": 536714,
    "label": 8,
    "question": "孕5个月检查右侧肾积水孩子能要吗?"
}
```

### Data Fields

The data fields are the same among all splits.

#### age_classification
- `question`: a `string` feature.
- `description`: a `string` feature.
- `label`: a classification label, with possible values including `0-1岁` (0), `1-2岁` (1), `2-3岁` (2).
- `id`: a `int32` feature.

#### qa
- `question`: a `string` feature.
- `answer`: a `string` feature.
- `id`: a `int32` feature.

#### summarization
- `description`: a `string` feature.
- `question`: a `string` feature.
- `id`: a `int32` feature.

#### topic_classification
- `question`: a `string` feature.
- `description`: a `string` feature.
- `label`: a classification label, with possible values including `产褥期保健` (0), `儿童过敏` (1), `动作发育` (2), `婴幼保健` (3), `婴幼心理` (4).
- `id`: a `int32` feature.

### Data Splits

|        name        |train |validation| test |
|--------------------|-----:|---------:|-----:|
|age_classification  |134852|     19323| 38318|
|qa                  |747888|    106842|213681|
|summarization       |747888|    106842|213681|
|topic_classification|613036|     87519|175363|

## Dataset Creation

### Curation Rationale

[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)

### Source Data

#### Initial Data Collection and Normalization

[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)

#### Who are the source language producers?

[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)

### Annotations

#### Annotation process

[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)

#### Who are the annotators?

[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)

### Personal and Sensitive Information

[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)

## Considerations for Using the Data

### Social Impact of Dataset

[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)

### Discussion of Biases

[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)

### Other Known Limitations

[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)

## Additional Information

### Dataset Curators

[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)

### Licensing Information

[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)

### Citation Information

```
@inproceedings{xu-etal-2020-matinf,
    title = "{MATINF}: A Jointly Labeled Large-Scale Dataset for Classification, Question Answering and Summarization",
    author = "Xu, Canwen  and
      Pei, Jiaxin  and
      Wu, Hongtao  and
      Liu, Yiyu  and
      Li, Chenliang",
    booktitle = "Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics",
    month = jul,
    year = "2020",
    address = "Online",
    publisher = "Association for Computational Linguistics",
    url = "https://www.aclweb.org/anthology/2020.acl-main.330",
    pages = "3586--3596",
}

```


### Contributions

Thanks to [@JetRunner](https://github.com/JetRunner) for adding this dataset.