Datasets:
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,75 @@
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
| 3 |
+
task_categories:
|
| 4 |
+
- token-classification
|
| 5 |
+
- text-classification
|
| 6 |
+
language:
|
| 7 |
+
- en
|
| 8 |
+
- es
|
| 9 |
+
pretty_name: meta4xnli
|
| 10 |
+
size_categories:
|
| 11 |
+
- 1K<n<10K
|
| 12 |
---
|
| 13 |
+
|
| 14 |
+
# Dataset Card for Dataset Name
|
| 15 |
+
|
| 16 |
+
Meta4XNLI is a parallel dataset with annotations in English and Spanish for metaphor detection at token level (13320 sentences) and metaphor interpretation framed within NLI the task (9990 premise-hypothesis pairs).
|
| 17 |
+
It is a collection of existing NLI datasets manually labeled for both metaphor tasks.
|
| 18 |
+
|
| 19 |
+
- **Repository**: data available also in .tsv format at https://github.com/elisanchez-beep/meta4xnli
|
| 20 |
+
- **Paper**: [Meta4XNLI: A Crosslingual Parallel Corpus for Metaphor Detection and Interpretation](https://arxiv.org/pdf/2404.07053.pdf)
|
| 21 |
+
|
| 22 |
+
|
| 23 |
+
### Dataset Sources
|
| 24 |
+
|
| 25 |
+
Meta4XNLI is a collection of [XNLI](xnli) and [esXNLI](https://aclanthology.org/2020.emnlp-main.618/) datasets with metaphor annotations.
|
| 26 |
+
|
| 27 |
+
|
| 28 |
+
## Dataset Structure
|
| 29 |
+
|
| 30 |
+
|
| 31 |
+
The dataset is divided according to detection and interpretation tasks.
|
| 32 |
+
- Detection: labels at token level.
|
| 33 |
+
- splits: train, dev and test files for fine-tuning and evaluation.
|
| 34 |
+
- source_datasets: splits by original source dataset and premises and hypotheses for evaluation.
|
| 35 |
+
- Intepretation: set of sentences split by metaphor occurrence. Non-relevant cases include sentences with metaphors, however, their literal interpretation is not necessary to extract the inference label.
|
| 36 |
+
- splits: train, dev and test files for fine-tuning and evaluation.
|
| 37 |
+
- source_datasets: splits by original source dataset and metaphor presence.
|
| 38 |
+
|
| 39 |
+
## Dataset Fields
|
| 40 |
+
- Detection:
|
| 41 |
+
- "id": example id
|
| 42 |
+
- "tokens": list of text split.
|
| 43 |
+
- "tags": list of metaphor annotations for each token.
|
| 44 |
+
- 0: literal
|
| 45 |
+
- 1: metaphor
|
| 46 |
+
|
| 47 |
+
- Interpretation:
|
| 48 |
+
- "language": Spanish (es) or English (en)
|
| 49 |
+
- "gold_label": inference label: entailment, neutral or contradiction
|
| 50 |
+
- "sentence1": premise
|
| 51 |
+
- "sentence2": hypothesis
|
| 52 |
+
- "promptID": premise id
|
| 53 |
+
- "pairID": premise and hypothesis pair id
|
| 54 |
+
- "genre": text domain
|
| 55 |
+
- "source_dataset": original dataset: {xnli.dev, xnli.test, esxnli}
|
| 56 |
+
|
| 57 |
+
|
| 58 |
+
## Citation [optional]
|
| 59 |
+
|
| 60 |
+
If you use Meta4XNLI, please cite our work:
|
| 61 |
+
|
| 62 |
+
```
|
| 63 |
+
@misc{sanchezbayona2024meta4xnli,
|
| 64 |
+
title={Meta4XNLI: A Crosslingual Parallel Corpus for Metaphor Detection and Interpretation},
|
| 65 |
+
author={Elisa Sanchez-Bayona and Rodrigo Agerri},
|
| 66 |
+
year={2024},
|
| 67 |
+
eprint={2404.07053},
|
| 68 |
+
archivePrefix={arXiv},
|
| 69 |
+
primaryClass={cs.CL}
|
| 70 |
+
}
|
| 71 |
+
```
|
| 72 |
+
|
| 73 |
+
## Dataset Card Contact
|
| 74 |
+
|
| 75 |
+
{elisa.sanchez, rodrigo.agerri}@ehu.eus
|