Registration is open for TensorFlow Dev Summit 2020 Learn more

wmt18_translate (Manual download)

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)

wmt18_translate is configured with tfds.translate.wmt.WmtConfig and has the following configurations predefined (defaults to the first one):

  • cs-en (v1.0.0) (Size: ?? GiB): WMT 2018 cs-en translation task dataset.

  • de-en (v1.0.0) (Size: ?? GiB): WMT 2018 de-en translation task dataset.

  • et-en (v1.0.0) (Size: ?? GiB): WMT 2018 et-en translation task dataset.

  • fi-en (v1.0.0) (Size: ?? GiB): WMT 2018 fi-en translation task dataset.

  • kk-en (v1.0.0) (Size: ?? GiB): WMT 2018 kk-en translation task dataset.

  • ru-en (v1.0.0) (Size: ?? GiB): WMT 2018 ru-en translation task dataset.

  • tr-en (v1.0.0) (Size: ?? GiB): WMT 2018 tr-en translation task dataset.

  • zh-en (v1.0.0) (Size: ?? GiB): WMT 2018 zh-en translation task dataset.

wmt18_translate/cs-en

WMT 2018 cs-en translation task dataset.

Versions:

  • 1.0.0 (default):
  • 0.0.3: None

WARNING: This dataset requires you to download the source data manually into manual_dir (defaults to ~/tensorflow_datasets/manual/wmt18_translate/): 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.

Statistics

None computed

Features

Translation({
    'cs': Text(shape=(), dtype=tf.string),
    'en': Text(shape=(), dtype=tf.string),
})

Homepage

Supervised keys (for as_supervised=True)

('cs', 'en')

wmt18_translate/de-en

WMT 2018 de-en translation task dataset.

Versions:

  • 1.0.0 (default):
  • 0.0.3: None

WARNING: This dataset requires you to download the source data manually into manual_dir (defaults to ~/tensorflow_datasets/manual/wmt18_translate/): 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.

Statistics

None computed

Features

Translation({
    'de': Text(shape=(), dtype=tf.string),
    'en': Text(shape=(), dtype=tf.string),
})

Homepage

Supervised keys (for as_supervised=True)

('de', 'en')

wmt18_translate/et-en

WMT 2018 et-en translation task dataset.

Versions:

  • 1.0.0 (default):
  • 0.0.3: None

WARNING: This dataset requires you to download the source data manually into manual_dir (defaults to ~/tensorflow_datasets/manual/wmt18_translate/): 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.

Statistics

None computed

Features

Translation({
    'en': Text(shape=(), dtype=tf.string),
    'et': Text(shape=(), dtype=tf.string),
})

Homepage

Supervised keys (for as_supervised=True)

('et', 'en')

wmt18_translate/fi-en

WMT 2018 fi-en translation task dataset.

Versions:

  • 1.0.0 (default):
  • 0.0.3: None

WARNING: This dataset requires you to download the source data manually into manual_dir (defaults to ~/tensorflow_datasets/manual/wmt18_translate/): 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.

Statistics

None computed

Features

Translation({
    'en': Text(shape=(), dtype=tf.string),
    'fi': Text(shape=(), dtype=tf.string),
})

Homepage

Supervised keys (for as_supervised=True)

('fi', 'en')

wmt18_translate/kk-en

WMT 2018 kk-en translation task dataset.

Versions:

  • 1.0.0 (default):
  • 0.0.3: None

WARNING: This dataset requires you to download the source data manually into manual_dir (defaults to ~/tensorflow_datasets/manual/wmt18_translate/): 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.

Statistics

None computed

Features

Translation({
    'en': Text(shape=(), dtype=tf.string),
    'kk': Text(shape=(), dtype=tf.string),
})

Homepage

Supervised keys (for as_supervised=True)

('kk', 'en')

wmt18_translate/ru-en

WMT 2018 ru-en translation task dataset.

Versions:

  • 1.0.0 (default):
  • 0.0.3: None

WARNING: This dataset requires you to download the source data manually into manual_dir (defaults to ~/tensorflow_datasets/manual/wmt18_translate/): 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.

Statistics

None computed

Features

Translation({
    'en': Text(shape=(), dtype=tf.string),
    'ru': Text(shape=(), dtype=tf.string),
})

Homepage

Supervised keys (for as_supervised=True)

('ru', 'en')

wmt18_translate/tr-en

WMT 2018 tr-en translation task dataset.

Versions:

  • 1.0.0 (default):
  • 0.0.3: None

WARNING: This dataset requires you to download the source data manually into manual_dir (defaults to ~/tensorflow_datasets/manual/wmt18_translate/): 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.

Statistics

None computed

Features

Translation({
    'en': Text(shape=(), dtype=tf.string),
    'tr': Text(shape=(), dtype=tf.string),
})

Homepage

Supervised keys (for as_supervised=True)

('tr', 'en')

wmt18_translate/zh-en

WMT 2018 zh-en translation task dataset.

Versions:

  • 1.0.0 (default):
  • 0.0.3: None

WARNING: This dataset requires you to download the source data manually into manual_dir (defaults to ~/tensorflow_datasets/manual/wmt18_translate/): 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.

Statistics

None computed

Features

Translation({
    'en': Text(shape=(), dtype=tf.string),
    'zh': Text(shape=(), dtype=tf.string),
})

Homepage

Supervised keys (for as_supervised=True)

('zh', 'en')

Citation

@InProceedings{bojar-EtAl:2018:WMT1,
  author    = {Bojar, Ond
{r}ej  and  Federmann, Christian  and  Fishel, Mark
    and Graham, Yvette  and  Haddow, Barry  and  Huck, Matthias  and
    Koehn, Philipp  and  Monz, Christof},
  title     = {Findings of the 2018 Conference on Machine Translation (WMT18)},
  booktitle = {Proceedings of the Third Conference on Machine Translation,
    Volume 2: Shared Task Papers},
  month     = {October},
  year      = {2018},
  address   = {Belgium, Brussels},
  publisher = {Association for Computational Linguistics},
  pages     = {272--307},
  url       = {http://www.aclweb.org/anthology/W18-6401}
}