Dataset Viewer
The dataset viewer is not available for this dataset.
Unexpected token '<', "<html> <h"... is not valid JSON

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

Dataset Card for afrixnli

Dataset Summary

AFRIXNLI is an evaluation dataset comprising translations of a subset of the XNLI dataset into 16 African languages. It includes both validation and test sets across all 18 languages, maintaining the English and French subsets from the original XNLI dataset.

Languages

There are 18 languages available :

Dataset Structure

Data Instances

The examples look like this for English:

from datasets import load_dataset
data = load_dataset('masakhane/afrixnli', 'eng') 
# Please, specify the language code
# A data point example is below:
{
'premise': 'The doors were locked when we went in.',
'hypothesis': 'All of the doors were open.',
'label': 0
}

Data Fields

  • premise: a multilingual string variable,
  • hypothesis: a multilingual string variable,
  • label: a classification label, with possible values including entailment (0), neutral (1), contradiction (2).

Data Splits

All languages has two splits, dev and test a subset of the original dev and test splits of the XNLI dataset.

The splits have the following sizes :

Language validation test
English 450 600
Downloads last month
902

Collections including masakhane/afrixnli