Datasets:
Tasks:
Text Classification
Modalities:
Text
Formats:
csv
Sub-tasks:
natural-language-inference
Size:
10K - 100K
License:
JessicaOjo
commited on
Commit
•
c061aa2
1
Parent(s):
07d597d
Update README.md
Browse files
README.md
CHANGED
@@ -1,3 +1,118 @@
|
|
1 |
---
|
2 |
license: apache-2.0
|
3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
license: apache-2.0
|
3 |
---
|
4 |
+
annotations_creators:
|
5 |
+
- found
|
6 |
+
language_creators:
|
7 |
+
- expert-generated
|
8 |
+
language:
|
9 |
+
- eng
|
10 |
+
- amh
|
11 |
+
- ibo
|
12 |
+
- fra
|
13 |
+
- sna
|
14 |
+
- lin
|
15 |
+
- wol
|
16 |
+
- ewe
|
17 |
+
- lug
|
18 |
+
- xho
|
19 |
+
- kin
|
20 |
+
- twi
|
21 |
+
- zul
|
22 |
+
- orm
|
23 |
+
- yor
|
24 |
+
- hau
|
25 |
+
- sot
|
26 |
+
- swa
|
27 |
+
multilinguality:
|
28 |
+
- multilingual
|
29 |
+
pretty_name: afrixnli
|
30 |
+
language_details: eng, amh, ibo, fra, sna, lin, wol, ewe, lug, xho, kin, twi, zul, orm, yor, hau, sot, swa
|
31 |
+
size_categories:
|
32 |
+
200<n<1K
|
33 |
+
source_datasets:
|
34 |
+
- xnli
|
35 |
+
tags:
|
36 |
+
- afrixnli
|
37 |
+
- afri-xnli
|
38 |
+
- africanxnli
|
39 |
+
task_categories:
|
40 |
+
- text-classification
|
41 |
+
task_ids:
|
42 |
+
- text-classification
|
43 |
+
|
44 |
+
---
|
45 |
+
|
46 |
+
# Dataset Card for afrixnli
|
47 |
+
|
48 |
+
## Table of Contents
|
49 |
+
- [Table of Contents](#table-of-contents)
|
50 |
+
- [Dataset Description](#dataset-description)
|
51 |
+
- [Dataset Summary](#dataset-summary)
|
52 |
+
- [Supported Tasks and Leaderboards](#supported-tasks-and-leaderboards)
|
53 |
+
- [Languages](#languages)
|
54 |
+
- [Dataset Structure](#dataset-structure)
|
55 |
+
- [Data Instances](#data-instances)
|
56 |
+
- [Data Fields](#data-fields)
|
57 |
+
- [Data Splits](#data-splits)
|
58 |
+
- [Dataset Creation](#dataset-creation)
|
59 |
+
- [Curation Rationale](#curation-rationale)
|
60 |
+
- [Source Data](#source-data)
|
61 |
+
- [Annotations](#annotations)
|
62 |
+
- [Personal and Sensitive Information](#personal-and-sensitive-information)
|
63 |
+
- [Considerations for Using the Data](#considerations-for-using-the-data)
|
64 |
+
- [Social Impact of Dataset](#social-impact-of-dataset)
|
65 |
+
- [Discussion of Biases](#discussion-of-biases)
|
66 |
+
- [Other Known Limitations](#other-known-limitations)
|
67 |
+
- [Additional Information](#additional-information)
|
68 |
+
- [Dataset Curators](#dataset-curators)
|
69 |
+
- [Licensing Information](#licensing-information)
|
70 |
+
- [Citation Information](#citation-information)
|
71 |
+
- [Contributions](#contributions)
|
72 |
+
|
73 |
+
## Dataset Description
|
74 |
+
|
75 |
+
- **Point of Contact:** d.adelani@ucl.ac.uk
|
76 |
+
|
77 |
+
### Dataset Summary
|
78 |
+
|
79 |
+
AFRIXNLI is an evaluation dataset comprising translations of a subset of the XNLI dataset into 16 African languages.
|
80 |
+
It includes both validation and test sets across all 18 languages, maintaining the English and French subsets from the original XNLI dataset.
|
81 |
+
|
82 |
+
### Languages
|
83 |
+
|
84 |
+
There are 18 languages available :
|
85 |
+
|
86 |
+
## Dataset Structure
|
87 |
+
|
88 |
+
### Data Instances
|
89 |
+
|
90 |
+
The examples look like this for English:
|
91 |
+
|
92 |
+
```
|
93 |
+
from datasets import load_dataset
|
94 |
+
data = load_dataset('masakhane/afrixnli', 'eng')
|
95 |
+
# Please, specify the language code
|
96 |
+
# A data point example is below:
|
97 |
+
{
|
98 |
+
'premise': 'The doors were locked when we went in.',
|
99 |
+
'hypothesis': 'All of the doors were open.',
|
100 |
+
'label': 'contradiction'
|
101 |
+
}
|
102 |
+
```
|
103 |
+
|
104 |
+
### Data Fields
|
105 |
+
|
106 |
+
- `premise`: a multilingual string variable,
|
107 |
+
- `hypothesis`: a multilingual string variable,
|
108 |
+
- `label`: a classification label, with possible values including entailment (0), neutral (1), contradiction (2).
|
109 |
+
|
110 |
+
### Data Splits
|
111 |
+
|
112 |
+
All languages has two splits, `dev` and `test` a subset of the original `dev` and `test` splits of the XNLI dataset.
|
113 |
+
|
114 |
+
The splits have the following sizes :
|
115 |
+
|
116 |
+
| Language | validation | test |
|
117 |
+
|-----------------|-----------:|-----:|
|
118 |
+
| English | 450 | 600 |
|