"""WMT14: Translate dataset."""

import tensorflow_datasets as tfds
from tensorflow_datasets.translate import wmt

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)
builder.download_and_prepare()