--- license: other license_name: wmt-research-terms license_link: https://www.statmt.org/wmt19/translation-task.html task_categories: - translation language: - en - zh - de tags: - entropy-valley - machine-translation - masked-diffusion - diffusion-language-model - wmt - length-prediction - arxiv:2608.22274 pretty_name: Entropy-Valley Datasets size_categories: - 100K **Note on direction.** `Zh→En` reuses the same `enzh` files — `lang_pair: zh-en` in the code simply swaps which key is source and which is target. There is no separate `zhen` config. ## Construction Protocol ### Training and dev splits Built from the HuggingFace `wmt19` corpus with `ladit/data/prepare_mt_data*.py`: - **En↔Zh** — `load_dataset("wmt19", "zh-en", split="train")`. Filter: `5 <= len(en.split()) <= 200` and `2 <= len(zh) <= 600` (English whitespace words, Chinese characters). - **En→De** — `load_dataset("wmt19", "de-en", split="train")`, shuffled with `seed=42` before iteration. Filter: `5 <= len(en.split()) <= 200` and `5 <= len(de.split()) <= 200`. After filtering, pairs are shuffled deterministically (`random.seed(42)` in the released scripts); the first 200,000 become the train split and the next 2,000 become the dev split. **Only single-side length filters are applied.** No language-ID classifier and no source–target length-ratio filter. **What the dev split is *not* used for.** The WMT19 development pairs are not used to set the reported EV ratio grids or any decoding hyperparameter. The grids reported in the paper are direction-specific and were informed by diagnostic range comparisons on WMT22 subsets; the WMT19 training-corpus medians (0.80 / 1.24 / 1.48) serve only as a reference scale. Once chosen, a grid is fixed and used for every sentence and every length method in that direction. ### Test sets The official WMT22 News Translation test sets, $N{=}2{,}037$ per direction. - **En↔Zh** — sources and references from [wmt-conference/wmt22-news-systems](https://github.com/wmt-conference/wmt22-news-systems/tree/main/txt), combined into the JSONL schema above. En→Zh and Zh→En reuse the same file with roles swapped. - **En→De** — fetched via sacreBLEU's `get_source_file("wmt22", "en-de")` and `get_reference_files("wmt22", "en-de")`. ### Challenge subsets Derived from `wmt22_enzh_test.jsonl` by `ladit/data/build_challenge_sets.py` with `--max_per_category 200`. Subsets are **not** mutually exclusive: `challenge_coverage_zh` is the 400-sentence union used for the reveal-order diagnostic, and each per-category file carries its trigger in `challenge_category`. `idx` is the 0-based row index into `wmt22_enzh_test.jsonl`, so every challenge example can be traced back to its source row. Note that the per-category counts here are the files as built with the 200-cap; the paper's reveal-order table reports the category composition *within* the 400-sentence union subset, which is smaller for the capped categories. ## Usage ```python from datasets import load_dataset enzh = load_dataset("YanZhanPKU/Entropy-Valley-Datasets", "enzh") ende = load_dataset("YanZhanPKU/Entropy-Valley-Datasets", "ende") nums = load_dataset("YanZhanPKU/Entropy-Valley-Datasets", "challenge_numbers", split="test") print(enzh) # DatasetDict({train: 200000, validation: 2000, test: 2037}) print(enzh["test"][0]) # {'en': "I'm sorry that your order is running late.", 'zh': '很抱歉,您点的餐可能会晚到一会。'} ``` Or download the raw JSONL tree, which is the layout the released code expects: ```bash huggingface-cli download YanZhanPKU/Entropy-Valley-Datasets --repo-type dataset --local-dir ./data ``` Then run the full pipeline from the [code repository](https://github.com/Entropy-Valley/Entropy-Valley): ```bash bash scripts/train_and_eval.sh configs/enzh.yaml 42 ``` ## Rebuilding from Source Nothing here is hand-annotated — every file is reproducible from the public WMT releases: ```bash python -m ladit.data.prepare_mt_data --output_dir data --num_train 200000 --seed 42 python -m ladit.data.prepare_mt_data_ende --output_dir data --num_train 200000 --seed 42 python -m ladit.data.build_challenge_sets --input data/wmt22_enzh_test.jsonl \ --outdir data/challenge_sets --max_per_category 200 ``` ## Licensing and Provenance The paper's *Resource availability* paragraph (Appendix A) states that the processed experiment datasets and trained LoRA adapters are released here; this repository is that release. These files are **derived subsets** of the public WMT19 training corpora and the public WMT22 News Translation test sets, redistributed here in a reformatted JSONL layout so that the paper's results are reproducible without re-running the sampling pipeline. They are **not** a new corpus, and no raw WMT distribution is mirrored in full. Use is subject to the original WMT terms, which permit use for machine-translation research. Source references: - WMT19 translation task: (HF mirror: [`wmt/wmt19`](https://huggingface.co/datasets/wmt/wmt19)) - WMT22 news systems and test sets: If you are a rights holder for any WMT19 sub-corpus and want a portion removed, please open an issue on the [code repository](https://github.com/Entropy-Valley/Entropy-Valley/issues). **Privacy.** The WMT news benchmarks are public and may contain names or events already present in public news text. No private user data was collected, and no attempt was made to identify individuals. ## Citation ```bibtex @inproceedings{zhan2026lengthadaptive, title = {Length-Adaptive Decoding for Masked Diffusion Machine Translation}, author = {Zhan, Yan and Hou, Mengkai and Zhang, Wanting and Gao, Zhijun}, booktitle = {Proceedings of the 2026 Conference on Empirical Methods in Natural Language Processing (EMNLP)}, year = {2026}, eprint = {2608.22274}, archivePrefix = {arXiv}, primaryClass = {cs.CL}, url = {https://arxiv.org/abs/2608.22274} } ``` Please also cite the underlying WMT shared tasks: ```bibtex @inproceedings{barrault-etal-2019-findings, title = {Findings of the 2019 Conference on Machine Translation (WMT19)}, author = {Barrault, Lo{\"i}c and Bojar, Ond{\v{r}}ej and Costa-juss{\`a}, Marta R. and others}, booktitle = {Proceedings of the Fourth Conference on Machine Translation}, year = {2019} } @inproceedings{kocmi-etal-2022-findings, title = {Findings of the 2022 Conference on Machine Translation (WMT22)}, author = {Kocmi, Tom and Bawden, Rachel and Bojar, Ond{\v{r}}ej and others}, booktitle = {Proceedings of the Seventh Conference on Machine Translation}, year = {2022} } ```