wmt17_translate

  • Description:

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/wmt17/translation-task.html

  • Source code: tfds.translate.Wmt17Translate

  • Versions:

    • 1.0.0 (default): No release notes.
  • Dataset size: Unknown size

  • Manual download instructions: This dataset requires you to download the source data manually into download_config.manual_dir (defaults to ~/tensorflow_datasets/download/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): Unknown

  • Citation:

@InProceedings{bojar-EtAl:2017:WMT1,
  author    = {Bojar, Ond
{r}ej  and  Chatterjee, Rajen  and  Federmann, Christian  and  Graham, Yvette  and  Haddow, Barry  and  Huang, Shujian  and  Huck, Matthias  and  Koehn, Philipp  and  Liu, Qun  and  Logacheva, Varvara  and  Monz, Christof  and  Negri, Matteo  and  Post, Matt  and  Rubino, Raphael  and  Specia, Lucia  and  Turchi, Marco},
  title     = {Findings of the 2017 Conference on Machine Translation (WMT17)},
  booktitle = {Proceedings of the Second Conference on Machine Translation, Volume 2: Shared Task Papers},
  month     = {September},
  year      = {2017},
  address   = {Copenhagen, Denmark},
  publisher = {Association for Computational Linguistics},
  pages     = {169--214},
  url       = {http://www.aclweb.org/anthology/W17-4717}
}

wmt17_translate/cs-en (default config)

  • Config description: WMT 2017 cs-en translation task dataset.

  • Download size: 1.66 GiB

  • Splits:

Split Examples
'test' 3,005
'train' 15,851,649
'validation' 2,999
  • Features:
Translation({
    'cs': Text(shape=(), dtype=tf.string),
    'en': Text(shape=(), dtype=tf.string),
})

wmt17_translate/de-en

  • Config description: WMT 2017 de-en translation task dataset.

  • Download size: 1.81 GiB

  • Splits:

Split Examples
'test' 3,004
'train' 5,906,184
'validation' 2,999
  • Features:
Translation({
    'de': Text(shape=(), dtype=tf.string),
    'en': Text(shape=(), dtype=tf.string),
})

wmt17_translate/fi-en

  • Config description: WMT 2017 fi-en translation task dataset.

  • Download size: 414.10 MiB

  • Splits:

Split Examples
'test' 6,004
'train' 2,656,542
'validation' 6,000
  • Features:
Translation({
    'en': Text(shape=(), dtype=tf.string),
    'fi': Text(shape=(), dtype=tf.string),
})

wmt17_translate/lv-en

  • Config description: WMT 2017 lv-en translation task dataset.

  • Download size: 161.69 MiB

  • Splits:

Split Examples
'test' 2,001
'train' 3,567,528
'validation' 2,003
  • Features:
Translation({
    'en': Text(shape=(), dtype=tf.string),
    'lv': Text(shape=(), dtype=tf.string),
})

wmt17_translate/ru-en

  • Config description: WMT 2017 ru-en translation task dataset.

  • Download size: 3.34 GiB

  • Splits:

Split Examples
'test' 3,001
'train' 25,782,720
'validation' 2,998
  • Features:
Translation({
    'en': Text(shape=(), dtype=tf.string),
    'ru': Text(shape=(), dtype=tf.string),
})

wmt17_translate/tr-en

  • Config description: WMT 2017 tr-en translation task dataset.

  • Download size: 59.32 MiB

  • Splits:

Split Examples
'test' 3,007
'train' 205,756
'validation' 3,000
  • Features:
Translation({
    'en': Text(shape=(), dtype=tf.string),
    'tr': Text(shape=(), dtype=tf.string),
})

wmt17_translate/zh-en

  • Config description: WMT 2017 zh-en translation task dataset.

  • Download size: 2.16 GiB

  • Splits:

Split Examples
'test' 2,001
'train' 25,136,609
'validation' 2,002
  • Features:
Translation({
    'en': Text(shape=(), dtype=tf.string),
    'zh': Text(shape=(), dtype=tf.string),
})