<br />

> [!WARNING]
> **Warning:** Manual download required. See instructions below.

- **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)

- **Additional Documentation** :
  [Explore on Papers With Code](https://paperswithcode.com/dataset/wmt-2015)

- **Homepage** :
  <http://www.statmt.org/wmt15/translation-task.html>

- **Source code** :
  [`tfds.translate.Wmt15Translate`](https://github.com/tensorflow/datasets/tree/master/tensorflow_datasets/translate/wmt15.py)

- **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](https://www.tensorflow.org/datasets/performances#auto-caching)):
  No

- **Figure**
  ([tfds.show_examples](https://www.tensorflow.org/datasets/api_docs/python/tfds/visualization/show_examples)):
  Not supported.

- **Citation**:

    @InProceedings{bojar-EtAl:2015:WMT,
      author    = {Bojar, Ond {r}ej  and  Chatterjee, Rajen  and  Federmann, Christian  and  Haddow, Barry  and  Huck, Matthias  and  Hokamp, Chris  and  Koehn, Philipp  and  Logacheva, Varvara  and  Monz, Christof  and  Negri, Matteo  and  Post, Matt  and  Scarton, Carolina  and  Specia, Lucia  and  Turchi, Marco},
      title     = {Findings of the 2015 Workshop on Statistical Machine Translation},
      booktitle = {Proceedings of the Tenth Workshop on Statistical Machine Translation},
      month     = {September},
      year      = {2015},
      address   = {Lisbon, Portugal},
      publisher = {Association for Computational Linguistics},
      pages     = {1--46},
      url       = {http://aclweb.org/anthology/W15-3001}
    }

## wmt15_translate/cs-en (default config)

- **Config description**: WMT 2015 cs-en translation task dataset.

- **Download size** : `1.62 GiB`

- **Dataset size** : `2.89 GiB`

- **Splits**:

| Split | Examples |
|---|---|
| `'test'` | 2,656 |
| `'train'` | 15,793,126 |
| `'validation'` | 3,003 |

- **Feature structure**:

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

- **Feature documentation**:

| Feature | Class | Shape | Dtype | Description |
|---|---|---|---|---|
|   | Translation |   |   |   |
| cs | Text |   | string |   |
| en | Text |   | string |   |

- **Supervised keys** (See
  [`as_supervised` doc](https://www.tensorflow.org/datasets/api_docs/python/tfds/load#args)):
  `('cs', 'en')`

- **Examples**
  ([tfds.as_dataframe](https://www.tensorflow.org/datasets/api_docs/python/tfds/as_dataframe)):

<iframe src="https:///frame/datasets/catalog/wmt15_translate_f0f3fe229f31fe7f8feff8ee7858dace0ba2b9110c5bcafcdd5952ee6a6adf27.frame" class="framebox inherit-locale " allow="clipboard-write https://" allowfullscreen is-upgraded></iframe>

## wmt15_translate/de-en

- **Config description**: WMT 2015 de-en translation task dataset.

- **Download size** : `1.62 GiB`

- **Dataset size** : `1.37 GiB`

- **Splits**:

| Split | Examples |
|---|---|
| `'test'` | 2,169 |
| `'train'` | 4,522,998 |
| `'validation'` | 3,003 |

- **Feature structure**:

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

- **Feature documentation**:

| Feature | Class | Shape | Dtype | Description |
|---|---|---|---|---|
|   | Translation |   |   |   |
| de | Text |   | string |   |
| en | Text |   | string |   |

- **Supervised keys** (See
  [`as_supervised` doc](https://www.tensorflow.org/datasets/api_docs/python/tfds/load#args)):
  `('de', 'en')`

- **Examples**
  ([tfds.as_dataframe](https://www.tensorflow.org/datasets/api_docs/python/tfds/as_dataframe)):

<iframe src="https:///frame/datasets/catalog/wmt15_translate_4126a484894f2203e31f2fec8c1ccf317b5ae5e1d94b1497db33bc14d4366e7e.frame" class="framebox inherit-locale " allow="clipboard-write https://" allowfullscreen is-upgraded></iframe>

## wmt15_translate/fi-en

- **Config description**: WMT 2015 fi-en translation task dataset.

- **Download size** : `260.51 MiB`

- **Dataset size** : `623.22 MiB`

- **Splits**:

| Split | Examples |
|---|---|
| `'test'` | 1,370 |
| `'train'` | 2,073,394 |
| `'validation'` | 1,500 |

- **Feature structure**:

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

- **Feature documentation**:

| Feature | Class | Shape | Dtype | Description |
|---|---|---|---|---|
|   | Translation |   |   |   |
| en | Text |   | string |   |
| fi | Text |   | string |   |

- **Supervised keys** (See
  [`as_supervised` doc](https://www.tensorflow.org/datasets/api_docs/python/tfds/load#args)):
  `('fi', 'en')`

- **Examples**
  ([tfds.as_dataframe](https://www.tensorflow.org/datasets/api_docs/python/tfds/as_dataframe)):

<iframe src="https:///frame/datasets/catalog/wmt15_translate_50697f1c5f037fea4f39bfbf950942ede931f71e593c1cb2f4f777ceb90f21a8.frame" class="framebox inherit-locale " allow="clipboard-write https://" allowfullscreen is-upgraded></iframe>

## wmt15_translate/fr-en

- **Config description**: WMT 2015 fr-en translation task dataset.

- **Download size** : `6.24 GiB`

- **Dataset size** : `14.65 GiB`

- **Splits**:

| Split | Examples |
|---|---|
| `'test'` | 1,500 |
| `'train'` | 40,853,298 |
| `'validation'` | 4,503 |

- **Feature structure**:

    Translation({
        'en': Text(shape=(), dtype=string),
        'fr': Text(shape=(), dtype=string),
    })

- **Feature documentation**:

| Feature | Class | Shape | Dtype | Description |
|---|---|---|---|---|
|   | Translation |   |   |   |
| en | Text |   | string |   |
| fr | Text |   | string |   |

- **Supervised keys** (See
  [`as_supervised` doc](https://www.tensorflow.org/datasets/api_docs/python/tfds/load#args)):
  `('fr', 'en')`

- **Examples**
  ([tfds.as_dataframe](https://www.tensorflow.org/datasets/api_docs/python/tfds/as_dataframe)):

<iframe src="https:///frame/datasets/catalog/wmt15_translate_f958766651c00c1fead327b48a572738475f96383910e4ee335a2be5cebbe2c4.frame" class="framebox inherit-locale " allow="clipboard-write https://" allowfullscreen is-upgraded></iframe>

## wmt15_translate/ru-en

- **Config description**: WMT 2015 ru-en translation task dataset.

- **Download size** : `1.02 GiB`

- **Dataset size** : `843.90 MiB`

- **Splits**:

| Split | Examples |
|---|---|
| `'test'` | 2,818 |
| `'train'` | 2,495,081 |
| `'validation'` | 3,003 |

- **Feature structure**:

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

- **Feature documentation**:

| Feature | Class | Shape | Dtype | Description |
|---|---|---|---|---|
|   | Translation |   |   |   |
| en | Text |   | string |   |
| ru | Text |   | string |   |

- **Supervised keys** (See
  [`as_supervised` doc](https://www.tensorflow.org/datasets/api_docs/python/tfds/load#args)):
  `('ru', 'en')`

- **Examples**
  ([tfds.as_dataframe](https://www.tensorflow.org/datasets/api_docs/python/tfds/as_dataframe)):

<iframe src="https:///frame/datasets/catalog/wmt15_translate_10659bf61a5a21e946f6f084961e7a30255bcaf535b1023f9e64b4bee31a9f19.frame" class="framebox inherit-locale " allow="clipboard-write https://" allowfullscreen is-upgraded></iframe>