license: cc-by-nc-4.0
language:
- eu
pretty_name: XNLI EU
size_categories:
- 1K<n<10K
dataset_info:
- config_name: eu
features:
- name: premise
dtype: string
- name: hypothesis
dtype: string
- name: label
dtype:
class_label:
names:
'0': entailment
'1': neutral
'2': contradiction
- config_name: eu_mt
features:
- name: premise
dtype: string
- name: hypothesis
dtype: string
- name: label
dtype:
class_label:
names:
'0': entailment
'1': neutral
'2': contradiction
- config_name: eu_native
features:
- name: premise
dtype: string
- name: hypothesis
dtype: string
- name: label
dtype:
class_label:
names:
'0': entailment
'1': neutral
'2': contradiction
configs:
- config_name: eu
data_files:
- split: train
path: xnli.train.eu.mt.tsv
- split: validation
path: xnli.dev.eu.tsv
- split: test
path: xnli.test.eu.tsv
- config_name: eu_mt
data_files:
- split: train
path: xnli.train.eu.mt.tsv
- split: validation
path: xnli.dev.eu.mt.tsv
- split: test
path: xnli.test.eu.mt.tsv
- config_name: eu_native
data_files:
- split: test
path: xnli.test.eu.native.tsv
task_categories:
- text-classification
Dataset Card for XNLIeu
XNLIeu is an extension of XNLI translated from English to Basque. It has been designed as a cross-lingual dataset for the Natural Language Inference task, a text-classification task that consists on classifying pairs of sentences, a premise and a hypothesis, according to their semantic relation out of three possible labels: entailment, contradiction and neutral.
Dataset Details
Dataset Description
XNLI is a popular Natural Language Inference (NLI) benchmark widely used to evaluate cross-lingual Natural Language Understanding (NLU) capabilities across languages. We expand XNLI to include Basque, a low-resource language that can greatly benefit from transfer-learning approaches. The new dataset, dubbed XNLIeu, has been developed by first machine-translating the English XNLI corpus into Basque, followed by a manual post-edition step.
- Language(s) (NLP): Basque (eu)
- License: XNLIeu is derived from XNLI and distributed under its same license.
Dataset Sources
- Repository: Link to the GitHub Repository
- Paper: Link to the Paper
Uses
XNLieu is meant as an cross-lingual evaluation dataset. It can be used in combination with the train sets of XNLI for a cross-lingual zero-shot setting, and we provide a machine-translated train set in both "eu" and "eu_mt" splits to implement a translate-train setting.
Dataset Structure
The dataset has three subsets:
- eu: XNLIeu, machine-translated and post-edited from English to Basque.
- eu_MT: XNLIeuMT, a machine-translated version prior post-edition.
- eu_native: An original, non-translated test set.
Splits
name | train | validation | test |
---|---|---|---|
eu | 392702 | 2490 | 5010 |
eu_mt | 392702 | 2490 | 5010 |
eu_native | - | - | 621 |
Dataset Fields
All splits have the same fields: premise, hypothesis and label.
- premise: a string variable.
- hypothesis: a string variable.
- label: a classification label, with possible values including entailment (0), neutral (1), contradiction (2).
Dataset Instances
An example from the "eu" split:
{
"premise": "Dena idazten saiatu nintzen"
"hypothesis": "Nire helburua gauzak idaztea zen.",
"label": 0,
}
Bias, Risks, and Limitations
The biases of this dataset have been studied and reported in the paper.
BibTeX:
@article{heredia2024xnlieu, title={XNLIeu: a dataset for cross-lingual NLI in Basque}, author={Maite Heredia and Julen Etxaniz and Muitze Zulaika and Xabier Saralegi and Jeremy Barnes and Aitor Soroa}, year={2024}, eprint={2404.06996}, archivePrefix={arXiv}, primaryClass={cs.CL} }
APA:
Maite Heredia, Julen Etxaniz, Muitze Zulaika, Xabier Saralegi, Jeremy Barnes, & Aitor Soroa (2024). XNLIeu: a dataset for cross-lingual NLI in Basque.