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- expert-generated
4
+ language:
5
+ - en
6
+ language_creators:
7
+ - found
8
+ license:
9
+ - other
10
+ multilinguality:
11
+ - monolingual
12
+ pretty_name: ScienceIE is a dataset for the SemEval task of extracting key phrases
13
+ and relations between them from scientific documents
14
+ size_categories:
15
+ - 1K<n<10K
16
+ source_datasets: []
17
+ tags:
18
+ - research papers
19
+ - scientific papers
20
+ task_categories:
21
+ - token-classification
22
+ - text-classification
23
+ task_ids:
24
+ - named-entity-recognition
25
+ - multi-class-classification
26
+ dataset_info:
27
+ - config_name: ner
28
+ features:
29
+ - name: id
30
+ dtype: string
31
+ - name: tokens
32
+ sequence: string
33
+ - name: tags
34
+ sequence:
35
+ class_label:
36
+ names:
37
+ '0': O
38
+ '1': B-Material
39
+ '2': I-Material
40
+ '3': B-Process
41
+ '4': I-Process
42
+ '5': B-Task
43
+ '6': I-Task
44
+ splits:
45
+ - name: train
46
+ num_bytes: 1197570
47
+ num_examples: 2655
48
+ - name: validation
49
+ num_bytes: 206246
50
+ num_examples: 448
51
+ - name: test
52
+ num_bytes: 403385
53
+ num_examples: 934
54
+ download_size: 13704567
55
+ dataset_size: 1807201
56
+ - config_name: re
57
+ features:
58
+ - name: id
59
+ dtype: string
60
+ - name: tokens
61
+ dtype: string
62
+ - name: arg1_start
63
+ dtype: int32
64
+ - name: arg1_end
65
+ dtype: int32
66
+ - name: arg1_type
67
+ dtype: string
68
+ - name: arg2_start
69
+ dtype: int32
70
+ - name: arg2_end
71
+ dtype: int32
72
+ - name: arg2_type
73
+ dtype: string
74
+ - name: relation
75
+ dtype:
76
+ class_label:
77
+ names:
78
+ '0': O
79
+ '1': Synonym-of
80
+ '2': Hyponym-of
81
+ splits:
82
+ - name: train
83
+ num_bytes: 11739354
84
+ num_examples: 24558
85
+ - name: validation
86
+ num_bytes: 2347976
87
+ num_examples: 4838
88
+ - name: test
89
+ num_bytes: 2835275
90
+ num_examples: 6618
91
+ download_size: 13704567
92
+ dataset_size: 16922605
93
+ - config_name: subtask_a
94
+ features:
95
+ - name: id
96
+ dtype: string
97
+ - name: tokens
98
+ sequence: string
99
+ - name: tags
100
+ sequence:
101
+ class_label:
102
+ names:
103
+ '0': O
104
+ '1': B
105
+ '2': I
106
+ splits:
107
+ - name: train
108
+ num_bytes: 1197570
109
+ num_examples: 2655
110
+ - name: validation
111
+ num_bytes: 206246
112
+ num_examples: 448
113
+ - name: test
114
+ num_bytes: 403385
115
+ num_examples: 934
116
+ download_size: 13704567
117
+ dataset_size: 1807201
118
+ - config_name: subtask_b
119
+ features:
120
+ - name: id
121
+ dtype: string
122
+ - name: tokens
123
+ sequence: string
124
+ - name: tags
125
+ sequence:
126
+ class_label:
127
+ names:
128
+ '0': O
129
+ '1': M
130
+ '2': P
131
+ '3': T
132
+ splits:
133
+ - name: train
134
+ num_bytes: 1197570
135
+ num_examples: 2655
136
+ - name: validation
137
+ num_bytes: 206246
138
+ num_examples: 448
139
+ - name: test
140
+ num_bytes: 403385
141
+ num_examples: 934
142
+ download_size: 13704567
143
+ dataset_size: 1807201
144
+ - config_name: subtask_c
145
+ features:
146
+ - name: id
147
+ dtype: string
148
+ - name: tokens
149
+ sequence: string
150
+ - name: tags
151
+ sequence:
152
+ sequence:
153
+ class_label:
154
+ names:
155
+ '0': O
156
+ '1': S
157
+ '2': H
158
+ splits:
159
+ - name: train
160
+ num_bytes: 20119426
161
+ num_examples: 2655
162
+ - name: validation
163
+ num_bytes: 3578294
164
+ num_examples: 448
165
+ - name: test
166
+ num_bytes: 6437141
167
+ num_examples: 934
168
+ download_size: 13704567
169
+ dataset_size: 30134861
170
+ ---
171
+
172
+ # Dataset Card for ScienceIE
173
+
174
+ ## Table of Contents
175
+ - [Table of Contents](#table-of-contents)
176
+ - [Dataset Description](#dataset-description)
177
+ - [Dataset Summary](#dataset-summary)
178
+ - [Supported Tasks and Leaderboards](#supported-tasks-and-leaderboards)
179
+ - [Languages](#languages)
180
+ - [Dataset Structure](#dataset-structure)
181
+ - [Data Instances](#data-instances)
182
+ - [Data Fields](#data-fields)
183
+ - [Data Splits](#data-splits)
184
+ - [Dataset Creation](#dataset-creation)
185
+ - [Curation Rationale](#curation-rationale)
186
+ - [Source Data](#source-data)
187
+ - [Annotations](#annotations)
188
+ - [Personal and Sensitive Information](#personal-and-sensitive-information)
189
+ - [Considerations for Using the Data](#considerations-for-using-the-data)
190
+ - [Social Impact of Dataset](#social-impact-of-dataset)
191
+ - [Discussion of Biases](#discussion-of-biases)
192
+ - [Other Known Limitations](#other-known-limitations)
193
+ - [Additional Information](#additional-information)
194
+ - [Dataset Curators](#dataset-curators)
195
+ - [Licensing Information](#licensing-information)
196
+ - [Citation Information](#citation-information)
197
+ - [Contributions](#contributions)
198
+
199
+ ## Dataset Description
200
+
201
+ - **Homepage:** [https://scienceie.github.io/index.html](https://scienceie.github.io/index.html)
202
+ - **Repository:** [https://github.com/ScienceIE/scienceie.github.io](https://github.com/ScienceIE/scienceie.github.io)
203
+ - **Paper:** [SemEval 2017 Task 10: ScienceIE - Extracting Keyphrases and Relations from Scientific Publications](https://arxiv.org/abs/1704.02853)
204
+ - **Leaderboard:** [https://competitions.codalab.org/competitions/15898](https://competitions.codalab.org/competitions/15898)
205
+ - **Size of downloaded dataset files:** 13.7 MB
206
+ - **Size of generated dataset files:** 17.4 MB
207
+
208
+ ### Dataset Summary
209
+
210
+ ScienceIE is a dataset for the SemEval task of extracting key phrases and relations between them from scientific documents.
211
+ A corpus for the task was built from ScienceDirect open access publications and was available freely for participants, without the need to sign a copyright agreement. Each data instance consists of one paragraph of text, drawn from a scientific paper.
212
+ Publications were provided in plain text, in addition to xml format, which included the full text of the publication as well as additional metadata. 500 paragraphs from journal articles evenly distributed among the domains Computer Science, Material Sciences and Physics were selected.
213
+ The training data part of the corpus consists of 350 documents, 50 for development and 100 for testing. This is similar to the pilot task described in Section 5, for which 144 articles were used for training, 40 for development and for 100 testing.
214
+
215
+ There are three subtasks:
216
+
217
+ - Subtask (A): Identification of keyphrases
218
+ - Given a scientific publication, the goal of this task is to identify all the keyphrases in the document.
219
+ - Subtask (B): Classification of identified keyphrases
220
+ - In this task, each keyphrase needs to be labelled by one of three types: (i) PROCESS, (ii) TASK, and (iii) MATERIAL.
221
+ - PROCESS: Keyphrases relating to some scientific model, algorithm or process should be labelled by PROCESS.
222
+ - TASK: Keyphrases those denote the application, end goal, problem, task should be labelled by TASK.
223
+ - MATERIAL: MATERIAL keyphrases identify the resources used in the paper.
224
+ - Subtask (C): Extraction of relationships between two identified keyphrases
225
+ - Every pair of keyphrases need to be labelled by one of three types: (i) HYPONYM-OF, (ii) SYNONYM-OF, and (iii) NONE.
226
+ - HYPONYM-OF: The relationship between two keyphrases A and B is HYPONYM-OF if semantic field of A is included within that of B. One example is Red HYPONYM-OF Color.
227
+ - SYNONYM-OF: The relationship between two keyphrases A and B is SYNONYM-OF if they both denote the same semantic field, for example Machine Learning SYNONYM-OF ML.
228
+
229
+ Note: In this repository the documents were split into sentences using spaCy, resulting in a 2655, 448, 934 split. The `id` consists of the document id and the example index within the document separated by an underscore, e.g. `S0375960115004120_1`. This should enable you to reconstruct the documents from the sentences.
230
+
231
+ ### Supported Tasks and Leaderboards
232
+
233
+ - **Tasks:** Key phrase extraction and relation extraction in scientific documents
234
+ - **Leaderboards:** [https://competitions.codalab.org/competitions/15898](https://competitions.codalab.org/competitions/15898)
235
+
236
+ ### Languages
237
+
238
+ The language in the dataset is English.
239
+
240
+ ## Dataset Structure
241
+
242
+ ### Data Instances
243
+
244
+ #### subtask_a
245
+ - **Size of downloaded dataset files:** 13.7 MB
246
+ - **Size of the generated dataset:** 17.4 MB
247
+ An example of 'train' looks as follows:
248
+ ```json
249
+ {
250
+ "id": "S0375960115004120_1",
251
+ "tokens": ["Another", "remarkable", "feature", "of", "the", "quantum", "field", "treatment", "can", "be", "revealed", "from", "the", "investigation", "of", "the", "vacuum", "state", "."],
252
+ "tags": [0, 0, 0, 0, 0, 1, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 0]
253
+ }
254
+ ```
255
+ #### subtask_b
256
+ - **Size of downloaded dataset files:** 13.7 MB
257
+ - **Size of the generated dataset:** 17.4 MB
258
+ An example of 'train' looks as follows:
259
+ ```json
260
+ {
261
+ "id": "S0375960115004120_2",
262
+ "tokens": ["For", "a", "classical", "field", ",", "vacuum", "is", "realized", "by", "simply", "setting", "the", "potential", "to", "zero", "resulting", "in", "an", "unaltered", ",", "free", "evolution", "of", "the", "particle", "'s", "plane", "wave", "(", "|ψI〉=|ψIII〉=|k0", "〉", ")", "."],
263
+ "tags": [0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0]
264
+ }
265
+ ```
266
+
267
+ #### subtask_c
268
+ - **Size of downloaded dataset files:** 13.7 MB
269
+ - **Size of the generated dataset:** 30.1 MB
270
+ An example of 'train' looks as follows:
271
+ ```json
272
+ {
273
+ "id": "S0375960115004120_3",
274
+ "tokens": ["In", "the", "quantized", "treatment", ",", "vacuum", "is", "represented", "by", "an", "initial", "Fock", "state", "|n0=0", "〉", "which", "still", "interacts", "with", "the", "particle", "and", "yields", "as", "final", "state", "|ΨIII", "〉", "behind", "the", "field", "region(19)|ΨI〉=|k0〉⊗|0〉⇒|ΨIII〉=∑n=0∞t0n|k−n〉⊗|n", "〉", "with", "a", "photon", "exchange", "probability(20)P0,n=|t0n|2=1n!e−Λ2Λ2n", "The", "particle", "thus", "transfers", "energy", "to", "the", "vacuum", "field", "leading", "to", "a", "Poissonian", "distributed", "final", "photon", "number", "."],
275
+ "tags": [[0, 0, ...], [0, 0, ...], ...]
276
+ }
277
+ ```
278
+ Note: The tag sequence consists of vectors for each token, that encode what the relationship between that token
279
+ and every other token in the sequence is for the first token in each key phrase.
280
+
281
+ #### ner
282
+ - **Size of downloaded dataset files:** 13.7 MB
283
+ - **Size of the generated dataset:** 17.4 MB
284
+ An example of 'train' looks as follows:
285
+ ```json
286
+ {
287
+ "id": "S0375960115004120_4",
288
+ "tokens": ["Let", "'s", "consider", ",", "for", "example", ",", "a", "superconducting", "resonant", "circuit", "as", "source", "of", "the", "field", "."],
289
+ "tags": [0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 2, 0, 0, 0, 0, 0, 0]
290
+ }
291
+ ```
292
+
293
+ #### re
294
+ - **Size of downloaded dataset files:** 13.7 MB
295
+ - **Size of the generated dataset:** 16.4 MB
296
+ An example of 'train' looks as follows:
297
+ ```json
298
+ {
299
+ "id": "S0375960115004120_5",
300
+ "tokens": ["In", "the", "quantized", "treatment", ",", "vacuum", "is", "represented", "by", "an", "initial", "Fock", "state", "|n0=0", "〉", "which", "still", "interacts", "with", "the", "particle", "and", "yields", "as", "final", "state", "|ΨIII", "〉", "behind", "the", "field", "region(19)|ΨI〉=|k0〉⊗|0〉⇒|ΨIII〉=∑n=0∞t0n|k−n〉⊗|n", "〉", "with", "a", "photon", "exchange", "probability(20)P0,n=|t0n|2=1n!e−Λ2Λ2n", "The", "particle", "thus", "transfers", "energy", "to", "the", "vacuum", "field", "leading", "to", "a", "Poissonian", "distributed", "final", "photon", "number", "."],
301
+ "arg1_start": 2,
302
+ "arg1_end": 4,
303
+ "arg1_type": "Task",
304
+ "arg2_start": 5,
305
+ "arg2_end": 6,
306
+ "arg2_type": "Material",
307
+ "relation": 0
308
+ }
309
+ ```
310
+
311
+ ### Data Fields
312
+
313
+ #### subtask_a
314
+ - `id`: the instance id of this sentence, a `string` feature.
315
+ - `tokens`: the list of tokens of this sentence, obtained with spaCy, a `list` of `string` features.
316
+ - `tags`: the list of tags of this sentence marking a token as being outside, at the beginning, or inside a key phrase, a `list` of classification labels.
317
+
318
+ ```python
319
+ {"O": 0, "B": 1, "I": 2}
320
+ ```
321
+
322
+ #### subtask_b
323
+ - `id`: the instance id of this sentence, a `string` feature.
324
+ - `tokens`: the list of tokens of this sentence, obtained with spaCy, a `list` of `string` features.
325
+ - `tags`: the list of tags of this sentence marking a token as being outside a key phrase, or being part of a material, process or task, a `list` of classification labels.
326
+
327
+ ```python
328
+ {"O": 0, "M": 1, "P": 2, "P": 3}
329
+ ```
330
+
331
+ #### subtask_c
332
+ - `id`: the instance id of this sentence, a `string` feature.
333
+ - `tokens`: the list of tokens of this sentence, obtained with spaCy, a `list` of `string` features.
334
+ - `tags`: a vector for each token, that encodes what the relationship between that token and every other token in the sequence is for the first token in each key phrase, a `list` of a `list` of a classification label.
335
+
336
+ ```python
337
+ {"O": 0, "S": 1, "H": 2}
338
+ ```
339
+
340
+ #### ner
341
+ - `id`: the instance id of this sentence, a `string` feature.
342
+ - `tokens`: the list of tokens of this sentence, obtained with spaCy, a `list` of `string` features.
343
+ - `tags`: the 0-based index of the start token of the relation subject mention, a classification label.
344
+
345
+ ```python
346
+ {"O": 0, "B-Material": 1, "I-Material": 2, "B-Process": 3, "I-Process": 4, "B-Task": 5, "I-Task": 6}
347
+ ```
348
+
349
+ #### re
350
+ - `id`: the instance id of this sentence, a `string` feature.
351
+ - `token`: the list of tokens of this sentence, obtained with spaCy, a `list` of `string` features.
352
+ - `arg1_start`: the 0-based index of the start token of the relation arg1 mention, an `ìnt` feature.
353
+ - `arg1_end`: the 0-based index of the end token of the relation arg1 mention, exclusive, an `ìnt` feature.
354
+ - `arg1_type`: the key phrase type of the end token of the relation arg1 mention, a `string` feature.
355
+ - `arg2_start`: the 0-based index of the start token of the relation arg2 mention, an `ìnt` feature.
356
+ - `arg2_end`: the 0-based index of the end token of the relation arg2 mention, exclusive, an `ìnt` feature.
357
+ - `arg2_type`: the key phrase type of the relation arg2 mention, a `string` feature.
358
+ - `relation`: the relation label of this instance, a classification label.
359
+
360
+ ```python
361
+ {"O": 0, "Synonym-of": 1, "Hyponym-of": 2}
362
+ ```
363
+
364
+ ### Data Splits
365
+
366
+ | | Train | Dev | Test |
367
+ |-----------|-------|------|------|
368
+ | subtask_a | 2655 | 448 | 934 |
369
+ | subtask_b | 2655 | 448 | 934 |
370
+ | subtask_c | 2655 | 448 | 934 |
371
+ | ner | 2655 | 448 | 934 |
372
+ | re | 24558 | 4839 | 6618 |
373
+
374
+ ## Dataset Creation
375
+
376
+ ### Curation Rationale
377
+
378
+ [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
379
+
380
+ ### Source Data
381
+
382
+ #### Initial Data Collection and Normalization
383
+
384
+ [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
385
+
386
+ #### Who are the source language producers?
387
+
388
+ [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
389
+
390
+ ### Annotations
391
+
392
+ #### Annotation process
393
+
394
+ [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
395
+
396
+ #### Who are the annotators?
397
+
398
+ [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
399
+
400
+ ### Personal and Sensitive Information
401
+
402
+ [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
403
+
404
+ ## Considerations for Using the Data
405
+
406
+ ### Social Impact of Dataset
407
+
408
+ [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
409
+
410
+ ### Discussion of Biases
411
+
412
+ [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
413
+
414
+ ### Other Known Limitations
415
+
416
+ [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
417
+
418
+ ## Additional Information
419
+
420
+ ### Dataset Curators
421
+
422
+ [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
423
+
424
+ ### Licensing Information
425
+
426
+ [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
427
+
428
+ ### Citation Information
429
+
430
+ ```
431
+ @article{DBLP:journals/corr/AugensteinDRVM17,
432
+ author = {Isabelle Augenstein and
433
+ Mrinal Das and
434
+ Sebastian Riedel and
435
+ Lakshmi Vikraman and
436
+ Andrew McCallum},
437
+ title = {SemEval 2017 Task 10: ScienceIE - Extracting Keyphrases and Relations
438
+ from Scientific Publications},
439
+ journal = {CoRR},
440
+ volume = {abs/1704.02853},
441
+ year = {2017},
442
+ url = {http://arxiv.org/abs/1704.02853},
443
+ eprinttype = {arXiv},
444
+ eprint = {1704.02853},
445
+ timestamp = {Mon, 13 Aug 2018 16:46:36 +0200},
446
+ biburl = {https://dblp.org/rec/journals/corr/AugensteinDRVM17.bib},
447
+ bibsource = {dblp computer science bibliography, https://dblp.org}
448
+ }
449
+ ```
450
+
451
+ ### Contributions
452
+
453
+ Thanks to [@phucdev](https://github.com/phucdev) for adding this dataset.