Datasets:
metadata
license: apache-2.0
language:
- am
- arq
- ary
- hau
- ibo
- om
- pcm
- rw
- so
- sw
- ti
- tw
- xh
- yo
- zu
- sw
size_categories:
- n<1K
multilinguality:
- multilingual
pretty_name: afrixnli
language_details: amh, arq, ary, hau, ibo, orm, pcm, kin, som, swa, tir, twi, xho, yor, zul
tags:
- afrihate
- afri-hate
task_categories:
- text-classification
configs:
- config_name: amh
data_files:
- split: train
path: data/amh/train.tsv
- split: validation
path: data/amh/dev.tsv
- split: test
path: data/amh/test.tsv
- config_name: arq
data_files:
- split: train
path: data/arq/train.tsv
- split: validation
path: data/arq/dev.tsv
- split: test
path: data/arq/test.tsv
- config_name: ary
data_files:
- split: train
path: data/ary/train.tsv
- split: validation
path: data/ary/dev.tsv
- split: test
path: data/ary/test.tsv
- config_name: hau
data_files:
- split: train
path: data/hau/train.tsv
- split: validation
path: data/hau/dev.tsv
- split: test
path: data/hau/test.tsv
- config_name: ibo
data_files:
- split: train
path: data/ibo/train.tsv
- split: validation
path: data/ibo/dev.tsv
- split: test
path: data/ibo/test.tsv
- config_name: kin
data_files:
- split: train
path: data/kin/train.tsv
- split: validation
path: data/kin/dev.tsv
- split: test
path: data/kin/test.tsv
- config_name: orm
data_files:
- split: train
path: data/orm/train.tsv
- split: validation
path: data/orm/dev.tsv
- split: test
path: data/orm/test.tsv
- config_name: som
data_files:
- split: train
path: data/som/train.tsv
- split: validation
path: data/som/dev.tsv
- split: test
path: data/som/test.tsv
- config_name: pcm
data_files:
- split: train
path: data/pcm/train.tsv
- split: validation
path: data/pcm/dev.tsv
- split: test
path: data/pcm/test.tsv
- config_name: tir
data_files:
- split: train
path: data/tir/train.tsv
- split: validation
path: data/tir/dev.tsv
- split: test
path: data/tir/test.tsv
- config_name: swa
data_files:
- split: train
path: data/swa/train.tsv
- split: validation
path: data/swa/dev.tsv
- split: test
path: data/swa/test.tsv
- config_name: twi
data_files:
- split: train
path: data/twi/train.tsv
- split: validation
path: data/twi/dev.tsv
- split: test
path: data/twi/test.tsv
- config_name: xho
data_files:
- split: train
path: data/xho/train.tsv
- split: validation
path: data/xho/dev.tsv
- split: test
path: data/xho/test.tsv
- config_name: yor
data_files:
- split: train
path: data/yor/train.tsv
- split: validation
path: data/yor/dev.tsv
- split: test
path: data/yor/test.tsv
- config_name: zul
data_files:
- split: train
path: data/zul/train.tsv
- split: validation
path: data/zul/dev.tsv
- split: test
path: data/zul/test.tsv
Dataset Card for afrixnli
Table of Contents
Dataset Description
- Point of Contact:
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('Davlan/afrihate', 'yor')
# Please, specify the language code
# A data point example is below:
{
'tweet': 'The doors were locked when we went in.',
'label': 0
}