File size: 4,640 Bytes
f28962d
 
 
 
 
 
 
6df45e6
 
 
 
f28962d
 
 
 
385483c
 
 
 
 
 
 
ed63019
482a33e
 
ed63019
59c1a1c
ed63019
 
 
 
 
 
385483c
 
 
 
 
 
b6b15da
 
 
 
5a5481b
b6b15da
 
 
385483c
 
 
 
 
 
a80d9dc
 
 
 
 
 
062c175
f2bc030
38de454
01dd2f1
 
86f195e
01dd2f1
f2bc030
 
 
 
385483c
 
 
 
 
 
 
6df45e6
 
 
385483c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
f28962d
 
 
 
 
 
6df45e6
 
 
 
 
 
f28962d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
---
license: cc-by-nc-4.0
task_categories:
- text-classification
- token-classification
language:
- en
multilinguality:
- monolingual
size_categories:
- 1K<n<10K
tags:
- causality
pretty_name: SCITE
paperswithcode_id: ../paper/causality-extraction-based-on-self-attentive
configs:
- config_name: causality detection
  data_files:
  - split: train
    path: causality-detection/train.parquet
  - split: test
    path: causality-detection/test.parquet
  features:
  - name: index
    dtype: string
  - name: text
    dtype: string
  - name: label
    dtype:
      class_label:
        names:
          '0': uncausal
          '1': causal
- config_name: causal candidate extraction
  data_files:
  - split: train
    path: causal-candidate-extraction/train.parquet
  - split: test
    path: causal-candidate-extraction/test.parquet
  features:
    - name: index
      dtype: string
    - name: tokens
      sequence: string
    - name: entity
      sequence:
        sequence: int32
- config_name: causality identification
  data_files:
  - split: train
    path: causality-identification/train.parquet
  - split: test
    path: causality-identification/test.parquet
  features:
  - name: index
    dtype: string
  - name: text
    dtype: string
  - name: relations
    list:
    - name: relationship
      dtype:
        class_label:
          names:
            '0': no-rel  # Does not really make sense but exists to have the same labels as the classification task
            '1': causal
    - name: first
      dtype: string
    - name: second
      dtype: string
train-eval-index:
- config: causality detection
  task: text-classification
  task_id: text_classification
  splits:
    train_split: train
    eval_split: test
  col_mapping:
    text: text
    label: label
  metrics:
  - type: accuracy
  - type: precision
  - type: recall
  - type: f1
- config: causal candidate extraction
  task: token-classification
  task_id: token_classification
  splits:
    train_split: train
    eval_split: test
  metrics:
  - type: accuracy
  - type: precision
  - type: recall
  - type: f1
- config: causality identification
  task: text-classification
  task_id: text_classification
  splits:
    train_split: train
    eval_split: test
  metrics:
  - type: accuracy
  - type: precision
  - type: recall
  - type: f1
---

> [!NOTE]  
> This repository integrates the SCITE extended [SemEval 2010 Task 8](https://aclanthology.org/S10-1006/) dataset into hf datasets. It is in conformance with SCITE's CC BY-NC 4.0 license. Please find the original dataset
> [here](https://github.com/Das-Boot/scite). Please see the [citations](#citations) at the end of this README.


## Dataset Description

- **Repository:** https://github.com/Das-Boot/scite/tree/master
- **Paper:** [Causality extraction based on self-attentive BiLSTM-CRF with transferred embeddings](https://doi.org/10.1016/j.neucom.2020.08.078)

# Usage
## Causality Detection
```py
from datasets import load_dataset
dataset = load_dataset("webis/SCITE", "causality detection")
```

## Causal Candidate Extraction
```py
from datasets import load_dataset
dataset = load_dataset("webis/SCITE", "causal candidate extraction")
```

## Causality Identification
```py
from datasets import load_dataset
dataset = load_dataset("webis/SCITE", "causality identification")
```

# Citations

The SCITE paper by [Li et al., 2021](https://www.sciencedirect.com/science/article/pii/S0925231220316027):
```bib
@article{li:2021,
  title = {Causality Extraction Based on Self-Attentive {{BiLSTM-CRF}} with Transferred Embeddings},
  author = {Li, Zhaoning and Li, Qi and Zou, Xiaotian and Ren, Jiangtao},
  year = {2021},
  journal = {Neurocomputing},
  volume = {423},
  pages = {207--219},
  doi = {10.1016/J.NEUCOM.2020.08.078}
}
```

SemEval 2010 Task 8 by [Hendrickx et al., 2010](https://aclanthology.org/S10-1006/) which SCITE builds upon:
```bib
@inproceedings{hendrickx:2010,
  title = {{{SemEval-2010 Task}} 8: {{Multi-Way Classification}} of {{Semantic Relations}} between {{Pairs}} of {{Nominals}}},
  shorttitle = {{{SemEval-2010 Task}} 8},
  booktitle = {Proceedings of the 5th {{International Workshop}} on {{Semantic Evaluation}}, {{SemEval}}@{{ACL}} 2010, {{Uppsala University}}, {{Uppsala}}, {{Sweden}}, {{July}} 15-16, 2010},
  author = {Hendrickx, Iris and Kim, Su Nam and Kozareva, Zornitsa and Nakov, Preslav and S{\'e}aghdha, Diarmuid {\'O} and Pad{\'o}, Sebastian and Pennacchiotti, Marco and Romano, Lorenza and Szpakowicz, Stan},
  editor = {Erk, Katrin and Strapparava, Carlo},
  year = {2010},
  pages = {33--38},
  publisher = {The Association for Computer Linguistics}
}
```