wmt17 / README.md
albertvillanova's picture
Convert dataset to Parquet (#8)
54d3aac verified
metadata
annotations_creators:
  - no-annotation
language_creators:
  - found
language:
  - cs
  - de
  - en
  - fi
  - lv
  - ru
  - tr
  - zh
license:
  - unknown
multilinguality:
  - translation
size_categories:
  - 10M<n<100M
source_datasets:
  - extended|europarl_bilingual
  - extended|news_commentary
  - extended|setimes
  - extended|un_multi
task_categories:
  - translation
task_ids: []
pretty_name: WMT17
dataset_info:
  - config_name: cs-en
    features:
      - name: translation
        dtype:
          translation:
            languages:
              - cs
              - en
    splits:
      - name: train
        num_bytes: 300697615
        num_examples: 1018291
      - name: validation
        num_bytes: 707862
        num_examples: 2999
      - name: test
        num_bytes: 674422
        num_examples: 3005
    download_size: 181690407
    dataset_size: 302079899
  - config_name: de-en
    features:
      - name: translation
        dtype:
          translation:
            languages:
              - de
              - en
    splits:
      - name: train
        num_bytes: 1715532715
        num_examples: 5906184
      - name: validation
        num_bytes: 735508
        num_examples: 2999
      - name: test
        num_bytes: 729511
        num_examples: 3004
    download_size: 1011327465
    dataset_size: 1716997734
  - config_name: fi-en
    features:
      - name: translation
        dtype:
          translation:
            languages:
              - fi
              - en
    splits:
      - name: train
        num_bytes: 743854397
        num_examples: 2656542
      - name: validation
        num_bytes: 1410507
        num_examples: 6000
      - name: test
        num_bytes: 1388820
        num_examples: 6004
    download_size: 423069132
    dataset_size: 746653724
  - config_name: lv-en
    features:
      - name: translation
        dtype:
          translation:
            languages:
              - lv
              - en
    splits:
      - name: train
        num_bytes: 517416244
        num_examples: 3567528
      - name: validation
        num_bytes: 544596
        num_examples: 2003
      - name: test
        num_bytes: 530466
        num_examples: 2001
    download_size: 245201883
    dataset_size: 518491306
  - config_name: ru-en
    features:
      - name: translation
        dtype:
          translation:
            languages:
              - ru
              - en
    splits:
      - name: train
        num_bytes: 11000055690
        num_examples: 24782720
      - name: validation
        num_bytes: 1050669
        num_examples: 2998
      - name: test
        num_bytes: 1040187
        num_examples: 3001
    download_size: 4866529051
    dataset_size: 11002146546
  - config_name: tr-en
    features:
      - name: translation
        dtype:
          translation:
            languages:
              - tr
              - en
    splits:
      - name: train
        num_bytes: 60416449
        num_examples: 205756
      - name: validation
        num_bytes: 732428
        num_examples: 3000
      - name: test
        num_bytes: 752765
        num_examples: 3007
    download_size: 37706176
    dataset_size: 61901642
  - config_name: zh-en
    features:
      - name: translation
        dtype:
          translation:
            languages:
              - zh
              - en
    splits:
      - name: train
        num_bytes: 6336104073
        num_examples: 25134743
      - name: validation
        num_bytes: 589583
        num_examples: 2002
      - name: test
        num_bytes: 540339
        num_examples: 2001
    download_size: 3576239952
    dataset_size: 6337233995
configs:
  - config_name: cs-en
    data_files:
      - split: train
        path: cs-en/train-*
      - split: validation
        path: cs-en/validation-*
      - split: test
        path: cs-en/test-*
  - config_name: de-en
    data_files:
      - split: train
        path: de-en/train-*
      - split: validation
        path: de-en/validation-*
      - split: test
        path: de-en/test-*
  - config_name: fi-en
    data_files:
      - split: train
        path: fi-en/train-*
      - split: validation
        path: fi-en/validation-*
      - split: test
        path: fi-en/test-*
  - config_name: lv-en
    data_files:
      - split: train
        path: lv-en/train-*
      - split: validation
        path: lv-en/validation-*
      - split: test
        path: lv-en/test-*
  - config_name: ru-en
    data_files:
      - split: train
        path: ru-en/train-*
      - split: validation
        path: ru-en/validation-*
      - split: test
        path: ru-en/test-*
  - config_name: tr-en
    data_files:
      - split: train
        path: tr-en/train-*
      - split: validation
        path: tr-en/validation-*
      - split: test
        path: tr-en/test-*
  - config_name: zh-en
    data_files:
      - split: train
        path: zh-en/train-*
      - split: validation
        path: zh-en/validation-*
      - split: test
        path: zh-en/test-*

Dataset Card for "wmt17"

Table of Contents

Dataset Description

Dataset Summary

Warning: There are issues with the Common Crawl corpus data (training-parallel-commoncrawl.tgz):

  • Non-English files contain many English sentences.
  • Their "parallel" sentences in English are not aligned: they are uncorrelated with their counterpart.

We have contacted the WMT organizers, and in response, they have indicated that they do not have plans to update the Common Crawl corpus data. Their rationale pertains to the expectation that such data has been superseded, primarily by CCMatrix, and to some extent, by ParaCrawl datasets.

Translation dataset based on the data from statmt.org.

Versions exist for different years using a combination of data sources. The base wmt allows you to create a custom dataset by choosing your own data/language pair. This can be done as follows:

from datasets import inspect_dataset, load_dataset_builder

inspect_dataset("wmt17", "path/to/scripts")
builder = load_dataset_builder(
    "path/to/scripts/wmt_utils.py",
    language_pair=("fr", "de"),
    subsets={
        datasets.Split.TRAIN: ["commoncrawl_frde"],
        datasets.Split.VALIDATION: ["euelections_dev2019"],
    },
)

# Standard version
builder.download_and_prepare()
ds = builder.as_dataset()

# Streamable version
ds = builder.as_streaming_dataset()

Supported Tasks and Leaderboards

More Information Needed

Languages

More Information Needed

Dataset Structure

Data Instances

cs-en

  • Size of downloaded dataset files: 1.78 GB
  • Size of the generated dataset: 302.09 MB
  • Total amount of disk used: 2.09 GB

An example of 'train' looks as follows.


Data Fields

The data fields are the same among all splits.

cs-en

  • translation: a multilingual string variable, with possible languages including cs, en.

Data Splits

name train validation test
cs-en 1018291 2999 3005

Dataset Creation

Curation Rationale

More Information Needed

Source Data

Initial Data Collection and Normalization

More Information Needed

Who are the source language producers?

More Information Needed

Annotations

Annotation process

More Information Needed

Who are the annotators?

More Information Needed

Personal and Sensitive Information

More Information Needed

Considerations for Using the Data

Social Impact of Dataset

More Information Needed

Discussion of Biases

More Information Needed

Other Known Limitations

More Information Needed

Additional Information

Dataset Curators

More Information Needed

Licensing Information

More Information Needed

Citation Information


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

Contributions

Thanks to @patrickvonplaten, @thomwolf for adding this dataset.