Datasets:
carmentano
commited on
Commit
•
91b8cab
1
Parent(s):
4af19fd
Update README.md
Browse files
README.md
CHANGED
@@ -1,81 +1,54 @@
|
|
1 |
---
|
|
|
|
|
|
|
|
|
2 |
languages:
|
3 |
-
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4 |
---
|
5 |
-
# Semantic Textual Similarity in Catalan
|
6 |
-
|
7 |
-
## BibTeX citation
|
8 |
-
|
9 |
-
If you use any of these resources (datasets or models) in your work, please cite our latest paper:
|
10 |
|
11 |
-
|
12 |
-
@inproceedings{armengol-estape-etal-2021-multilingual,
|
13 |
-
title = "Are Multilingual Models the Best Choice for Moderately Under-resourced Languages? {A} Comprehensive Assessment for {C}atalan",
|
14 |
-
author = "Armengol-Estap{\'e}, Jordi and
|
15 |
-
Carrino, Casimiro Pio and
|
16 |
-
Rodriguez-Penagos, Carlos and
|
17 |
-
de Gibert Bonet, Ona and
|
18 |
-
Armentano-Oller, Carme and
|
19 |
-
Gonzalez-Agirre, Aitor and
|
20 |
-
Melero, Maite and
|
21 |
-
Villegas, Marta",
|
22 |
-
booktitle = "Findings of the Association for Computational Linguistics: ACL-IJCNLP 2021",
|
23 |
-
month = aug,
|
24 |
-
year = "2021",
|
25 |
-
address = "Online",
|
26 |
-
publisher = "Association for Computational Linguistics",
|
27 |
-
url = "https://aclanthology.org/2021.findings-acl.437",
|
28 |
-
doi = "10.18653/v1/2021.findings-acl.437",
|
29 |
-
pages = "4933--4946",
|
30 |
-
}
|
31 |
-
```
|
32 |
-
|
33 |
-
|
34 |
-
## Digital Object Identifier (DOI) and access to dataset files
|
35 |
-
|
36 |
-
https://doi.org/10.5281/zenodo.4529184
|
37 |
|
|
|
|
|
38 |
|
39 |
-
|
40 |
|
41 |
-
STS corpus is a benchmark for evaluating Semantic Text Similarity in Catalan.
|
42 |
-
It consists of more than 3000 sentence pairs, annotated with the semantic similarity between them, using a scale from 0 (no similarity at all) to 5 (semantic equivalence). It is done manually by 4 different annotators following our guidelines based on previous work from the SemEval challenges (https://www.aclweb.org/anthology/S13-1004.pdf).
|
43 |
|
44 |
-
The source data are scraped sentences from the Catalan Textual Corpus (https://doi.org/10.5281/zenodo.4519349), used under CC-by-SA-4.0 licence (https://creativecommons.org/licenses/by-sa/4.0/). The dataset is released under the same licence.
|
45 |
|
46 |
-
|
47 |
|
48 |
-
|
49 |
|
50 |
-
This dataset can be used to build and score semantic similarity models.
|
51 |
|
52 |
### Supported Tasks and Leaderboards
|
53 |
|
54 |
-
|
55 |
|
56 |
### Languages
|
57 |
|
58 |
CA - Catalan
|
59 |
|
60 |
-
### Directory structure
|
61 |
-
|
62 |
-
* dev.tsv
|
63 |
-
* sts-ca.py
|
64 |
-
* test.tsv
|
65 |
-
* train.tsv
|
66 |
-
* README
|
67 |
-
|
68 |
## Dataset Structure
|
69 |
|
70 |
### Data Instances
|
71 |
|
72 |
Follows SemEval challenges (https://www.aclweb.org/anthology/S13-1004.pdf).
|
73 |
|
74 |
-
|
75 |
-
|
76 |
-
SemEval challenges formats and conventions (https://www.aclweb.org/anthology/S13-1004.pdf).
|
77 |
|
78 |
-
### Example:
|
79 |
| index | id | sentence 1 | sentence 2 | avg |
|
80 |
| ------- | ---- | ------------ | ------------ | ----- |
|
81 |
| 19 | ACN2_131 | Els manifestants ocupen l'Imperial Tarraco durant una hora fent jocs de taula | Els manifestants ocupen l'Imperial Tarraco i fan jocs de taula | 4 |
|
@@ -85,17 +58,25 @@ SemEval challenges formats and conventions (https://www.aclweb.org/anthology/S13
|
|
85 |
| 27 | ACN2_1072 | Mentre han estat davant la comandància, els manifestants han cridat consignes a favor de la independència i han cantat cançons com 'L'estaca'. | Entre les consignes que han cridat s'ha pogut escoltar càntics com 'els carrers seran sempre nostres' i contínues consignes en favor de la independència. | 3 |
|
86 |
| 28 | Viqui2_587 | Els cinc municipis ocupen una superfície de poc més de 100 km2 i conjuntament sumen una població total aproximada de 3.691 habitants (any 2019). | Té una població d'1.811.177 habitants (2005) repartits en 104 municipis d'una superfície total de 14.001 km2. | 2.67 |
|
87 |
|
|
|
|
|
|
|
|
|
|
|
88 |
### Data Splits
|
89 |
-
* sts_cat_dev_v1.tsv (493 annotated pairs)
|
90 |
-
* sts_cat_train_v1.tsv (492 annotated pairs)
|
91 |
-
* sts_cat_test_v1.tsv (2043 annotated pairs)
|
92 |
|
|
|
|
|
|
|
|
|
|
|
93 |
|
94 |
## Dataset Creation
|
95 |
|
96 |
### Methodology
|
97 |
|
98 |
Random sentences were extracted from 3 Catalan corpus: ACN, Oscar and Wikipedia, and we generated candidate pairs using a combination of metrics from Doc2Vec, Jaccard and a BERT-like model (“distiluse-base-multilingual-cased-v2”, [link](https://huggingface.co/distilbert-base-multilingual-cased)). Finally, we manually reviewed the generated pairs to reject non-relevant pairs (identical or ungrammatical sentences, etc.) before providing them to the annotation team.
|
|
|
99 |
The average of the four annotations was selected as a “ground truth” for each sentence pair, except when an annotator diverged in more than one unit from the average. In these cases, we discarded the divergent annotation and recalculated the average without it. We also discarded 45 sentence pairs because the annotators disagreed too much.
|
100 |
|
101 |
### Curation Rationale
|
@@ -106,7 +87,7 @@ For compatibility with similar datasets in other languages, we followed as close
|
|
106 |
|
107 |
#### Initial Data Collection and Normalization
|
108 |
|
109 |
-
The source data are scraped sentences from the Catalan Textual Corpus.
|
110 |
|
111 |
#### Who are the source language producers?
|
112 |
|
@@ -122,10 +103,6 @@ We comissioned the manual annotation of the similiarity between the sentences of
|
|
122 |
|
123 |
A team of native language speakers from 2 different companies, working independently.
|
124 |
|
125 |
-
### Dataset Curators
|
126 |
-
|
127 |
-
Carlos Rodríguez and Carme Armentano, from BSC-CNS
|
128 |
-
|
129 |
### Personal and Sensitive Information
|
130 |
|
131 |
No personal or sensitive information included.
|
@@ -144,12 +121,60 @@ No personal or sensitive information included.
|
|
144 |
|
145 |
[More Information Needed]
|
146 |
|
|
|
147 |
|
148 |
-
|
149 |
|
150 |
Carlos Rodríguez-Penagos (carlos.rodriguez1@bsc.es) and Carme Armentano-Oller (carme.armentano@bsc.es)
|
151 |
|
|
|
|
|
|
|
|
|
|
|
152 |
|
153 |
-
## License
|
154 |
|
155 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
+
annotations_creators:
|
3 |
+
- expert-generated
|
4 |
+
language_creators:
|
5 |
+
- found
|
6 |
languages:
|
7 |
+
- catalan
|
8 |
+
licenses:
|
9 |
+
- cc-by-4.0
|
10 |
+
multilinguality:
|
11 |
+
- monolingual
|
12 |
+
pretty_name: sts-ca
|
13 |
+
size_categories:
|
14 |
+
- unknown
|
15 |
+
source_datasets: []
|
16 |
+
task_categories:
|
17 |
+
- text-scoring
|
18 |
+
task_ids:
|
19 |
+
- semantic-similarity-scoring
|
20 |
---
|
|
|
|
|
|
|
|
|
|
|
21 |
|
22 |
+
# Semantic Textual Similarity in Catalan
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
23 |
|
24 |
+
## Dataset Description
|
25 |
+
- **Paper:** [Are Multilingual Models the Best Choice for Moderately Under-resourced Languages? A Comprehensive Assessment for Catalan](https://arxiv.org/abs/2107.07903)
|
26 |
|
27 |
+
- **Point of Contact:** Carlos Rodríguez-Penagos (carlos.rodriguez1@bsc.es) and Carme Armentano-Oller (carme.armentano@bsc.es)
|
28 |
|
|
|
|
|
29 |
|
|
|
30 |
|
31 |
+
### Dataset Summary
|
32 |
|
33 |
+
STS corpus is a benchmark for evaluating Semantic Text Similarity in Catalan. This dataset was developed by BSC TeMU as part of the AINA project, to enrich the Catalan Language Understanding Benchmark (CLUB).
|
34 |
|
|
|
35 |
|
36 |
### Supported Tasks and Leaderboards
|
37 |
|
38 |
+
This dataset can be used to build and score semantic similarity models in Catalan.
|
39 |
|
40 |
### Languages
|
41 |
|
42 |
CA - Catalan
|
43 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
44 |
## Dataset Structure
|
45 |
|
46 |
### Data Instances
|
47 |
|
48 |
Follows SemEval challenges (https://www.aclweb.org/anthology/S13-1004.pdf).
|
49 |
|
50 |
+
#### Example
|
|
|
|
|
51 |
|
|
|
52 |
| index | id | sentence 1 | sentence 2 | avg |
|
53 |
| ------- | ---- | ------------ | ------------ | ----- |
|
54 |
| 19 | ACN2_131 | Els manifestants ocupen l'Imperial Tarraco durant una hora fent jocs de taula | Els manifestants ocupen l'Imperial Tarraco i fan jocs de taula | 4 |
|
|
|
58 |
| 27 | ACN2_1072 | Mentre han estat davant la comandància, els manifestants han cridat consignes a favor de la independència i han cantat cançons com 'L'estaca'. | Entre les consignes que han cridat s'ha pogut escoltar càntics com 'els carrers seran sempre nostres' i contínues consignes en favor de la independència. | 3 |
|
59 |
| 28 | Viqui2_587 | Els cinc municipis ocupen una superfície de poc més de 100 km2 i conjuntament sumen una població total aproximada de 3.691 habitants (any 2019). | Té una població d'1.811.177 habitants (2005) repartits en 104 municipis d'una superfície total de 14.001 km2. | 2.67 |
|
60 |
|
61 |
+
|
62 |
+
### Data Fields
|
63 |
+
|
64 |
+
This dataset follows [SemEval](https://www.aclweb.org/anthology/S13-1004.pdf) challenges formats and conventions.
|
65 |
+
|
66 |
### Data Splits
|
|
|
|
|
|
|
67 |
|
68 |
+
- sts_cat_dev_v1.tsv (493 annotated pairs)
|
69 |
+
|
70 |
+
- sts_cat_train_v1.tsv (492 annotated pairs)
|
71 |
+
|
72 |
+
- sts_cat_test_v1.tsv (2043 annotated pairs)
|
73 |
|
74 |
## Dataset Creation
|
75 |
|
76 |
### Methodology
|
77 |
|
78 |
Random sentences were extracted from 3 Catalan corpus: ACN, Oscar and Wikipedia, and we generated candidate pairs using a combination of metrics from Doc2Vec, Jaccard and a BERT-like model (“distiluse-base-multilingual-cased-v2”, [link](https://huggingface.co/distilbert-base-multilingual-cased)). Finally, we manually reviewed the generated pairs to reject non-relevant pairs (identical or ungrammatical sentences, etc.) before providing them to the annotation team.
|
79 |
+
|
80 |
The average of the four annotations was selected as a “ground truth” for each sentence pair, except when an annotator diverged in more than one unit from the average. In these cases, we discarded the divergent annotation and recalculated the average without it. We also discarded 45 sentence pairs because the annotators disagreed too much.
|
81 |
|
82 |
### Curation Rationale
|
|
|
87 |
|
88 |
#### Initial Data Collection and Normalization
|
89 |
|
90 |
+
The source data are scraped sentences from the [Catalan Textual Corpus](https://doi.org/10.5281/zenodo.4519348).
|
91 |
|
92 |
#### Who are the source language producers?
|
93 |
|
|
|
103 |
|
104 |
A team of native language speakers from 2 different companies, working independently.
|
105 |
|
|
|
|
|
|
|
|
|
106 |
### Personal and Sensitive Information
|
107 |
|
108 |
No personal or sensitive information included.
|
|
|
121 |
|
122 |
[More Information Needed]
|
123 |
|
124 |
+
## Additional Information
|
125 |
|
126 |
+
### Dataset Curators
|
127 |
|
128 |
Carlos Rodríguez-Penagos (carlos.rodriguez1@bsc.es) and Carme Armentano-Oller (carme.armentano@bsc.es)
|
129 |
|
130 |
+
### Licensing Information
|
131 |
+
|
132 |
+
This work is licensed under a <a rel="license" href="https://creativecommons.org/licenses/by-sa/4.0/">Attribution-ShareAlike 4.0 International License</a>.
|
133 |
+
|
134 |
+
### Citation Information
|
135 |
|
|
|
136 |
|
137 |
+
|
138 |
+
```
|
139 |
+
|
140 |
+
@inproceedings{armengol-estape-etal-2021-multilingual,
|
141 |
+
|
142 |
+
title = "Are Multilingual Models the Best Choice for Moderately Under-resourced Languages? {A} Comprehensive Assessment for {C}atalan",
|
143 |
+
|
144 |
+
author = "Armengol-Estap{\'e}, Jordi and
|
145 |
+
|
146 |
+
Carrino, Casimiro Pio and
|
147 |
+
|
148 |
+
Rodriguez-Penagos, Carlos and
|
149 |
+
|
150 |
+
de Gibert Bonet, Ona and
|
151 |
+
|
152 |
+
Armentano-Oller, Carme and
|
153 |
+
|
154 |
+
Gonzalez-Agirre, Aitor and
|
155 |
+
|
156 |
+
Melero, Maite and
|
157 |
+
|
158 |
+
Villegas, Marta",
|
159 |
+
|
160 |
+
booktitle = "Findings of the Association for Computational Linguistics: ACL-IJCNLP 2021",
|
161 |
+
|
162 |
+
month = aug,
|
163 |
+
|
164 |
+
year = "2021",
|
165 |
+
|
166 |
+
address = "Online",
|
167 |
+
|
168 |
+
publisher = "Association for Computational Linguistics",
|
169 |
+
|
170 |
+
url = "https://aclanthology.org/2021.findings-acl.437",
|
171 |
+
|
172 |
+
doi = "10.18653/v1/2021.findings-acl.437",
|
173 |
+
|
174 |
+
pages = "4933--4946",
|
175 |
+
|
176 |
+
}
|
177 |
+
|
178 |
+
```
|
179 |
+
|
180 |
+
[DOI](https://doi.org/10.5281/zenodo.4529183)
|