albertvillanova HF staff commited on
Commit
e1b7f86
1 Parent(s): 93d57ef
README.md CHANGED
@@ -29,10 +29,9 @@ task_categories:
29
  task_ids:
30
  - text-scoring
31
  - semantic-similarity-scoring
32
- paperswithcode_id: null
33
  pretty_name: STSb Multi MT
34
  dataset_info:
35
- - config_name: en
36
  features:
37
  - name: sentence1
38
  dtype: string
@@ -42,17 +41,17 @@ dataset_info:
42
  dtype: float32
43
  splits:
44
  - name: train
45
- num_bytes: 731803
46
  num_examples: 5749
47
  - name: test
48
- num_bytes: 164466
49
  num_examples: 1379
50
  - name: dev
51
- num_bytes: 210072
52
  num_examples: 1500
53
- download_size: 1072429
54
- dataset_size: 1106341
55
- - config_name: de
56
  features:
57
  - name: sentence1
58
  dtype: string
@@ -62,16 +61,16 @@ dataset_info:
62
  dtype: float32
63
  splits:
64
  - name: train
65
- num_bytes: 867473
66
  num_examples: 5749
67
  - name: test
68
- num_bytes: 193333
69
  num_examples: 1379
70
  - name: dev
71
- num_bytes: 247077
72
  num_examples: 1500
73
- download_size: 1279173
74
- dataset_size: 1307883
75
  - config_name: es
76
  features:
77
  - name: sentence1
@@ -82,16 +81,16 @@ dataset_info:
82
  dtype: float32
83
  splits:
84
  - name: train
85
- num_bytes: 887101
86
  num_examples: 5749
87
  - name: test
88
- num_bytes: 194616
89
  num_examples: 1379
90
  - name: dev
91
- num_bytes: 245250
92
  num_examples: 1500
93
- download_size: 1294160
94
- dataset_size: 1326967
95
  - config_name: fr
96
  features:
97
  - name: sentence1
@@ -102,16 +101,16 @@ dataset_info:
102
  dtype: float32
103
  splits:
104
  - name: train
105
- num_bytes: 910195
106
  num_examples: 5749
107
  - name: test
108
- num_bytes: 200446
109
  num_examples: 1379
110
  - name: dev
111
- num_bytes: 254083
112
  num_examples: 1500
113
- download_size: 1332515
114
- dataset_size: 1364724
115
  - config_name: it
116
  features:
117
  - name: sentence1
@@ -122,16 +121,16 @@ dataset_info:
122
  dtype: float32
123
  splits:
124
  - name: train
125
- num_bytes: 871526
126
  num_examples: 5749
127
  - name: test
128
- num_bytes: 191647
129
  num_examples: 1379
130
  - name: dev
131
- num_bytes: 243144
132
  num_examples: 1500
133
- download_size: 1273630
134
- dataset_size: 1306317
135
  - config_name: nl
136
  features:
137
  - name: sentence1
@@ -142,16 +141,16 @@ dataset_info:
142
  dtype: float32
143
  splits:
144
  - name: train
145
- num_bytes: 833667
146
  num_examples: 5749
147
  - name: test
148
- num_bytes: 182904
149
  num_examples: 1379
150
  - name: dev
151
- num_bytes: 234887
152
  num_examples: 1500
153
- download_size: 1217753
154
- dataset_size: 1251458
155
  - config_name: pl
156
  features:
157
  - name: sentence1
@@ -162,16 +161,16 @@ dataset_info:
162
  dtype: float32
163
  splits:
164
  - name: train
165
- num_bytes: 828433
166
  num_examples: 5749
167
  - name: test
168
- num_bytes: 181266
169
  num_examples: 1379
170
  - name: dev
171
- num_bytes: 231758
172
  num_examples: 1500
173
- download_size: 1212336
174
- dataset_size: 1241457
175
  - config_name: pt
176
  features:
177
  - name: sentence1
@@ -182,16 +181,16 @@ dataset_info:
182
  dtype: float32
183
  splits:
184
  - name: train
185
- num_bytes: 854356
186
  num_examples: 5749
187
  - name: test
188
- num_bytes: 189163
189
  num_examples: 1379
190
  - name: dev
191
- num_bytes: 240559
192
  num_examples: 1500
193
- download_size: 1251508
194
- dataset_size: 1284078
195
  - config_name: ru
196
  features:
197
  - name: sentence1
@@ -202,16 +201,16 @@ dataset_info:
202
  dtype: float32
203
  splits:
204
  - name: train
205
- num_bytes: 1391674
206
  num_examples: 5749
207
  - name: test
208
- num_bytes: 300007
209
  num_examples: 1379
210
  - name: dev
211
- num_bytes: 386268
212
  num_examples: 1500
213
- download_size: 2051645
214
- dataset_size: 2077949
215
  - config_name: zh
216
  features:
217
  - name: sentence1
@@ -222,16 +221,97 @@ dataset_info:
222
  dtype: float32
223
  splits:
224
  - name: train
225
- num_bytes: 694424
226
  num_examples: 5749
227
  - name: test
228
- num_bytes: 154834
229
  num_examples: 1379
230
  - name: dev
231
- num_bytes: 195821
232
  num_examples: 1500
233
- download_size: 1006892
234
- dataset_size: 1045079
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
235
  ---
236
 
237
  # Dataset Card for STSb Multi MT
29
  task_ids:
30
  - text-scoring
31
  - semantic-similarity-scoring
 
32
  pretty_name: STSb Multi MT
33
  dataset_info:
34
+ - config_name: de
35
  features:
36
  - name: sentence1
37
  dtype: string
41
  dtype: float32
42
  splits:
43
  - name: train
44
+ num_bytes: 867465
45
  num_examples: 5749
46
  - name: test
47
+ num_bytes: 193325
48
  num_examples: 1379
49
  - name: dev
50
+ num_bytes: 247069
51
  num_examples: 1500
52
+ download_size: 823156
53
+ dataset_size: 1307859
54
+ - config_name: en
55
  features:
56
  - name: sentence1
57
  dtype: string
61
  dtype: float32
62
  splits:
63
  - name: train
64
+ num_bytes: 731795
65
  num_examples: 5749
66
  - name: test
67
+ num_bytes: 164458
68
  num_examples: 1379
69
  - name: dev
70
+ num_bytes: 210064
71
  num_examples: 1500
72
+ download_size: 720594
73
+ dataset_size: 1106317
74
  - config_name: es
75
  features:
76
  - name: sentence1
81
  dtype: float32
82
  splits:
83
  - name: train
84
+ num_bytes: 887093
85
  num_examples: 5749
86
  - name: test
87
+ num_bytes: 194608
88
  num_examples: 1379
89
  - name: dev
90
+ num_bytes: 245242
91
  num_examples: 1500
92
+ download_size: 803220
93
+ dataset_size: 1326943
94
  - config_name: fr
95
  features:
96
  - name: sentence1
101
  dtype: float32
102
  splits:
103
  - name: train
104
+ num_bytes: 910187
105
  num_examples: 5749
106
  - name: test
107
+ num_bytes: 200438
108
  num_examples: 1379
109
  - name: dev
110
+ num_bytes: 254075
111
  num_examples: 1500
112
+ download_size: 828209
113
+ dataset_size: 1364700
114
  - config_name: it
115
  features:
116
  - name: sentence1
121
  dtype: float32
122
  splits:
123
  - name: train
124
+ num_bytes: 871518
125
  num_examples: 5749
126
  - name: test
127
+ num_bytes: 191639
128
  num_examples: 1379
129
  - name: dev
130
+ num_bytes: 243136
131
  num_examples: 1500
132
+ download_size: 813106
133
+ dataset_size: 1306293
134
  - config_name: nl
135
  features:
136
  - name: sentence1
141
  dtype: float32
142
  splits:
143
  - name: train
144
+ num_bytes: 833659
145
  num_examples: 5749
146
  - name: test
147
+ num_bytes: 182896
148
  num_examples: 1379
149
  - name: dev
150
+ num_bytes: 234879
151
  num_examples: 1500
152
+ download_size: 786341
153
+ dataset_size: 1251434
154
  - config_name: pl
155
  features:
156
  - name: sentence1
161
  dtype: float32
162
  splits:
163
  - name: train
164
+ num_bytes: 828425
165
  num_examples: 5749
166
  - name: test
167
+ num_bytes: 181258
168
  num_examples: 1379
169
  - name: dev
170
+ num_bytes: 231750
171
  num_examples: 1500
172
+ download_size: 832282
173
+ dataset_size: 1241433
174
  - config_name: pt
175
  features:
176
  - name: sentence1
181
  dtype: float32
182
  splits:
183
  - name: train
184
+ num_bytes: 854348
185
  num_examples: 5749
186
  - name: test
187
+ num_bytes: 189155
188
  num_examples: 1379
189
  - name: dev
190
+ num_bytes: 240551
191
  num_examples: 1500
192
+ download_size: 799737
193
+ dataset_size: 1284054
194
  - config_name: ru
195
  features:
196
  - name: sentence1
201
  dtype: float32
202
  splits:
203
  - name: train
204
+ num_bytes: 1391666
205
  num_examples: 5749
206
  - name: test
207
+ num_bytes: 299999
208
  num_examples: 1379
209
  - name: dev
210
+ num_bytes: 386260
211
  num_examples: 1500
212
+ download_size: 1088400
213
+ dataset_size: 2077925
214
  - config_name: zh
215
  features:
216
  - name: sentence1
221
  dtype: float32
222
  splits:
223
  - name: train
224
+ num_bytes: 694416
225
  num_examples: 5749
226
  - name: test
227
+ num_bytes: 154826
228
  num_examples: 1379
229
  - name: dev
230
+ num_bytes: 195813
231
  num_examples: 1500
232
+ download_size: 715580
233
+ dataset_size: 1045055
234
+ configs:
235
+ - config_name: de
236
+ data_files:
237
+ - split: train
238
+ path: de/train-*
239
+ - split: test
240
+ path: de/test-*
241
+ - split: dev
242
+ path: de/dev-*
243
+ - config_name: en
244
+ data_files:
245
+ - split: train
246
+ path: en/train-*
247
+ - split: test
248
+ path: en/test-*
249
+ - split: dev
250
+ path: en/dev-*
251
+ - config_name: es
252
+ data_files:
253
+ - split: train
254
+ path: es/train-*
255
+ - split: test
256
+ path: es/test-*
257
+ - split: dev
258
+ path: es/dev-*
259
+ - config_name: fr
260
+ data_files:
261
+ - split: train
262
+ path: fr/train-*
263
+ - split: test
264
+ path: fr/test-*
265
+ - split: dev
266
+ path: fr/dev-*
267
+ - config_name: it
268
+ data_files:
269
+ - split: train
270
+ path: it/train-*
271
+ - split: test
272
+ path: it/test-*
273
+ - split: dev
274
+ path: it/dev-*
275
+ - config_name: nl
276
+ data_files:
277
+ - split: train
278
+ path: nl/train-*
279
+ - split: test
280
+ path: nl/test-*
281
+ - split: dev
282
+ path: nl/dev-*
283
+ - config_name: pl
284
+ data_files:
285
+ - split: train
286
+ path: pl/train-*
287
+ - split: test
288
+ path: pl/test-*
289
+ - split: dev
290
+ path: pl/dev-*
291
+ - config_name: pt
292
+ data_files:
293
+ - split: train
294
+ path: pt/train-*
295
+ - split: test
296
+ path: pt/test-*
297
+ - split: dev
298
+ path: pt/dev-*
299
+ - config_name: ru
300
+ data_files:
301
+ - split: train
302
+ path: ru/train-*
303
+ - split: test
304
+ path: ru/test-*
305
+ - split: dev
306
+ path: ru/dev-*
307
+ - config_name: zh
308
+ data_files:
309
+ - split: train
310
+ path: zh/train-*
311
+ - split: test
312
+ path: zh/test-*
313
+ - split: dev
314
+ path: zh/dev-*
315
  ---
316
 
317
  # Dataset Card for STSb Multi MT
dataset_infos.json DELETED
@@ -1 +0,0 @@
1
- {"en": {"description": "This is a multilingual translation of the STSbenchmark dataset. Translation has been done with deepl.com.\n", "citation": "@InProceedings{huggingface:dataset:stsb_multi_mt,\ntitle = {Machine translated multilingual STS benchmark dataset.},\nauthor={Philip May},\nyear={2021},\nurl={https://github.com/PhilipMay/stsb-multi-mt}\n}\n", "homepage": "https://github.com/PhilipMay/stsb-multi-mt", "license": "custom license - see project page", "features": {"sentence1": {"dtype": "string", "id": null, "_type": "Value"}, "sentence2": {"dtype": "string", "id": null, "_type": "Value"}, "similarity_score": {"dtype": "float32", "id": null, "_type": "Value"}}, "post_processed": null, "supervised_keys": null, "builder_name": "stsb_multi_mt", "config_name": "en", "version": {"version_str": "1.0.0", "description": null, "major": 1, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 731803, "num_examples": 5749, "dataset_name": "stsb_multi_mt"}, "test": {"name": "test", "num_bytes": 164466, "num_examples": 1379, "dataset_name": "stsb_multi_mt"}, "dev": {"name": "dev", "num_bytes": 210072, "num_examples": 1500, "dataset_name": "stsb_multi_mt"}}, "download_checksums": {"https://raw.githubusercontent.com/PhilipMay/stsb-multi-mt/main/data/stsb-en-train.csv": {"num_bytes": 708863, "checksum": "e1e84fec60bbb598735552f54a35f4949904a484750fd2cb11e2720e49f63da6"}, "https://raw.githubusercontent.com/PhilipMay/stsb-multi-mt/main/data/stsb-en-dev.csv": {"num_bytes": 204675, "checksum": "d29586e96558c4eb52cf5ea5d14e9c24d3bf0e44f111b017caba43a5adc33226"}, "https://raw.githubusercontent.com/PhilipMay/stsb-multi-mt/main/data/stsb-en-test.csv": {"num_bytes": 158891, "checksum": "11523b625219e94e9ca05d2816b5f02cac1614c5894fe657376fa0806378d053"}}, "download_size": 1072429, "post_processing_size": null, "dataset_size": 1106341, "size_in_bytes": 2178770}, "de": {"description": "This is a multilingual translation of the STSbenchmark dataset. Translation has been done with deepl.com.\n", "citation": "@InProceedings{huggingface:dataset:stsb_multi_mt,\ntitle = {Machine translated multilingual STS benchmark dataset.},\nauthor={Philip May},\nyear={2021},\nurl={https://github.com/PhilipMay/stsb-multi-mt}\n}\n", "homepage": "https://github.com/PhilipMay/stsb-multi-mt", "license": "custom license - see project page", "features": {"sentence1": {"dtype": "string", "id": null, "_type": "Value"}, "sentence2": {"dtype": "string", "id": null, "_type": "Value"}, "similarity_score": {"dtype": "float32", "id": null, "_type": "Value"}}, "post_processed": null, "supervised_keys": null, "builder_name": "stsb_multi_mt", "config_name": "de", "version": {"version_str": "1.0.0", "description": null, "major": 1, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 867473, "num_examples": 5749, "dataset_name": "stsb_multi_mt"}, "test": {"name": "test", "num_bytes": 193333, "num_examples": 1379, "dataset_name": "stsb_multi_mt"}, "dev": {"name": "dev", "num_bytes": 247077, "num_examples": 1500, "dataset_name": "stsb_multi_mt"}}, "download_checksums": {"https://raw.githubusercontent.com/PhilipMay/stsb-multi-mt/main/data/stsb-de-train.csv": {"num_bytes": 847845, "checksum": "7a393283b1ec86d9919452bd793db2938831169b29f1584660c3d20e2ee2a53e"}, "https://raw.githubusercontent.com/PhilipMay/stsb-multi-mt/main/data/stsb-de-dev.csv": {"num_bytes": 242726, "checksum": "40ddf84ce3d2dfb957e11687edea30e5567c542219998f906ee552cfd3ef6769"}, "https://raw.githubusercontent.com/PhilipMay/stsb-multi-mt/main/data/stsb-de-test.csv": {"num_bytes": 188602, "checksum": "a92ce1015b201a342784ab7e34e024ceb0a0eeb479231fbadd05f756afb817fd"}}, "download_size": 1279173, "post_processing_size": null, "dataset_size": 1307883, "size_in_bytes": 2587056}, "es": {"description": "This is a multilingual translation of the STSbenchmark dataset. Translation has been done with deepl.com.\n", "citation": "@InProceedings{huggingface:dataset:stsb_multi_mt,\ntitle = {Machine translated multilingual STS benchmark dataset.},\nauthor={Philip May},\nyear={2021},\nurl={https://github.com/PhilipMay/stsb-multi-mt}\n}\n", "homepage": "https://github.com/PhilipMay/stsb-multi-mt", "license": "custom license - see project page", "features": {"sentence1": {"dtype": "string", "id": null, "_type": "Value"}, "sentence2": {"dtype": "string", "id": null, "_type": "Value"}, "similarity_score": {"dtype": "float32", "id": null, "_type": "Value"}}, "post_processed": null, "supervised_keys": null, "builder_name": "stsb_multi_mt", "config_name": "es", "version": {"version_str": "1.0.0", "description": null, "major": 1, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 887101, "num_examples": 5749, "dataset_name": "stsb_multi_mt"}, "test": {"name": "test", "num_bytes": 194616, "num_examples": 1379, "dataset_name": "stsb_multi_mt"}, "dev": {"name": "dev", "num_bytes": 245250, "num_examples": 1500, "dataset_name": "stsb_multi_mt"}}, "download_checksums": {"https://raw.githubusercontent.com/PhilipMay/stsb-multi-mt/main/data/stsb-es-train.csv": {"num_bytes": 864921, "checksum": "c0b1e809c1d5e51f95e90753656a371a5c92fff9f459ba01be20ce23f3ecc8b4"}, "https://raw.githubusercontent.com/PhilipMay/stsb-multi-mt/main/data/stsb-es-dev.csv": {"num_bytes": 240097, "checksum": "7afece0711add2fb35bc65874bdf0fbbacbd5c784ebb3b926f4099f3989317d4"}, "https://raw.githubusercontent.com/PhilipMay/stsb-multi-mt/main/data/stsb-es-test.csv": {"num_bytes": 189142, "checksum": "2b6f60e63f19806436cdfd8fe314f91144f97e403d1d50f20ff9ffcb323d5b2f"}}, "download_size": 1294160, "post_processing_size": null, "dataset_size": 1326967, "size_in_bytes": 2621127}, "fr": {"description": "This is a multilingual translation of the STSbenchmark dataset. Translation has been done with deepl.com.\n", "citation": "@InProceedings{huggingface:dataset:stsb_multi_mt,\ntitle = {Machine translated multilingual STS benchmark dataset.},\nauthor={Philip May},\nyear={2021},\nurl={https://github.com/PhilipMay/stsb-multi-mt}\n}\n", "homepage": "https://github.com/PhilipMay/stsb-multi-mt", "license": "custom license - see project page", "features": {"sentence1": {"dtype": "string", "id": null, "_type": "Value"}, "sentence2": {"dtype": "string", "id": null, "_type": "Value"}, "similarity_score": {"dtype": "float32", "id": null, "_type": "Value"}}, "post_processed": null, "supervised_keys": null, "builder_name": "stsb_multi_mt", "config_name": "fr", "version": {"version_str": "1.0.0", "description": null, "major": 1, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 910195, "num_examples": 5749, "dataset_name": "stsb_multi_mt"}, "test": {"name": "test", "num_bytes": 200446, "num_examples": 1379, "dataset_name": "stsb_multi_mt"}, "dev": {"name": "dev", "num_bytes": 254083, "num_examples": 1500, "dataset_name": "stsb_multi_mt"}}, "download_checksums": {"https://raw.githubusercontent.com/PhilipMay/stsb-multi-mt/main/data/stsb-fr-train.csv": {"num_bytes": 888493, "checksum": "29cece1d7e713cbc5c6940d4a0bbba7764da093e6d0b9da8fee26662b8af1d0a"}, "https://raw.githubusercontent.com/PhilipMay/stsb-multi-mt/main/data/stsb-fr-dev.csv": {"num_bytes": 249002, "checksum": "d9f0ed00811dc0d91663f195790bccc4627e0da3575e79e4e06ac777ec38039f"}, "https://raw.githubusercontent.com/PhilipMay/stsb-multi-mt/main/data/stsb-fr-test.csv": {"num_bytes": 195020, "checksum": "f7da31a1d88557344afcb26430dc1c6cb85e76b564333de1a29f8008205b39b2"}}, "download_size": 1332515, "post_processing_size": null, "dataset_size": 1364724, "size_in_bytes": 2697239}, "it": {"description": "This is a multilingual translation of the STSbenchmark dataset. Translation has been done with deepl.com.\n", "citation": "@InProceedings{huggingface:dataset:stsb_multi_mt,\ntitle = {Machine translated multilingual STS benchmark dataset.},\nauthor={Philip May},\nyear={2021},\nurl={https://github.com/PhilipMay/stsb-multi-mt}\n}\n", "homepage": "https://github.com/PhilipMay/stsb-multi-mt", "license": "custom license - see project page", "features": {"sentence1": {"dtype": "string", "id": null, "_type": "Value"}, "sentence2": {"dtype": "string", "id": null, "_type": "Value"}, "similarity_score": {"dtype": "float32", "id": null, "_type": "Value"}}, "post_processed": null, "supervised_keys": null, "builder_name": "stsb_multi_mt", "config_name": "it", "version": {"version_str": "1.0.0", "description": null, "major": 1, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 871526, "num_examples": 5749, "dataset_name": "stsb_multi_mt"}, "test": {"name": "test", "num_bytes": 191647, "num_examples": 1379, "dataset_name": "stsb_multi_mt"}, "dev": {"name": "dev", "num_bytes": 243144, "num_examples": 1500, "dataset_name": "stsb_multi_mt"}}, "download_checksums": {"https://raw.githubusercontent.com/PhilipMay/stsb-multi-mt/main/data/stsb-it-train.csv": {"num_bytes": 849516, "checksum": "2e6563f62debb6c9a1233dc411424083b8694c8fe0a6d85723c8ce1ec8cfd894"}, "https://raw.githubusercontent.com/PhilipMay/stsb-multi-mt/main/data/stsb-it-dev.csv": {"num_bytes": 237958, "checksum": "ee64355376825a84ee6cc82b36d9f22b7f03a77d73ea97756cb7aaf85079552b"}, "https://raw.githubusercontent.com/PhilipMay/stsb-multi-mt/main/data/stsb-it-test.csv": {"num_bytes": 186156, "checksum": "e6f0be0552dd3c9e49ac794505086056b07f9cf2be68615e961107841a540248"}}, "download_size": 1273630, "post_processing_size": null, "dataset_size": 1306317, "size_in_bytes": 2579947}, "nl": {"description": "This is a multilingual translation of the STSbenchmark dataset. Translation has been done with deepl.com.\n", "citation": "@InProceedings{huggingface:dataset:stsb_multi_mt,\ntitle = {Machine translated multilingual STS benchmark dataset.},\nauthor={Philip May},\nyear={2021},\nurl={https://github.com/PhilipMay/stsb-multi-mt}\n}\n", "homepage": "https://github.com/PhilipMay/stsb-multi-mt", "license": "custom license - see project page", "features": {"sentence1": {"dtype": "string", "id": null, "_type": "Value"}, "sentence2": {"dtype": "string", "id": null, "_type": "Value"}, "similarity_score": {"dtype": "float32", "id": null, "_type": "Value"}}, "post_processed": null, "supervised_keys": null, "builder_name": "stsb_multi_mt", "config_name": "nl", "version": {"version_str": "1.0.0", "description": null, "major": 1, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 833667, "num_examples": 5749, "dataset_name": "stsb_multi_mt"}, "test": {"name": "test", "num_bytes": 182904, "num_examples": 1379, "dataset_name": "stsb_multi_mt"}, "dev": {"name": "dev", "num_bytes": 234887, "num_examples": 1500, "dataset_name": "stsb_multi_mt"}}, "download_checksums": {"https://raw.githubusercontent.com/PhilipMay/stsb-multi-mt/main/data/stsb-nl-train.csv": {"num_bytes": 810934, "checksum": "4d60f75ec8e7a51c79f2fd7207747cf567bb16812f12f798031b119a14018f7c"}, "https://raw.githubusercontent.com/PhilipMay/stsb-multi-mt/main/data/stsb-nl-dev.csv": {"num_bytes": 229492, "checksum": "d2b2a895824d6bd60a28dbf9c22248df6e65603a389c08943255b7c2c694f8f2"}, "https://raw.githubusercontent.com/PhilipMay/stsb-multi-mt/main/data/stsb-nl-test.csv": {"num_bytes": 177327, "checksum": "a0ee96b6ee9ed0181664e687f6b42f6273a87c885f34833a1e5a06368759cb35"}}, "download_size": 1217753, "post_processing_size": null, "dataset_size": 1251458, "size_in_bytes": 2469211}, "pl": {"description": "This is a multilingual translation of the STSbenchmark dataset. Translation has been done with deepl.com.\n", "citation": "@InProceedings{huggingface:dataset:stsb_multi_mt,\ntitle = {Machine translated multilingual STS benchmark dataset.},\nauthor={Philip May},\nyear={2021},\nurl={https://github.com/PhilipMay/stsb-multi-mt}\n}\n", "homepage": "https://github.com/PhilipMay/stsb-multi-mt", "license": "custom license - see project page", "features": {"sentence1": {"dtype": "string", "id": null, "_type": "Value"}, "sentence2": {"dtype": "string", "id": null, "_type": "Value"}, "similarity_score": {"dtype": "float32", "id": null, "_type": "Value"}}, "post_processed": null, "supervised_keys": null, "builder_name": "stsb_multi_mt", "config_name": "pl", "version": {"version_str": "1.0.0", "description": null, "major": 1, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 828433, "num_examples": 5749, "dataset_name": "stsb_multi_mt"}, "test": {"name": "test", "num_bytes": 181266, "num_examples": 1379, "dataset_name": "stsb_multi_mt"}, "dev": {"name": "dev", "num_bytes": 231758, "num_examples": 1500, "dataset_name": "stsb_multi_mt"}}, "download_checksums": {"https://raw.githubusercontent.com/PhilipMay/stsb-multi-mt/main/data/stsb-pl-train.csv": {"num_bytes": 808667, "checksum": "87a9c4443badde50c56e5fe4e198ee6bfd35c01cc82c487a9a97921c2a2e8415"}, "https://raw.githubusercontent.com/PhilipMay/stsb-multi-mt/main/data/stsb-pl-dev.csv": {"num_bytes": 227287, "checksum": "0caa1ef060e886a41f6ae05bdead735089ed14e9715e63a47583ba2f13b4a17b"}, "https://raw.githubusercontent.com/PhilipMay/stsb-multi-mt/main/data/stsb-pl-test.csv": {"num_bytes": 176382, "checksum": "abea78b1b3c4a39017da96d5074f4d61c1b825590bfb65e50d64216a7c68de59"}}, "download_size": 1212336, "post_processing_size": null, "dataset_size": 1241457, "size_in_bytes": 2453793}, "pt": {"description": "This is a multilingual translation of the STSbenchmark dataset. Translation has been done with deepl.com.\n", "citation": "@InProceedings{huggingface:dataset:stsb_multi_mt,\ntitle = {Machine translated multilingual STS benchmark dataset.},\nauthor={Philip May},\nyear={2021},\nurl={https://github.com/PhilipMay/stsb-multi-mt}\n}\n", "homepage": "https://github.com/PhilipMay/stsb-multi-mt", "license": "custom license - see project page", "features": {"sentence1": {"dtype": "string", "id": null, "_type": "Value"}, "sentence2": {"dtype": "string", "id": null, "_type": "Value"}, "similarity_score": {"dtype": "float32", "id": null, "_type": "Value"}}, "post_processed": null, "supervised_keys": null, "builder_name": "stsb_multi_mt", "config_name": "pt", "version": {"version_str": "1.0.0", "description": null, "major": 1, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 854356, "num_examples": 5749, "dataset_name": "stsb_multi_mt"}, "test": {"name": "test", "num_bytes": 189163, "num_examples": 1379, "dataset_name": "stsb_multi_mt"}, "dev": {"name": "dev", "num_bytes": 240559, "num_examples": 1500, "dataset_name": "stsb_multi_mt"}}, "download_checksums": {"https://raw.githubusercontent.com/PhilipMay/stsb-multi-mt/main/data/stsb-pt-train.csv": {"num_bytes": 832314, "checksum": "8d769a45cf9435b840b3567dc8e327bee437a6a496eec0a1840d97262e032f60"}, "https://raw.githubusercontent.com/PhilipMay/stsb-multi-mt/main/data/stsb-pt-dev.csv": {"num_bytes": 235432, "checksum": "8f063a119e9e4cd8eaa6de42ff125984867c54bfbacef14fce493783bbe6b113"}, "https://raw.githubusercontent.com/PhilipMay/stsb-multi-mt/main/data/stsb-pt-test.csv": {"num_bytes": 183762, "checksum": "9ba9018a1919efd24d243112ecbb3c448e2d361eebaa1c9aadf8988e3767e9be"}}, "download_size": 1251508, "post_processing_size": null, "dataset_size": 1284078, "size_in_bytes": 2535586}, "ru": {"description": "This is a multilingual translation of the STSbenchmark dataset. Translation has been done with deepl.com.\n", "citation": "@InProceedings{huggingface:dataset:stsb_multi_mt,\ntitle = {Machine translated multilingual STS benchmark dataset.},\nauthor={Philip May},\nyear={2021},\nurl={https://github.com/PhilipMay/stsb-multi-mt}\n}\n", "homepage": "https://github.com/PhilipMay/stsb-multi-mt", "license": "custom license - see project page", "features": {"sentence1": {"dtype": "string", "id": null, "_type": "Value"}, "sentence2": {"dtype": "string", "id": null, "_type": "Value"}, "similarity_score": {"dtype": "float32", "id": null, "_type": "Value"}}, "post_processed": null, "supervised_keys": null, "builder_name": "stsb_multi_mt", "config_name": "ru", "version": {"version_str": "1.0.0", "description": null, "major": 1, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 1391674, "num_examples": 5749, "dataset_name": "stsb_multi_mt"}, "test": {"name": "test", "num_bytes": 300007, "num_examples": 1379, "dataset_name": "stsb_multi_mt"}, "dev": {"name": "dev", "num_bytes": 386268, "num_examples": 1500, "dataset_name": "stsb_multi_mt"}}, "download_checksums": {"https://raw.githubusercontent.com/PhilipMay/stsb-multi-mt/main/data/stsb-ru-train.csv": {"num_bytes": 1373901, "checksum": "9b2fa623b9a0fa827151a47f4713c5ebc56313c069ff47855e393d505951aa30"}, "https://raw.githubusercontent.com/PhilipMay/stsb-multi-mt/main/data/stsb-ru-dev.csv": {"num_bytes": 382231, "checksum": "8e4de0dcb2d87c1a2adc7bfdbe8ce4a7e0a1e10e3deba947e26069490ab66abd"}, "https://raw.githubusercontent.com/PhilipMay/stsb-multi-mt/main/data/stsb-ru-test.csv": {"num_bytes": 295513, "checksum": "87a92ee27b26e724c4e4923d744d8198f9eef49698be7b514734118a755c4fce"}}, "download_size": 2051645, "post_processing_size": null, "dataset_size": 2077949, "size_in_bytes": 4129594}, "zh": {"description": "This is a multilingual translation of the STSbenchmark dataset. Translation has been done with deepl.com.\n", "citation": "@InProceedings{huggingface:dataset:stsb_multi_mt,\ntitle = {Machine translated multilingual STS benchmark dataset.},\nauthor={Philip May},\nyear={2021},\nurl={https://github.com/PhilipMay/stsb-multi-mt}\n}\n", "homepage": "https://github.com/PhilipMay/stsb-multi-mt", "license": "custom license - see project page", "features": {"sentence1": {"dtype": "string", "id": null, "_type": "Value"}, "sentence2": {"dtype": "string", "id": null, "_type": "Value"}, "similarity_score": {"dtype": "float32", "id": null, "_type": "Value"}}, "post_processed": null, "supervised_keys": null, "builder_name": "stsb_multi_mt", "config_name": "zh", "version": {"version_str": "1.0.0", "description": null, "major": 1, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 694424, "num_examples": 5749, "dataset_name": "stsb_multi_mt"}, "test": {"name": "test", "num_bytes": 154834, "num_examples": 1379, "dataset_name": "stsb_multi_mt"}, "dev": {"name": "dev", "num_bytes": 195821, "num_examples": 1500, "dataset_name": "stsb_multi_mt"}}, "download_checksums": {"https://raw.githubusercontent.com/PhilipMay/stsb-multi-mt/main/data/stsb-zh-train.csv": {"num_bytes": 669068, "checksum": "6d44b5faa6c88e76f0c5f39fcd5963622c121b1d106f139a33b5b1df24c20ce2"}, "https://raw.githubusercontent.com/PhilipMay/stsb-multi-mt/main/data/stsb-zh-dev.csv": {"num_bytes": 189283, "checksum": "f24a3580938f840d82ee3d520de3af2be355b389850f21d0cc5c228ba3f6cdc9"}, "https://raw.githubusercontent.com/PhilipMay/stsb-multi-mt/main/data/stsb-zh-test.csv": {"num_bytes": 148541, "checksum": "a583195cb30b9d99ae5fe1d03cd3e544c4c2a1c48d27713fb0686c7bae9fbb19"}}, "download_size": 1006892, "post_processing_size": null, "dataset_size": 1045079, "size_in_bytes": 2051971}}
 
de/dev-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7f3968edb916863ec8163a082d2a01aa1c66e003eb2cae677abc5df8844afb17
3
+ size 162963
de/test-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7d12e1c13485ff7749884b4ff2947fc24edb8da7b7ce5bd7dd8157ad715384f1
3
+ size 123262
de/train-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:850f6cfd538fdb76a6acadf18d956535cc22fc2518ae84d25d6d9b70d8f3fd04
3
+ size 536931
en/dev-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ddddbcd512fe72bdcc3b569d727cfc91b0f0db5991d3d73d9599f9b87def9e9b
3
+ size 142217
en/test-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ad47e2a460df87f2e3f5913f91340f0d643a745f0e53840f65d025e412a7902a
3
+ size 108003
en/train-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c6d710d3cd529a898da6e7bd12ec9014a56d0fbf7fe680cebe0620d3e5388df8
3
+ size 470374
es/dev-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5c2ff0512db575547f12943b7b74e262176aa1e2d80d0acf32b9f550fb1982c1
3
+ size 156545
es/test-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f43235bd747bab23dd6587259d7ca950bccd5769287a89bde7113d8dbc6f2aba
3
+ size 119167
es/train-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:461500688de962e08097cc363a2ac7a7325a78beacb4e1150ed0b1c8b4bf942f
3
+ size 527508
fr/dev-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:676db40fc8e3d0b95f80e8c89c0ed821a1a05e74e69ed22fa934c58db51910a4
3
+ size 162964
fr/test-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3ceb3274ece23e8e744923f9acabb1bb6255f0f500432a765384c05941eff04b
3
+ size 122816
fr/train-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5108ba7b991e67c265a115e0ae8e9da9f9e0a23072b347107771b9ac9d33fe49
3
+ size 542429
it/dev-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c7c260067fe648279074e99b51112c1d487c3e88181c50546a7276a8e9525968
3
+ size 159395
it/test-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:902b429b7e6e69390c9cb562967dd36b7232f1a61e7d0a6eb2966b5a86c9de88
3
+ size 122087
it/train-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1f8a4f7da1ec785498a9d23d67722abb0a4a6bed09ca918923d4855c611cd272
3
+ size 531624
nl/dev-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:608268b9e43c17e4847a0f73ac34b659e01121421b9e1753435e32cd10399743
3
+ size 153267
nl/test-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c64cc7b8bb908d6d2800850654fe0338e36c18c1051071d736817d75f76e8c2b
3
+ size 116070
nl/train-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5c494515dc675542863dcd537a60399dd1e243d3a369fd880f27469a13ec4875
3
+ size 517004
pl/dev-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:add86258ec27a8343f51b1c9c6f75122544cb79f4fcc3345c90784a4669a963d
3
+ size 163535
pl/test-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a6c7af780af587a3cfc062845f648e51245dc3b97c189713c674d6525f0a7b16
3
+ size 123102
pl/train-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8a4ad7a1384098282e7f8ebc97617bfb0ef3a28a9c871675b9cca431434bfa31
3
+ size 545645
pt/dev-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1412277fc904d0fedc29f465876373df6361df9dc0e23bba396bb4fc0f21ce2e
3
+ size 157547
pt/test-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:07d44920bb10ce6055a806164614681596be7216232d203f19c37e0b5df6b15a
3
+ size 118973
pt/train-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:77fe5ce3cfb9f16db04f5fa2f8d99dc11f4bba59981f51d87932f91eecc08028
3
+ size 523217
ru/dev-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:effa697490b0d5c7b1ebebaa9442fae67d23f72cacc2c1ecbaf1ae3bff97a853
3
+ size 209325
ru/test-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:396fe372bb830d4bb82836ccae70b2f6510318508ae68776898ee426d4b14a45
3
+ size 157596
ru/train-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:276dfe21edb6aef287c09f5b0836ed31c5e12a204aa7d0d8329d733faad85581
3
+ size 721479
stsb_multi_mt.py DELETED
@@ -1,196 +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
- """These are different multilingual translations and the English original of the STSbenchmark dataset."""
16
-
17
-
18
- import csv
19
-
20
- import datasets
21
-
22
-
23
- _CITATION = """\
24
- @InProceedings{huggingface:dataset:stsb_multi_mt,
25
- title = {Machine translated multilingual STS benchmark dataset.},
26
- author={Philip May},
27
- year={2021},
28
- url={https://github.com/PhilipMay/stsb-multi-mt}
29
- }
30
- """
31
-
32
- _DESCRIPTION = """\
33
- These are different multilingual translations and the English original of the STSbenchmark dataset. \
34
- Translation has been done with deepl.com.
35
- """
36
-
37
- _HOMEPAGE = "https://github.com/PhilipMay/stsb-multi-mt"
38
-
39
- _LICENSE = "custom license - see project page"
40
-
41
- _BASE_URL = "https://raw.githubusercontent.com/PhilipMay/stsb-multi-mt/main/data"
42
-
43
-
44
- class StsbMultiMt(datasets.GeneratorBasedBuilder):
45
- """These are different multilingual translations and the English original of the STSbenchmark dataset.
46
-
47
- Translation has been done with deepl.com.
48
- """
49
-
50
- VERSION = datasets.Version("1.0.0")
51
-
52
- BUILDER_CONFIGS = [
53
- datasets.BuilderConfig(
54
- name="en",
55
- version=VERSION,
56
- description="This is the original English STS benchmark data set.",
57
- ),
58
- datasets.BuilderConfig(
59
- name="de",
60
- version=VERSION,
61
- description="This is the German STS benchmark data set.",
62
- ),
63
- datasets.BuilderConfig(
64
- name="es",
65
- version=VERSION,
66
- description="This is the Spanish STS benchmark data set.",
67
- ),
68
- datasets.BuilderConfig(
69
- name="fr",
70
- version=VERSION,
71
- description="This is the French STS benchmark data set.",
72
- ),
73
- datasets.BuilderConfig(
74
- name="it",
75
- version=VERSION,
76
- description="This is the Italian STS benchmark data set.",
77
- ),
78
- # here seems to be an issue - see https://github.com/PhilipMay/stsb-multi-mt/issues/1
79
- # datasets.BuilderConfig(name="ja", version=VERSION, description="This is the Japanese STS benchmark data set."),
80
- datasets.BuilderConfig(
81
- name="nl",
82
- version=VERSION,
83
- description="This is the Dutch STS benchmark data set.",
84
- ),
85
- datasets.BuilderConfig(
86
- name="pl",
87
- version=VERSION,
88
- description="This is the Polish STS benchmark data set.",
89
- ),
90
- datasets.BuilderConfig(
91
- name="pt",
92
- version=VERSION,
93
- description="This is the Portuguese STS benchmark data set.",
94
- ),
95
- datasets.BuilderConfig(
96
- name="ru",
97
- version=VERSION,
98
- description="This is the Russian STS benchmark data set.",
99
- ),
100
- datasets.BuilderConfig(
101
- name="zh",
102
- version=VERSION,
103
- description="This is the Chinese (simplified) STS benchmark data set.",
104
- ),
105
- ]
106
-
107
- def _info(self):
108
- features = datasets.Features(
109
- {
110
- "sentence1": datasets.Value("string"),
111
- "sentence2": datasets.Value("string"),
112
- "similarity_score": datasets.Value("float"),
113
- }
114
- )
115
- return datasets.DatasetInfo(
116
- # This is the description that will appear on the datasets page.
117
- description=_DESCRIPTION,
118
- # This defines the different columns of the dataset and their types
119
- features=features, # Here we define them above because they are different between the two configurations
120
- # If there's a common (input, target) tuple from the features,
121
- # specify them here. They'll be used if as_supervised=True in
122
- # builder.as_dataset.
123
- supervised_keys=None,
124
- # Homepage of the dataset for documentation
125
- homepage=_HOMEPAGE,
126
- # License for the dataset if available
127
- license=_LICENSE,
128
- # Citation for the dataset
129
- citation=_CITATION,
130
- )
131
-
132
- def _split_generators(self, dl_manager):
133
- """Returns SplitGenerators."""
134
- urls_to_download = {
135
- "train": f"{_BASE_URL}/stsb-{self.config.name}-train.csv",
136
- "dev": f"{_BASE_URL}/stsb-{self.config.name}-dev.csv",
137
- "test": f"{_BASE_URL}/stsb-{self.config.name}-test.csv",
138
- }
139
- downloaded_files = dl_manager.download(urls_to_download)
140
- return [
141
- datasets.SplitGenerator(
142
- name=datasets.Split.TRAIN,
143
- # These kwargs will be passed to _generate_examples
144
- gen_kwargs={
145
- "filepath": downloaded_files["train"],
146
- },
147
- ),
148
- datasets.SplitGenerator(
149
- name=datasets.Split.TEST,
150
- # These kwargs will be passed to _generate_examples
151
- gen_kwargs={
152
- "filepath": downloaded_files["test"],
153
- },
154
- ),
155
- datasets.SplitGenerator(
156
- name=datasets.NamedSplit("dev"),
157
- # These kwargs will be passed to _generate_examples
158
- gen_kwargs={
159
- "filepath": downloaded_files["dev"],
160
- },
161
- ),
162
- ]
163
-
164
- def _generate_examples(
165
- self,
166
- filepath, # method parameters are unpacked from `gen_kwargs` as given in `_split_generators`
167
- ):
168
- """Yields examples as (key, example) tuples."""
169
- # This method handles input defined in _split_generators to yield (key, example) tuples from the dataset.
170
- # The `key` is here for legacy reason (tfds) and is not important in itself.
171
- with open(filepath, newline="", encoding="utf-8") as csvfile:
172
- csv_dict_reader = csv.DictReader(
173
- csvfile,
174
- fieldnames=["sentence1", "sentence2", "similarity_score"],
175
- dialect="excel",
176
- )
177
- for id_, row in enumerate(csv_dict_reader):
178
- # do asserts
179
- assert "sentence1" in row
180
- assert isinstance(row["sentence1"], str)
181
- assert len(row["sentence1"].strip()) > 0
182
- assert "sentence2" in row
183
- assert isinstance(row["sentence2"], str)
184
- assert len(row["sentence2"].strip()) > 0
185
- assert "similarity_score" in row
186
- assert isinstance(row["similarity_score"], str)
187
- assert len(row["similarity_score"].strip()) > 0
188
-
189
- # convert similarity_score from str to float
190
- row["similarity_score"] = float(row["similarity_score"])
191
-
192
- # do more asserts
193
- assert row["similarity_score"] >= 0.0
194
- assert row["similarity_score"] <= 5.0
195
-
196
- yield id_, row
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
zh/dev-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cd821e637eaae5bc71178ca2c38cbbdbbcebbad5c9d87f3bb86ec2bb2dbeb0b3
3
+ size 140330
zh/test-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fd16dd690b9db6eb8b399e765af566e261ed9bbc6ac074e9b64b769c33cf459f
3
+ size 106910
zh/train-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:440304dcec07c0aa05df9a52d6bd9b25e34072592399e6157dbb9f2a92c53b88
3
+ size 468340