Update tatoeba to v2021-07-22
{'login': 'KoichiYasuoka', 'id': 15098598, 'node_id': 'MDQ6VXNlcjE1MDk4NTk4', 'avatar_url': 'https://avatars.githubusercontent.com/u/15098598?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/KoichiYasuoka', 'html_url': 'https://github.com/KoichiYasuoka', 'followers_url': 'https://api.github.com/users/KoichiYasuoka/followers', 'following_url': 'https://api.github.com/users/KoichiYasuoka/following{/other_user}', 'gists_url': 'https://api.github.com/users/KoichiYasuoka/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/KoichiYasuoka/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/KoichiYasuoka/subscriptions', 'organizations_url': 'https://api.github.com/users/KoichiYasuoka/orgs', 'repos_url': 'https://api.github.com/users/KoichiYasuoka/repos', 'events_url': 'https://api.github.com/users/KoichiYasuoka/events{/privacy}', 'received_events_url': 'https://api.github.com/users/KoichiYasuoka/received_events', 'type': 'User', 'site_admin': False}
[]
[]
['How about this? @lhoestq @abhishekkrthakur '
 'Hi ! I think it would be nice if people could still be able to load the old version.\r\nMaybe this can be a parameter ? For example to load the old version they could do\r\n```python\r\nload_dataset("tatoeba", lang1="en", lang2="mr", date="v2020-11-09")\r\n```\r\n\r\nIf it sounds good to you, we can add this parameter to the TatoebaConfig:\r\n```python\r\nclass TatoebaConfig(datasets.BuilderConfig):\r\n    def __init__(self, *args, lang1=None, lang2=None, date="v2021-07-22", **kwargs):\r\n    self.date = date\r\n```\r\nand then pass the date to the URL\r\n```python\r\n_BASE_URL = "https://object.pouta.csc.fi/OPUS-Tatoeba/{}/moses/{}-{}.txt.zip"\r\n```\r\n```python\r\n        def _base_url(lang1, lang2, date):\r\n            return _BASE_URL.format(date, lang1, lang2)\r\n```\r\n\r\nWhat do you think ?'
 '`_DATE = "v" + "-".join(s.zfill(2) for s in _VERSION.split("."))` seems rather tricky but works well. How about this? @lhoestq \r\n'
 'The CI is only failing because of the missing sections in the dataset card, and because of an issue with the CER metric that is unrelated to this PR']
{'url': 'https://api.github.com/repos/huggingface/datasets/pulls/3225', 'html_url': 'https://github.com/huggingface/datasets/pull/3225', 'diff_url': 'https://github.com/huggingface/datasets/pull/3225.diff', 'patch_url': 'https://github.com/huggingface/datasets/pull/3225.patch', 'merged_at': datetime.datetime(2021, 11, 12, 11, 13, 13)}
Tatoeba's latest version is v2021-07-22
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/3225/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}