IrokoBench
Collection
a human-translated benchmark dataset for 16 African languages covering three tasks: NLI, MMLU and MGSM • 6 items • Updated • 20
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.
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.
There are 18 languages available :
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
}
premise: a multilingual string variable,hypothesis: a multilingual string variable,label: a classification label, with possible values including entailment (0), neutral (1), contradiction (2).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 |