Datasets:
Update README.md
Browse files
README.md
CHANGED
@@ -1,3 +1,98 @@
|
|
1 |
-
---
|
2 |
-
license: cc-by-nc-4.0
|
3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: cc-by-nc-4.0
|
3 |
+
language:
|
4 |
+
- ig
|
5 |
+
- yo
|
6 |
+
- ha
|
7 |
+
size_categories:
|
8 |
+
- n<1K
|
9 |
+
multilinguality:
|
10 |
+
- multilingual
|
11 |
+
pretty_name: NaijaRC
|
12 |
+
language_details: ibo, yor, hau
|
13 |
+
tags:
|
14 |
+
- naijarc
|
15 |
+
task_categories:
|
16 |
+
- multi-choice
|
17 |
+
task_ids:
|
18 |
+
- multi-choice-qa
|
19 |
+
configs:
|
20 |
+
- config_name: ibo
|
21 |
+
data_files:
|
22 |
+
- split: test
|
23 |
+
path: ibo/test.csv
|
24 |
+
- config_name: yor
|
25 |
+
data_files:
|
26 |
+
- split: train
|
27 |
+
path: yor/train.csv
|
28 |
+
- split: validation
|
29 |
+
path: yor/dev.csv
|
30 |
+
- split: test
|
31 |
+
path: yor/test.csv
|
32 |
+
- config_name: hau
|
33 |
+
data_files:
|
34 |
+
- split: test
|
35 |
+
path: hau/test.csv
|
36 |
+
---
|
37 |
+
# Dataset Card for afrixnli
|
38 |
+
## Table of Contents
|
39 |
+
- [Table of Contents](#table-of-contents)
|
40 |
+
- [Dataset Description](#dataset-description)
|
41 |
+
- [Dataset Summary](#dataset-summary)
|
42 |
+
- [Languages](#languages)
|
43 |
+
- [Dataset Structure](#dataset-structure)
|
44 |
+
- [Data Instances](#data-instances)
|
45 |
+
- [Data Fields](#data-fields)
|
46 |
+
- [Data Splits](#data-splits)
|
47 |
+
## Dataset Description
|
48 |
+
- **Point of Contact:** [email protected]
|
49 |
+
### Dataset Summary
|
50 |
+
AFRIXNLI is an evaluation dataset comprising translations of a subset of the XNLI dataset into 16 African languages.
|
51 |
+
It includes both validation and test sets across all 18 languages, maintaining the English and French subsets from the original XNLI dataset.
|
52 |
+
### Languages
|
53 |
+
There are 18 languages available :
|
54 |
+
## Dataset Structure
|
55 |
+
### Data Instances
|
56 |
+
The examples look like this for English:
|
57 |
+
```
|
58 |
+
from datasets import load_dataset
|
59 |
+
data = load_dataset('masakhane/afrixnli', 'eng')
|
60 |
+
# Please, specify the language code
|
61 |
+
# A data point example is below:
|
62 |
+
{
|
63 |
+
'premise': 'The doors were locked when we went in.',
|
64 |
+
'hypothesis': 'All of the doors were open.',
|
65 |
+
'label': 'contradiction'
|
66 |
+
}
|
67 |
+
```
|
68 |
+
### Data Fields
|
69 |
+
- `premise`: a multilingual string variable,
|
70 |
+
- `hypothesis`: a multilingual string variable,
|
71 |
+
- `label`: a classification label, with possible values including entailment (0), neutral (1), contradiction (2).
|
72 |
+
### Data Splits
|
73 |
+
All languages has two splits, `dev` and `test` a subset of the original `dev` and `test` splits of the XNLI dataset.
|
74 |
+
The splits have the following sizes :
|
75 |
+
| Language | validation | test |
|
76 |
+
|-----------------|-----------:|-----:|
|
77 |
+
| English | 450 | 600 |
|
78 |
+
|
79 |
+
|
80 |
+
|
81 |
+
|
82 |
+
|
83 |
+
|
84 |
+
|
85 |
+
|
86 |
+
|
87 |
+
|
88 |
+
|
89 |
+
Message David Adelani
|
90 |
+
|
91 |
+
|
92 |
+
|
93 |
+
|
94 |
+
|
95 |
+
|
96 |
+
|
97 |
+
|
98 |
+
|