Datasets:
wmt
/

Modalities:
Text
Libraries:
Datasets
yakut / yakut.py
albertvillanova's picture
Fix relative import
62a96d7
raw
history blame contribute delete
895 Bytes
import datasets
from .wmt_utils import Wmt, WmtConfig
_URL = "http://www.statmt.org/wmt22/translation-task.html"
# TODO: Update with citation of overview paper once it is published.
_CITATION = """
@ONLINE {wmt22translate,
author = {Wikimedia Foundation},
title = {EMNLP 2022 Seventh Conference on Machine Translation (WMT22), Shared Task: General Machine Translation},
url = {http://www.statmt.org/wmt22/translation-task.html}
}
"""
_LANGUAGE_PAIRS = [("sah", "ru")]
class Yakut(Wmt):
BUILDER_CONFIGS = [
WmtConfig(
description=f"Yakut {l1}-{l2} translation dataset",
url=_URL,
citation=_CITATION,
language_pair=(l1, l2),
version=datasets.Version("1.0.0"),
)
for l1, l2 in _LANGUAGE_PAIRS
]
@property
def _subsets(self):
return {datasets.Split.TRAIN: ["yakut"]}