Datasets:

Modalities:
Text
Formats:
parquet
Languages:
Catalan
ArXiv:
Libraries:
Datasets
pandas
License:
File size: 6,436 Bytes
89f1038
 
a5095a9
89f1038
 
25e553d
66dd910
89f1038
 
 
 
 
 
5087b24
89f1038
 
7f46081
 
 
 
 
 
 
 
 
 
 
 
 
339a46b
 
 
 
 
7f46081
 
 
 
 
339a46b
 
89f1038
 
aad217a
eedfc32
 
1e17bf1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
89f1038
 
 
 
eedfc32
 
89f1038
 
 
 
5c54ec9
89f1038
4ec8983
89f1038
8d584b5
eca7632
89f1038
 
 
 
 
 
023d547
89f1038
 
 
 
 
4505ab9
89f1038
 
 
 
 
f615021
c6bdb5b
 
 
 
 
 
 
 
 
 
 
 
 
 
f615021
89f1038
 
 
 
 
 
 
 
 
 
 
 
 
4505ab9
 
89f1038
 
 
 
4505ab9
89f1038
 
 
 
4505ab9
89f1038
 
 
4505ab9
89f1038
 
 
 
eca7632
 
 
89f1038
 
 
 
 
eca7632
4505ab9
89f1038
 
eca7632
89f1038
 
 
 
c1b8df2
89f1038
5e460a7
89f1038
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4505ab9
89f1038
d0b426b
89f1038
 
 
8d584b5
 
89f1038
 
 
 
d0b426b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
89f1038
d0b426b
eedfc32
1e17bf1
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
---
annotations_creators:
- professional translators
language:
- ca
license:
- cc-by-nc-4.0
multilinguality:
- monolingual
size_categories:
- unknown
source_datasets: []
task_categories:
- text-classification
task_ids:
- natural-language-inference
pretty_name: xnli-ca
dataset_info:
  features:
  - name: label
    dtype: string
  - name: premise
    dtype: string
  - name: hypothesis
    dtype: string
  splits:
  - name: validation
    num_bytes: 488457
    num_examples: 2490
  - name: test
    num_bytes: 981364
    num_examples: 5010
  download_size: 504487
  dataset_size: 1469821
configs:
- config_name: default
  data_files:
  - split: validation
    path: data/validation-*
  - split: test
    path: data/test-*
---

# Dataset Card for XNLI-ca

## Table of Contents
- [Table of Contents](#table-of-contents)
- [Dataset Description](#dataset-description)
  - [Dataset Summary](#dataset-summary)
  - [Supported Tasks and Leaderboards](#supported-tasks-and-leaderboards)
  - [Languages](#languages)
- [Dataset Structure](#dataset-structure)
  - [Data Instances](#data-instances)
  - [Example](#example)
  - [Data Fields](#data-fields)
  - [Data Splits](#data-splits)
- [Dataset Creation](#dataset-creation)
  - [Curation Rationale](#curation-rationale)
  - [Source Data](#source-data)
  - [Annotations](#annotations)
  - [Personal and Sensitive Information](#personal-and-sensitive-information)
- [Considerations for Using the Data](#considerations-for-using-the-data)
  - [Social Impact of Dataset](#social-impact-of-dataset)
  - [Discussion of Biases](#discussion-of-biases)
  - [Other Known Limitations](#other-known-limitations)
- [Additional Information](#additional-information)
  - [Dataset Curators](#dataset-curators)
  - [Licensing Information](#licensing-information)
  - [Citation Information](#citation-information)
  - [Contributions](#contributions)


## Dataset Description

- **Website:** https://zenodo.org/record/7973976
- **Point of Contact:** [email protected]


### Dataset Summary

Professional translation into Catalan of the Cross-lingual Natural Language Inference [XNLI dataset](https://github.com/facebookresearch/XNLI), an evaluation corpus for language transfer and cross-lingual sentence classification.

XNLI-ca is a collection of 7,500 sentence pairs annotated with textual entailment. 

XNLI is restricted to only non-commercial research purposes under the [Creative Commons Attribution Non-commercial 4.0 International Public License](https://creativecommons.org/licenses/by-nc/4.0/).

### Supported Tasks and Leaderboards

Textual entailment, Text classification, Language Model

### Languages

The dataset is in Catalan (`ca-ES`).

## Dataset Structure

### Data Instances

Two JSON files, one for each split.

### Example:

<pre>
    
   {
    "label": "contradiction",
    "premise": "Bé, ni tan sols estava pensant en això, però estava molt frustrat i vaig acabar tornant a parlar amb ell.",
    "hypothesis": "No he tornat a parlar amb ell."
  },
  {
    "label": "entailment",
    "premise": "Bé, ni tan sols estava pensant en això, però estava molt frustrat i vaig acabar tornant a parlar amb ell.",
    "hypothesis": "Estava tan molest que vaig començar a parlar amb ell de nou."
  },
  {
    "label": "neutral",
    "premise": "Bé, ni tan sols estava pensant en això, però estava molt frustrat i vaig acabar tornant a parlar amb ell.",
    "hypothesis": "Vam tenir una gran xerrada."
  }
  
</pre>

### Data Fields

- premise: text
- hypothesis: text related to the premise
- label: relation between premise and hypothesis:
    * 0: entailment
    * 1: neutral
    * 2: contradiction
    
### Data Splits

* dev.json: 2490 examples
* test.json: 5010 examples

## Dataset Creation

### Curation Rationale

We created this dataset to contribute to the development of language models in Catalan, a low-resource language.

### Source Data

[XNLI](https://github.com/facebookresearch/XNLI).

#### Initial Data Collection and Normalization

This dataset is a professional translation of XNLI into Catalan, commissioned by BSC LangTech Unit within Projecte AINA.


#### Who are the source language producers?

For more information on how XNLI was created, refer to the paper [XNLI: Evaluating Cross-lingual Sentence Representations](https://arxiv.org/abs/1809.05053), or 
visit the [XNLI's webpage](https://github.com/facebookresearch/XNLI).


### Annotations

#### Annotation process

[N/A]

#### Who are the annotators?

This is a professional translation of the XNLI corpus and its annotations.

### Personal and Sensitive Information

No personal or sensitive information included.
  
## Considerations for Using the Data

### Social Impact of Dataset

We hope this dataset contributes to the development of language models in Catalan, a low-resource language.

### Discussion of Biases

[N/A]

### Other Known Limitations

[N/A]

## Additional Information

### Dataset Curators

Language Technologies Unit at the Barcelona Supercomputing Center ([email protected])

This work has been promoted and financed by the Generalitat de Catalunya through the [Aina project](https://projecteaina.cat/).

### Licensing Information

XNLI is restricted to only non-commercial research purposes under the [Creative Commons Attribution Non-commercial 4.0 International Public License](https://creativecommons.org/licenses/by-nc/4.0/).


### Citation Information

```
@inproceedings{gonzalez-agirre-etal-2024-building-data,
    title = "Building a Data Infrastructure for a Mid-Resource Language: The Case of {C}atalan",
    author = "Gonzalez-Agirre, Aitor  and
      Marimon, Montserrat  and
      Rodriguez-Penagos, Carlos  and
      Aula-Blasco, Javier  and
      Baucells, Irene  and
      Armentano-Oller, Carme  and
      Palomar-Giner, Jorge  and
      Kulebi, Baybars  and
      Villegas, Marta",
    editor = "Calzolari, Nicoletta  and
      Kan, Min-Yen  and
      Hoste, Veronique  and
      Lenci, Alessandro  and
      Sakti, Sakriani  and
      Xue, Nianwen",
    booktitle = "Proceedings of the 2024 Joint International Conference on Computational Linguistics, Language Resources and Evaluation (LREC-COLING 2024)",
    month = may,
    year = "2024",
    address = "Torino, Italia",
    publisher = "ELRA and ICCL",
    url = "https://aclanthology.org/2024.lrec-main.231",
    pages = "2556--2566",
}
```

[DOI](https://doi.org/10.5281/zenodo.7973976)

### Contributions

[N/A]