Datasets:

Multilinguality:
multilingual
Size Categories:
100K<n<1M
Language Creators:
found
Annotations Creators:
found
Source Datasets:
original
Tags:
License:
system HF staff commited on
Commit
193d67e
0 Parent(s):

Update files from the datasets library (from 1.2.0)

Browse files

Release notes: https://github.com/huggingface/datasets/releases/tag/1.2.0

.gitattributes ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 ADDED
@@ -0,0 +1,182 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ annotations_creators:
3
+ - found
4
+ language_creators:
5
+ - found
6
+ languages:
7
+ ar-en:
8
+ - ar
9
+ - en
10
+ de-en:
11
+ - de
12
+ - en
13
+ en-es:
14
+ - en
15
+ - es
16
+ en-fa:
17
+ - en
18
+ - fa
19
+ en-fr:
20
+ - en
21
+ - fr
22
+ en-it:
23
+ - en
24
+ - it
25
+ en-nl:
26
+ - en
27
+ - nl
28
+ en-pl:
29
+ - en
30
+ - pl
31
+ en-pt:
32
+ - en
33
+ - pt
34
+ en-ro:
35
+ - en
36
+ - ro
37
+ en-ru:
38
+ - en
39
+ - ru
40
+ en-sl:
41
+ - en
42
+ - sl
43
+ en-tr:
44
+ - en
45
+ - tr
46
+ en-zh:
47
+ - en
48
+ - zh
49
+ licenses:
50
+ - unknown
51
+ multilinguality:
52
+ - multilingual
53
+ size_categories:
54
+ - 100K<n<1M
55
+ source_datasets:
56
+ - original
57
+ task_categories:
58
+ - conditional-text-generation
59
+ task_ids:
60
+ - machine-translation
61
+ ---
62
+
63
+ # Dataset Card Creation Guide
64
+
65
+ ## Table of Contents
66
+ - [Dataset Description](#dataset-description)
67
+ - [Dataset Summary](#dataset-summary)
68
+ - [Supported Tasks](#supported-tasks-and-leaderboards)
69
+ - [Languages](#languages)
70
+ - [Dataset Structure](#dataset-structure)
71
+ - [Data Instances](#data-instances)
72
+ - [Data Fields](#data-instances)
73
+ - [Data Splits](#data-instances)
74
+ - [Dataset Creation](#dataset-creation)
75
+ - [Curation Rationale](#curation-rationale)
76
+ - [Source Data](#source-data)
77
+ - [Annotations](#annotations)
78
+ - [Personal and Sensitive Information](#personal-and-sensitive-information)
79
+ - [Considerations for Using the Data](#considerations-for-using-the-data)
80
+ - [Social Impact of Dataset](#social-impact-of-dataset)
81
+ - [Discussion of Biases](#discussion-of-biases)
82
+ - [Other Known Limitations](#other-known-limitations)
83
+ - [Additional Information](#additional-information)
84
+ - [Dataset Curators](#dataset-curators)
85
+ - [Licensing Information](#licensing-information)
86
+ - [Citation Information](#citation-information)
87
+
88
+ ## Dataset Description
89
+
90
+ - **Homepage:** http://opus.nlpl.eu/TED2013.php
91
+ - **Repository:** None
92
+ - **Paper:** hhttp://www.lrec-conf.org/proceedings/lrec2012/pdf/463_Paper.pdf
93
+ - **Leaderboard:** None
94
+ - **Point of Contact:** [More Information Needed]
95
+
96
+ ### Dataset Summary
97
+
98
+ [More Information Needed]
99
+
100
+ ### Supported Tasks and Leaderboards
101
+
102
+ [More Information Needed]
103
+
104
+ ### Languages
105
+
106
+ [More Information Needed]
107
+
108
+ ## Dataset Structure
109
+
110
+ ### Data Instances
111
+
112
+ [More Information Needed]
113
+
114
+ ### Data Fields
115
+
116
+ [More Information Needed]
117
+
118
+ ### Data Splits
119
+
120
+ [More Information Needed]
121
+
122
+ ## Dataset Creation
123
+
124
+ ### Curation Rationale
125
+
126
+ [More Information Needed]
127
+
128
+ ### Source Data
129
+
130
+ [More Information Needed]
131
+
132
+ #### Initial Data Collection and Normalization
133
+
134
+ [More Information Needed]
135
+
136
+ #### Who are the source language producers?
137
+
138
+ [More Information Needed]
139
+
140
+ ### Annotations
141
+
142
+ [More Information Needed]
143
+
144
+ #### Annotation process
145
+
146
+ [More Information Needed]
147
+
148
+ #### Who are the annotators?
149
+
150
+ [More Information Needed]
151
+
152
+ ### Personal and Sensitive Information
153
+
154
+ [More Information Needed]
155
+
156
+ ## Considerations for Using the Data
157
+
158
+ ### Social Impact of Dataset
159
+
160
+ [More Information Needed]
161
+
162
+ ### Discussion of Biases
163
+
164
+ [More Information Needed]
165
+
166
+ ### Other Known Limitations
167
+
168
+ [More Information Needed]
169
+
170
+ ## Additional Information
171
+
172
+ ### Dataset Curators
173
+
174
+ [More Information Needed]
175
+
176
+ ### Licensing Information
177
+
178
+ [More Information Needed]
179
+
180
+ ### Citation Information
181
+
182
+ [More Information Needed]
dataset_infos.json ADDED
@@ -0,0 +1 @@
 
1
+ {"ar-en": {"description": "A parallel corpus of TED talk subtitles provided by CASMACAT: http://www.casmacat.eu/corpus/ted2013.html. The files are originally provided by https://wit3.fbk.eu.\n\n15 languages, 14 bitexts\ntotal number of files: 28\ntotal number of tokens: 67.67M\ntotal number of sentence fragments: 3.81M\n", "citation": "J. Tiedemann, 2012, Parallel Data, Tools and Interfaces in OPUS. In Proceedings of the 8th International Conference on Language Resources and Evaluation (LREC 2012)\n", "homepage": "http://opus.nlpl.eu/TED2013.php", "license": "", "features": {"id": {"dtype": "string", "id": null, "_type": "Value"}, "translation": {"languages": ["ar", "en"], "id": null, "_type": "Translation"}}, "post_processed": null, "supervised_keys": null, "builder_name": "ted_iwlst2013", "config_name": "ar-en", "version": {"version_str": "1.1.0", "description": null, "major": 1, "minor": 1, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 37413446, "num_examples": 152838, "dataset_name": "ted_iwlst2013"}}, "download_checksums": {"https://object.pouta.csc.fi/OPUS-TED2013/v1.1/moses/ar-en.txt.zip": {"num_bytes": 12065234, "checksum": "1f0d4a043c162338801e8a934dca40a31f0393b7490b7b20ec412d1e7ff9e20c"}}, "download_size": 12065234, "post_processing_size": null, "dataset_size": 37413446, "size_in_bytes": 49478680}, "de-en": {"description": "A parallel corpus of TED talk subtitles provided by CASMACAT: http://www.casmacat.eu/corpus/ted2013.html. The files are originally provided by https://wit3.fbk.eu.\n\n15 languages, 14 bitexts\ntotal number of files: 28\ntotal number of tokens: 67.67M\ntotal number of sentence fragments: 3.81M\n", "citation": "J. Tiedemann, 2012, Parallel Data, Tools and Interfaces in OPUS. In Proceedings of the 8th International Conference on Language Resources and Evaluation (LREC 2012)\n", "homepage": "http://opus.nlpl.eu/TED2013.php", "license": "", "features": {"id": {"dtype": "string", "id": null, "_type": "Value"}, "translation": {"languages": ["de", "en"], "id": null, "_type": "Translation"}}, "post_processed": null, "supervised_keys": null, "builder_name": "ted_iwlst2013", "config_name": "de-en", "version": {"version_str": "1.1.0", "description": null, "major": 1, "minor": 1, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 30295518, "num_examples": 143836, "dataset_name": "ted_iwlst2013"}}, "download_checksums": {"https://object.pouta.csc.fi/OPUS-TED2013/v1.1/moses/de-en.txt.zip": {"num_bytes": 10931406, "checksum": "69e7a99a336fee391c8680a18a873174613637cc87a1bdc7f2358c036678200f"}}, "download_size": 10931406, "post_processing_size": null, "dataset_size": 30295518, "size_in_bytes": 41226924}, "en-es": {"description": "A parallel corpus of TED talk subtitles provided by CASMACAT: http://www.casmacat.eu/corpus/ted2013.html. The files are originally provided by https://wit3.fbk.eu.\n\n15 languages, 14 bitexts\ntotal number of files: 28\ntotal number of tokens: 67.67M\ntotal number of sentence fragments: 3.81M\n", "citation": "J. Tiedemann, 2012, Parallel Data, Tools and Interfaces in OPUS. In Proceedings of the 8th International Conference on Language Resources and Evaluation (LREC 2012)\n", "homepage": "http://opus.nlpl.eu/TED2013.php", "license": "", "features": {"id": {"dtype": "string", "id": null, "_type": "Value"}, "translation": {"languages": ["en", "es"], "id": null, "_type": "Translation"}}, "post_processed": null, "supervised_keys": null, "builder_name": "ted_iwlst2013", "config_name": "en-es", "version": {"version_str": "1.1.0", "description": null, "major": 1, "minor": 1, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 32522545, "num_examples": 157895, "dataset_name": "ted_iwlst2013"}}, "download_checksums": {"https://object.pouta.csc.fi/OPUS-TED2013/v1.1/moses/en-es.txt.zip": {"num_bytes": 11642092, "checksum": "0f92ca59895e7457188e0629c8608520028bfc4424828a814c61957c9974a0e3"}}, "download_size": 11642092, "post_processing_size": null, "dataset_size": 32522545, "size_in_bytes": 44164637}, "en-fa": {"description": "A parallel corpus of TED talk subtitles provided by CASMACAT: http://www.casmacat.eu/corpus/ted2013.html. The files are originally provided by https://wit3.fbk.eu.\n\n15 languages, 14 bitexts\ntotal number of files: 28\ntotal number of tokens: 67.67M\ntotal number of sentence fragments: 3.81M\n", "citation": "J. Tiedemann, 2012, Parallel Data, Tools and Interfaces in OPUS. In Proceedings of the 8th International Conference on Language Resources and Evaluation (LREC 2012)\n", "homepage": "http://opus.nlpl.eu/TED2013.php", "license": "", "features": {"id": {"dtype": "string", "id": null, "_type": "Value"}, "translation": {"languages": ["en", "fa"], "id": null, "_type": "Translation"}}, "post_processed": null, "supervised_keys": null, "builder_name": "ted_iwlst2013", "config_name": "en-fa", "version": {"version_str": "1.1.0", "description": null, "major": 1, "minor": 1, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 22228781, "num_examples": 80510, "dataset_name": "ted_iwlst2013"}}, "download_checksums": {"https://object.pouta.csc.fi/OPUS-TED2013/v1.1/moses/en-fa.txt.zip": {"num_bytes": 6579696, "checksum": "b8eeeabba98b163c0cedd020fb83842bc2d98fd9d10df67021fae74ecba4752a"}}, "download_size": 6579696, "post_processing_size": null, "dataset_size": 22228781, "size_in_bytes": 28808477}, "en-fr": {"description": "A parallel corpus of TED talk subtitles provided by CASMACAT: http://www.casmacat.eu/corpus/ted2013.html. The files are originally provided by https://wit3.fbk.eu.\n\n15 languages, 14 bitexts\ntotal number of files: 28\ntotal number of tokens: 67.67M\ntotal number of sentence fragments: 3.81M\n", "citation": "J. Tiedemann, 2012, Parallel Data, Tools and Interfaces in OPUS. In Proceedings of the 8th International Conference on Language Resources and Evaluation (LREC 2012)\n", "homepage": "http://opus.nlpl.eu/TED2013.php", "license": "", "features": {"id": {"dtype": "string", "id": null, "_type": "Value"}, "translation": {"languages": ["en", "fr"], "id": null, "_type": "Translation"}}, "post_processed": null, "supervised_keys": null, "builder_name": "ted_iwlst2013", "config_name": "en-fr", "version": {"version_str": "1.1.0", "description": null, "major": 1, "minor": 1, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 34355481, "num_examples": 160420, "dataset_name": "ted_iwlst2013"}}, "download_checksums": {"https://object.pouta.csc.fi/OPUS-TED2013/v1.1/moses/en-fr.txt.zip": {"num_bytes": 12061420, "checksum": "ee0c12ac1f3f534c2b272dccea3283fdd86e26195cf0b26bc3c0e6c6d1c794e4"}}, "download_size": 12061420, "post_processing_size": null, "dataset_size": 34355481, "size_in_bytes": 46416901}, "en-it": {"description": "A parallel corpus of TED talk subtitles provided by CASMACAT: http://www.casmacat.eu/corpus/ted2013.html. The files are originally provided by https://wit3.fbk.eu.\n\n15 languages, 14 bitexts\ntotal number of files: 28\ntotal number of tokens: 67.67M\ntotal number of sentence fragments: 3.81M\n", "citation": "J. Tiedemann, 2012, Parallel Data, Tools and Interfaces in OPUS. In Proceedings of the 8th International Conference on Language Resources and Evaluation (LREC 2012)\n", "homepage": "http://opus.nlpl.eu/TED2013.php", "license": "", "features": {"id": {"dtype": "string", "id": null, "_type": "Value"}, "translation": {"languages": ["en", "it"], "id": null, "_type": "Translation"}}, "post_processed": null, "supervised_keys": null, "builder_name": "ted_iwlst2013", "config_name": "en-it", "version": {"version_str": "1.1.0", "description": null, "major": 1, "minor": 1, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 32916537, "num_examples": 159391, "dataset_name": "ted_iwlst2013"}}, "download_checksums": {"https://object.pouta.csc.fi/OPUS-TED2013/v1.1/moses/en-it.txt.zip": {"num_bytes": 11774644, "checksum": "92706b091f15dacba97472e7145f0dd1af2ceee20e1e5d7ba5e98195c469af1c"}}, "download_size": 11774644, "post_processing_size": null, "dataset_size": 32916537, "size_in_bytes": 44691181}, "en-nl": {"description": "A parallel corpus of TED talk subtitles provided by CASMACAT: http://www.casmacat.eu/corpus/ted2013.html. The files are originally provided by https://wit3.fbk.eu.\n\n15 languages, 14 bitexts\ntotal number of files: 28\ntotal number of tokens: 67.67M\ntotal number of sentence fragments: 3.81M\n", "citation": "J. Tiedemann, 2012, Parallel Data, Tools and Interfaces in OPUS. In Proceedings of the 8th International Conference on Language Resources and Evaluation (LREC 2012)\n", "homepage": "http://opus.nlpl.eu/TED2013.php", "license": "", "features": {"id": {"dtype": "string", "id": null, "_type": "Value"}, "translation": {"languages": ["en", "nl"], "id": null, "_type": "Translation"}}, "post_processed": null, "supervised_keys": null, "builder_name": "ted_iwlst2013", "config_name": "en-nl", "version": {"version_str": "1.1.0", "description": null, "major": 1, "minor": 1, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 29679822, "num_examples": 145951, "dataset_name": "ted_iwlst2013"}}, "download_checksums": {"https://object.pouta.csc.fi/OPUS-TED2013/v1.1/moses/en-nl.txt.zip": {"num_bytes": 10712032, "checksum": "23cb8b392c68aac06455e53863cb55a566b173bd3816514d83efd41a0995e057"}}, "download_size": 10712032, "post_processing_size": null, "dataset_size": 29679822, "size_in_bytes": 40391854}, "en-pl": {"description": "A parallel corpus of TED talk subtitles provided by CASMACAT: http://www.casmacat.eu/corpus/ted2013.html. The files are originally provided by https://wit3.fbk.eu.\n\n15 languages, 14 bitexts\ntotal number of files: 28\ntotal number of tokens: 67.67M\ntotal number of sentence fragments: 3.81M\n", "citation": "J. Tiedemann, 2012, Parallel Data, Tools and Interfaces in OPUS. In Proceedings of the 8th International Conference on Language Resources and Evaluation (LREC 2012)\n", "homepage": "http://opus.nlpl.eu/TED2013.php", "license": "", "features": {"id": {"dtype": "string", "id": null, "_type": "Value"}, "translation": {"languages": ["en", "pl"], "id": null, "_type": "Translation"}}, "post_processed": null, "supervised_keys": null, "builder_name": "ted_iwlst2013", "config_name": "en-pl", "version": {"version_str": "1.1.0", "description": null, "major": 1, "minor": 1, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 29776339, "num_examples": 149120, "dataset_name": "ted_iwlst2013"}}, "download_checksums": {"https://object.pouta.csc.fi/OPUS-TED2013/v1.1/moses/en-pl.txt.zip": {"num_bytes": 10999482, "checksum": "ba08bab9ffd6ff2562e9d02909546c68753c7bfcd31fb7b38ef14c854963a3f9"}}, "download_size": 10999482, "post_processing_size": null, "dataset_size": 29776339, "size_in_bytes": 40775821}, "en-pt": {"description": "A parallel corpus of TED talk subtitles provided by CASMACAT: http://www.casmacat.eu/corpus/ted2013.html. The files are originally provided by https://wit3.fbk.eu.\n\n15 languages, 14 bitexts\ntotal number of files: 28\ntotal number of tokens: 67.67M\ntotal number of sentence fragments: 3.81M\n", "citation": "J. Tiedemann, 2012, Parallel Data, Tools and Interfaces in OPUS. In Proceedings of the 8th International Conference on Language Resources and Evaluation (LREC 2012)\n", "homepage": "http://opus.nlpl.eu/TED2013.php", "license": "", "features": {"id": {"dtype": "string", "id": null, "_type": "Value"}, "translation": {"languages": ["en", "pt"], "id": null, "_type": "Translation"}}, "post_processed": null, "supervised_keys": null, "builder_name": "ted_iwlst2013", "config_name": "en-pt", "version": {"version_str": "1.1.0", "description": null, "major": 1, "minor": 1, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 32179607, "num_examples": 155995, "dataset_name": "ted_iwlst2013"}}, "download_checksums": {"https://object.pouta.csc.fi/OPUS-TED2013/v1.1/moses/en-pt.txt.zip": {"num_bytes": 11493053, "checksum": "7c3bbc53ffdf15b29aa9a9c1bb71b2a00a1c8a47fd29f5dc89ecf69a2241ee70"}}, "download_size": 11493053, "post_processing_size": null, "dataset_size": 32179607, "size_in_bytes": 43672660}, "en-ro": {"description": "A parallel corpus of TED talk subtitles provided by CASMACAT: http://www.casmacat.eu/corpus/ted2013.html. The files are originally provided by https://wit3.fbk.eu.\n\n15 languages, 14 bitexts\ntotal number of files: 28\ntotal number of tokens: 67.67M\ntotal number of sentence fragments: 3.81M\n", "citation": "J. Tiedemann, 2012, Parallel Data, Tools and Interfaces in OPUS. In Proceedings of the 8th International Conference on Language Resources and Evaluation (LREC 2012)\n", "homepage": "http://opus.nlpl.eu/TED2013.php", "license": "", "features": {"id": {"dtype": "string", "id": null, "_type": "Value"}, "translation": {"languages": ["en", "ro"], "id": null, "_type": "Translation"}}, "post_processed": null, "supervised_keys": null, "builder_name": "ted_iwlst2013", "config_name": "en-ro", "version": {"version_str": "1.1.0", "description": null, "major": 1, "minor": 1, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 32958421, "num_examples": 158483, "dataset_name": "ted_iwlst2013"}}, "download_checksums": {"https://object.pouta.csc.fi/OPUS-TED2013/v1.1/moses/en-ro.txt.zip": {"num_bytes": 11936172, "checksum": "feee4ad507067f92b06a733268c60537ed29c22cdae28535392ef545acb5b7e1"}}, "download_size": 11936172, "post_processing_size": null, "dataset_size": 32958421, "size_in_bytes": 44894593}, "en-ru": {"description": "A parallel corpus of TED talk subtitles provided by CASMACAT: http://www.casmacat.eu/corpus/ted2013.html. The files are originally provided by https://wit3.fbk.eu.\n\n15 languages, 14 bitexts\ntotal number of files: 28\ntotal number of tokens: 67.67M\ntotal number of sentence fragments: 3.81M\n", "citation": "J. Tiedemann, 2012, Parallel Data, Tools and Interfaces in OPUS. In Proceedings of the 8th International Conference on Language Resources and Evaluation (LREC 2012)\n", "homepage": "http://opus.nlpl.eu/TED2013.php", "license": "", "features": {"id": {"dtype": "string", "id": null, "_type": "Value"}, "translation": {"languages": ["en", "ru"], "id": null, "_type": "Translation"}}, "post_processed": null, "supervised_keys": null, "builder_name": "ted_iwlst2013", "config_name": "en-ru", "version": {"version_str": "1.1.0", "description": null, "major": 1, "minor": 1, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 36529465, "num_examples": 133660, "dataset_name": "ted_iwlst2013"}}, "download_checksums": {"https://object.pouta.csc.fi/OPUS-TED2013/v1.1/moses/en-ru.txt.zip": {"num_bytes": 11167700, "checksum": "f5f6b6b4e5d94ae884c1f9853ae0c4e03ac85f37808039279baa70dae9f2a7e3"}}, "download_size": 11167700, "post_processing_size": null, "dataset_size": 36529465, "size_in_bytes": 47697165}, "en-sl": {"description": "A parallel corpus of TED talk subtitles provided by CASMACAT: http://www.casmacat.eu/corpus/ted2013.html. The files are originally provided by https://wit3.fbk.eu.\n\n15 languages, 14 bitexts\ntotal number of files: 28\ntotal number of tokens: 67.67M\ntotal number of sentence fragments: 3.81M\n", "citation": "J. Tiedemann, 2012, Parallel Data, Tools and Interfaces in OPUS. In Proceedings of the 8th International Conference on Language Resources and Evaluation (LREC 2012)\n", "homepage": "http://opus.nlpl.eu/TED2013.php", "license": "", "features": {"id": {"dtype": "string", "id": null, "_type": "Value"}, "translation": {"languages": ["en", "sl"], "id": null, "_type": "Translation"}}, "post_processed": null, "supervised_keys": null, "builder_name": "ted_iwlst2013", "config_name": "en-sl", "version": {"version_str": "1.1.0", "description": null, "major": 1, "minor": 1, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 2831344, "num_examples": 14960, "dataset_name": "ted_iwlst2013"}}, "download_checksums": {"https://object.pouta.csc.fi/OPUS-TED2013/v1.1/moses/en-sl.txt.zip": {"num_bytes": 1060712, "checksum": "72fd75ee00f03eac342d96ae932f318d6a5a52c1ee997a067d8760e8f16e0ede"}}, "download_size": 1060712, "post_processing_size": null, "dataset_size": 2831344, "size_in_bytes": 3892056}, "en-tr": {"description": "A parallel corpus of TED talk subtitles provided by CASMACAT: http://www.casmacat.eu/corpus/ted2013.html. The files are originally provided by https://wit3.fbk.eu.\n\n15 languages, 14 bitexts\ntotal number of files: 28\ntotal number of tokens: 67.67M\ntotal number of sentence fragments: 3.81M\n", "citation": "J. Tiedemann, 2012, Parallel Data, Tools and Interfaces in OPUS. In Proceedings of the 8th International Conference on Language Resources and Evaluation (LREC 2012)\n", "homepage": "http://opus.nlpl.eu/TED2013.php", "license": "", "features": {"id": {"dtype": "string", "id": null, "_type": "Value"}, "translation": {"languages": ["en", "tr"], "id": null, "_type": "Translation"}}, "post_processed": null, "supervised_keys": null, "builder_name": "ted_iwlst2013", "config_name": "en-tr", "version": {"version_str": "1.1.0", "description": null, "major": 1, "minor": 1, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 28016103, "num_examples": 137028, "dataset_name": "ted_iwlst2013"}}, "download_checksums": {"https://object.pouta.csc.fi/OPUS-TED2013/v1.1/moses/en-tr.txt.zip": {"num_bytes": 10038531, "checksum": "07024de76cc7e82a13271e7cb519337096704b9c00a4e3da7f6b5f6cb56aaf73"}}, "download_size": 10038531, "post_processing_size": null, "dataset_size": 28016103, "size_in_bytes": 38054634}, "en-zh": {"description": "A parallel corpus of TED talk subtitles provided by CASMACAT: http://www.casmacat.eu/corpus/ted2013.html. The files are originally provided by https://wit3.fbk.eu.\n\n15 languages, 14 bitexts\ntotal number of files: 28\ntotal number of tokens: 67.67M\ntotal number of sentence fragments: 3.81M\n", "citation": "J. Tiedemann, 2012, Parallel Data, Tools and Interfaces in OPUS. In Proceedings of the 8th International Conference on Language Resources and Evaluation (LREC 2012)\n", "homepage": "http://opus.nlpl.eu/TED2013.php", "license": "", "features": {"id": {"dtype": "string", "id": null, "_type": "Value"}, "translation": {"languages": ["en", "zh"], "id": null, "_type": "Translation"}}, "post_processed": null, "supervised_keys": null, "builder_name": "ted_iwlst2013", "config_name": "en-zh", "version": {"version_str": "1.1.0", "description": null, "major": 1, "minor": 1, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 30205477, "num_examples": 154579, "dataset_name": "ted_iwlst2013"}}, "download_checksums": {"https://object.pouta.csc.fi/OPUS-TED2013/v1.1/moses/en-zh.txt.zip": {"num_bytes": 11714497, "checksum": "6c23e3c372d10fce108030f5323be09263a65fc40792880f2bf0e59e598b231c"}}, "download_size": 11714497, "post_processing_size": null, "dataset_size": 30205477, "size_in_bytes": 41919974}}
dummy/ar-en/1.1.0/dummy_data.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:77974317d53a44b9506a9e43c2b51dbfeea52b67837c8c4f851088971733c5c0
3
+ size 1510
dummy/de-en/1.1.0/dummy_data.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fe07c1ee834c543fd9fec0d9b64ccc2cd7a652ec0f2b7190e76fe76f570afa2a
3
+ size 1485
dummy/en-es/1.1.0/dummy_data.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2a10bf38a20546c5b1db5bc5c61686043503f83ca96ee64fa09705cd81dd31b7
3
+ size 1419
dummy/en-fa/1.1.0/dummy_data.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fc63702124aa59eadf5ef8d844bed91e008c0b666c46c5ca912ea72a6d12142f
3
+ size 1521
dummy/en-fr/1.1.0/dummy_data.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f5214bf4105ce49960cfa423c7f7b14cf777ccba1f72b40320b81c24d7c65f6d
3
+ size 1442
dummy/en-it/1.1.0/dummy_data.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7051a8c16a6e0da9717073e8d4d22d51fa683930f235f554c89ab3f250fa500f
3
+ size 1452
dummy/en-nl/1.1.0/dummy_data.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:52856527d0da389bd74355059ba1a4dcbe9572b4343d0cdd3566331846d4d38b
3
+ size 1419
dummy/en-pl/1.1.0/dummy_data.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d206c9ae2be74d983bf397fdcd3c2f9dd92006b07692b5f57c9a8eae7fef4a47
3
+ size 1467
dummy/en-pt/1.1.0/dummy_data.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:22b2f88966000e834d05fb49c29e81437a69a1b9f5112c0c25bd010729cce2d4
3
+ size 1446
dummy/en-ro/1.1.0/dummy_data.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ea26bdef047fb1a2d6fc8c409d3de05043ac1408c3ab0603a6c391b13e974d61
3
+ size 1457
dummy/en-ru/1.1.0/dummy_data.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:67ab3a313c3b5b94fd6a20bb9ac42972c4c256db8b0a6bd9cef93f7c555f82ff
3
+ size 1599
dummy/en-sl/1.1.0/dummy_data.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e586cfafc2fc0f82b1f5f1df5ddd62746799f2dcd6c75120de3e53a3cf3bd2be
3
+ size 1406
dummy/en-tr/1.1.0/dummy_data.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7aef20d2478a52964e50b98a79f899fd30c424dd860c1a9a02947fba15c1ad36
3
+ size 1501
dummy/en-zh/1.1.0/dummy_data.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5a891f50b7572e9a02195b7602c246aa85b13f3c62dd9a77f6d6dcdb53b721e1
3
+ size 1529
ted_iwlst2013.py ADDED
@@ -0,0 +1,114 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # coding=utf-8
2
+ # Copyright 2020 HuggingFace Datasets Authors.
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
+
16
+ # Lint as: python3
17
+ import os
18
+
19
+ import datasets
20
+
21
+
22
+ _DESCRIPTION = """\
23
+ A parallel corpus of TED talk subtitles provided by CASMACAT: http://www.casmacat.eu/corpus/ted2013.html. The files are originally provided by https://wit3.fbk.eu.
24
+
25
+ 15 languages, 14 bitexts
26
+ total number of files: 28
27
+ total number of tokens: 67.67M
28
+ total number of sentence fragments: 3.81M
29
+ """
30
+ _HOMEPAGE_URL = "http://opus.nlpl.eu/TED2013.php"
31
+ _CITATION = """\
32
+ J. Tiedemann, 2012, Parallel Data, Tools and Interfaces in OPUS. In Proceedings of the 8th International Conference on Language Resources and Evaluation (LREC 2012)
33
+ """
34
+
35
+ _VERSION = "1.1.0"
36
+ _BASE_NAME = "TED2013.{}.{}"
37
+
38
+ _LANGUAGE_PAIRS = {
39
+ ("ar", "en"): "https://object.pouta.csc.fi/OPUS-TED2013/v1.1/moses/ar-en.txt.zip",
40
+ ("de", "en"): "https://object.pouta.csc.fi/OPUS-TED2013/v1.1/moses/de-en.txt.zip",
41
+ ("en", "es"): "https://object.pouta.csc.fi/OPUS-TED2013/v1.1/moses/en-es.txt.zip",
42
+ ("en", "fa"): "https://object.pouta.csc.fi/OPUS-TED2013/v1.1/moses/en-fa.txt.zip",
43
+ ("en", "fr"): "https://object.pouta.csc.fi/OPUS-TED2013/v1.1/moses/en-fr.txt.zip",
44
+ ("en", "it"): "https://object.pouta.csc.fi/OPUS-TED2013/v1.1/moses/en-it.txt.zip",
45
+ ("en", "nl"): "https://object.pouta.csc.fi/OPUS-TED2013/v1.1/moses/en-nl.txt.zip",
46
+ ("en", "pl"): "https://object.pouta.csc.fi/OPUS-TED2013/v1.1/moses/en-pl.txt.zip",
47
+ ("en", "pt"): "https://object.pouta.csc.fi/OPUS-TED2013/v1.1/moses/en-pt.txt.zip",
48
+ ("en", "ro"): "https://object.pouta.csc.fi/OPUS-TED2013/v1.1/moses/en-ro.txt.zip",
49
+ ("en", "ru"): "https://object.pouta.csc.fi/OPUS-TED2013/v1.1/moses/en-ru.txt.zip",
50
+ ("en", "sl"): "https://object.pouta.csc.fi/OPUS-TED2013/v1.1/moses/en-sl.txt.zip",
51
+ ("en", "tr"): "https://object.pouta.csc.fi/OPUS-TED2013/v1.1/moses/en-tr.txt.zip",
52
+ ("en", "zh"): "https://object.pouta.csc.fi/OPUS-TED2013/v1.1/moses/en-zh.txt.zip",
53
+ }
54
+
55
+
56
+ class TedIwlst2013Config(datasets.BuilderConfig):
57
+ def __init__(self, *args, **kwargs):
58
+ super().__init__(*args, **kwargs)
59
+
60
+
61
+ class TedIwlst2013(datasets.GeneratorBasedBuilder):
62
+ BUILDER_CONFIGS = [
63
+ TedIwlst2013Config(
64
+ name=f"{lang1}-{lang2}",
65
+ description=f"Translating {lang1} to {lang2} or vice versa",
66
+ version=datasets.Version(_VERSION),
67
+ )
68
+ for lang1, lang2 in _LANGUAGE_PAIRS.keys()
69
+ ]
70
+ BUILDER_CONFIG_CLASS = TedIwlst2013Config
71
+
72
+ def _info(self):
73
+ return datasets.DatasetInfo(
74
+ description=_DESCRIPTION,
75
+ features=datasets.Features(
76
+ {
77
+ "id": datasets.Value("string"),
78
+ "translation": datasets.Translation(languages=tuple(self.config.name.split("-"))),
79
+ },
80
+ ),
81
+ supervised_keys=None,
82
+ homepage=_HOMEPAGE_URL,
83
+ citation=_CITATION,
84
+ )
85
+
86
+ def _split_generators(self, dl_manager):
87
+ download_url = _LANGUAGE_PAIRS.get(tuple(self.config.name.split("-")))
88
+ path = dl_manager.download_and_extract(download_url)
89
+ return [
90
+ datasets.SplitGenerator(
91
+ name=datasets.Split.TRAIN,
92
+ gen_kwargs={"datapath": path},
93
+ )
94
+ ]
95
+
96
+ def _generate_examples(self, datapath):
97
+ l1, l2 = self.config.name.split("-")
98
+ l1_file = _BASE_NAME.format(self.config.name, l1)
99
+ l2_file = _BASE_NAME.format(self.config.name, l2)
100
+ l1_path = os.path.join(datapath, l1_file)
101
+ l2_path = os.path.join(datapath, l2_file)
102
+
103
+ with open(l1_path, encoding="utf-8") as f1, open(l2_path, encoding="utf-8") as f2:
104
+ for sentence_counter, (x, y) in enumerate(zip(f1, f2)):
105
+ x = x.strip()
106
+ y = y.strip()
107
+ result = (
108
+ sentence_counter,
109
+ {
110
+ "id": str(sentence_counter),
111
+ "translation": {l1: x, l2: y},
112
+ },
113
+ )
114
+ yield result