Datasets:

Multilinguality:
translation
Language Creators:
expert-generated
Annotations Creators:
crowdsourced
Source Datasets:
original
Tags:
License:
bbaaaa commited on
Commit
6300a14
1 Parent(s): 0678012

First version of the your_dataset_name dataset.

Browse files
.gitattributes CHANGED
@@ -52,3 +52,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
52
  *.jpg filter=lfs diff=lfs merge=lfs -text
53
  *.jpeg filter=lfs diff=lfs merge=lfs -text
54
  *.webp filter=lfs diff=lfs merge=lfs -text
 
 
52
  *.jpg filter=lfs diff=lfs merge=lfs -text
53
  *.jpeg filter=lfs diff=lfs merge=lfs -text
54
  *.webp filter=lfs diff=lfs merge=lfs -text
55
+ *.json filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,755 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ annotations_creators:
3
+ - crowdsourced
4
+ language:
5
+ - ar
6
+ - de
7
+ - en
8
+ - fr
9
+ - it
10
+ - ja
11
+ - ko
12
+ - nl
13
+ - ro
14
+ - zh
15
+ language_creators:
16
+ - expert-generated
17
+ license:
18
+ - cc-by-nc-nd-4.0
19
+ multilinguality:
20
+ - translation
21
+ pretty_name: IWSLT 2017
22
+ size_categories:
23
+ - 1M<n<10M
24
+ source_datasets:
25
+ - original
26
+ task_categories:
27
+ - translation
28
+ task_ids: []
29
+ paperswithcode_id: iwslt-2017
30
+ dataset_info:
31
+ - config_name: iwslt2017-en-it
32
+ features:
33
+ - name: translation
34
+ dtype:
35
+ translation:
36
+ languages:
37
+ - en
38
+ - it
39
+ splits:
40
+ - name: train
41
+ num_bytes: 46647925
42
+ num_examples: 231619
43
+ - name: test
44
+ num_bytes: 305246
45
+ num_examples: 1566
46
+ - name: validation
47
+ num_bytes: 200023
48
+ num_examples: 929
49
+ download_size: 329391132
50
+ dataset_size: 47153194
51
+ - config_name: iwslt2017-en-nl
52
+ features:
53
+ - name: translation
54
+ dtype:
55
+ translation:
56
+ languages:
57
+ - en
58
+ - nl
59
+ splits:
60
+ - name: train
61
+ num_bytes: 42843933
62
+ num_examples: 237240
63
+ - name: test
64
+ num_bytes: 311646
65
+ num_examples: 1777
66
+ - name: validation
67
+ num_bytes: 197814
68
+ num_examples: 1003
69
+ download_size: 329391132
70
+ dataset_size: 43353393
71
+ - config_name: iwslt2017-en-ro
72
+ features:
73
+ - name: translation
74
+ dtype:
75
+ translation:
76
+ languages:
77
+ - en
78
+ - ro
79
+ splits:
80
+ - name: train
81
+ num_bytes: 44129950
82
+ num_examples: 220538
83
+ - name: test
84
+ num_bytes: 316790
85
+ num_examples: 1678
86
+ - name: validation
87
+ num_bytes: 205028
88
+ num_examples: 914
89
+ download_size: 329391132
90
+ dataset_size: 44651768
91
+ - config_name: iwslt2017-it-en
92
+ features:
93
+ - name: translation
94
+ dtype:
95
+ translation:
96
+ languages:
97
+ - it
98
+ - en
99
+ splits:
100
+ - name: train
101
+ num_bytes: 46647925
102
+ num_examples: 231619
103
+ - name: test
104
+ num_bytes: 305246
105
+ num_examples: 1566
106
+ - name: validation
107
+ num_bytes: 200023
108
+ num_examples: 929
109
+ download_size: 329391132
110
+ dataset_size: 47153194
111
+ - config_name: iwslt2017-it-nl
112
+ features:
113
+ - name: translation
114
+ dtype:
115
+ translation:
116
+ languages:
117
+ - it
118
+ - nl
119
+ splits:
120
+ - name: train
121
+ num_bytes: 43033168
122
+ num_examples: 233415
123
+ - name: test
124
+ num_bytes: 309725
125
+ num_examples: 1669
126
+ - name: validation
127
+ num_bytes: 197774
128
+ num_examples: 1001
129
+ download_size: 329391132
130
+ dataset_size: 43540667
131
+ - config_name: iwslt2017-it-ro
132
+ features:
133
+ - name: translation
134
+ dtype:
135
+ translation:
136
+ languages:
137
+ - it
138
+ - ro
139
+ splits:
140
+ - name: train
141
+ num_bytes: 44485169
142
+ num_examples: 217551
143
+ - name: test
144
+ num_bytes: 314974
145
+ num_examples: 1643
146
+ - name: validation
147
+ num_bytes: 204989
148
+ num_examples: 914
149
+ download_size: 329391132
150
+ dataset_size: 45005132
151
+ - config_name: iwslt2017-nl-en
152
+ features:
153
+ - name: translation
154
+ dtype:
155
+ translation:
156
+ languages:
157
+ - nl
158
+ - en
159
+ splits:
160
+ - name: train
161
+ num_bytes: 42843933
162
+ num_examples: 237240
163
+ - name: test
164
+ num_bytes: 311646
165
+ num_examples: 1777
166
+ - name: validation
167
+ num_bytes: 197814
168
+ num_examples: 1003
169
+ download_size: 329391132
170
+ dataset_size: 43353393
171
+ - config_name: iwslt2017-nl-it
172
+ features:
173
+ - name: translation
174
+ dtype:
175
+ translation:
176
+ languages:
177
+ - nl
178
+ - it
179
+ splits:
180
+ - name: train
181
+ num_bytes: 43033168
182
+ num_examples: 233415
183
+ - name: test
184
+ num_bytes: 309725
185
+ num_examples: 1669
186
+ - name: validation
187
+ num_bytes: 197774
188
+ num_examples: 1001
189
+ download_size: 329391132
190
+ dataset_size: 43540667
191
+ - config_name: iwslt2017-nl-ro
192
+ features:
193
+ - name: translation
194
+ dtype:
195
+ translation:
196
+ languages:
197
+ - nl
198
+ - ro
199
+ splits:
200
+ - name: train
201
+ num_bytes: 41338738
202
+ num_examples: 206920
203
+ - name: test
204
+ num_bytes: 320952
205
+ num_examples: 1680
206
+ - name: validation
207
+ num_bytes: 202380
208
+ num_examples: 913
209
+ download_size: 329391132
210
+ dataset_size: 41862070
211
+ - config_name: iwslt2017-ro-en
212
+ features:
213
+ - name: translation
214
+ dtype:
215
+ translation:
216
+ languages:
217
+ - ro
218
+ - en
219
+ splits:
220
+ - name: train
221
+ num_bytes: 44129950
222
+ num_examples: 220538
223
+ - name: test
224
+ num_bytes: 316790
225
+ num_examples: 1678
226
+ - name: validation
227
+ num_bytes: 205028
228
+ num_examples: 914
229
+ download_size: 329391132
230
+ dataset_size: 44651768
231
+ - config_name: iwslt2017-ro-it
232
+ features:
233
+ - name: translation
234
+ dtype:
235
+ translation:
236
+ languages:
237
+ - ro
238
+ - it
239
+ splits:
240
+ - name: train
241
+ num_bytes: 44485169
242
+ num_examples: 217551
243
+ - name: test
244
+ num_bytes: 314974
245
+ num_examples: 1643
246
+ - name: validation
247
+ num_bytes: 204989
248
+ num_examples: 914
249
+ download_size: 329391132
250
+ dataset_size: 45005132
251
+ - config_name: iwslt2017-ro-nl
252
+ features:
253
+ - name: translation
254
+ dtype:
255
+ translation:
256
+ languages:
257
+ - ro
258
+ - nl
259
+ splits:
260
+ - name: train
261
+ num_bytes: 41338738
262
+ num_examples: 206920
263
+ - name: test
264
+ num_bytes: 320952
265
+ num_examples: 1680
266
+ - name: validation
267
+ num_bytes: 202380
268
+ num_examples: 913
269
+ download_size: 329391132
270
+ dataset_size: 41862070
271
+ - config_name: iwslt2017-ar-en
272
+ features:
273
+ - name: translation
274
+ dtype:
275
+ translation:
276
+ languages:
277
+ - ar
278
+ - en
279
+ splits:
280
+ - name: train
281
+ num_bytes: 56481059
282
+ num_examples: 231713
283
+ - name: test
284
+ num_bytes: 2014296
285
+ num_examples: 8583
286
+ - name: validation
287
+ num_bytes: 241206
288
+ num_examples: 888
289
+ download_size: 27748780
290
+ dataset_size: 58736561
291
+ - config_name: iwslt2017-de-en
292
+ features:
293
+ - name: translation
294
+ dtype:
295
+ translation:
296
+ languages:
297
+ - de
298
+ - en
299
+ splits:
300
+ - name: train
301
+ num_bytes: 42608380
302
+ num_examples: 206112
303
+ - name: test
304
+ num_bytes: 1608474
305
+ num_examples: 8079
306
+ - name: validation
307
+ num_bytes: 210975
308
+ num_examples: 888
309
+ download_size: 16758320
310
+ dataset_size: 44427829
311
+ - config_name: iwslt2017-en-ar
312
+ features:
313
+ - name: translation
314
+ dtype:
315
+ translation:
316
+ languages:
317
+ - en
318
+ - ar
319
+ splits:
320
+ - name: train
321
+ num_bytes: 56481059
322
+ num_examples: 231713
323
+ - name: test
324
+ num_bytes: 2014296
325
+ num_examples: 8583
326
+ - name: validation
327
+ num_bytes: 241206
328
+ num_examples: 888
329
+ download_size: 29333173
330
+ dataset_size: 58736561
331
+ - config_name: iwslt2017-en-de
332
+ features:
333
+ - name: translation
334
+ dtype:
335
+ translation:
336
+ languages:
337
+ - en
338
+ - de
339
+ splits:
340
+ - name: train
341
+ num_bytes: 42608380
342
+ num_examples: 206112
343
+ - name: test
344
+ num_bytes: 1608474
345
+ num_examples: 8079
346
+ - name: validation
347
+ num_bytes: 210975
348
+ num_examples: 888
349
+ download_size: 16758334
350
+ dataset_size: 44427829
351
+ - config_name: iwslt2017-en-fr
352
+ features:
353
+ - name: translation
354
+ dtype:
355
+ translation:
356
+ languages:
357
+ - en
358
+ - fr
359
+ splits:
360
+ - name: train
361
+ num_bytes: 49273286
362
+ num_examples: 232825
363
+ - name: test
364
+ num_bytes: 1767465
365
+ num_examples: 8597
366
+ - name: validation
367
+ num_bytes: 207579
368
+ num_examples: 890
369
+ download_size: 27699724
370
+ dataset_size: 51248330
371
+ - config_name: iwslt2017-en-ja
372
+ features:
373
+ - name: translation
374
+ dtype:
375
+ translation:
376
+ languages:
377
+ - en
378
+ - ja
379
+ splits:
380
+ - name: train
381
+ num_bytes: 48204987
382
+ num_examples: 223108
383
+ - name: test
384
+ num_bytes: 1809007
385
+ num_examples: 8469
386
+ - name: validation
387
+ num_bytes: 208124
388
+ num_examples: 871
389
+ download_size: 26983602
390
+ dataset_size: 50222118
391
+ - config_name: iwslt2017-en-ko
392
+ features:
393
+ - name: translation
394
+ dtype:
395
+ translation:
396
+ languages:
397
+ - en
398
+ - ko
399
+ splits:
400
+ - name: train
401
+ num_bytes: 51678043
402
+ num_examples: 230240
403
+ - name: test
404
+ num_bytes: 1869793
405
+ num_examples: 8514
406
+ - name: validation
407
+ num_bytes: 219295
408
+ num_examples: 879
409
+ download_size: 19364776
410
+ dataset_size: 53767131
411
+ - config_name: iwslt2017-en-zh
412
+ features:
413
+ - name: translation
414
+ dtype:
415
+ translation:
416
+ languages:
417
+ - en
418
+ - zh
419
+ splits:
420
+ - name: train
421
+ num_bytes: 44271004
422
+ num_examples: 231266
423
+ - name: test
424
+ num_bytes: 1605527
425
+ num_examples: 8549
426
+ - name: validation
427
+ num_bytes: 202537
428
+ num_examples: 879
429
+ download_size: 27597071
430
+ dataset_size: 46079068
431
+ - config_name: iwslt2017-fr-en
432
+ features:
433
+ - name: translation
434
+ dtype:
435
+ translation:
436
+ languages:
437
+ - fr
438
+ - en
439
+ splits:
440
+ - name: train
441
+ num_bytes: 49273286
442
+ num_examples: 232825
443
+ - name: test
444
+ num_bytes: 1767465
445
+ num_examples: 8597
446
+ - name: validation
447
+ num_bytes: 207579
448
+ num_examples: 890
449
+ download_size: 26880731
450
+ dataset_size: 51248330
451
+ - config_name: iwslt2017-ja-en
452
+ features:
453
+ - name: translation
454
+ dtype:
455
+ translation:
456
+ languages:
457
+ - ja
458
+ - en
459
+ splits:
460
+ - name: train
461
+ num_bytes: 48204987
462
+ num_examples: 223108
463
+ - name: test
464
+ num_bytes: 1809007
465
+ num_examples: 8469
466
+ - name: validation
467
+ num_bytes: 208124
468
+ num_examples: 871
469
+ download_size: 26190859
470
+ dataset_size: 50222118
471
+ - config_name: iwslt2017-ko-en
472
+ features:
473
+ - name: translation
474
+ dtype:
475
+ translation:
476
+ languages:
477
+ - ko
478
+ - en
479
+ splits:
480
+ - name: train
481
+ num_bytes: 51678043
482
+ num_examples: 230240
483
+ - name: test
484
+ num_bytes: 1869793
485
+ num_examples: 8514
486
+ - name: validation
487
+ num_bytes: 219295
488
+ num_examples: 879
489
+ download_size: 19364733
490
+ dataset_size: 53767131
491
+ - config_name: iwslt2017-zh-en
492
+ features:
493
+ - name: translation
494
+ dtype:
495
+ translation:
496
+ languages:
497
+ - zh
498
+ - en
499
+ splits:
500
+ - name: train
501
+ num_bytes: 44271004
502
+ num_examples: 231266
503
+ - name: test
504
+ num_bytes: 1605527
505
+ num_examples: 8549
506
+ - name: validation
507
+ num_bytes: 202537
508
+ num_examples: 879
509
+ download_size: 26849290
510
+ dataset_size: 46079068
511
+ ---
512
+
513
+ # Dataset Card for IWSLT 2017
514
+
515
+ ## Table of Contents
516
+ - [Dataset Description](#dataset-description)
517
+ - [Dataset Summary](#dataset-summary)
518
+ - [Supported Tasks and Leaderboards](#supported-tasks-and-leaderboards)
519
+ - [Languages](#languages)
520
+ - [Dataset Structure](#dataset-structure)
521
+ - [Data Instances](#data-instances)
522
+ - [Data Fields](#data-fields)
523
+ - [Data Splits](#data-splits)
524
+ - [Dataset Creation](#dataset-creation)
525
+ - [Curation Rationale](#curation-rationale)
526
+ - [Source Data](#source-data)
527
+ - [Annotations](#annotations)
528
+ - [Personal and Sensitive Information](#personal-and-sensitive-information)
529
+ - [Considerations for Using the Data](#considerations-for-using-the-data)
530
+ - [Social Impact of Dataset](#social-impact-of-dataset)
531
+ - [Discussion of Biases](#discussion-of-biases)
532
+ - [Other Known Limitations](#other-known-limitations)
533
+ - [Additional Information](#additional-information)
534
+ - [Dataset Curators](#dataset-curators)
535
+ - [Licensing Information](#licensing-information)
536
+ - [Citation Information](#citation-information)
537
+ - [Contributions](#contributions)
538
+
539
+ ## Dataset Description
540
+
541
+ - **Homepage:** [https://sites.google.com/site/iwsltevaluation2017/TED-tasks](https://sites.google.com/site/iwsltevaluation2017/TED-tasks)
542
+ - **Repository:** [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
543
+ - **Paper:** [Overview of the IWSLT 2017 Evaluation Campaign](https://aclanthology.org/2017.iwslt-1.1/)
544
+ - **Point of Contact:** [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
545
+ - **Size of downloaded dataset files:** 4046.89 MB
546
+ - **Size of the generated dataset:** 1087.28 MB
547
+ - **Total amount of disk used:** 5134.17 MB
548
+
549
+ ### Dataset Summary
550
+
551
+ The IWSLT 2017 Multilingual Task addresses text translation, including zero-shot translation, with a single MT system
552
+ across all directions including English, German, Dutch, Italian and Romanian. As unofficial task, conventional
553
+ bilingual text translation is offered between English and Arabic, French, Japanese, Chinese, German and Korean.
554
+
555
+ ### Supported Tasks and Leaderboards
556
+
557
+ [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
558
+
559
+ ### Languages
560
+
561
+ [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
562
+
563
+ ## Dataset Structure
564
+
565
+ ### Data Instances
566
+
567
+ #### iwslt2017-ar-en
568
+
569
+ - **Size of downloaded dataset files:** 26.46 MB
570
+ - **Size of the generated dataset:** 56.02 MB
571
+ - **Total amount of disk used:** 82.48 MB
572
+
573
+ An example of 'train' looks as follows.
574
+ ```
575
+ This example was too long and was cropped:
576
+
577
+ {
578
+ "translation": "{\"ar\": \"لقد طرت في \\\"القوات الجوية \\\" لمدة ثمان سنوات. والآن أجد نفسي مضطرا لخلع حذائي قبل صعود الطائرة!\", \"en\": \"I flew on Air ..."
579
+ }
580
+ ```
581
+
582
+ #### iwslt2017-de-en
583
+
584
+ - **Size of downloaded dataset files:** 15.98 MB
585
+ - **Size of the generated dataset:** 42.37 MB
586
+ - **Total amount of disk used:** 58.35 MB
587
+
588
+ An example of 'train' looks as follows.
589
+ ```
590
+ {
591
+ "translation": {
592
+ "de": "Es ist mir wirklich eine Ehre, zweimal auf dieser Bühne stehen zu dürfen. Tausend Dank dafür.",
593
+ "en": "And it's truly a great honor to have the opportunity to come to this stage twice; I'm extremely grateful."
594
+ }
595
+ }
596
+ ```
597
+
598
+ #### iwslt2017-en-ar
599
+
600
+ - **Size of downloaded dataset files:** 27.97 MB
601
+ - **Size of the generated dataset:** 56.02 MB
602
+ - **Total amount of disk used:** 83.99 MB
603
+
604
+ An example of 'train' looks as follows.
605
+ ```
606
+ This example was too long and was cropped:
607
+
608
+ {
609
+ "translation": "{\"ar\": \"لقد طرت في \\\"القوات الجوية \\\" لمدة ثمان سنوات. والآن أجد نفسي مضطرا لخلع حذائي قبل صعود الطائرة!\", \"en\": \"I flew on Air ..."
610
+ }
611
+ ```
612
+
613
+ #### iwslt2017-en-de
614
+
615
+ - **Size of downloaded dataset files:** 15.98 MB
616
+ - **Size of the generated dataset:** 42.37 MB
617
+ - **Total amount of disk used:** 58.35 MB
618
+
619
+ An example of 'validation' looks as follows.
620
+ ```
621
+ {
622
+ "translation": {
623
+ "de": "Die nächste Folie, die ich Ihnen zeige, ist eine Zeitrafferaufnahme was in den letzten 25 Jahren passiert ist.",
624
+ "en": "The next slide I show you will be a rapid fast-forward of what's happened over the last 25 years."
625
+ }
626
+ }
627
+ ```
628
+
629
+ #### iwslt2017-en-fr
630
+
631
+ - **Size of downloaded dataset files:** 26.41 MB
632
+ - **Size of the generated dataset:** 48.87 MB
633
+ - **Total amount of disk used:** 75.28 MB
634
+
635
+ An example of 'validation' looks as follows.
636
+ ```
637
+ {
638
+ "translation": {
639
+ "en": "But this understates the seriousness of this particular problem because it doesn't show the thickness of the ice.",
640
+ "fr": "Mais ceci tend à amoindrir le problème parce qu'on ne voit pas l'épaisseur de la glace."
641
+ }
642
+ }
643
+ ```
644
+
645
+ ### Data Fields
646
+
647
+ The data fields are the same among all splits.
648
+
649
+ #### iwslt2017-ar-en
650
+ - `translation`: a multilingual `string` variable, with possible languages including `ar`, `en`.
651
+
652
+ #### iwslt2017-de-en
653
+ - `translation`: a multilingual `string` variable, with possible languages including `de`, `en`.
654
+
655
+ #### iwslt2017-en-ar
656
+ - `translation`: a multilingual `string` variable, with possible languages including `en`, `ar`.
657
+
658
+ #### iwslt2017-en-de
659
+ - `translation`: a multilingual `string` variable, with possible languages including `en`, `de`.
660
+
661
+ #### iwslt2017-en-fr
662
+ - `translation`: a multilingual `string` variable, with possible languages including `en`, `fr`.
663
+
664
+ ### Data Splits
665
+
666
+ | name |train |validation|test|
667
+ |---------------|-----:|---------:|---:|
668
+ |iwslt2017-ar-en|231713| 888|8583|
669
+ |iwslt2017-de-en|206112| 888|8079|
670
+ |iwslt2017-en-ar|231713| 888|8583|
671
+ |iwslt2017-en-de|206112| 888|8079|
672
+ |iwslt2017-en-fr|232825| 890|8597|
673
+
674
+ ## Dataset Creation
675
+
676
+ ### Curation Rationale
677
+
678
+ [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
679
+
680
+ ### Source Data
681
+
682
+ #### Initial Data Collection and Normalization
683
+
684
+ [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
685
+
686
+ #### Who are the source language producers?
687
+
688
+ [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
689
+
690
+ ### Annotations
691
+
692
+ #### Annotation process
693
+
694
+ [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
695
+
696
+ #### Who are the annotators?
697
+
698
+ [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
699
+
700
+ ### Personal and Sensitive Information
701
+
702
+ [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
703
+
704
+ ## Considerations for Using the Data
705
+
706
+ ### Social Impact of Dataset
707
+
708
+ [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
709
+
710
+ ### Discussion of Biases
711
+
712
+ [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
713
+
714
+ ### Other Known Limitations
715
+
716
+ [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
717
+
718
+ ## Additional Information
719
+
720
+ ### Dataset Curators
721
+
722
+ [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
723
+
724
+ ### Licensing Information
725
+
726
+ Creative Commons BY-NC-ND
727
+
728
+ See the (TED Talks Usage Policy)[https://www.ted.com/about/our-organization/our-policies-terms/ted-talks-usage-policy].
729
+
730
+ ### Citation Information
731
+
732
+ ```
733
+ @inproceedings{cettolo-etal-2017-overview,
734
+ title = "Overview of the {IWSLT} 2017 Evaluation Campaign",
735
+ author = {Cettolo, Mauro and
736
+ Federico, Marcello and
737
+ Bentivogli, Luisa and
738
+ Niehues, Jan and
739
+ St{\"u}ker, Sebastian and
740
+ Sudoh, Katsuhito and
741
+ Yoshino, Koichiro and
742
+ Federmann, Christian},
743
+ booktitle = "Proceedings of the 14th International Conference on Spoken Language Translation",
744
+ month = dec # " 14-15",
745
+ year = "2017",
746
+ address = "Tokyo, Japan",
747
+ publisher = "International Workshop on Spoken Language Translation",
748
+ url = "https://aclanthology.org/2017.iwslt-1.1",
749
+ pages = "2--14",
750
+ }
751
+ ```
752
+
753
+ ### Contributions
754
+
755
+ Thanks to [@thomwolf](https://github.com/thomwolf), [@Narsil](https://github.com/Narsil) for adding this dataset.
data/2017-01-trnmted/texts/DeEnItNlRo/DeEnItNlRo/DeEnItNlRo-DeEnItNlRo.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:21f9bb62d1358534fc8d97e1b89ad80e80f95cbba231155922af45e0e57a1a61
3
+ size 329391132
data/2017-01-trnted/texts/ar/en/ar-en.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9536bee4f28b4870cc045aa2d9460f0647f3161f874e74c171e818674e9dae1a
3
+ size 27748780
data/2017-01-trnted/texts/de/en/de-en.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a2d55063175c732c5e6569af32afa528a72e14ddf07cbbe5e2ef11435b909dce
3
+ size 16758320
data/2017-01-trnted/texts/en/ar/en-ar.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:05790036a1bfb74a27452005b2274764c268fd6d9f7aa3d7a64fc7b5cc774368
3
+ size 29333173
data/2017-01-trnted/texts/en/de/en-de.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d64c16ea33b6d49c44ff5f11768f44a382ed1c0cba351a00c776f227fad80e39
3
+ size 16758334
data/2017-01-trnted/texts/en/fr/en-fr.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:aa5b3b622e9389dfebc9b99ad22d7b21cdccb49be4c67e3e0a9f22573a1b500d
3
+ size 27699724
data/2017-01-trnted/texts/en/ja/en-ja.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3ec1dec974c3a96202997a00cf593a32ca3b411e1f57740323c14bfdb4ce87a7
3
+ size 26983602
data/2017-01-trnted/texts/en/ko/en-ko.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cb0cae0959c859ae09c64d0623ef0e87a759c22d83e06b9c7ad05f1bbbbbb6cc
3
+ size 19364776
data/2017-01-trnted/texts/en/zh/en-zh.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:33bec34a7234b5fb5faf09977b19569072c454a4fe79f5e7210d04b3d0e3184f
3
+ size 27597071
data/2017-01-trnted/texts/fr/en/fr-en.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:44dbb42bae10ca94880f4b3fe5be33f6b5f2390d217311edfb06abadb8fd16c2
3
+ size 26880731
data/2017-01-trnted/texts/ja/en/ja-en.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a923cdaa5632e55a94e799d31468c58fd2eab290a34f8b950a562f6ff20046b6
3
+ size 26190859
data/2017-01-trnted/texts/ko/en/ko-en.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:63257a22a2b21ed816d2677ea426898f4788041f9573e0e7bd1a5ceb8ad63bbb
3
+ size 19364733
data/2017-01-trnted/texts/zh/en/zh-en.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:32849811afa74a69eeb70b4baa17e7b7c6a6626227c874d3f15630811f8b0104
3
+ size 26849290
iwslt2017.py ADDED
@@ -0,0 +1,210 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ """IWSLT 2017 dataset """
16
+
17
+
18
+ import os
19
+
20
+ import datasets
21
+
22
+
23
+ _HOMEPAGE = "https://sites.google.com/site/iwsltevaluation2017/TED-tasks"
24
+
25
+ _DESCRIPTION = """\
26
+ The IWSLT 2017 Multilingual Task addresses text translation, including zero-shot translation, with a single MT system across all directions including English, German, Dutch, Italian and Romanian. As unofficial task, conventional bilingual text translation is offered between English and Arabic, French, Japanese, Chinese, German and Korean.
27
+ """
28
+
29
+ _CITATION = """\
30
+ @inproceedings{cettolo-etal-2017-overview,
31
+ title = "Overview of the {IWSLT} 2017 Evaluation Campaign",
32
+ author = {Cettolo, Mauro and
33
+ Federico, Marcello and
34
+ Bentivogli, Luisa and
35
+ Niehues, Jan and
36
+ St{\\"u}ker, Sebastian and
37
+ Sudoh, Katsuhito and
38
+ Yoshino, Koichiro and
39
+ Federmann, Christian},
40
+ booktitle = "Proceedings of the 14th International Conference on Spoken Language Translation",
41
+ month = dec # " 14-15",
42
+ year = "2017",
43
+ address = "Tokyo, Japan",
44
+ publisher = "International Workshop on Spoken Language Translation",
45
+ url = "https://aclanthology.org/2017.iwslt-1.1",
46
+ pages = "2--14",
47
+ }
48
+ """
49
+
50
+ REPO_URL = "https://huggingface.co/datasets/iwslt2017/resolve/main/"
51
+ MULTI_URL = REPO_URL + "data/2017-01-trnmted/texts/DeEnItNlRo/DeEnItNlRo/DeEnItNlRo-DeEnItNlRo.zip"
52
+ BI_URL = REPO_URL + "data/2017-01-trnted/texts/{source}/{target}/{source}-{target}.zip"
53
+
54
+
55
+ class IWSLT2017Config(datasets.BuilderConfig):
56
+ """BuilderConfig for NewDataset"""
57
+
58
+ def __init__(self, pair, is_multilingual, **kwargs):
59
+ """
60
+
61
+ Args:
62
+ pair: the language pair to consider
63
+ is_multilingual: Is this pair in the multilingual dataset (download source is different)
64
+ **kwargs: keyword arguments forwarded to super.
65
+ """
66
+ self.pair = pair
67
+ self.is_multilingual = is_multilingual
68
+ super().__init__(**kwargs)
69
+
70
+
71
+ # XXX: Artificially removed DE from here, as it also exists within bilingual data
72
+ MULTI_LANGUAGES = ["en", "it", "nl", "ro"]
73
+ BI_LANGUAGES = ["ar", "de", "en", "fr", "ja", "ko", "zh"]
74
+ MULTI_PAIRS = [f"{source}-{target}" for source in MULTI_LANGUAGES for target in MULTI_LANGUAGES if source != target]
75
+ BI_PAIRS = [
76
+ f"{source}-{target}"
77
+ for source in BI_LANGUAGES
78
+ for target in BI_LANGUAGES
79
+ if source != target and (source == "en" or target == "en")
80
+ ]
81
+
82
+ PAIRS = MULTI_PAIRS + BI_PAIRS
83
+
84
+
85
+ class IWSLT217(datasets.GeneratorBasedBuilder):
86
+ """The IWSLT 2017 Evaluation Campaign includes a multilingual TED Talks MT task."""
87
+
88
+ VERSION = datasets.Version("1.0.0")
89
+
90
+ # This is an example of a dataset with multiple configurations.
91
+ # If you don't want/need to define several sub-sets in your dataset,
92
+ # just remove the BUILDER_CONFIG_CLASS and the BUILDER_CONFIGS attributes.
93
+ BUILDER_CONFIG_CLASS = IWSLT2017Config
94
+ BUILDER_CONFIGS = [
95
+ IWSLT2017Config(
96
+ name="iwslt2017-" + pair,
97
+ description="A small dataset",
98
+ version=datasets.Version("1.0.0"),
99
+ pair=pair,
100
+ is_multilingual=pair in MULTI_PAIRS,
101
+ )
102
+ for pair in PAIRS
103
+ ]
104
+
105
+ def _info(self):
106
+ return datasets.DatasetInfo(
107
+ description=_DESCRIPTION,
108
+ features=datasets.Features(
109
+ {"translation": datasets.features.Translation(languages=self.config.pair.split("-"))}
110
+ ),
111
+ homepage=_HOMEPAGE,
112
+ citation=_CITATION,
113
+ )
114
+
115
+ def _split_generators(self, dl_manager):
116
+ """Returns SplitGenerators."""
117
+ source, target = self.config.pair.split("-")
118
+ if self.config.is_multilingual:
119
+ dl_dir = dl_manager.download_and_extract(MULTI_URL)
120
+ data_dir = os.path.join(dl_dir, "DeEnItNlRo-DeEnItNlRo")
121
+ years = [2010]
122
+ else:
123
+ bi_url = BI_URL.format(source=source, target=target)
124
+ dl_dir = dl_manager.download_and_extract(bi_url)
125
+ data_dir = os.path.join(dl_dir, f"{source}-{target}")
126
+ # years = [2010, 2011, 2012, 2013, 2014, 2015]
127
+ years = [2010, 2011, 2012]
128
+ return [
129
+ datasets.SplitGenerator(
130
+ name=datasets.Split.TRAIN,
131
+ gen_kwargs={
132
+ "source_files": [
133
+ os.path.join(
134
+ data_dir,
135
+ f"train.tags.{self.config.pair}.{source}",
136
+ )
137
+ ],
138
+ "target_files": [
139
+ os.path.join(
140
+ data_dir,
141
+ f"train.tags.{self.config.pair}.{target}",
142
+ )
143
+ ],
144
+ },
145
+ ),
146
+ datasets.SplitGenerator(
147
+ name=datasets.Split.TEST,
148
+ gen_kwargs={
149
+ "source_files": [
150
+ os.path.join(
151
+ data_dir,
152
+ f"IWSLT17.TED.tst{year}.{self.config.pair}.{source}.xml",
153
+ )
154
+ for year in years
155
+ ],
156
+ "target_files": [
157
+ os.path.join(
158
+ data_dir,
159
+ f"IWSLT17.TED.tst{year}.{self.config.pair}.{target}.xml",
160
+ )
161
+ for year in years
162
+ ],
163
+ },
164
+ ),
165
+ datasets.SplitGenerator(
166
+ name=datasets.Split.VALIDATION,
167
+ gen_kwargs={
168
+ "source_files": [
169
+ os.path.join(
170
+ data_dir,
171
+ f"IWSLT17.TED.dev2010.{self.config.pair}.{source}.xml",
172
+ )
173
+ ],
174
+ "target_files": [
175
+ os.path.join(
176
+ data_dir,
177
+ f"IWSLT17.TED.dev2010.{self.config.pair}.{target}.xml",
178
+ )
179
+ ],
180
+ },
181
+ ),
182
+ ]
183
+
184
+ def _generate_examples(self, source_files, target_files):
185
+ """Yields examples."""
186
+ id_ = 0
187
+ source, target = self.config.pair.split("-")
188
+ for source_file, target_file in zip(source_files, target_files):
189
+ with open(source_file, "r", encoding="utf-8") as sf:
190
+ with open(target_file, "r", encoding="utf-8") as tf:
191
+ for source_row, target_row in zip(sf, tf):
192
+ source_row = source_row.strip()
193
+ target_row = target_row.strip()
194
+
195
+ if source_row.startswith("<"):
196
+ if source_row.startswith("<seg"):
197
+ # Remove <seg id="1">.....</seg>
198
+ # Very simple code instead of regex or xml parsing
199
+ part1 = source_row.split(">")[1]
200
+ source_row = part1.split("<")[0]
201
+ part1 = target_row.split(">")[1]
202
+ target_row = part1.split("<")[0]
203
+
204
+ source_row = source_row.strip()
205
+ target_row = target_row.strip()
206
+ else:
207
+ continue
208
+
209
+ yield id_, {"translation": {source: source_row, target: target_row}}
210
+ id_ += 1