Datasets:

Modalities:
Text
Formats:
parquet
Languages:
Catalan
ArXiv:
Libraries:
Datasets
pandas
License:
File size: 4,395 Bytes
89f1038
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
aad217a
89f1038
 
 
 
aad217a
89f1038
aad217a
89f1038
aad217a
89f1038
 
 
 
f615021
89f1038
f615021
89f1038
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
f615021
c6bdb5b
 
 
 
 
 
 
 
 
 
 
 
 
 
f615021
89f1038
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
c1b8df2
89f1038
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
c1b8df2
89f1038
 
 
 
 
 
c1b8df2
89f1038
 
 
 
 
 
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
---
YAML tags:

annotations_creators:
- expert-generated
language_creators:
- found
language:
- ca
multilinguality:
- monolingual
pretty_name: teca
size_categories:
- unknown
source_datasets: []
task_categories:
- text-classification
task_ids:
- natural-language-inference

---

# Dataset Card for XNLI-ca


## Dataset Description

- **Website:** 

- **Paper:** 

- **Point of Contact:** 


### Dataset Summary

XNLI-ca is a dataset of textual entailment in Catalan, which contains 21,163 pairs of premises and hypotheses, annotated according to the inference relation they have (implication, contradiction or neutral).

This dataset was developed by the Language Technologies Unit at BSC as part of [Projecte AINA](https://politiquesdigitals.gencat.cat/ca/economia/catalonia-ai/aina/), to enrich the [Catalan Language Understanding Benchmark (CLUB)](https://club.aina.bsc.es/). 

### Supported Tasks and Leaderboards

Textual entailment, Text classification, Language Model

### Languages

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

## Dataset Structure

### Data Instances

Three 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: 2116 examples
* test.json: 2117 examples
* train.json: 16930 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

Source sentences are extracted from the [Catalan Textual Corpus](https://doi.org/10.5281/zenodo.4519349) and from [VilaWeb](https://www.vilaweb.cat) newswire.

#### Initial Data Collection and Normalization

12000 sentences from the BSC [Catalan Textual Corpus](https://doi.org/10.5281/zenodo.4519349), together with 6200 headers from the Catalan news site [VilaWeb](https://www.vilaweb.cat), were chosen randomly. We filtered them by different criteria, such as length and stand-alone intelligibility. For each selected text, we commissioned 3 hypotheses (one for each entailment category) to be written by a team of native annotators. 

Some sentence pairs were excluded because of inconsistencies. 

#### Who are the source language producers?

The Catalan Textual Corpus corpus consists of several corpora gathered from web crawling and public corpora. More information can be found [here](https://doi.org/10.5281/zenodo.4519349).

[VilaWeb](https://www.vilaweb.cat) is a Catalan newswire.

### Annotations

#### Annotation process

We commissioned 3 hypotheses (one for each entailment category) to be written by a team of annotators. 

#### Who are the annotators?

Annotators are a team of native language collaborators from two independent companies.

### 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

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

This work was funded by the [Departament de la Vicepresidència i de Polítiques Digitals i Territori de la Generalitat de Catalunya](https://politiquesdigitals.gencat.cat/ca/inici/index.html#googtrans(ca|en) within the framework of [Projecte AINA](https://politiquesdigitals.gencat.cat/ca/economia/catalonia-ai/aina).


### Licensing Information



### Citation Information

```

```