Datasets:
File size: 5,170 Bytes
df23d90 d248814 df23d90 cc18cde d248814 df23d90 d248814 df23d90 d248814 cc18cde df23d90 e73bbd0 |
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 |
---
language:
- en
license: mit
size_categories:
- 10K<n<100K
pretty_name: Semantically-augmented FEVER for NLI
dataset_info:
features:
- name: id
dtype: string
- name: premise
dtype: string
- name: hypothesis
dtype: string
- name: label
dtype: string
- name: wsd
struct:
- name: premise
list:
- name: index
dtype: int64
- name: text
dtype: string
- name: pos
dtype: string
- name: lemma
dtype: string
- name: bnSynsetId
dtype: string
- name: wnSynsetOffset
dtype: string
- name: nltkSynset
dtype: string
- name: hypothesis
list:
- name: index
dtype: int64
- name: text
dtype: string
- name: pos
dtype: string
- name: lemma
dtype: string
- name: bnSynsetId
dtype: string
- name: wnSynsetOffset
dtype: string
- name: nltkSynset
dtype: string
- name: srl
struct:
- name: premise
struct:
- name: tokens
list:
- name: index
dtype: int64
- name: rawText
dtype: string
- name: annotations
list:
- name: tokenIndex
dtype: int64
- name: verbatlas
struct:
- name: frameName
dtype: string
- name: roles
list:
- name: role
dtype: string
- name: score
dtype: float64
- name: span
sequence: int64
- name: englishPropbank
struct:
- name: frameName
dtype: string
- name: roles
list:
- name: role
dtype: string
- name: score
dtype: float64
- name: span
sequence: int64
- name: hypothesis
struct:
- name: tokens
list:
- name: index
dtype: int64
- name: rawText
dtype: string
- name: annotations
list:
- name: tokenIndex
dtype: int64
- name: verbatlas
struct:
- name: frameName
dtype: string
- name: roles
list:
- name: role
dtype: string
- name: score
dtype: float64
- name: span
sequence: int64
- name: englishPropbank
struct:
- name: frameName
dtype: string
- name: roles
list:
- name: role
dtype: string
- name: score
dtype: float64
- name: span
sequence: int64
splits:
- name: train
num_bytes: 357119012
num_examples: 51086
- name: validation
num_bytes: 15794078
num_examples: 2288
- name: test
num_bytes: 15736002
num_examples: 2287
download_size: 78641818
dataset_size: 388649092
configs:
- config_name: default
data_files:
- split: train
path: data/train-*
- split: validation
path: data/validation-*
- split: test
path: data/test-*
---
# Semantically-augmented FEVER for NLI
This dataset is a random downsample of the [FEVER dataset adapted for NLI](https://github.com/easonnie/combine-FEVER-NSMN/blob/master/other_resources/nli_fever.md).
We downsampled the training and development set to 25% of the original, and recovered labels for the development set from the original [FEVER dataset](https://huggingface.co/datasets/fever/fever).
The dataset is also augmented with semantic annotations such as Word Sense Disambiguation (WSD) and Semantic Role Labeling (SRL) information.
We annotated the whole downsampled dataset (both `premise` and `hypothesis`) with [AMuSE-WSD](https://aclanthology.org/2021.emnlp-demo.34) (Orlando et al., EMNLP 2021) and [InVeRo](https://aclanthology.org/2020.emnlp-demos.11) (Conia et al., EMNLP 2020).
## Dataset Creation
The idea was to curate a version of the FEVER dataset adapted to the NLI task for Homework 2 of the Multilingual Natural Language Processing 2024 course at Sapienza University of Rome.
We sourced the data following the instructions in [this repo](https://github.com/easonnie/combine-FEVER-NSMN/blob/master/other_resources/nli_fever.md), modifying the labels to the following schema:
```json
{
"id": ..., # the FEVER dataset ID
"premise": ..., # the context in FEVER
"hypothesis": ..., # the query in FEVER
"label": ..., # mapped version of FEVER, where 'supports' -> 'entailment', 'refutes' -> 'contradiction' and 'not enough info' -> 'neutral'
}
```
We filtered out any sample with an empty premise (a minority of the data) and downsampled both `train_fitems.jsonl` and `dev_fitems.jsonl` to 25% of their total size.
We then recovered the labels for the development set from the `labelled_dev` split in the [original FEVER](https://huggingface.co/datasets/fever/fever) and split the development set into the final `dev.jsonl` and `test.jsonl`.
Finally, we ran both AMuSE-WSD and InVeRo to augment our samples with WSD and SRL annotations, respectively. |