wmt13_translate
Stay organized with collections
Save and categorize content based on your preferences.
Warning: Manual download required. See instructions below.
Translate dataset based on the data from statmt.org.
Versions exists for the different years using a combination of multiple data
sources. The base wmt_translate
allows you to create your own config to choose
your own data/language pair by creating a custom tfds.translate.wmt.WmtConfig
.
config = tfds.translate.wmt.WmtConfig(
version="0.0.1",
language_pair=("fr", "de"),
subsets={
tfds.Split.TRAIN: ["commoncrawl_frde"],
tfds.Split.VALIDATION: ["euelections_dev2019"],
},
)
builder = tfds.builder("wmt_translate", config=config)
Homepage :
http://www.statmt.org/wmt13/translation-task.html
Source code :
tfds.translate.Wmt13Translate
Versions :
1.0.0
(default): No release notes.
Manual download instructions : This dataset requires you to
download the source data manually into download_config.manual_dir
(defaults to ~/tensorflow_datasets/downloads/manual/
):
Some of the wmt configs here, require a manual download.
Please look into wmt.py to see the exact path (and file name) that has to
be downloaded.
Auto-cached
(documentation ):
No
Figure
(tfds.show_examples ):
Not supported.
Citation :
@ InProceedings { bojar - EtAl : 2013 : WMT ,
author = { Bojar , Ondrej and Buck , Christian and Callison - Burch , Chris and Federmann , Christian and Haddow , Barry and Koehn , Philipp and Monz , Christof and Post , Matt and Soricut , Radu and Specia , Lucia },
title = { Findings of the 2013 { Workshop on Statistical Machine Translation } },
booktitle = { Proceedings of the Eighth Workshop on Statistical Machine Translation },
month = { August },
year = { 2013 },
address = { Sofia , Bulgaria },
publisher = { Association for Computational Linguistics },
pages = { 1 -- 44 },
url = { http : //www.aclweb.org/anthology/W13-2201}
}
wmt13_translate/cs-en (default config)
Split
Examples
'test'
3,000
'train'
15,780,759
'validation'
13,573
Translation ({
'cs' : Text ( shape = (), dtype = string ),
'en' : Text ( shape = (), dtype = string ),
})
Feature
Class
Shape
Dtype
Description
Translation
cs
Text
string
en
Text
string
wmt13_translate/de-en
Split
Examples
'test'
3,000
'train'
4,485,758
'validation'
13,573
Translation ({
'de' : Text ( shape = (), dtype = string ),
'en' : Text ( shape = (), dtype = string ),
})
Feature
Class
Shape
Dtype
Description
Translation
de
Text
string
en
Text
string
wmt13_translate/fr-en
Split
Examples
'test'
3,000
'train'
40,810,860
'validation'
13,573
Translation ({
'en' : Text ( shape = (), dtype = string ),
'fr' : Text ( shape = (), dtype = string ),
})
Feature
Class
Shape
Dtype
Description
Translation
en
Text
string
fr
Text
string
wmt13_translate/es-en
Split
Examples
'test'
3,000
'train'
15,176,790
'validation'
13,573
Translation ({
'en' : Text ( shape = (), dtype = string ),
'es' : Text ( shape = (), dtype = string ),
})
Feature
Class
Shape
Dtype
Description
Translation
en
Text
string
es
Text
string
wmt13_translate/ru-en
Split
Examples
'test'
3,000
'train'
2,471,670
'validation'
3,003
Translation ({
'en' : Text ( shape = (), dtype = string ),
'ru' : Text ( shape = (), dtype = string ),
})
Feature
Class
Shape
Dtype
Description
Translation
en
Text
string
ru
Text
string
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2022-12-06 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2022-12-06 UTC."],[],[],null,["# wmt13_translate\n\n\u003cbr /\u003e\n\n| **Warning:** Manual download required. See instructions below.\n\n- **Description**:\n\nTranslate dataset based on the data from statmt.org.\n\nVersions exists for the different years using a combination of multiple data\nsources. The base `wmt_translate` allows you to create your own config to choose\nyour own data/language pair by creating a custom `tfds.translate.wmt.WmtConfig`. \n\n config = tfds.translate.wmt.WmtConfig(\n version=\"0.0.1\",\n language_pair=(\"fr\", \"de\"),\n subsets={\n tfds.Split.TRAIN: [\"commoncrawl_frde\"],\n tfds.Split.VALIDATION: [\"euelections_dev2019\"],\n },\n )\n builder = tfds.builder(\"wmt_translate\", config=config)\n\n- **Homepage** :\n \u003chttp://www.statmt.org/wmt13/translation-task.html\u003e\n\n- **Source code** :\n [`tfds.translate.Wmt13Translate`](https://github.com/tensorflow/datasets/tree/master/tensorflow_datasets/translate/wmt13.py)\n\n- **Versions**:\n\n - **`1.0.0`** (default): No release notes.\n- **Manual download instructions** : This dataset requires you to\n download the source data manually into `download_config.manual_dir`\n (defaults to `~/tensorflow_datasets/downloads/manual/`): \n\n Some of the wmt configs here, require a manual download.\n Please look into wmt.py to see the exact path (and file name) that has to\n be downloaded.\n\n- **Auto-cached**\n ([documentation](https://www.tensorflow.org/datasets/performances#auto-caching)):\n No\n\n- **Figure**\n ([tfds.show_examples](https://www.tensorflow.org/datasets/api_docs/python/tfds/visualization/show_examples)):\n Not supported.\n\n- **Citation**:\n\n @InProceedings{bojar-EtAl:2013:WMT,\n author = {Bojar, Ondrej and Buck, Christian and Callison-Burch, Chris and Federmann, Christian and Haddow, Barry and Koehn, Philipp and Monz, Christof and Post, Matt and Soricut, Radu and Specia, Lucia},\n title = {Findings of the 2013 {Workshop on Statistical Machine Translation} },\n booktitle = {Proceedings of the Eighth Workshop on Statistical Machine Translation},\n month = {August},\n year = {2013},\n address = {Sofia, Bulgaria},\n publisher = {Association for Computational Linguistics},\n pages = {1--44},\n url = {http://www.aclweb.org/anthology/W13-2201}\n }\n\nwmt13_translate/cs-en (default config)\n--------------------------------------\n\n- **Config description**: WMT 2013 cs-en translation task dataset.\n\n- **Download size** : `1.59 GiB`\n\n- **Dataset size** : `2.89 GiB`\n\n- **Splits**:\n\n| Split | Examples |\n|----------------|------------|\n| `'test'` | 3,000 |\n| `'train'` | 15,780,759 |\n| `'validation'` | 13,573 |\n\n- **Feature structure**:\n\n Translation({\n 'cs': Text(shape=(), dtype=string),\n 'en': Text(shape=(), dtype=string),\n })\n\n- **Feature documentation**:\n\n| Feature | Class | Shape | Dtype | Description |\n|---------|-------------|-------|--------|-------------|\n| | Translation | | | |\n| cs | Text | | string | |\n| en | Text | | string | |\n\n- **Supervised keys** (See\n [`as_supervised` doc](https://www.tensorflow.org/datasets/api_docs/python/tfds/load#args)):\n `('cs', 'en')`\n\n- **Examples**\n ([tfds.as_dataframe](https://www.tensorflow.org/datasets/api_docs/python/tfds/as_dataframe)):\n\nDisplay examples... \n\nwmt13_translate/de-en\n---------------------\n\n- **Config description**: WMT 2013 de-en translation task dataset.\n\n- **Download size** : `1.59 GiB`\n\n- **Dataset size** : `1.36 GiB`\n\n- **Splits**:\n\n| Split | Examples |\n|----------------|-----------|\n| `'test'` | 3,000 |\n| `'train'` | 4,485,758 |\n| `'validation'` | 13,573 |\n\n- **Feature structure**:\n\n Translation({\n 'de': Text(shape=(), dtype=string),\n 'en': Text(shape=(), dtype=string),\n })\n\n- **Feature documentation**:\n\n| Feature | Class | Shape | Dtype | Description |\n|---------|-------------|-------|--------|-------------|\n| | Translation | | | |\n| de | Text | | string | |\n| en | Text | | string | |\n\n- **Supervised keys** (See\n [`as_supervised` doc](https://www.tensorflow.org/datasets/api_docs/python/tfds/load#args)):\n `('de', 'en')`\n\n- **Examples**\n ([tfds.as_dataframe](https://www.tensorflow.org/datasets/api_docs/python/tfds/as_dataframe)):\n\nDisplay examples... \n\nwmt13_translate/fr-en\n---------------------\n\n- **Config description**: WMT 2013 fr-en translation task dataset.\n\n- **Download size** : `6.21 GiB`\n\n- **Dataset size** : `14.64 GiB`\n\n- **Splits**:\n\n| Split | Examples |\n|----------------|------------|\n| `'test'` | 3,000 |\n| `'train'` | 40,810,860 |\n| `'validation'` | 13,573 |\n\n- **Feature structure**:\n\n Translation({\n 'en': Text(shape=(), dtype=string),\n 'fr': Text(shape=(), dtype=string),\n })\n\n- **Feature documentation**:\n\n| Feature | Class | Shape | Dtype | Description |\n|---------|-------------|-------|--------|-------------|\n| | Translation | | | |\n| en | Text | | string | |\n| fr | Text | | string | |\n\n- **Supervised keys** (See\n [`as_supervised` doc](https://www.tensorflow.org/datasets/api_docs/python/tfds/load#args)):\n `('fr', 'en')`\n\n- **Examples**\n ([tfds.as_dataframe](https://www.tensorflow.org/datasets/api_docs/python/tfds/as_dataframe)):\n\nDisplay examples... \n\nwmt13_translate/es-en\n---------------------\n\n- **Config description**: WMT 2013 es-en translation task dataset.\n\n- **Download size** : `3.79 GiB`\n\n- **Dataset size** : `5.24 GiB`\n\n- **Splits**:\n\n| Split | Examples |\n|----------------|------------|\n| `'test'` | 3,000 |\n| `'train'` | 15,176,790 |\n| `'validation'` | 13,573 |\n\n- **Feature structure**:\n\n Translation({\n 'en': Text(shape=(), dtype=string),\n 'es': Text(shape=(), dtype=string),\n })\n\n- **Feature documentation**:\n\n| Feature | Class | Shape | Dtype | Description |\n|---------|-------------|-------|--------|-------------|\n| | Translation | | | |\n| en | Text | | string | |\n| es | Text | | string | |\n\n- **Supervised keys** (See\n [`as_supervised` doc](https://www.tensorflow.org/datasets/api_docs/python/tfds/load#args)):\n `('es', 'en')`\n\n- **Examples**\n ([tfds.as_dataframe](https://www.tensorflow.org/datasets/api_docs/python/tfds/as_dataframe)):\n\nDisplay examples... \n\nwmt13_translate/ru-en\n---------------------\n\n- **Config description**: WMT 2013 ru-en translation task dataset.\n\n- **Download size** : `1010.20 MiB`\n\n- **Dataset size** : `833.67 MiB`\n\n- **Splits**:\n\n| Split | Examples |\n|----------------|-----------|\n| `'test'` | 3,000 |\n| `'train'` | 2,471,670 |\n| `'validation'` | 3,003 |\n\n- **Feature structure**:\n\n Translation({\n 'en': Text(shape=(), dtype=string),\n 'ru': Text(shape=(), dtype=string),\n })\n\n- **Feature documentation**:\n\n| Feature | Class | Shape | Dtype | Description |\n|---------|-------------|-------|--------|-------------|\n| | Translation | | | |\n| en | Text | | string | |\n| ru | Text | | string | |\n\n- **Supervised keys** (See\n [`as_supervised` doc](https://www.tensorflow.org/datasets/api_docs/python/tfds/load#args)):\n `('ru', 'en')`\n\n- **Examples**\n ([tfds.as_dataframe](https://www.tensorflow.org/datasets/api_docs/python/tfds/as_dataframe)):\n\nDisplay examples..."]]