--- license: cc-by-nc-4.0 language: - eu pretty_name: XNLI EU size_categories: - 1K XNLIeu is an extension of [XNLI](https://huggingface.co/datasets/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](https://github.com/hitz-zentroa/xnli-eu/) - **Paper:** [Link to the Paper](https://arxiv.org/abs/2404.06996) ## Uses XNLieu is meant as an cross-lingual evaluation dataset. It can be used in combination with the train sets of [XNLI](https://huggingface.co/datasets/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.](https://arxiv.org/abs/2404.06996)