Datasets:

Modalities:
Text
Formats:
parquet
ArXiv:
Libraries:
Datasets
pandas
License:
system HF staff commited on
Commit
92bd6c5
0 Parent(s):

Update files from the datasets library (from 1.17.0)

Browse files

Release notes: https://github.com/huggingface/datasets/releases/tag/1.17.0

.gitattributes ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ *.7z filter=lfs diff=lfs merge=lfs -text
2
+ *.arrow filter=lfs diff=lfs merge=lfs -text
3
+ *.bin filter=lfs diff=lfs merge=lfs -text
4
+ *.bin.* filter=lfs diff=lfs merge=lfs -text
5
+ *.bz2 filter=lfs diff=lfs merge=lfs -text
6
+ *.ftz filter=lfs diff=lfs merge=lfs -text
7
+ *.gz filter=lfs diff=lfs merge=lfs -text
8
+ *.h5 filter=lfs diff=lfs merge=lfs -text
9
+ *.joblib filter=lfs diff=lfs merge=lfs -text
10
+ *.lfs.* filter=lfs diff=lfs merge=lfs -text
11
+ *.model filter=lfs diff=lfs merge=lfs -text
12
+ *.msgpack filter=lfs diff=lfs merge=lfs -text
13
+ *.onnx filter=lfs diff=lfs merge=lfs -text
14
+ *.ot filter=lfs diff=lfs merge=lfs -text
15
+ *.parquet filter=lfs diff=lfs merge=lfs -text
16
+ *.pb filter=lfs diff=lfs merge=lfs -text
17
+ *.pt filter=lfs diff=lfs merge=lfs -text
18
+ *.pth filter=lfs diff=lfs merge=lfs -text
19
+ *.rar filter=lfs diff=lfs merge=lfs -text
20
+ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
21
+ *.tar.* filter=lfs diff=lfs merge=lfs -text
22
+ *.tflite filter=lfs diff=lfs merge=lfs -text
23
+ *.tgz filter=lfs diff=lfs merge=lfs -text
24
+ *.xz filter=lfs diff=lfs merge=lfs -text
25
+ *.zip filter=lfs diff=lfs merge=lfs -text
26
+ *.zstandard filter=lfs diff=lfs merge=lfs -text
27
+ *tfevents* filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,343 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ annotations_creators:
3
+ - expert-generated
4
+ language_creators:
5
+ - expert-generated
6
+ languages:
7
+ - ay
8
+ - bzd
9
+ - cni
10
+ - gn
11
+ - hch
12
+ - nah
13
+ - oto
14
+ - qu
15
+ - shp
16
+ - tar
17
+ licenses:
18
+ - unknown
19
+ multilinguality:
20
+ - multilingual
21
+ - translation
22
+ pretty_name: 'AmericasNLI: A NLI Corpus of 10 Indigenous Low-Resource Languages-'
23
+ size_categories:
24
+ - unknown
25
+ source_datasets:
26
+ - extended|xnli
27
+ task_categories:
28
+ - text-classification
29
+ task_ids:
30
+ - natural-language-inference
31
+ ---
32
+
33
+ # Dataset Card for AmericasNLI
34
+
35
+ ## Table of Contents
36
+ - [Dataset Description](#dataset-description)
37
+ - [Dataset Summary](#dataset-summary)
38
+ - [Supported Tasks](#supported-tasks-and-leaderboards)
39
+ - [Languages](#languages)
40
+ - [Dataset Structure](#dataset-structure)
41
+ - [Data Instances](#data-instances)
42
+ - [Data Fields](#data-instances)
43
+ - [Data Splits](#data-instances)
44
+ - [Dataset Creation](#dataset-creation)
45
+ - [Curation Rationale](#curation-rationale)
46
+ - [Source Data](#source-data)
47
+ - [Annotations](#annotations)
48
+ - [Personal and Sensitive Information](#personal-and-sensitive-information)
49
+ - [Considerations for Using the Data](#considerations-for-using-the-data)
50
+ - [Social Impact of Dataset](#social-impact-of-dataset)
51
+ - [Discussion of Biases](#discussion-of-biases)
52
+ - [Other Known Limitations](#other-known-limitations)
53
+ - [Additional Information](#additional-information)
54
+ - [Dataset Curators](#dataset-curators)
55
+ - [Licensing Information](#licensing-information)
56
+ - [Citation Information](#citation-information)
57
+
58
+ ## Dataset Description
59
+
60
+ - **Homepage:** [Needs More Information]
61
+ - **Repository:** https://github.com/nala-cub/AmericasNLI
62
+ - **Paper:** https://arxiv.org/abs/2104.08726
63
+ - **Leaderboard:** [Needs More Information]
64
+ - **Point of Contact:** [Needs More Information]
65
+
66
+ ### Dataset Summary
67
+
68
+ AmericasNLI is an extension of XNLI (Conneau et al., 2018) a natural language inference (NLI) dataset covering 15 high-resource languages to 10 low-resource indigenous languages spoken in the Americas: Ashaninka, Aymara, Bribri, Guarani, Nahuatl, Otomi, Quechua, Raramuri, Shipibo-Konibo, and Wixarika. As with MNLI, the goal is to predict textual entailment (does sentence A imply/contradict/neither sentence B) and is a classification task (given two sentences, predict one of three labels).
69
+
70
+
71
+ ### Supported Tasks and Leaderboards
72
+
73
+ [Needs More Information]
74
+
75
+ ### Languages
76
+
77
+ - aym
78
+ - bzd
79
+ - cni
80
+ - gn
81
+ - hch
82
+ - nah
83
+ - oto
84
+ - quy
85
+ - shp
86
+ - tar
87
+
88
+ ## Dataset Structure
89
+
90
+ ### Data Instances
91
+
92
+ #### all_languages
93
+
94
+ An example of the test split looks as follows:
95
+
96
+ ```
97
+ {'language': 'aym', 'premise': "Ukhamaxa, janiw ukatuqits lup'kayätti, ukhamarus wali phiñasitayätwa, ukatx jupampiw mayamp aruskipañ qallanttha.", 'hypothesis': 'Janiw mayamp jupampix p
98
+ arlxapxti.', 'label': 2}
99
+ ```
100
+
101
+ #### aym
102
+
103
+ An example of the test split looks as follows:
104
+
105
+ ```
106
+ {'premise': "Ukhamaxa, janiw ukatuqits lup'kayätti, ukhamarus wali phiñasitayätwa, ukatx jupampiw mayamp aruskipañ qallanttha.", 'hypothesis': 'Janiw mayamp jupampix parlxapxti.', 'label
107
+ ': 2}
108
+ ```
109
+
110
+ #### bzd
111
+
112
+ An example of the test split looks as follows:
113
+
114
+ ```
115
+ {'premise': "Bua', kèq ye' kũ e' bikeitsök erë ye' chkénãwã tã ye' ujtémĩne ie' tã páxlĩnẽ.", 'hypothesis': "Kèq ye' ùtẽnẽ ie' tã páxlĩ.", 'label': 2}
116
+ ```
117
+
118
+ #### cni
119
+
120
+ An example of the test split looks as follows:
121
+
122
+ ```
123
+ {'premise': 'Kameetsa, tee nokenkeshireajeroji, iro kantaincha tee nomateroji aisati nintajaro noñanatajiri iroakera.', 'hypothesis': 'Tee noñatajeriji.', 'label': 2}
124
+ ```
125
+
126
+ #### gn
127
+
128
+ An example of the test split looks as follows:
129
+
130
+ ```
131
+ {'premise': "Néi, ni napensaikurihína upéva rehe, ajepichaiterei ha añepyrûjey añe'ê hendive.", 'hypothesis': "Nañe'êvéi hendive.", 'label': 2}
132
+ ```
133
+
134
+ #### hch
135
+
136
+ An example of the test split looks as follows:
137
+
138
+ ```
139
+ {'premise': 'mu hekwa.', 'hypothesis': 'neuka tita xatawe m+k+ mat+a.', 'label': 2}
140
+ ```
141
+
142
+ #### nah
143
+
144
+ An example of the test split looks as follows:
145
+
146
+ ```
147
+ {'premise': 'Cualtitoc, na axnimoihliaya ino, nicualaniztoya queh naha nicamohuihqui', 'hypothesis': 'Ayoc nicamohuihtoc', 'label': 2}
148
+ ```
149
+
150
+ #### oto
151
+
152
+ An example of the test split looks as follows:
153
+
154
+ ```
155
+ {'premise': 'mi-ga, nin mibⴘy mbô̮nitho ane guenu, guedi mibⴘy nho ⴘnmⴘy xi di mⴘdi o ñana nen nⴘua manaigui', 'hypothesis': 'hin din bi pengui nen nⴘa', 'label': 2}
156
+ ```
157
+
158
+ #### quy
159
+
160
+ An example of the test split looks as follows:
161
+
162
+ ``` {'premise': 'Allinmi, manam chaypiqa hamutachkarqanichu, ichaqa manam allinchu tarikurqani chaymi kaqllamanta paywan rimarqani.', 'hypothesis': 'Manam paywanqa kaqllamantaqa rimarqani
163
+ .', 'label': 2}
164
+ ```
165
+
166
+ #### shp
167
+
168
+ An example of the test split looks as follows:
169
+
170
+ ```
171
+ {'premise': 'Jakon riki, ja shinanamara ea ike, ikaxbi kikin frustradara ea ike jakopira ea jabe yoyo iribake.', 'hypothesis': 'Eara jabe yoyo iribiama iki.', 'label': 2}
172
+ ```
173
+
174
+ #### tar
175
+
176
+ An example of the test split looks as follows:
177
+
178
+ ```
179
+ {'premise': 'Ga’lá ju, ke tási newalayé nejé echi k��tira, we ne majáli, a’lí ko uchécho ne yua ku ra’íchaki.', 'hypothesis': 'Tási ne uchecho yua ra’ícha échi rejói.', 'label': 2}
180
+ ```
181
+
182
+ ### Data Fields
183
+
184
+ #### all_languages
185
+ - language: a multilingual string variable, with languages including ar, bg, de, el, en.
186
+ - premise: a multilingual string variable, with languages including ar, bg, de, el, en.
187
+ - hypothesis: a multilingual string variable, with possible languages including ar, bg, de, el, en.
188
+ - label: a classification label, with possible values including entailment (0), neutral (1), contradiction (2).
189
+ #### aym
190
+ - premise: a string feature.
191
+ - hypothesis: a string feature.
192
+ - label: a classification label, with possible values including entailment (0), neutral (1), contradiction (2).
193
+ #### bzd
194
+ - premise: a string feature.
195
+ - hypothesis: a string feature.
196
+ - label: a classification label, with possible values including entailment (0), neutral (1), contradiction (2).
197
+ #### cni
198
+ - premise: a string feature.
199
+ - hypothesis: a string feature.
200
+ - label: a classification label, with possible values including entailment (0), neutral (1), contradiction (2).
201
+ #### hch
202
+ - premise: a string feature.
203
+ - hypothesis: a string feature.
204
+ - label: a classification label, with possible values including entailment (0), neutral (1), contradiction (2).
205
+ #### nah
206
+ - premise: a string feature.
207
+ - hypothesis: a string feature.
208
+ - label: a classification label, with possible values including entailment (0), neutral (1), contradiction (2).
209
+ #### oto
210
+ - premise: a string feature.
211
+ - hypothesis: a string feature.
212
+ - label: a classification label, with possible values including entailment (0), neutral (1), contradiction (2).
213
+ #### quy
214
+ - premise: a string feature.
215
+ - hypothesis: a string feature.
216
+ - label: a classification label, with possible values including entailment (0), neutral (1), contradiction (2).
217
+ #### shp
218
+ - premise: a string feature.
219
+ - hypothesis: a string feature.
220
+ - label: a classification label, with possible values including entailment (0), neutral (1), contradiction (2).
221
+ #### tar
222
+ - premise: a string feature.
223
+ - hypothesis: a string feature.
224
+ - label: a classification label, with possible values including entailment (0), neutral (1), contradiction (2).
225
+
226
+ ### Data Splits
227
+
228
+ | Language | ISO | Family | Dev | Test |
229
+ |-------------------|-----|:-------------|-----:|-----:|
230
+ | all_languages | -- | -- | 6457 | 7486 |
231
+ | Aymara | aym | Aymaran | 743 | 750 |
232
+ | Ashaninka | cni | Arawak | 658 | 750 |
233
+ | Bribri | bzd | Chibchan | 743 | 750 |
234
+ | Guarani | gn | Tupi-Guarani | 743 | 750 |
235
+ | Nahuatl | nah | Uto-Aztecan | 376 | 738 |
236
+ | Otomi | oto | Oto-Manguean | 222 | 748 |
237
+ | Quechua | quy | Quechuan | 743 | 750 |
238
+ | Raramuri | tar | Uto-Aztecan | 743 | 750 |
239
+ | Shipibo-Konibo | shp | Panoan | 743 | 750 |
240
+ | Wixarika | hch | Uto-Aztecan | 743 | 750 |
241
+
242
+ ## Dataset Creation
243
+
244
+ ### Curation Rationale
245
+
246
+ [Needs More Information]
247
+
248
+ ### Source Data
249
+
250
+ The authors translate from the Spanish subset of XNLI.
251
+
252
+ > AmericasNLI is the translation of a subset of XNLI (Conneau et al., 2018). As translators between Spanish and the target languages are more frequently available than those for English, we translate from the Spanish version.
253
+
254
+ As per paragraph 3.1 of the [original paper](https://arxiv.org/abs/2104.08726).
255
+
256
+ #### Initial Data Collection and Normalization
257
+
258
+ [Needs More Information]
259
+
260
+ #### Who are the source language producers?
261
+
262
+ [Needs More Information]
263
+
264
+ ### Annotations
265
+
266
+ #### Annotation process
267
+
268
+ The dataset comprises expert translations from Spanish XNLI.
269
+
270
+ > Additionally, some translators reported that code-switching is often used to describe certain topics, and, while many words without an exact equivalence in the target language are worked in through translation or interpretation, others are kept in Spanish. To minimize the amount of Spanish vocabulary in the translated examples, we choose sentences from genres that we judged to be relatively easy to translate into the target languages: “face-to-face,” “letters,” and “telephone.”
271
+
272
+ As per paragraph 3.1 of the [original paper](https://arxiv.org/abs/2104.08726).
273
+
274
+ #### Who are the annotators?
275
+
276
+ [Needs More Information]
277
+
278
+ ### Personal and Sensitive Information
279
+
280
+ [Needs More Information]
281
+
282
+ ## Considerations for Using the Data
283
+
284
+ ### Social Impact of Dataset
285
+
286
+ [Needs More Information]
287
+
288
+ ### Discussion of Biases
289
+
290
+ [Needs More Information]
291
+
292
+ ### Other Known Limitations
293
+
294
+ [Needs More Information]
295
+
296
+ ## Additional Information
297
+
298
+ ### Dataset Curators
299
+
300
+ [Needs More Information]
301
+
302
+ ### Licensing Information
303
+
304
+ [Needs More Information]
305
+
306
+ ### Citation Information
307
+
308
+ ```
309
+ @article{DBLP:journals/corr/abs-2104-08726,
310
+ author = {Abteen Ebrahimi and
311
+ Manuel Mager and
312
+ Arturo Oncevay and
313
+ Vishrav Chaudhary and
314
+ Luis Chiruzzo and
315
+ Angela Fan and
316
+ John Ortega and
317
+ Ricardo Ramos and
318
+ Annette Rios and
319
+ Ivan Vladimir and
320
+ Gustavo A. Gim{\'{e}}nez{-}Lugo and
321
+ Elisabeth Mager and
322
+ Graham Neubig and
323
+ Alexis Palmer and
324
+ Rolando A. Coto Solano and
325
+ Ngoc Thang Vu and
326
+ Katharina Kann},
327
+ title = {AmericasNLI: Evaluating Zero-shot Natural Language Understanding of
328
+ Pretrained Multilingual Models in Truly Low-resource Languages},
329
+ journal = {CoRR},
330
+ volume = {abs/2104.08726},
331
+ year = {2021},
332
+ url = {https://arxiv.org/abs/2104.08726},
333
+ eprinttype = {arXiv},
334
+ eprint = {2104.08726},
335
+ timestamp = {Mon, 26 Apr 2021 17:25:10 +0200},
336
+ biburl = {https://dblp.org/rec/journals/corr/abs-2104-08726.bib},
337
+ bibsource = {dblp computer science bibliography, https://dblp.org}
338
+ }
339
+ ```
340
+
341
+ ### Contributions
342
+
343
+ Thanks to [@fdschmidt93](https://github.com/fdschmidt93) for adding this dataset.
americas_nli.py ADDED
@@ -0,0 +1,178 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # coding=utf-8
2
+ # Copyright 2020 The TensorFlow Datasets Authors and the HuggingFace Datasets Authors. Licensed under the Apache License, Version 2.0 (the "License");
3
+ # you may not use this file except in compliance with the License.
4
+ # You may obtain a copy of the License at
5
+ #
6
+ # http://www.apache.org/licenses/LICENSE-2.0
7
+ #
8
+ # Unless required by applicable law or agreed to in writing, software
9
+ # distributed under the License is distributed on an "AS IS" BASIS,
10
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11
+ # See the License for the specific language governing permissions and
12
+ # limitations under the License.
13
+
14
+ # Lint as: python3
15
+ """AmericasNLI: A NLI Corpus of 10 Indigenous Low-Resource Languages."""
16
+
17
+
18
+ import csv
19
+
20
+ import datasets
21
+ from datasets.utils.download_manager import DownloadManager
22
+
23
+
24
+ _CITATION = """
25
+ @article{DBLP:journals/corr/abs-2104-08726,
26
+ author = {Abteen Ebrahimi and
27
+ Manuel Mager and
28
+ Arturo Oncevay and
29
+ Vishrav Chaudhary and
30
+ Luis Chiruzzo and
31
+ Angela Fan and
32
+ John Ortega and
33
+ Ricardo Ramos and
34
+ Annette Rios and
35
+ Ivan Vladimir and
36
+ Gustavo A. Gim{\'{e}}nez{-}Lugo and
37
+ Elisabeth Mager and
38
+ Graham Neubig and
39
+ Alexis Palmer and
40
+ Rolando A. Coto Solano and
41
+ Ngoc Thang Vu and
42
+ Katharina Kann},
43
+ title = {AmericasNLI: Evaluating Zero-shot Natural Language Understanding of
44
+ Pretrained Multilingual Models in Truly Low-resource Languages},
45
+ journal = {CoRR},
46
+ volume = {abs/2104.08726},
47
+ year = {2021},
48
+ url = {https://arxiv.org/abs/2104.08726},
49
+ eprinttype = {arXiv},
50
+ eprint = {2104.08726},
51
+ timestamp = {Mon, 26 Apr 2021 17:25:10 +0200},
52
+ biburl = {https://dblp.org/rec/journals/corr/abs-2104-08726.bib},
53
+ bibsource = {dblp computer science bibliography, https://dblp.org}
54
+ }
55
+ """
56
+
57
+ _DESCRIPTION = """\
58
+ AmericasNLI is an extension of XNLI (Conneau et al., 2018) – a natural language inference (NLI) dataset covering 15 high-resource languages – to 10 low-resource indigenous languages spoken in the Americas: Ashaninka, Aymara, Bribri, Guarani, Nahuatl, Otomi, Quechua, Raramuri, Shipibo-Konibo, and Wixarika. As with MNLI, the goal is to predict textual entailment (does sentence A imply/contradict/neither sentence B) and is a classification task (given two sentences, predict one of three labels).
59
+ """
60
+
61
+ VERSION = datasets.Version("1.0.0", "")
62
+ _DEV_DATA_URL = "https://raw.githubusercontent.com/nala-cub/AmericasNLI/main/dev.tsv"
63
+ _TEST_DATA_URL = "https://raw.githubusercontent.com/nala-cub/AmericasNLI/main/test.tsv"
64
+
65
+ _LANGUAGES = ("aym", "bzd", "cni", "gn", "hch", "nah", "oto", "quy", "shp", "tar")
66
+
67
+
68
+ class AmericasNLIConfig(datasets.BuilderConfig):
69
+ """BuilderConfig for AmericasNLI."""
70
+
71
+ def __init__(self, language: str, languages=None, **kwargs):
72
+ """BuilderConfig for AmericasNLI.
73
+
74
+ Args:
75
+ language: One of aym, bzd, cni, gn, hch, nah, oto, quy, shp, tar or all_languages
76
+ **kwargs: keyword arguments forwarded to super.
77
+ """
78
+ super(AmericasNLIConfig, self).__init__(**kwargs)
79
+ self.language = language
80
+ if language != "all_languages":
81
+ self.languages = [language]
82
+ else:
83
+ self.languages = languages if languages is not None else _LANGUAGES
84
+
85
+
86
+ class AmericasNLI(datasets.GeneratorBasedBuilder):
87
+ """TODO"""
88
+
89
+ VERSION = VERSION
90
+ BUILDER_CONFIG_CLASS = AmericasNLIConfig
91
+ BUILDER_CONFIGS = [
92
+ AmericasNLIConfig(
93
+ name=lang,
94
+ language=lang,
95
+ version=VERSION,
96
+ description=f"Plain text import of AmericasNLI for the {lang} language",
97
+ )
98
+ for lang in _LANGUAGES
99
+ ] + [
100
+ AmericasNLIConfig(
101
+ name="all_languages",
102
+ language="all_languages",
103
+ version=VERSION,
104
+ description="Plain text import of AmericasNLI for all languages",
105
+ )
106
+ ]
107
+
108
+ def _info(self):
109
+ if self.config.language == "all_languages":
110
+ features = datasets.Features(
111
+ {
112
+ "language": datasets.Value("string"),
113
+ "premise": datasets.Value("string"),
114
+ "hypothesis": datasets.Value("string"),
115
+ "label": datasets.ClassLabel(names=["entailment", "neutral", "contradiction"]),
116
+ }
117
+ )
118
+ else:
119
+ features = datasets.Features(
120
+ {
121
+ "premise": datasets.Value("string"),
122
+ "hypothesis": datasets.Value("string"),
123
+ "label": datasets.ClassLabel(names=["entailment", "neutral", "contradiction"]),
124
+ }
125
+ )
126
+ return datasets.DatasetInfo(
127
+ description=_DESCRIPTION,
128
+ features=features,
129
+ # No default supervised_keys (as we have to pass both premise
130
+ # and hypothesis as input).
131
+ supervised_keys=None,
132
+ homepage="https://github.com/nala-cub/AmericasNLI",
133
+ citation=_CITATION,
134
+ )
135
+
136
+ def _split_generators(self, dl_manager: DownloadManager):
137
+ dl_paths = dl_manager.download(
138
+ {
139
+ "dev_data": _DEV_DATA_URL,
140
+ "test_data": _TEST_DATA_URL,
141
+ }
142
+ )
143
+ return [
144
+ datasets.SplitGenerator(
145
+ name=datasets.Split.VALIDATION,
146
+ gen_kwargs={
147
+ "filepath": dl_paths["dev_data"],
148
+ },
149
+ ),
150
+ datasets.SplitGenerator(
151
+ name=datasets.Split.TEST,
152
+ gen_kwargs={
153
+ "filepath": dl_paths["test_data"],
154
+ },
155
+ ),
156
+ ]
157
+
158
+ def _generate_examples(self, filepath: str):
159
+ """This function returns the examples in the raw (text) form."""
160
+ idx = 0
161
+ with open(filepath, encoding="utf-8") as f:
162
+ reader = csv.DictReader(f, delimiter="\t", quoting=csv.QUOTE_NONE)
163
+ for row in reader:
164
+ if row["language"] == self.config.language:
165
+ yield idx, {
166
+ "premise": row["premise"],
167
+ "hypothesis": row["hypothesis"],
168
+ "label": row["label"],
169
+ }
170
+ idx += 1
171
+ elif self.config.language == "all_languages":
172
+ yield idx, {
173
+ "language": row["language"],
174
+ "premise": row["premise"],
175
+ "hypothesis": row["hypothesis"],
176
+ "label": row["label"],
177
+ }
178
+ idx += 1
dataset_infos.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"aym": {"description": "AmericasNLI is an extension of XNLI (Conneau et al., 2018) \u2013 a natural language inference (NLI) dataset covering 15 high-resource languages \u2013 to 10 low-resource indigenous languages spoken in the Americas: Ashaninka, Aymara, Bribri, Guarani, Nahuatl, Otomi, Quechua, Raramuri, Shipibo-Konibo, and Wixarika. As with MNLI, the goal is to predict textual entailment (does sentence A imply/contradict/neither sentence B) and is a classification task (given two sentences, predict one of three labels).\n", "citation": "\n@article{DBLP:journals/corr/abs-2104-08726,\n author = {Abteen Ebrahimi and\n Manuel Mager and\n Arturo Oncevay and\n Vishrav Chaudhary and\n Luis Chiruzzo and\n Angela Fan and\n John Ortega and\n Ricardo Ramos and\n Annette Rios and\n Ivan Vladimir and\n Gustavo A. Gim{'{e}}nez{-}Lugo and\n Elisabeth Mager and\n Graham Neubig and\n Alexis Palmer and\n Rolando A. Coto Solano and\n Ngoc Thang Vu and\n Katharina Kann},\n title = {AmericasNLI: Evaluating Zero-shot Natural Language Understanding of\n Pretrained Multilingual Models in Truly Low-resource Languages},\n journal = {CoRR},\n volume = {abs/2104.08726},\n year = {2021},\n url = {https://arxiv.org/abs/2104.08726},\n eprinttype = {arXiv},\n eprint = {2104.08726},\n timestamp = {Mon, 26 Apr 2021 17:25:10 +0200},\n biburl = {https://dblp.org/rec/journals/corr/abs-2104-08726.bib},\n bibsource = {dblp computer science bibliography, https://dblp.org}\n}\n", "homepage": "TODO", "license": "", "features": {"premise": {"dtype": "string", "id": null, "_type": "Value"}, "hypothesis": {"dtype": "string", "id": null, "_type": "Value"}, "label": {"num_classes": 3, "names": ["entailment", "neutral", "contradiction"], "names_file": null, "id": null, "_type": "ClassLabel"}}, "post_processed": null, "supervised_keys": null, "task_templates": null, "builder_name": "americas_nli", "config_name": "aym", "version": {"version_str": "1.0.0", "description": "", "major": 1, "minor": 0, "patch": 0}, "splits": {"validation": {"name": "validation", "num_bytes": 117538, "num_examples": 743, "dataset_name": "americas_nli"}, "test": {"name": "test", "num_bytes": 115259, "num_examples": 750, "dataset_name": "americas_nli"}}, "download_checksums": {"https://raw.githubusercontent.com/nala-cub/AmericasNLI/main/dev.tsv": {"num_bytes": 1090405, "checksum": "a2678f2820a2008547c5d993118979cc82a25d51a73570571566a1b74d8e8530"}, "https://raw.githubusercontent.com/nala-cub/AmericasNLI/main/test.tsv": {"num_bytes": 1165688, "checksum": "1e16c058de33ddaab4a037b1078a31ecab08afddfdc840140593b6da1439bcf8"}}, "download_size": 2256093, "post_processing_size": null, "dataset_size": 232797, "size_in_bytes": 2488890}, "bzd": {"description": "AmericasNLI is an extension of XNLI (Conneau et al., 2018) \u2013 a natural language inference (NLI) dataset covering 15 high-resource languages \u2013 to 10 low-resource indigenous languages spoken in the Americas: Ashaninka, Aymara, Bribri, Guarani, Nahuatl, Otomi, Quechua, Raramuri, Shipibo-Konibo, and Wixarika. As with MNLI, the goal is to predict textual entailment (does sentence A imply/contradict/neither sentence B) and is a classification task (given two sentences, predict one of three labels).\n", "citation": "\n@article{DBLP:journals/corr/abs-2104-08726,\n author = {Abteen Ebrahimi and\n Manuel Mager and\n Arturo Oncevay and\n Vishrav Chaudhary and\n Luis Chiruzzo and\n Angela Fan and\n John Ortega and\n Ricardo Ramos and\n Annette Rios and\n Ivan Vladimir and\n Gustavo A. Gim{'{e}}nez{-}Lugo and\n Elisabeth Mager and\n Graham Neubig and\n Alexis Palmer and\n Rolando A. Coto Solano and\n Ngoc Thang Vu and\n Katharina Kann},\n title = {AmericasNLI: Evaluating Zero-shot Natural Language Understanding of\n Pretrained Multilingual Models in Truly Low-resource Languages},\n journal = {CoRR},\n volume = {abs/2104.08726},\n year = {2021},\n url = {https://arxiv.org/abs/2104.08726},\n eprinttype = {arXiv},\n eprint = {2104.08726},\n timestamp = {Mon, 26 Apr 2021 17:25:10 +0200},\n biburl = {https://dblp.org/rec/journals/corr/abs-2104-08726.bib},\n bibsource = {dblp computer science bibliography, https://dblp.org}\n}\n", "homepage": "TODO", "license": "", "features": {"premise": {"dtype": "string", "id": null, "_type": "Value"}, "hypothesis": {"dtype": "string", "id": null, "_type": "Value"}, "label": {"num_classes": 3, "names": ["entailment", "neutral", "contradiction"], "names_file": null, "id": null, "_type": "ClassLabel"}}, "post_processed": null, "supervised_keys": null, "task_templates": null, "builder_name": "americas_nli", "config_name": "bzd", "version": {"version_str": "1.0.0", "description": "", "major": 1, "minor": 0, "patch": 0}, "splits": {"validation": {"name": "validation", "num_bytes": 143362, "num_examples": 743, "dataset_name": "americas_nli"}, "test": {"name": "test", "num_bytes": 127684, "num_examples": 750, "dataset_name": "americas_nli"}}, "download_checksums": {"https://raw.githubusercontent.com/nala-cub/AmericasNLI/main/dev.tsv": {"num_bytes": 1090405, "checksum": "a2678f2820a2008547c5d993118979cc82a25d51a73570571566a1b74d8e8530"}, "https://raw.githubusercontent.com/nala-cub/AmericasNLI/main/test.tsv": {"num_bytes": 1165688, "checksum": "1e16c058de33ddaab4a037b1078a31ecab08afddfdc840140593b6da1439bcf8"}}, "download_size": 2256093, "post_processing_size": null, "dataset_size": 271046, "size_in_bytes": 2527139}, "cni": {"description": "AmericasNLI is an extension of XNLI (Conneau et al., 2018) \u2013 a natural language inference (NLI) dataset covering 15 high-resource languages \u2013 to 10 low-resource indigenous languages spoken in the Americas: Ashaninka, Aymara, Bribri, Guarani, Nahuatl, Otomi, Quechua, Raramuri, Shipibo-Konibo, and Wixarika. As with MNLI, the goal is to predict textual entailment (does sentence A imply/contradict/neither sentence B) and is a classification task (given two sentences, predict one of three labels).\n", "citation": "\n@article{DBLP:journals/corr/abs-2104-08726,\n author = {Abteen Ebrahimi and\n Manuel Mager and\n Arturo Oncevay and\n Vishrav Chaudhary and\n Luis Chiruzzo and\n Angela Fan and\n John Ortega and\n Ricardo Ramos and\n Annette Rios and\n Ivan Vladimir and\n Gustavo A. Gim{'{e}}nez{-}Lugo and\n Elisabeth Mager and\n Graham Neubig and\n Alexis Palmer and\n Rolando A. Coto Solano and\n Ngoc Thang Vu and\n Katharina Kann},\n title = {AmericasNLI: Evaluating Zero-shot Natural Language Understanding of\n Pretrained Multilingual Models in Truly Low-resource Languages},\n journal = {CoRR},\n volume = {abs/2104.08726},\n year = {2021},\n url = {https://arxiv.org/abs/2104.08726},\n eprinttype = {arXiv},\n eprint = {2104.08726},\n timestamp = {Mon, 26 Apr 2021 17:25:10 +0200},\n biburl = {https://dblp.org/rec/journals/corr/abs-2104-08726.bib},\n bibsource = {dblp computer science bibliography, https://dblp.org}\n}\n", "homepage": "TODO", "license": "", "features": {"premise": {"dtype": "string", "id": null, "_type": "Value"}, "hypothesis": {"dtype": "string", "id": null, "_type": "Value"}, "label": {"num_classes": 3, "names": ["entailment", "neutral", "contradiction"], "names_file": null, "id": null, "_type": "ClassLabel"}}, "post_processed": null, "supervised_keys": null, "task_templates": null, "builder_name": "americas_nli", "config_name": "cni", "version": {"version_str": "1.0.0", "description": "", "major": 1, "minor": 0, "patch": 0}, "splits": {"validation": {"name": "validation", "num_bytes": 113264, "num_examples": 658, "dataset_name": "americas_nli"}, "test": {"name": "test", "num_bytes": 116292, "num_examples": 750, "dataset_name": "americas_nli"}}, "download_checksums": {"https://raw.githubusercontent.com/nala-cub/AmericasNLI/main/dev.tsv": {"num_bytes": 1090405, "checksum": "a2678f2820a2008547c5d993118979cc82a25d51a73570571566a1b74d8e8530"}, "https://raw.githubusercontent.com/nala-cub/AmericasNLI/main/test.tsv": {"num_bytes": 1165688, "checksum": "1e16c058de33ddaab4a037b1078a31ecab08afddfdc840140593b6da1439bcf8"}}, "download_size": 2256093, "post_processing_size": null, "dataset_size": 229556, "size_in_bytes": 2485649}, "gn": {"description": "AmericasNLI is an extension of XNLI (Conneau et al., 2018) \u2013 a natural language inference (NLI) dataset covering 15 high-resource languages \u2013 to 10 low-resource indigenous languages spoken in the Americas: Ashaninka, Aymara, Bribri, Guarani, Nahuatl, Otomi, Quechua, Raramuri, Shipibo-Konibo, and Wixarika. As with MNLI, the goal is to predict textual entailment (does sentence A imply/contradict/neither sentence B) and is a classification task (given two sentences, predict one of three labels).\n", "citation": "\n@article{DBLP:journals/corr/abs-2104-08726,\n author = {Abteen Ebrahimi and\n Manuel Mager and\n Arturo Oncevay and\n Vishrav Chaudhary and\n Luis Chiruzzo and\n Angela Fan and\n John Ortega and\n Ricardo Ramos and\n Annette Rios and\n Ivan Vladimir and\n Gustavo A. Gim{'{e}}nez{-}Lugo and\n Elisabeth Mager and\n Graham Neubig and\n Alexis Palmer and\n Rolando A. Coto Solano and\n Ngoc Thang Vu and\n Katharina Kann},\n title = {AmericasNLI: Evaluating Zero-shot Natural Language Understanding of\n Pretrained Multilingual Models in Truly Low-resource Languages},\n journal = {CoRR},\n volume = {abs/2104.08726},\n year = {2021},\n url = {https://arxiv.org/abs/2104.08726},\n eprinttype = {arXiv},\n eprint = {2104.08726},\n timestamp = {Mon, 26 Apr 2021 17:25:10 +0200},\n biburl = {https://dblp.org/rec/journals/corr/abs-2104-08726.bib},\n bibsource = {dblp computer science bibliography, https://dblp.org}\n}\n", "homepage": "TODO", "license": "", "features": {"premise": {"dtype": "string", "id": null, "_type": "Value"}, "hypothesis": {"dtype": "string", "id": null, "_type": "Value"}, "label": {"num_classes": 3, "names": ["entailment", "neutral", "contradiction"], "names_file": null, "id": null, "_type": "ClassLabel"}}, "post_processed": null, "supervised_keys": null, "task_templates": null, "builder_name": "americas_nli", "config_name": "gn", "version": {"version_str": "1.0.0", "description": "", "major": 1, "minor": 0, "patch": 0}, "splits": {"validation": {"name": "validation", "num_bytes": 115143, "num_examples": 743, "dataset_name": "americas_nli"}, "test": {"name": "test", "num_bytes": 101956, "num_examples": 750, "dataset_name": "americas_nli"}}, "download_checksums": {"https://raw.githubusercontent.com/nala-cub/AmericasNLI/main/dev.tsv": {"num_bytes": 1090405, "checksum": "a2678f2820a2008547c5d993118979cc82a25d51a73570571566a1b74d8e8530"}, "https://raw.githubusercontent.com/nala-cub/AmericasNLI/main/test.tsv": {"num_bytes": 1165688, "checksum": "1e16c058de33ddaab4a037b1078a31ecab08afddfdc840140593b6da1439bcf8"}}, "download_size": 2256093, "post_processing_size": null, "dataset_size": 217099, "size_in_bytes": 2473192}, "hch": {"description": "AmericasNLI is an extension of XNLI (Conneau et al., 2018) \u2013 a natural language inference (NLI) dataset covering 15 high-resource languages \u2013 to 10 low-resource indigenous languages spoken in the Americas: Ashaninka, Aymara, Bribri, Guarani, Nahuatl, Otomi, Quechua, Raramuri, Shipibo-Konibo, and Wixarika. As with MNLI, the goal is to predict textual entailment (does sentence A imply/contradict/neither sentence B) and is a classification task (given two sentences, predict one of three labels).\n", "citation": "\n@article{DBLP:journals/corr/abs-2104-08726,\n author = {Abteen Ebrahimi and\n Manuel Mager and\n Arturo Oncevay and\n Vishrav Chaudhary and\n Luis Chiruzzo and\n Angela Fan and\n John Ortega and\n Ricardo Ramos and\n Annette Rios and\n Ivan Vladimir and\n Gustavo A. Gim{'{e}}nez{-}Lugo and\n Elisabeth Mager and\n Graham Neubig and\n Alexis Palmer and\n Rolando A. Coto Solano and\n Ngoc Thang Vu and\n Katharina Kann},\n title = {AmericasNLI: Evaluating Zero-shot Natural Language Understanding of\n Pretrained Multilingual Models in Truly Low-resource Languages},\n journal = {CoRR},\n volume = {abs/2104.08726},\n year = {2021},\n url = {https://arxiv.org/abs/2104.08726},\n eprinttype = {arXiv},\n eprint = {2104.08726},\n timestamp = {Mon, 26 Apr 2021 17:25:10 +0200},\n biburl = {https://dblp.org/rec/journals/corr/abs-2104-08726.bib},\n bibsource = {dblp computer science bibliography, https://dblp.org}\n}\n", "homepage": "TODO", "license": "", "features": {"premise": {"dtype": "string", "id": null, "_type": "Value"}, "hypothesis": {"dtype": "string", "id": null, "_type": "Value"}, "label": {"num_classes": 3, "names": ["entailment", "neutral", "contradiction"], "names_file": null, "id": null, "_type": "ClassLabel"}}, "post_processed": null, "supervised_keys": null, "task_templates": null, "builder_name": "americas_nli", "config_name": "hch", "version": {"version_str": "1.0.0", "description": "", "major": 1, "minor": 0, "patch": 0}, "splits": {"validation": {"name": "validation", "num_bytes": 127974, "num_examples": 743, "dataset_name": "americas_nli"}, "test": {"name": "test", "num_bytes": 120865, "num_examples": 750, "dataset_name": "americas_nli"}}, "download_checksums": {"https://raw.githubusercontent.com/nala-cub/AmericasNLI/main/dev.tsv": {"num_bytes": 1090405, "checksum": "a2678f2820a2008547c5d993118979cc82a25d51a73570571566a1b74d8e8530"}, "https://raw.githubusercontent.com/nala-cub/AmericasNLI/main/test.tsv": {"num_bytes": 1165688, "checksum": "1e16c058de33ddaab4a037b1078a31ecab08afddfdc840140593b6da1439bcf8"}}, "download_size": 2256093, "post_processing_size": null, "dataset_size": 248839, "size_in_bytes": 2504932}, "nah": {"description": "AmericasNLI is an extension of XNLI (Conneau et al., 2018) \u2013 a natural language inference (NLI) dataset covering 15 high-resource languages \u2013 to 10 low-resource indigenous languages spoken in the Americas: Ashaninka, Aymara, Bribri, Guarani, Nahuatl, Otomi, Quechua, Raramuri, Shipibo-Konibo, and Wixarika. As with MNLI, the goal is to predict textual entailment (does sentence A imply/contradict/neither sentence B) and is a classification task (given two sentences, predict one of three labels).\n", "citation": "\n@article{DBLP:journals/corr/abs-2104-08726,\n author = {Abteen Ebrahimi and\n Manuel Mager and\n Arturo Oncevay and\n Vishrav Chaudhary and\n Luis Chiruzzo and\n Angela Fan and\n John Ortega and\n Ricardo Ramos and\n Annette Rios and\n Ivan Vladimir and\n Gustavo A. Gim{'{e}}nez{-}Lugo and\n Elisabeth Mager and\n Graham Neubig and\n Alexis Palmer and\n Rolando A. Coto Solano and\n Ngoc Thang Vu and\n Katharina Kann},\n title = {AmericasNLI: Evaluating Zero-shot Natural Language Understanding of\n Pretrained Multilingual Models in Truly Low-resource Languages},\n journal = {CoRR},\n volume = {abs/2104.08726},\n year = {2021},\n url = {https://arxiv.org/abs/2104.08726},\n eprinttype = {arXiv},\n eprint = {2104.08726},\n timestamp = {Mon, 26 Apr 2021 17:25:10 +0200},\n biburl = {https://dblp.org/rec/journals/corr/abs-2104-08726.bib},\n bibsource = {dblp computer science bibliography, https://dblp.org}\n}\n", "homepage": "TODO", "license": "", "features": {"premise": {"dtype": "string", "id": null, "_type": "Value"}, "hypothesis": {"dtype": "string", "id": null, "_type": "Value"}, "label": {"num_classes": 3, "names": ["entailment", "neutral", "contradiction"], "names_file": null, "id": null, "_type": "ClassLabel"}}, "post_processed": null, "supervised_keys": null, "task_templates": null, "builder_name": "americas_nli", "config_name": "nah", "version": {"version_str": "1.0.0", "description": "", "major": 1, "minor": 0, "patch": 0}, "splits": {"validation": {"name": "validation", "num_bytes": 50749, "num_examples": 376, "dataset_name": "americas_nli"}, "test": {"name": "test", "num_bytes": 102961, "num_examples": 738, "dataset_name": "americas_nli"}}, "download_checksums": {"https://raw.githubusercontent.com/nala-cub/AmericasNLI/main/dev.tsv": {"num_bytes": 1090405, "checksum": "a2678f2820a2008547c5d993118979cc82a25d51a73570571566a1b74d8e8530"}, "https://raw.githubusercontent.com/nala-cub/AmericasNLI/main/test.tsv": {"num_bytes": 1165688, "checksum": "1e16c058de33ddaab4a037b1078a31ecab08afddfdc840140593b6da1439bcf8"}}, "download_size": 2256093, "post_processing_size": null, "dataset_size": 153710, "size_in_bytes": 2409803}, "oto": {"description": "AmericasNLI is an extension of XNLI (Conneau et al., 2018) \u2013 a natural language inference (NLI) dataset covering 15 high-resource languages \u2013 to 10 low-resource indigenous languages spoken in the Americas: Ashaninka, Aymara, Bribri, Guarani, Nahuatl, Otomi, Quechua, Raramuri, Shipibo-Konibo, and Wixarika. As with MNLI, the goal is to predict textual entailment (does sentence A imply/contradict/neither sentence B) and is a classification task (given two sentences, predict one of three labels).\n", "citation": "\n@article{DBLP:journals/corr/abs-2104-08726,\n author = {Abteen Ebrahimi and\n Manuel Mager and\n Arturo Oncevay and\n Vishrav Chaudhary and\n Luis Chiruzzo and\n Angela Fan and\n John Ortega and\n Ricardo Ramos and\n Annette Rios and\n Ivan Vladimir and\n Gustavo A. Gim{'{e}}nez{-}Lugo and\n Elisabeth Mager and\n Graham Neubig and\n Alexis Palmer and\n Rolando A. Coto Solano and\n Ngoc Thang Vu and\n Katharina Kann},\n title = {AmericasNLI: Evaluating Zero-shot Natural Language Understanding of\n Pretrained Multilingual Models in Truly Low-resource Languages},\n journal = {CoRR},\n volume = {abs/2104.08726},\n year = {2021},\n url = {https://arxiv.org/abs/2104.08726},\n eprinttype = {arXiv},\n eprint = {2104.08726},\n timestamp = {Mon, 26 Apr 2021 17:25:10 +0200},\n biburl = {https://dblp.org/rec/journals/corr/abs-2104-08726.bib},\n bibsource = {dblp computer science bibliography, https://dblp.org}\n}\n", "homepage": "TODO", "license": "", "features": {"premise": {"dtype": "string", "id": null, "_type": "Value"}, "hypothesis": {"dtype": "string", "id": null, "_type": "Value"}, "label": {"num_classes": 3, "names": ["entailment", "neutral", "contradiction"], "names_file": null, "id": null, "_type": "ClassLabel"}}, "post_processed": null, "supervised_keys": null, "task_templates": null, "builder_name": "americas_nli", "config_name": "oto", "version": {"version_str": "1.0.0", "description": "", "major": 1, "minor": 0, "patch": 0}, "splits": {"validation": {"name": "validation", "num_bytes": 27018, "num_examples": 222, "dataset_name": "americas_nli"}, "test": {"name": "test", "num_bytes": 119658, "num_examples": 748, "dataset_name": "americas_nli"}}, "download_checksums": {"https://raw.githubusercontent.com/nala-cub/AmericasNLI/main/dev.tsv": {"num_bytes": 1090405, "checksum": "a2678f2820a2008547c5d993118979cc82a25d51a73570571566a1b74d8e8530"}, "https://raw.githubusercontent.com/nala-cub/AmericasNLI/main/test.tsv": {"num_bytes": 1165688, "checksum": "1e16c058de33ddaab4a037b1078a31ecab08afddfdc840140593b6da1439bcf8"}}, "download_size": 2256093, "post_processing_size": null, "dataset_size": 146676, "size_in_bytes": 2402769}, "quy": {"description": "AmericasNLI is an extension of XNLI (Conneau et al., 2018) \u2013 a natural language inference (NLI) dataset covering 15 high-resource languages \u2013 to 10 low-resource indigenous languages spoken in the Americas: Ashaninka, Aymara, Bribri, Guarani, Nahuatl, Otomi, Quechua, Raramuri, Shipibo-Konibo, and Wixarika. As with MNLI, the goal is to predict textual entailment (does sentence A imply/contradict/neither sentence B) and is a classification task (given two sentences, predict one of three labels).\n", "citation": "\n@article{DBLP:journals/corr/abs-2104-08726,\n author = {Abteen Ebrahimi and\n Manuel Mager and\n Arturo Oncevay and\n Vishrav Chaudhary and\n Luis Chiruzzo and\n Angela Fan and\n John Ortega and\n Ricardo Ramos and\n Annette Rios and\n Ivan Vladimir and\n Gustavo A. Gim{'{e}}nez{-}Lugo and\n Elisabeth Mager and\n Graham Neubig and\n Alexis Palmer and\n Rolando A. Coto Solano and\n Ngoc Thang Vu and\n Katharina Kann},\n title = {AmericasNLI: Evaluating Zero-shot Natural Language Understanding of\n Pretrained Multilingual Models in Truly Low-resource Languages},\n journal = {CoRR},\n volume = {abs/2104.08726},\n year = {2021},\n url = {https://arxiv.org/abs/2104.08726},\n eprinttype = {arXiv},\n eprint = {2104.08726},\n timestamp = {Mon, 26 Apr 2021 17:25:10 +0200},\n biburl = {https://dblp.org/rec/journals/corr/abs-2104-08726.bib},\n bibsource = {dblp computer science bibliography, https://dblp.org}\n}\n", "homepage": "TODO", "license": "", "features": {"premise": {"dtype": "string", "id": null, "_type": "Value"}, "hypothesis": {"dtype": "string", "id": null, "_type": "Value"}, "label": {"num_classes": 3, "names": ["entailment", "neutral", "contradiction"], "names_file": null, "id": null, "_type": "ClassLabel"}}, "post_processed": null, "supervised_keys": null, "task_templates": null, "builder_name": "americas_nli", "config_name": "quy", "version": {"version_str": "1.0.0", "description": "", "major": 1, "minor": 0, "patch": 0}, "splits": {"validation": {"name": "validation", "num_bytes": 125644, "num_examples": 743, "dataset_name": "americas_nli"}, "test": {"name": "test", "num_bytes": 112758, "num_examples": 750, "dataset_name": "americas_nli"}}, "download_checksums": {"https://raw.githubusercontent.com/nala-cub/AmericasNLI/main/dev.tsv": {"num_bytes": 1090405, "checksum": "a2678f2820a2008547c5d993118979cc82a25d51a73570571566a1b74d8e8530"}, "https://raw.githubusercontent.com/nala-cub/AmericasNLI/main/test.tsv": {"num_bytes": 1165688, "checksum": "1e16c058de33ddaab4a037b1078a31ecab08afddfdc840140593b6da1439bcf8"}}, "download_size": 2256093, "post_processing_size": null, "dataset_size": 238402, "size_in_bytes": 2494495}, "shp": {"description": "AmericasNLI is an extension of XNLI (Conneau et al., 2018) \u2013 a natural language inference (NLI) dataset covering 15 high-resource languages \u2013 to 10 low-resource indigenous languages spoken in the Americas: Ashaninka, Aymara, Bribri, Guarani, Nahuatl, Otomi, Quechua, Raramuri, Shipibo-Konibo, and Wixarika. As with MNLI, the goal is to predict textual entailment (does sentence A imply/contradict/neither sentence B) and is a classification task (given two sentences, predict one of three labels).\n", "citation": "\n@article{DBLP:journals/corr/abs-2104-08726,\n author = {Abteen Ebrahimi and\n Manuel Mager and\n Arturo Oncevay and\n Vishrav Chaudhary and\n Luis Chiruzzo and\n Angela Fan and\n John Ortega and\n Ricardo Ramos and\n Annette Rios and\n Ivan Vladimir and\n Gustavo A. Gim{'{e}}nez{-}Lugo and\n Elisabeth Mager and\n Graham Neubig and\n Alexis Palmer and\n Rolando A. Coto Solano and\n Ngoc Thang Vu and\n Katharina Kann},\n title = {AmericasNLI: Evaluating Zero-shot Natural Language Understanding of\n Pretrained Multilingual Models in Truly Low-resource Languages},\n journal = {CoRR},\n volume = {abs/2104.08726},\n year = {2021},\n url = {https://arxiv.org/abs/2104.08726},\n eprinttype = {arXiv},\n eprint = {2104.08726},\n timestamp = {Mon, 26 Apr 2021 17:25:10 +0200},\n biburl = {https://dblp.org/rec/journals/corr/abs-2104-08726.bib},\n bibsource = {dblp computer science bibliography, https://dblp.org}\n}\n", "homepage": "TODO", "license": "", "features": {"premise": {"dtype": "string", "id": null, "_type": "Value"}, "hypothesis": {"dtype": "string", "id": null, "_type": "Value"}, "label": {"num_classes": 3, "names": ["entailment", "neutral", "contradiction"], "names_file": null, "id": null, "_type": "ClassLabel"}}, "post_processed": null, "supervised_keys": null, "task_templates": null, "builder_name": "americas_nli", "config_name": "shp", "version": {"version_str": "1.0.0", "description": "", "major": 1, "minor": 0, "patch": 0}, "splits": {"validation": {"name": "validation", "num_bytes": 124508, "num_examples": 743, "dataset_name": "americas_nli"}, "test": {"name": "test", "num_bytes": 118942, "num_examples": 750, "dataset_name": "americas_nli"}}, "download_checksums": {"https://raw.githubusercontent.com/nala-cub/AmericasNLI/main/dev.tsv": {"num_bytes": 1090405, "checksum": "a2678f2820a2008547c5d993118979cc82a25d51a73570571566a1b74d8e8530"}, "https://raw.githubusercontent.com/nala-cub/AmericasNLI/main/test.tsv": {"num_bytes": 1165688, "checksum": "1e16c058de33ddaab4a037b1078a31ecab08afddfdc840140593b6da1439bcf8"}}, "download_size": 2256093, "post_processing_size": null, "dataset_size": 243450, "size_in_bytes": 2499543}, "tar": {"description": "AmericasNLI is an extension of XNLI (Conneau et al., 2018) \u2013 a natural language inference (NLI) dataset covering 15 high-resource languages \u2013 to 10 low-resource indigenous languages spoken in the Americas: Ashaninka, Aymara, Bribri, Guarani, Nahuatl, Otomi, Quechua, Raramuri, Shipibo-Konibo, and Wixarika. As with MNLI, the goal is to predict textual entailment (does sentence A imply/contradict/neither sentence B) and is a classification task (given two sentences, predict one of three labels).\n", "citation": "\n@article{DBLP:journals/corr/abs-2104-08726,\n author = {Abteen Ebrahimi and\n Manuel Mager and\n Arturo Oncevay and\n Vishrav Chaudhary and\n Luis Chiruzzo and\n Angela Fan and\n John Ortega and\n Ricardo Ramos and\n Annette Rios and\n Ivan Vladimir and\n Gustavo A. Gim{'{e}}nez{-}Lugo and\n Elisabeth Mager and\n Graham Neubig and\n Alexis Palmer and\n Rolando A. Coto Solano and\n Ngoc Thang Vu and\n Katharina Kann},\n title = {AmericasNLI: Evaluating Zero-shot Natural Language Understanding of\n Pretrained Multilingual Models in Truly Low-resource Languages},\n journal = {CoRR},\n volume = {abs/2104.08726},\n year = {2021},\n url = {https://arxiv.org/abs/2104.08726},\n eprinttype = {arXiv},\n eprint = {2104.08726},\n timestamp = {Mon, 26 Apr 2021 17:25:10 +0200},\n biburl = {https://dblp.org/rec/journals/corr/abs-2104-08726.bib},\n bibsource = {dblp computer science bibliography, https://dblp.org}\n}\n", "homepage": "TODO", "license": "", "features": {"premise": {"dtype": "string", "id": null, "_type": "Value"}, "hypothesis": {"dtype": "string", "id": null, "_type": "Value"}, "label": {"num_classes": 3, "names": ["entailment", "neutral", "contradiction"], "names_file": null, "id": null, "_type": "ClassLabel"}}, "post_processed": null, "supervised_keys": null, "task_templates": null, "builder_name": "americas_nli", "config_name": "tar", "version": {"version_str": "1.0.0", "description": "", "major": 1, "minor": 0, "patch": 0}, "splits": {"validation": {"name": "validation", "num_bytes": 139504, "num_examples": 743, "dataset_name": "americas_nli"}, "test": {"name": "test", "num_bytes": 122632, "num_examples": 750, "dataset_name": "americas_nli"}}, "download_checksums": {"https://raw.githubusercontent.com/nala-cub/AmericasNLI/main/dev.tsv": {"num_bytes": 1090405, "checksum": "a2678f2820a2008547c5d993118979cc82a25d51a73570571566a1b74d8e8530"}, "https://raw.githubusercontent.com/nala-cub/AmericasNLI/main/test.tsv": {"num_bytes": 1165688, "checksum": "1e16c058de33ddaab4a037b1078a31ecab08afddfdc840140593b6da1439bcf8"}}, "download_size": 2256093, "post_processing_size": null, "dataset_size": 262136, "size_in_bytes": 2518229}, "all_languages": {"description": "AmericasNLI is an extension of XNLI (Conneau et al., 2018) \u2013 a natural language inference (NLI) dataset covering 15 high-resource languages \u2013 to 10 low-resource indigenous languages spoken in the Americas: Ashaninka, Aymara, Bribri, Guarani, Nahuatl, Otomi, Quechua, Raramuri, Shipibo-Konibo, and Wixarika. As with MNLI, the goal is to predict textual entailment (does sentence A imply/contradict/neither sentence B) and is a classification task (given two sentences, predict one of three labels).\n", "citation": "\n@article{DBLP:journals/corr/abs-2104-08726,\n author = {Abteen Ebrahimi and\n Manuel Mager and\n Arturo Oncevay and\n Vishrav Chaudhary and\n Luis Chiruzzo and\n Angela Fan and\n John Ortega and\n Ricardo Ramos and\n Annette Rios and\n Ivan Vladimir and\n Gustavo A. Gim{'{e}}nez{-}Lugo and\n Elisabeth Mager and\n Graham Neubig and\n Alexis Palmer and\n Rolando A. Coto Solano and\n Ngoc Thang Vu and\n Katharina Kann},\n title = {AmericasNLI: Evaluating Zero-shot Natural Language Understanding of\n Pretrained Multilingual Models in Truly Low-resource Languages},\n journal = {CoRR},\n volume = {abs/2104.08726},\n year = {2021},\n url = {https://arxiv.org/abs/2104.08726},\n eprinttype = {arXiv},\n eprint = {2104.08726},\n timestamp = {Mon, 26 Apr 2021 17:25:10 +0200},\n biburl = {https://dblp.org/rec/journals/corr/abs-2104-08726.bib},\n bibsource = {dblp computer science bibliography, https://dblp.org}\n}\n", "homepage": "TODO", "license": "", "features": {"language": {"dtype": "string", "id": null, "_type": "Value"}, "premise": {"dtype": "string", "id": null, "_type": "Value"}, "hypothesis": {"dtype": "string", "id": null, "_type": "Value"}, "label": {"num_classes": 3, "names": ["entailment", "neutral", "contradiction"], "names_file": null, "id": null, "_type": "ClassLabel"}}, "post_processed": null, "supervised_keys": null, "task_templates": null, "builder_name": "americas_nli", "config_name": "all_languages", "version": {"version_str": "1.0.0", "description": "", "major": 1, "minor": 0, "patch": 0}, "splits": {"validation": {"name": "validation", "num_bytes": 1129092, "num_examples": 6457, "dataset_name": "americas_nli"}, "test": {"name": "test", "num_bytes": 1210591, "num_examples": 7486, "dataset_name": "americas_nli"}}, "download_checksums": {"https://raw.githubusercontent.com/nala-cub/AmericasNLI/main/dev.tsv": {"num_bytes": 1090405, "checksum": "a2678f2820a2008547c5d993118979cc82a25d51a73570571566a1b74d8e8530"}, "https://raw.githubusercontent.com/nala-cub/AmericasNLI/main/test.tsv": {"num_bytes": 1165688, "checksum": "1e16c058de33ddaab4a037b1078a31ecab08afddfdc840140593b6da1439bcf8"}}, "download_size": 2256093, "post_processing_size": null, "dataset_size": 2339683, "size_in_bytes": 4595776}}
dummy/all_languages/1.0.0/dummy_data.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:89cf19b1872bdcdcd3d1f135830a810e14e3a78d7343f321cfb4bfbb73f8236a
3
+ size 934
dummy/aym/1.0.0/dummy_data.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dce034947b7c61eca33bb9bf0cdcf8eaf50459f7d955db4364927972d16483ec
3
+ size 934
dummy/bzd/1.0.0/dummy_data.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:93bd2f55d85c5c231d7367fe6a2069a64f6cc78f87dad4f72a43540b3f7e2a09
3
+ size 1000
dummy/cni/1.0.0/dummy_data.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b4f6fd74d817f2b43c85f5ce06887bc92d1e2f0199e3443e90ecac9026dec0e4
3
+ size 887
dummy/gn/1.0.0/dummy_data.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5e5f805e2054bffb86fb60492c1b428b6a610c9450179d6dabaaf87b41654ddc
3
+ size 930
dummy/hch/1.0.0/dummy_data.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:da9eb203d0e002647cf692594b920796434dfc2703552e377ea8f20cbd72d2de
3
+ size 795
dummy/nah/1.0.0/dummy_data.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f48caa1102ca952b877954d3597394ab100b13edc425e43f3ad724c3eec244ed
3
+ size 825
dummy/oto/1.0.0/dummy_data.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b8582492fdd07bcbd088b3979aa5b35c011f18e2fa243ad1ca21e8b317e481c1
3
+ size 958
dummy/quy/1.0.0/dummy_data.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f852ce0734e803a39a576898a45769577c571ce2b7c4c5b7b93bd53e957747f9
3
+ size 917
dummy/shp/1.0.0/dummy_data.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9ce22ced3464fd18149397d25fa94416a7fe92ebb09b656da4e3caf1ec5e84c3
3
+ size 853
dummy/tar/1.0.0/dummy_data.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:060a051563726fbab44bebbb1f362a59cc82dd6a52e74edafc880373791e079c
3
+ size 924