Datasets:
parquet-converter
commited on
Commit
•
103523b
1
Parent(s):
5356104
Update parquet files
Browse files- .gitattributes +0 -27
- README.md +0 -395
- dataset_infos.json +0 -1
- de/paws-x-test.parquet +3 -0
- de/paws-x-train.parquet +3 -0
- de/paws-x-validation.parquet +3 -0
- en/paws-x-test.parquet +3 -0
- en/paws-x-train.parquet +3 -0
- en/paws-x-validation.parquet +3 -0
- es/paws-x-test.parquet +3 -0
- es/paws-x-train.parquet +3 -0
- es/paws-x-validation.parquet +3 -0
- fr/paws-x-test.parquet +3 -0
- fr/paws-x-train.parquet +3 -0
- fr/paws-x-validation.parquet +3 -0
- ja/paws-x-test.parquet +3 -0
- ja/paws-x-train.parquet +3 -0
- ja/paws-x-validation.parquet +3 -0
- ko/paws-x-test.parquet +3 -0
- ko/paws-x-train.parquet +3 -0
- ko/paws-x-validation.parquet +3 -0
- paws-x.py +0 -171
- zh/paws-x-test.parquet +3 -0
- zh/paws-x-train.parquet +3 -0
- zh/paws-x-validation.parquet +3 -0
.gitattributes
DELETED
@@ -1,27 +0,0 @@
|
|
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
DELETED
@@ -1,395 +0,0 @@
|
|
1 |
-
---
|
2 |
-
pretty_name: 'PAWS-X: A Cross-lingual Adversarial Dataset for Paraphrase Identification'
|
3 |
-
annotations_creators:
|
4 |
-
- expert-generated
|
5 |
-
- machine-generated
|
6 |
-
language_creators:
|
7 |
-
- expert-generated
|
8 |
-
- machine-generated
|
9 |
-
language:
|
10 |
-
- de
|
11 |
-
- en
|
12 |
-
- es
|
13 |
-
- fr
|
14 |
-
- ja
|
15 |
-
- ko
|
16 |
-
- zh
|
17 |
-
license:
|
18 |
-
- other
|
19 |
-
multilinguality:
|
20 |
-
- multilingual
|
21 |
-
size_categories:
|
22 |
-
- 10K<n<100K
|
23 |
-
source_datasets:
|
24 |
-
- extended|other-paws
|
25 |
-
task_categories:
|
26 |
-
- text-classification
|
27 |
-
task_ids:
|
28 |
-
- semantic-similarity-classification
|
29 |
-
- semantic-similarity-scoring
|
30 |
-
- text-scoring
|
31 |
-
- multi-input-text-classification
|
32 |
-
paperswithcode_id: paws-x
|
33 |
-
tags:
|
34 |
-
- paraphrase-identification
|
35 |
-
dataset_info:
|
36 |
-
- config_name: en
|
37 |
-
features:
|
38 |
-
- name: id
|
39 |
-
dtype: int32
|
40 |
-
- name: sentence1
|
41 |
-
dtype: string
|
42 |
-
- name: sentence2
|
43 |
-
dtype: string
|
44 |
-
- name: label
|
45 |
-
dtype:
|
46 |
-
class_label:
|
47 |
-
names:
|
48 |
-
0: '0'
|
49 |
-
1: '1'
|
50 |
-
splits:
|
51 |
-
- name: train
|
52 |
-
num_bytes: 12215953
|
53 |
-
num_examples: 49401
|
54 |
-
- name: test
|
55 |
-
num_bytes: 494734
|
56 |
-
num_examples: 2000
|
57 |
-
- name: validation
|
58 |
-
num_bytes: 492287
|
59 |
-
num_examples: 2000
|
60 |
-
download_size: 30282057
|
61 |
-
dataset_size: 13202974
|
62 |
-
- config_name: de
|
63 |
-
features:
|
64 |
-
- name: id
|
65 |
-
dtype: int32
|
66 |
-
- name: sentence1
|
67 |
-
dtype: string
|
68 |
-
- name: sentence2
|
69 |
-
dtype: string
|
70 |
-
- name: label
|
71 |
-
dtype:
|
72 |
-
class_label:
|
73 |
-
names:
|
74 |
-
0: '0'
|
75 |
-
1: '1'
|
76 |
-
splits:
|
77 |
-
- name: train
|
78 |
-
num_bytes: 12801824
|
79 |
-
num_examples: 49401
|
80 |
-
- name: test
|
81 |
-
num_bytes: 524214
|
82 |
-
num_examples: 2000
|
83 |
-
- name: validation
|
84 |
-
num_bytes: 514009
|
85 |
-
num_examples: 2000
|
86 |
-
download_size: 30282057
|
87 |
-
dataset_size: 13840047
|
88 |
-
- config_name: es
|
89 |
-
features:
|
90 |
-
- name: id
|
91 |
-
dtype: int32
|
92 |
-
- name: sentence1
|
93 |
-
dtype: string
|
94 |
-
- name: sentence2
|
95 |
-
dtype: string
|
96 |
-
- name: label
|
97 |
-
dtype:
|
98 |
-
class_label:
|
99 |
-
names:
|
100 |
-
0: '0'
|
101 |
-
1: '1'
|
102 |
-
splits:
|
103 |
-
- name: train
|
104 |
-
num_bytes: 12808486
|
105 |
-
num_examples: 49401
|
106 |
-
- name: test
|
107 |
-
num_bytes: 519111
|
108 |
-
num_examples: 2000
|
109 |
-
- name: validation
|
110 |
-
num_bytes: 513888
|
111 |
-
num_examples: 2000
|
112 |
-
download_size: 30282057
|
113 |
-
dataset_size: 13841485
|
114 |
-
- config_name: fr
|
115 |
-
features:
|
116 |
-
- name: id
|
117 |
-
dtype: int32
|
118 |
-
- name: sentence1
|
119 |
-
dtype: string
|
120 |
-
- name: sentence2
|
121 |
-
dtype: string
|
122 |
-
- name: label
|
123 |
-
dtype:
|
124 |
-
class_label:
|
125 |
-
names:
|
126 |
-
0: '0'
|
127 |
-
1: '1'
|
128 |
-
splits:
|
129 |
-
- name: train
|
130 |
-
num_bytes: 13295597
|
131 |
-
num_examples: 49401
|
132 |
-
- name: test
|
133 |
-
num_bytes: 535101
|
134 |
-
num_examples: 2000
|
135 |
-
- name: validation
|
136 |
-
num_bytes: 533031
|
137 |
-
num_examples: 2000
|
138 |
-
download_size: 30282057
|
139 |
-
dataset_size: 14363729
|
140 |
-
- config_name: ja
|
141 |
-
features:
|
142 |
-
- name: id
|
143 |
-
dtype: int32
|
144 |
-
- name: sentence1
|
145 |
-
dtype: string
|
146 |
-
- name: sentence2
|
147 |
-
dtype: string
|
148 |
-
- name: label
|
149 |
-
dtype:
|
150 |
-
class_label:
|
151 |
-
names:
|
152 |
-
0: '0'
|
153 |
-
1: '1'
|
154 |
-
splits:
|
155 |
-
- name: train
|
156 |
-
num_bytes: 15041632
|
157 |
-
num_examples: 49401
|
158 |
-
- name: test
|
159 |
-
num_bytes: 668636
|
160 |
-
num_examples: 2000
|
161 |
-
- name: validation
|
162 |
-
num_bytes: 661778
|
163 |
-
num_examples: 2000
|
164 |
-
download_size: 30282057
|
165 |
-
dataset_size: 16372046
|
166 |
-
- config_name: ko
|
167 |
-
features:
|
168 |
-
- name: id
|
169 |
-
dtype: int32
|
170 |
-
- name: sentence1
|
171 |
-
dtype: string
|
172 |
-
- name: sentence2
|
173 |
-
dtype: string
|
174 |
-
- name: label
|
175 |
-
dtype:
|
176 |
-
class_label:
|
177 |
-
names:
|
178 |
-
0: '0'
|
179 |
-
1: '1'
|
180 |
-
splits:
|
181 |
-
- name: train
|
182 |
-
num_bytes: 13934221
|
183 |
-
num_examples: 49401
|
184 |
-
- name: test
|
185 |
-
num_bytes: 562300
|
186 |
-
num_examples: 2000
|
187 |
-
- name: validation
|
188 |
-
num_bytes: 554875
|
189 |
-
num_examples: 2000
|
190 |
-
download_size: 30282057
|
191 |
-
dataset_size: 15051396
|
192 |
-
- config_name: zh
|
193 |
-
features:
|
194 |
-
- name: id
|
195 |
-
dtype: int32
|
196 |
-
- name: sentence1
|
197 |
-
dtype: string
|
198 |
-
- name: sentence2
|
199 |
-
dtype: string
|
200 |
-
- name: label
|
201 |
-
dtype:
|
202 |
-
class_label:
|
203 |
-
names:
|
204 |
-
0: '0'
|
205 |
-
1: '1'
|
206 |
-
splits:
|
207 |
-
- name: train
|
208 |
-
num_bytes: 10815499
|
209 |
-
num_examples: 49401
|
210 |
-
- name: test
|
211 |
-
num_bytes: 474644
|
212 |
-
num_examples: 2000
|
213 |
-
- name: validation
|
214 |
-
num_bytes: 473118
|
215 |
-
num_examples: 2000
|
216 |
-
download_size: 30282057
|
217 |
-
dataset_size: 11763261
|
218 |
-
---
|
219 |
-
|
220 |
-
# Dataset Card for PAWS-X: A Cross-lingual Adversarial Dataset for Paraphrase Identification
|
221 |
-
|
222 |
-
## Table of Contents
|
223 |
-
- [Dataset Description](#dataset-description)
|
224 |
-
- [Dataset Summary](#dataset-summary)
|
225 |
-
- [Supported Tasks and Leaderboards](#supported-tasks-and-leaderboards)
|
226 |
-
- [Languages](#languages)
|
227 |
-
- [Dataset Structure](#dataset-structure)
|
228 |
-
- [Data Instances](#data-instances)
|
229 |
-
- [Data Fields](#data-fields)
|
230 |
-
- [Data Splits](#data-splits)
|
231 |
-
- [Dataset Creation](#dataset-creation)
|
232 |
-
- [Curation Rationale](#curation-rationale)
|
233 |
-
- [Source Data](#source-data)
|
234 |
-
- [Annotations](#annotations)
|
235 |
-
- [Personal and Sensitive Information](#personal-and-sensitive-information)
|
236 |
-
- [Considerations for Using the Data](#considerations-for-using-the-data)
|
237 |
-
- [Social Impact of Dataset](#social-impact-of-dataset)
|
238 |
-
- [Discussion of Biases](#discussion-of-biases)
|
239 |
-
- [Other Known Limitations](#other-known-limitations)
|
240 |
-
- [Additional Information](#additional-information)
|
241 |
-
- [Dataset Curators](#dataset-curators)
|
242 |
-
- [Licensing Information](#licensing-information)
|
243 |
-
- [Citation Information](#citation-information)
|
244 |
-
- [Contributions](#contributions)
|
245 |
-
|
246 |
-
## Dataset Description
|
247 |
-
|
248 |
-
- **Homepage:** [PAWS-X](https://github.com/google-research-datasets/paws/tree/master/pawsx)
|
249 |
-
- **Repository:** [PAWS-X](https://github.com/google-research-datasets/paws/tree/master/pawsx)
|
250 |
-
- **Paper:** [PAWS-X: A Cross-lingual Adversarial Dataset for Paraphrase Identification](https://arxiv.org/abs/1908.11828)
|
251 |
-
- **Point of Contact:** [Yinfei Yang]([email protected])
|
252 |
-
|
253 |
-
### Dataset Summary
|
254 |
-
|
255 |
-
This dataset contains 23,659 **human** translated PAWS evaluation pairs and
|
256 |
-
296,406 **machine** translated training pairs in six typologically distinct
|
257 |
-
languages: French, Spanish, German, Chinese, Japanese, and Korean. All
|
258 |
-
translated pairs are sourced from examples in
|
259 |
-
[PAWS-Wiki](https://github.com/google-research-datasets/paws#paws-wiki).
|
260 |
-
|
261 |
-
For further details, see the accompanying paper:
|
262 |
-
[PAWS-X: A Cross-lingual Adversarial Dataset for Paraphrase
|
263 |
-
Identification](https://arxiv.org/abs/1908.11828)
|
264 |
-
|
265 |
-
### Supported Tasks and Leaderboards
|
266 |
-
|
267 |
-
It has been majorly used for paraphrase identification for English and other 6 languages namely French, Spanish, German, Chinese, Japanese, and Korean
|
268 |
-
|
269 |
-
### Languages
|
270 |
-
|
271 |
-
The dataset is in English, French, Spanish, German, Chinese, Japanese, and Korean
|
272 |
-
|
273 |
-
## Dataset Structure
|
274 |
-
|
275 |
-
### Data Instances
|
276 |
-
|
277 |
-
For en:
|
278 |
-
```
|
279 |
-
id : 1
|
280 |
-
sentence1 : In Paris , in October 1560 , he secretly met the English ambassador , Nicolas Throckmorton , asking him for a passport to return to England through Scotland .
|
281 |
-
sentence2 : In October 1560 , he secretly met with the English ambassador , Nicolas Throckmorton , in Paris , and asked him for a passport to return to Scotland through England .
|
282 |
-
label : 0
|
283 |
-
```
|
284 |
-
For fr:
|
285 |
-
```
|
286 |
-
id : 1
|
287 |
-
sentence1 : À Paris, en octobre 1560, il rencontra secrètement l'ambassadeur d'Angleterre, Nicolas Throckmorton, lui demandant un passeport pour retourner en Angleterre en passant par l'Écosse.
|
288 |
-
sentence2 : En octobre 1560, il rencontra secrètement l'ambassadeur d'Angleterre, Nicolas Throckmorton, à Paris, et lui demanda un passeport pour retourner en Écosse par l'Angleterre.
|
289 |
-
label : 0
|
290 |
-
```
|
291 |
-
|
292 |
-
### Data Fields
|
293 |
-
|
294 |
-
All files are in tsv format with four columns:
|
295 |
-
|
296 |
-
Column Name | Data
|
297 |
-
:---------- | :--------------------------------------------------------
|
298 |
-
id | An ID that matches the ID of the source pair in PAWS-Wiki
|
299 |
-
sentence1 | The first sentence
|
300 |
-
sentence2 | The second sentence
|
301 |
-
label | Label for each pair
|
302 |
-
|
303 |
-
The source text of each translation can be retrieved by looking up the ID in the
|
304 |
-
corresponding file in PAWS-Wiki.
|
305 |
-
|
306 |
-
### Data Splits
|
307 |
-
|
308 |
-
The numbers of examples for each of the seven languages are shown below:
|
309 |
-
|
310 |
-
Language | Train | Dev | Test
|
311 |
-
:------- | ------: | -----: | -----:
|
312 |
-
en | 49,401 | 2,000 | 2,000
|
313 |
-
fr | 49,401 | 2,000 | 2,000
|
314 |
-
es | 49,401 | 2,000 | 2,000
|
315 |
-
de | 49,401 | 2,000 | 2,000
|
316 |
-
zh | 49,401 | 2,000 | 2,000
|
317 |
-
ja | 49,401 | 2,000 | 2,000
|
318 |
-
ko | 49,401 | 2,000 | 2,000
|
319 |
-
|
320 |
-
|
321 |
-
> **Caveat**: please note that the dev and test sets of PAWS-X are both sourced
|
322 |
-
> from the dev set of PAWS-Wiki. As a consequence, the same `sentence 1` may
|
323 |
-
> appear in both the dev and test sets. Nevertheless our data split guarantees
|
324 |
-
> that there is no overlap on sentence pairs (`sentence 1` + `sentence 2`)
|
325 |
-
> between dev and test.
|
326 |
-
|
327 |
-
## Dataset Creation
|
328 |
-
|
329 |
-
### Curation Rationale
|
330 |
-
|
331 |
-
Most existing work on adversarial data generation focuses on English. For example, PAWS (Paraphrase Adversaries from Word Scrambling) (Zhang et al., 2019) consists of challenging English paraphrase identification pairs from Wikipedia and Quora. They remedy this gap with PAWS-X, a new dataset of 23,659 human translated PAWS evaluation pairs in six typologically distinct languages: French, Spanish, German, Chinese, Japanese, and Korean. They provide baseline numbers for three models with different capacity to capture non-local context and sentence structure, and using different multilingual training and evaluation regimes. Multilingual BERT (Devlin et al., 2019) fine-tuned on PAWS English plus machine-translated data performs the best, with a range of 83.1-90.8 accuracy across the non-English languages and an average accuracy gain of 23% over the next best model. PAWS-X shows the effectiveness of deep, multilingual pre-training while also leaving considerable headroom as a new challenge to drive multilingual research that better captures structure and contextual information.
|
332 |
-
|
333 |
-
### Source Data
|
334 |
-
|
335 |
-
PAWS (Paraphrase Adversaries from Word Scrambling)
|
336 |
-
|
337 |
-
#### Initial Data Collection and Normalization
|
338 |
-
|
339 |
-
All translated pairs are sourced from examples in [PAWS-Wiki](https://github.com/google-research-datasets/paws#paws-wiki)
|
340 |
-
|
341 |
-
#### Who are the source language producers?
|
342 |
-
|
343 |
-
This dataset contains 23,659 human translated PAWS evaluation pairs and 296,406 machine translated training pairs in six typologically distinct languages: French, Spanish, German, Chinese, Japanese, and Korean.
|
344 |
-
|
345 |
-
### Annotations
|
346 |
-
|
347 |
-
#### Annotation process
|
348 |
-
|
349 |
-
If applicable, describe the annotation process and any tools used, or state otherwise. Describe the amount of data annotated, if not all. Describe or reference annotation guidelines provided to the annotators. If available, provide interannotator statistics. Describe any annotation validation processes.
|
350 |
-
|
351 |
-
#### Who are the annotators?
|
352 |
-
|
353 |
-
The paper mentions the translate team, especially Mengmeng Niu, for the help with the annotations.
|
354 |
-
|
355 |
-
### Personal and Sensitive Information
|
356 |
-
|
357 |
-
[More Information Needed]
|
358 |
-
|
359 |
-
## Considerations for Using the Data
|
360 |
-
|
361 |
-
### Social Impact of Dataset
|
362 |
-
|
363 |
-
[More Information Needed]
|
364 |
-
|
365 |
-
### Discussion of Biases
|
366 |
-
|
367 |
-
[More Information Needed]
|
368 |
-
|
369 |
-
### Other Known Limitations
|
370 |
-
|
371 |
-
[More Information Needed]
|
372 |
-
|
373 |
-
## Additional Information
|
374 |
-
|
375 |
-
### Dataset Curators
|
376 |
-
|
377 |
-
List the people involved in collecting the dataset and their affiliation(s). If funding information is known, include it here.
|
378 |
-
|
379 |
-
### Licensing Information
|
380 |
-
|
381 |
-
The dataset may be freely used for any purpose, although acknowledgement of Google LLC ("Google") as the data source would be appreciated. The dataset is provided "AS IS" without any warranty, express or implied. Google disclaims all liability for any damages, direct or indirect, resulting from the use of the dataset.
|
382 |
-
|
383 |
-
### Citation Information
|
384 |
-
|
385 |
-
```
|
386 |
-
@InProceedings{pawsx2019emnlp,
|
387 |
-
title = {{PAWS-X: A Cross-lingual Adversarial Dataset for Paraphrase Identification}},
|
388 |
-
author = {Yang, Yinfei and Zhang, Yuan and Tar, Chris and Baldridge, Jason},
|
389 |
-
booktitle = {Proc. of EMNLP},
|
390 |
-
year = {2019}
|
391 |
-
}
|
392 |
-
```
|
393 |
-
### Contributions
|
394 |
-
|
395 |
-
Thanks to [@bhavitvyamalik](https://github.com/bhavitvyamalik), [@gowtham1997](https://github.com/gowtham1997) for adding this dataset.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
dataset_infos.json
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
{"en": {"description": "PAWS-X, a multilingual version of PAWS (Paraphrase Adversaries from Word Scrambling) for six languages.\n\nThis dataset contains 23,659 human translated PAWS evaluation pairs and 296,406 machine\ntranslated training pairs in six typologically distinct languages: French, Spanish, German,\nChinese, Japanese, and Korean. English language is available by default. All translated\npairs are sourced from examples in PAWS-Wiki.\n\nFor further details, see the accompanying paper: PAWS-X: A Cross-lingual Adversarial Dataset\nfor Paraphrase Identification (https://arxiv.org/abs/1908.11828)\n\nNOTE: There might be some missing or wrong labels in the dataset and we have replaced them with -1.\n", "citation": "@InProceedings{pawsx2019emnlp,\n title = {{PAWS-X: A Cross-lingual Adversarial Dataset for Paraphrase Identification}},\n author = {Yang, Yinfei and Zhang, Yuan and Tar, Chris and Baldridge, Jason},\n booktitle = {Proc. of EMNLP},\n year = {2019}\n}\n", "homepage": "https://github.com/google-research-datasets/paws/tree/master/pawsx", "license": "The dataset may be freely used for any purpose, although acknowledgement of Google LLC (\"Google\") as the data source would be appreciated. The dataset is provided \"AS IS\" without any warranty, express or implied. Google disclaims all liability for any damages, direct or indirect, resulting from the use of the dataset.", "features": {"id": {"dtype": "int32", "id": null, "_type": "Value"}, "sentence1": {"dtype": "string", "id": null, "_type": "Value"}, "sentence2": {"dtype": "string", "id": null, "_type": "Value"}, "label": {"num_classes": 2, "names": ["0", "1"], "names_file": null, "id": null, "_type": "ClassLabel"}}, "post_processed": null, "supervised_keys": null, "builder_name": "pawsx", "config_name": "en", "version": {"version_str": "1.1.0", "description": "", "major": 1, "minor": 1, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 12215953, "num_examples": 49401, "dataset_name": "pawsx"}, "test": {"name": "test", "num_bytes": 494734, "num_examples": 2000, "dataset_name": "pawsx"}, "validation": {"name": "validation", "num_bytes": 492287, "num_examples": 2000, "dataset_name": "pawsx"}}, "download_checksums": {"https://storage.googleapis.com/paws/pawsx/x-final.tar.gz": {"num_bytes": 30282057, "checksum": "4146db499101d66e68ae4c8ed3cf9dadecd625f44b7d8cf3d4a0fe93afc4fd9f"}}, "download_size": 30282057, "post_processing_size": null, "dataset_size": 13202974, "size_in_bytes": 43485031}, "de": {"description": "PAWS-X, a multilingual version of PAWS (Paraphrase Adversaries from Word Scrambling) for six languages.\n\nThis dataset contains 23,659 human translated PAWS evaluation pairs and 296,406 machine\ntranslated training pairs in six typologically distinct languages: French, Spanish, German,\nChinese, Japanese, and Korean. English language is available by default. All translated\npairs are sourced from examples in PAWS-Wiki.\n\nFor further details, see the accompanying paper: PAWS-X: A Cross-lingual Adversarial Dataset\nfor Paraphrase Identification (https://arxiv.org/abs/1908.11828)\n\nNOTE: There might be some missing or wrong labels in the dataset and we have replaced them with -1.\n", "citation": "@InProceedings{pawsx2019emnlp,\n title = {{PAWS-X: A Cross-lingual Adversarial Dataset for Paraphrase Identification}},\n author = {Yang, Yinfei and Zhang, Yuan and Tar, Chris and Baldridge, Jason},\n booktitle = {Proc. of EMNLP},\n year = {2019}\n}\n", "homepage": "https://github.com/google-research-datasets/paws/tree/master/pawsx", "license": "The dataset may be freely used for any purpose, although acknowledgement of Google LLC (\"Google\") as the data source would be appreciated. The dataset is provided \"AS IS\" without any warranty, express or implied. Google disclaims all liability for any damages, direct or indirect, resulting from the use of the dataset.", "features": {"id": {"dtype": "int32", "id": null, "_type": "Value"}, "sentence1": {"dtype": "string", "id": null, "_type": "Value"}, "sentence2": {"dtype": "string", "id": null, "_type": "Value"}, "label": {"num_classes": 2, "names": ["0", "1"], "names_file": null, "id": null, "_type": "ClassLabel"}}, "post_processed": null, "supervised_keys": null, "builder_name": "pawsx", "config_name": "de", "version": {"version_str": "1.1.0", "description": "", "major": 1, "minor": 1, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 12801824, "num_examples": 49401, "dataset_name": "pawsx"}, "test": {"name": "test", "num_bytes": 524214, "num_examples": 2000, "dataset_name": "pawsx"}, "validation": {"name": "validation", "num_bytes": 514009, "num_examples": 2000, "dataset_name": "pawsx"}}, "download_checksums": {"https://storage.googleapis.com/paws/pawsx/x-final.tar.gz": {"num_bytes": 30282057, "checksum": "4146db499101d66e68ae4c8ed3cf9dadecd625f44b7d8cf3d4a0fe93afc4fd9f"}}, "download_size": 30282057, "post_processing_size": null, "dataset_size": 13840047, "size_in_bytes": 44122104}, "es": {"description": "PAWS-X, a multilingual version of PAWS (Paraphrase Adversaries from Word Scrambling) for six languages.\n\nThis dataset contains 23,659 human translated PAWS evaluation pairs and 296,406 machine\ntranslated training pairs in six typologically distinct languages: French, Spanish, German,\nChinese, Japanese, and Korean. English language is available by default. All translated\npairs are sourced from examples in PAWS-Wiki.\n\nFor further details, see the accompanying paper: PAWS-X: A Cross-lingual Adversarial Dataset\nfor Paraphrase Identification (https://arxiv.org/abs/1908.11828)\n\nNOTE: There might be some missing or wrong labels in the dataset and we have replaced them with -1.\n", "citation": "@InProceedings{pawsx2019emnlp,\n title = {{PAWS-X: A Cross-lingual Adversarial Dataset for Paraphrase Identification}},\n author = {Yang, Yinfei and Zhang, Yuan and Tar, Chris and Baldridge, Jason},\n booktitle = {Proc. of EMNLP},\n year = {2019}\n}\n", "homepage": "https://github.com/google-research-datasets/paws/tree/master/pawsx", "license": "The dataset may be freely used for any purpose, although acknowledgement of Google LLC (\"Google\") as the data source would be appreciated. The dataset is provided \"AS IS\" without any warranty, express or implied. Google disclaims all liability for any damages, direct or indirect, resulting from the use of the dataset.", "features": {"id": {"dtype": "int32", "id": null, "_type": "Value"}, "sentence1": {"dtype": "string", "id": null, "_type": "Value"}, "sentence2": {"dtype": "string", "id": null, "_type": "Value"}, "label": {"num_classes": 2, "names": ["0", "1"], "names_file": null, "id": null, "_type": "ClassLabel"}}, "post_processed": null, "supervised_keys": null, "builder_name": "pawsx", "config_name": "es", "version": {"version_str": "1.1.0", "description": "", "major": 1, "minor": 1, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 12808486, "num_examples": 49401, "dataset_name": "pawsx"}, "test": {"name": "test", "num_bytes": 519111, "num_examples": 2000, "dataset_name": "pawsx"}, "validation": {"name": "validation", "num_bytes": 513888, "num_examples": 2000, "dataset_name": "pawsx"}}, "download_checksums": {"https://storage.googleapis.com/paws/pawsx/x-final.tar.gz": {"num_bytes": 30282057, "checksum": "4146db499101d66e68ae4c8ed3cf9dadecd625f44b7d8cf3d4a0fe93afc4fd9f"}}, "download_size": 30282057, "post_processing_size": null, "dataset_size": 13841485, "size_in_bytes": 44123542}, "fr": {"description": "PAWS-X, a multilingual version of PAWS (Paraphrase Adversaries from Word Scrambling) for six languages.\n\nThis dataset contains 23,659 human translated PAWS evaluation pairs and 296,406 machine\ntranslated training pairs in six typologically distinct languages: French, Spanish, German,\nChinese, Japanese, and Korean. English language is available by default. All translated\npairs are sourced from examples in PAWS-Wiki.\n\nFor further details, see the accompanying paper: PAWS-X: A Cross-lingual Adversarial Dataset\nfor Paraphrase Identification (https://arxiv.org/abs/1908.11828)\n\nNOTE: There might be some missing or wrong labels in the dataset and we have replaced them with -1.\n", "citation": "@InProceedings{pawsx2019emnlp,\n title = {{PAWS-X: A Cross-lingual Adversarial Dataset for Paraphrase Identification}},\n author = {Yang, Yinfei and Zhang, Yuan and Tar, Chris and Baldridge, Jason},\n booktitle = {Proc. of EMNLP},\n year = {2019}\n}\n", "homepage": "https://github.com/google-research-datasets/paws/tree/master/pawsx", "license": "The dataset may be freely used for any purpose, although acknowledgement of Google LLC (\"Google\") as the data source would be appreciated. The dataset is provided \"AS IS\" without any warranty, express or implied. Google disclaims all liability for any damages, direct or indirect, resulting from the use of the dataset.", "features": {"id": {"dtype": "int32", "id": null, "_type": "Value"}, "sentence1": {"dtype": "string", "id": null, "_type": "Value"}, "sentence2": {"dtype": "string", "id": null, "_type": "Value"}, "label": {"num_classes": 2, "names": ["0", "1"], "names_file": null, "id": null, "_type": "ClassLabel"}}, "post_processed": null, "supervised_keys": null, "builder_name": "pawsx", "config_name": "fr", "version": {"version_str": "1.1.0", "description": "", "major": 1, "minor": 1, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 13295597, "num_examples": 49401, "dataset_name": "pawsx"}, "test": {"name": "test", "num_bytes": 535101, "num_examples": 2000, "dataset_name": "pawsx"}, "validation": {"name": "validation", "num_bytes": 533031, "num_examples": 2000, "dataset_name": "pawsx"}}, "download_checksums": {"https://storage.googleapis.com/paws/pawsx/x-final.tar.gz": {"num_bytes": 30282057, "checksum": "4146db499101d66e68ae4c8ed3cf9dadecd625f44b7d8cf3d4a0fe93afc4fd9f"}}, "download_size": 30282057, "post_processing_size": null, "dataset_size": 14363729, "size_in_bytes": 44645786}, "ja": {"description": "PAWS-X, a multilingual version of PAWS (Paraphrase Adversaries from Word Scrambling) for six languages.\n\nThis dataset contains 23,659 human translated PAWS evaluation pairs and 296,406 machine\ntranslated training pairs in six typologically distinct languages: French, Spanish, German,\nChinese, Japanese, and Korean. English language is available by default. All translated\npairs are sourced from examples in PAWS-Wiki.\n\nFor further details, see the accompanying paper: PAWS-X: A Cross-lingual Adversarial Dataset\nfor Paraphrase Identification (https://arxiv.org/abs/1908.11828)\n\nNOTE: There might be some missing or wrong labels in the dataset and we have replaced them with -1.\n", "citation": "@InProceedings{pawsx2019emnlp,\n title = {{PAWS-X: A Cross-lingual Adversarial Dataset for Paraphrase Identification}},\n author = {Yang, Yinfei and Zhang, Yuan and Tar, Chris and Baldridge, Jason},\n booktitle = {Proc. of EMNLP},\n year = {2019}\n}\n", "homepage": "https://github.com/google-research-datasets/paws/tree/master/pawsx", "license": "The dataset may be freely used for any purpose, although acknowledgement of Google LLC (\"Google\") as the data source would be appreciated. The dataset is provided \"AS IS\" without any warranty, express or implied. Google disclaims all liability for any damages, direct or indirect, resulting from the use of the dataset.", "features": {"id": {"dtype": "int32", "id": null, "_type": "Value"}, "sentence1": {"dtype": "string", "id": null, "_type": "Value"}, "sentence2": {"dtype": "string", "id": null, "_type": "Value"}, "label": {"num_classes": 2, "names": ["0", "1"], "names_file": null, "id": null, "_type": "ClassLabel"}}, "post_processed": null, "supervised_keys": null, "builder_name": "pawsx", "config_name": "ja", "version": {"version_str": "1.1.0", "description": "", "major": 1, "minor": 1, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 15041632, "num_examples": 49401, "dataset_name": "pawsx"}, "test": {"name": "test", "num_bytes": 668636, "num_examples": 2000, "dataset_name": "pawsx"}, "validation": {"name": "validation", "num_bytes": 661778, "num_examples": 2000, "dataset_name": "pawsx"}}, "download_checksums": {"https://storage.googleapis.com/paws/pawsx/x-final.tar.gz": {"num_bytes": 30282057, "checksum": "4146db499101d66e68ae4c8ed3cf9dadecd625f44b7d8cf3d4a0fe93afc4fd9f"}}, "download_size": 30282057, "post_processing_size": null, "dataset_size": 16372046, "size_in_bytes": 46654103}, "ko": {"description": "PAWS-X, a multilingual version of PAWS (Paraphrase Adversaries from Word Scrambling) for six languages.\n\nThis dataset contains 23,659 human translated PAWS evaluation pairs and 296,406 machine\ntranslated training pairs in six typologically distinct languages: French, Spanish, German,\nChinese, Japanese, and Korean. English language is available by default. All translated\npairs are sourced from examples in PAWS-Wiki.\n\nFor further details, see the accompanying paper: PAWS-X: A Cross-lingual Adversarial Dataset\nfor Paraphrase Identification (https://arxiv.org/abs/1908.11828)\n\nNOTE: There might be some missing or wrong labels in the dataset and we have replaced them with -1.\n", "citation": "@InProceedings{pawsx2019emnlp,\n title = {{PAWS-X: A Cross-lingual Adversarial Dataset for Paraphrase Identification}},\n author = {Yang, Yinfei and Zhang, Yuan and Tar, Chris and Baldridge, Jason},\n booktitle = {Proc. of EMNLP},\n year = {2019}\n}\n", "homepage": "https://github.com/google-research-datasets/paws/tree/master/pawsx", "license": "The dataset may be freely used for any purpose, although acknowledgement of Google LLC (\"Google\") as the data source would be appreciated. The dataset is provided \"AS IS\" without any warranty, express or implied. Google disclaims all liability for any damages, direct or indirect, resulting from the use of the dataset.", "features": {"id": {"dtype": "int32", "id": null, "_type": "Value"}, "sentence1": {"dtype": "string", "id": null, "_type": "Value"}, "sentence2": {"dtype": "string", "id": null, "_type": "Value"}, "label": {"num_classes": 2, "names": ["0", "1"], "names_file": null, "id": null, "_type": "ClassLabel"}}, "post_processed": null, "supervised_keys": null, "builder_name": "pawsx", "config_name": "ko", "version": {"version_str": "1.1.0", "description": "", "major": 1, "minor": 1, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 13934221, "num_examples": 49401, "dataset_name": "pawsx"}, "test": {"name": "test", "num_bytes": 562300, "num_examples": 2000, "dataset_name": "pawsx"}, "validation": {"name": "validation", "num_bytes": 554875, "num_examples": 2000, "dataset_name": "pawsx"}}, "download_checksums": {"https://storage.googleapis.com/paws/pawsx/x-final.tar.gz": {"num_bytes": 30282057, "checksum": "4146db499101d66e68ae4c8ed3cf9dadecd625f44b7d8cf3d4a0fe93afc4fd9f"}}, "download_size": 30282057, "post_processing_size": null, "dataset_size": 15051396, "size_in_bytes": 45333453}, "zh": {"description": "PAWS-X, a multilingual version of PAWS (Paraphrase Adversaries from Word Scrambling) for six languages.\n\nThis dataset contains 23,659 human translated PAWS evaluation pairs and 296,406 machine\ntranslated training pairs in six typologically distinct languages: French, Spanish, German,\nChinese, Japanese, and Korean. English language is available by default. All translated\npairs are sourced from examples in PAWS-Wiki.\n\nFor further details, see the accompanying paper: PAWS-X: A Cross-lingual Adversarial Dataset\nfor Paraphrase Identification (https://arxiv.org/abs/1908.11828)\n\nNOTE: There might be some missing or wrong labels in the dataset and we have replaced them with -1.\n", "citation": "@InProceedings{pawsx2019emnlp,\n title = {{PAWS-X: A Cross-lingual Adversarial Dataset for Paraphrase Identification}},\n author = {Yang, Yinfei and Zhang, Yuan and Tar, Chris and Baldridge, Jason},\n booktitle = {Proc. of EMNLP},\n year = {2019}\n}\n", "homepage": "https://github.com/google-research-datasets/paws/tree/master/pawsx", "license": "The dataset may be freely used for any purpose, although acknowledgement of Google LLC (\"Google\") as the data source would be appreciated. The dataset is provided \"AS IS\" without any warranty, express or implied. Google disclaims all liability for any damages, direct or indirect, resulting from the use of the dataset.", "features": {"id": {"dtype": "int32", "id": null, "_type": "Value"}, "sentence1": {"dtype": "string", "id": null, "_type": "Value"}, "sentence2": {"dtype": "string", "id": null, "_type": "Value"}, "label": {"num_classes": 2, "names": ["0", "1"], "names_file": null, "id": null, "_type": "ClassLabel"}}, "post_processed": null, "supervised_keys": null, "builder_name": "pawsx", "config_name": "zh", "version": {"version_str": "1.1.0", "description": "", "major": 1, "minor": 1, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 10815499, "num_examples": 49401, "dataset_name": "pawsx"}, "test": {"name": "test", "num_bytes": 474644, "num_examples": 2000, "dataset_name": "pawsx"}, "validation": {"name": "validation", "num_bytes": 473118, "num_examples": 2000, "dataset_name": "pawsx"}}, "download_checksums": {"https://storage.googleapis.com/paws/pawsx/x-final.tar.gz": {"num_bytes": 30282057, "checksum": "4146db499101d66e68ae4c8ed3cf9dadecd625f44b7d8cf3d4a0fe93afc4fd9f"}}, "download_size": 30282057, "post_processing_size": null, "dataset_size": 11763261, "size_in_bytes": 42045318}}
|
|
|
|
de/paws-x-test.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:89bd40a6580badfab4317aab3438f009dc02dcd681fe2c56b7813cedb55d96bf
|
3 |
+
size 351725
|
de/paws-x-train.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4a75025b6273bd6a43d9dac360382f7647216d41e6f29ca2b35f2051988712ec
|
3 |
+
size 8905654
|
de/paws-x-validation.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:79dd1b1b6f2084cc6d0122c4659ec9e1b7cad4ef1bb08e7757b0c885b5e8b2ca
|
3 |
+
size 344538
|
en/paws-x-test.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:06bfa6590452e281fcdb6834d1deab167518fdf3f6e7c2a06051cbcc72f5e7de
|
3 |
+
size 309848
|
en/paws-x-train.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:03924e9f73a6a914b8bdc4ba75a2c61764b92b700c7490ed98cc941d192b099c
|
3 |
+
size 8428141
|
en/paws-x-validation.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c3d16c5c8b75695c5fb38707cedd0ef70d23bf52edd7353d73877ff537876181
|
3 |
+
size 307013
|
es/paws-x-test.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a33009abecc1f8559478f546023636073b4413fb2d8827f4e02b52dfbcc23278
|
3 |
+
size 345484
|
es/paws-x-train.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:68ddf4292b8c6b30bf6ad451859737265c0f5285794a206f2632f8b87d4484ea
|
3 |
+
size 8851830
|
es/paws-x-validation.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c23ceda036ea2541b7df7fac1934fc5879d391cb35f2d39cbe50a169b76e8958
|
3 |
+
size 341498
|
fr/paws-x-test.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:aa34aa655a10e598779697e210d968f78ba5fe3cacc199555bb4adb31cbddb4d
|
3 |
+
size 351596
|
fr/paws-x-train.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0d1bb25cf756bfc46027f0ea1dddee5d1f9ac40cee1543538efbc2aa4b82e463
|
3 |
+
size 9086988
|
fr/paws-x-validation.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:55e69683a1c56ad18c91b970e1fd1f160353dbaf936fc827c68d644dae429565
|
3 |
+
size 346823
|
ja/paws-x-test.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4b6a13ddf18ec9d6b87cec0a22c5bbeb6f1e1b26f919e092caf582662f97bfbc
|
3 |
+
size 409818
|
ja/paws-x-train.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a629aa53e51e387c2ab9dd26bafd2b60c601b8f92504654e8da92b63ac20b7f5
|
3 |
+
size 9625001
|
ja/paws-x-validation.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2d9d01c84bdcde3c371147e2fbe0636c9d6555ed3f13e6d70b2a6400c1cf27a6
|
3 |
+
size 400889
|
ko/paws-x-test.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d6a1a79c73612cb8deeafc3d4edf7727f3f9d5572583b74d5aed7d6d6f912380
|
3 |
+
size 372704
|
ko/paws-x-train.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b290c8ce8d759cb934673c0ea0ab20cae101f42344bbd8654617bc865dd0dbd5
|
3 |
+
size 9528993
|
ko/paws-x-validation.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:65147325491ab1471129a2d8fc2f91176cbac914133037bb37cd4ba14bab37da
|
3 |
+
size 362272
|
paws-x.py
DELETED
@@ -1,171 +0,0 @@
|
|
1 |
-
# coding=utf-8
|
2 |
-
# Copyright 2020 The HuggingFace Datasets Authors and the current dataset script contributor.
|
3 |
-
#
|
4 |
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
5 |
-
# you may not use this file except in compliance with the License.
|
6 |
-
# You may obtain a copy of the License at
|
7 |
-
#
|
8 |
-
# http://www.apache.org/licenses/LICENSE-2.0
|
9 |
-
#
|
10 |
-
# Unless required by applicable law or agreed to in writing, software
|
11 |
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
12 |
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13 |
-
# See the License for the specific language governing permissions and
|
14 |
-
# limitations under the License.
|
15 |
-
"""PAWS-X, a multilingual version of PAWS for six languages."""
|
16 |
-
|
17 |
-
|
18 |
-
import csv
|
19 |
-
|
20 |
-
import datasets
|
21 |
-
|
22 |
-
|
23 |
-
_CITATION = """\
|
24 |
-
@InProceedings{pawsx2019emnlp,
|
25 |
-
title = {{PAWS-X: A Cross-lingual Adversarial Dataset for Paraphrase Identification}},
|
26 |
-
author = {Yang, Yinfei and Zhang, Yuan and Tar, Chris and Baldridge, Jason},
|
27 |
-
booktitle = {Proc. of EMNLP},
|
28 |
-
year = {2019}
|
29 |
-
}
|
30 |
-
"""
|
31 |
-
|
32 |
-
_DESCRIPTION = """\
|
33 |
-
PAWS-X, a multilingual version of PAWS (Paraphrase Adversaries from Word Scrambling) for six languages.
|
34 |
-
|
35 |
-
This dataset contains 23,659 human translated PAWS evaluation pairs and 296,406 machine
|
36 |
-
translated training pairs in six typologically distinct languages: French, Spanish, German,
|
37 |
-
Chinese, Japanese, and Korean. English language is available by default. All translated
|
38 |
-
pairs are sourced from examples in PAWS-Wiki.
|
39 |
-
|
40 |
-
For further details, see the accompanying paper: PAWS-X: A Cross-lingual Adversarial Dataset
|
41 |
-
for Paraphrase Identification (https://arxiv.org/abs/1908.11828)
|
42 |
-
|
43 |
-
NOTE: There might be some missing or wrong labels in the dataset and we have replaced them with -1.
|
44 |
-
"""
|
45 |
-
|
46 |
-
_HOMEPAGE = "https://github.com/google-research-datasets/paws/tree/master/pawsx"
|
47 |
-
|
48 |
-
# TODO: Add the licence for the dataset here if you can find it
|
49 |
-
_LICENSE = 'The dataset may be freely used for any purpose, although acknowledgement of Google LLC ("Google") as the data source would be appreciated. The dataset is provided "AS IS" without any warranty, express or implied. Google disclaims all liability for any damages, direct or indirect, resulting from the use of the dataset.'
|
50 |
-
|
51 |
-
# TODO: Add link to the official dataset URLs here
|
52 |
-
# The HuggingFace dataset library don't host the datasets but only point to the original files
|
53 |
-
# This can be an arbitrary nested dict/list of URLs (see below in `_split_generators` method)
|
54 |
-
_DATA_OPTIONS = [
|
55 |
-
"en",
|
56 |
-
"de",
|
57 |
-
"es",
|
58 |
-
"fr",
|
59 |
-
"ja",
|
60 |
-
"ko",
|
61 |
-
"zh",
|
62 |
-
]
|
63 |
-
|
64 |
-
_DATA_URL = "https://storage.googleapis.com/paws/pawsx/x-final.tar.gz"
|
65 |
-
|
66 |
-
|
67 |
-
class PAWSXConfig(datasets.BuilderConfig):
|
68 |
-
"""BuilderConfig for PAWSX."""
|
69 |
-
|
70 |
-
def __init__(self, **kwargs):
|
71 |
-
"""Constructs a PAWSXConfig.
|
72 |
-
Args:
|
73 |
-
**kwargs: keyword arguments forwarded to super.
|
74 |
-
"""
|
75 |
-
super(PAWSXConfig, self).__init__(version=datasets.Version("1.1.0", ""), **kwargs),
|
76 |
-
|
77 |
-
|
78 |
-
class PAWSX(datasets.GeneratorBasedBuilder):
|
79 |
-
"""PAWS-X, a multilingual version of PAWS for six languages."""
|
80 |
-
|
81 |
-
VERSION = datasets.Version("1.1.0")
|
82 |
-
|
83 |
-
BUILDER_CONFIGS = [
|
84 |
-
PAWSXConfig(
|
85 |
-
name=config_name,
|
86 |
-
description=(f"This config contains samples in {config_name}."),
|
87 |
-
)
|
88 |
-
for config_name in _DATA_OPTIONS
|
89 |
-
]
|
90 |
-
|
91 |
-
def _info(self):
|
92 |
-
features = datasets.Features(
|
93 |
-
{
|
94 |
-
"id": datasets.Value("int32"),
|
95 |
-
"sentence1": datasets.Value("string"),
|
96 |
-
"sentence2": datasets.Value("string"),
|
97 |
-
"label": datasets.features.ClassLabel(names=["0", "1"]),
|
98 |
-
}
|
99 |
-
)
|
100 |
-
return datasets.DatasetInfo(
|
101 |
-
# This is the description that will appear on the datasets page.
|
102 |
-
description=_DESCRIPTION,
|
103 |
-
# This defines the different columns of the dataset and their types
|
104 |
-
features=features, # Here we define them above because they are different between the two configurations
|
105 |
-
# If there's a common (input, target) tuple from the features,
|
106 |
-
# specify them here. They'll be used if as_supervised=True in
|
107 |
-
# builder.as_dataset.
|
108 |
-
supervised_keys=None,
|
109 |
-
# Homepage of the dataset for documentation
|
110 |
-
homepage=_HOMEPAGE,
|
111 |
-
# License for the dataset if available
|
112 |
-
license=_LICENSE,
|
113 |
-
# Citation for the dataset
|
114 |
-
citation=_CITATION,
|
115 |
-
)
|
116 |
-
|
117 |
-
def _split_generators(self, dl_manager):
|
118 |
-
"""Returns SplitGenerators."""
|
119 |
-
|
120 |
-
archive = dl_manager.download(_DATA_URL)
|
121 |
-
|
122 |
-
_TEST_FILE_NAME = f"x-final/{self.config.name}/test_2k.tsv"
|
123 |
-
_VAL_FILE_NAME = f"x-final/{self.config.name}/dev_2k.tsv"
|
124 |
-
|
125 |
-
if self.config.name == "en":
|
126 |
-
_TRAIN_FILE_NAME = f"x-final/{self.config.name}/train.tsv"
|
127 |
-
else:
|
128 |
-
_TRAIN_FILE_NAME = f"x-final/{self.config.name}/translated_train.tsv"
|
129 |
-
|
130 |
-
return [
|
131 |
-
datasets.SplitGenerator(
|
132 |
-
name=datasets.Split.TRAIN,
|
133 |
-
# These kwargs will be passed to _generate_examples
|
134 |
-
gen_kwargs={
|
135 |
-
"filepath": _TRAIN_FILE_NAME,
|
136 |
-
"files": dl_manager.iter_archive(archive),
|
137 |
-
},
|
138 |
-
),
|
139 |
-
datasets.SplitGenerator(
|
140 |
-
name=datasets.Split.TEST,
|
141 |
-
# These kwargs will be passed to _generate_examples
|
142 |
-
gen_kwargs={
|
143 |
-
"filepath": _TEST_FILE_NAME,
|
144 |
-
"files": dl_manager.iter_archive(archive),
|
145 |
-
},
|
146 |
-
),
|
147 |
-
datasets.SplitGenerator(
|
148 |
-
name=datasets.Split.VALIDATION,
|
149 |
-
# These kwargs will be passed to _generate_examples
|
150 |
-
gen_kwargs={
|
151 |
-
"filepath": _VAL_FILE_NAME,
|
152 |
-
"files": dl_manager.iter_archive(archive),
|
153 |
-
},
|
154 |
-
),
|
155 |
-
]
|
156 |
-
|
157 |
-
def _generate_examples(self, filepath, files):
|
158 |
-
"""Yields examples."""
|
159 |
-
|
160 |
-
for path, f in files:
|
161 |
-
if path == filepath:
|
162 |
-
lines = (line.decode("utf-8") for line in f)
|
163 |
-
data = csv.DictReader(lines, delimiter="\t", quoting=csv.QUOTE_NONE)
|
164 |
-
for id_, row in enumerate(data):
|
165 |
-
yield id_, {
|
166 |
-
"id": row["id"],
|
167 |
-
"sentence1": row["sentence1"],
|
168 |
-
"sentence2": row["sentence2"],
|
169 |
-
"label": row["label"],
|
170 |
-
}
|
171 |
-
break
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
zh/paws-x-test.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d6aa37977217b9ff1c5cdb060e19bf612477b1a793735389cd6fb8af42854765
|
3 |
+
size 344637
|
zh/paws-x-train.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6191b0bf52141076ff8f1df3ee98fa6f26a7abe6a3b3a84eccdf83f60664db6f
|
3 |
+
size 8487517
|
zh/paws-x-validation.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5fc23337d343f34f1095605b47e5714d41d9470224a7cd21a8b2c739650e6344
|
3 |
+
size 346796
|