Attend the Women in ML Symposium on December 7 Register now

wmt18_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)
@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}
}

wmt18_translate/cs-en (default config)

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

  • Download size: 1.89 GiB

  • Dataset size: 3.84 GiB

  • Auto-cached (documentation): No

  • Splits:

Split Examples
'test' 2,983
'train' 24,021,877
'validation' 3,005
  • Feature structure:
Translation({
    'cs': Text(shape=(), dtype=object),
    'en': Text(shape=(), dtype=object),
})
  • Feature documentation:
Feature Class Shape Dtype Description
Translation
cs Text object
en Text object

wmt18_translate/de-en

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

  • Download size: 3.55 GiB

  • Dataset size: 8.44 GiB

  • Auto-cached (documentation): No

  • Splits:

Split Examples
'test' 2,998
'train' 42,271,874
'validation' 3,004
  • Feature structure:
Translation({
    'de': Text(shape=(), dtype=object),
    'en': Text(shape=(), dtype=object),
})
  • Feature documentation:
Feature Class Shape Dtype Description
Translation
de Text object
en Text object

wmt18_translate/et-en

  • Config description: WMT 2018 et-en translation task dataset.

  • Download size: 499.91 MiB

  • Dataset size: 663.80 MiB

  • Auto-cached (documentation): No

  • Splits:

Split Examples
'test' 2,000
'train' 2,175,873
'validation' 2,000
  • Feature structure:
Translation({
    'en': Text(shape=(), dtype=object),
    'et': Text(shape=(), dtype=object),
})
  • Feature documentation:
Feature Class Shape Dtype Description
Translation
en Text object
et Text object

wmt18_translate/fi-en

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

  • Download size: 468.76 MiB

  • Dataset size: 889.40 MiB

  • Auto-cached (documentation): No

  • Splits:

Split Examples
'test' 3,000
'train' 3,280,600
'validation' 6,004
  • Feature structure:
Translation({
    'en': Text(shape=(), dtype=object),
    'fi': Text(shape=(), dtype=object),
})
  • Feature documentation:
Feature Class Shape Dtype Description
Translation
en Text object
fi Text object

wmt18_translate/ru-en

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

  • Download size: 1.63 GiB

  • Dataset size: 13.89 GiB

  • Auto-cached (documentation): No

  • Splits:

Split Examples
'test' 3,000
'train' 37,858,512
'validation' 3,001
  • Feature structure:
Translation({
    'en': Text(shape=(), dtype=object),
    'ru': Text(shape=(), dtype=object),
})
  • Feature documentation:
Feature Class Shape Dtype Description
Translation
en Text object
ru Text object

wmt18_translate/tr-en

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

  • Download size: 59.32 MiB

  • Dataset size: 63.78 MiB

  • Auto-cached (documentation): Yes

  • Splits:

Split Examples
'test' 3,000
'train' 205,756
'validation' 3,007
  • Feature structure:
Translation({
    'en': Text(shape=(), dtype=object),
    'tr': Text(shape=(), dtype=object),
})
  • Feature documentation:
Feature Class Shape Dtype Description
Translation
en Text object
tr Text object

wmt18_translate/zh-en

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

  • Download size: 831.45 MiB

  • Dataset size: 6.43 GiB

  • Auto-cached (documentation): No

  • Splits:

Split Examples
'test' 3,981
'train' 25,162,209
'validation' 2,001
  • Feature structure:
Translation({
    'en': Text(shape=(), dtype=object),
    'zh': Text(shape=(), dtype=object),
})
  • Feature documentation:
Feature Class Shape Dtype Description
Translation
en Text object
zh Text object