Fixes to pubmed dataset download function
{'login': 'spacemanidol', 'id': 3886120, 'node_id': 'MDQ6VXNlcjM4ODYxMjA=', 'avatar_url': 'https://avatars.githubusercontent.com/u/3886120?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/spacemanidol', 'html_url': 'https://github.com/spacemanidol', 'followers_url': 'https://api.github.com/users/spacemanidol/followers', 'following_url': 'https://api.github.com/users/spacemanidol/following{/other_user}', 'gists_url': 'https://api.github.com/users/spacemanidol/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/spacemanidol/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/spacemanidol/subscriptions', 'organizations_url': 'https://api.github.com/users/spacemanidol/orgs', 'repos_url': 'https://api.github.com/users/spacemanidol/repos', 'events_url': 'https://api.github.com/users/spacemanidol/events{/privacy}', 'received_events_url': 'https://api.github.com/users/spacemanidol/received_events', 'type': 'User', 'site_admin': False}
[]
[]
['Hi ! I think we can simply add a new configuration for the 2022 data instead of replacing them.\r\nYou can add the new configuration here:\r\n```python\r\n    BUILDER_CONFIGS = [\r\n        datasets.BuilderConfig(name="2021", description="The 2021 annual record", version=datasets.Version("1.0.0")),\r\n        datasets.BuilderConfig(name="2022", description="The 2022 annual record", version=datasets.Version("1.0.0")),\r\n    ]\r\n```\r\n\r\nAnd we can have the URLs for these two versions this way:\r\n```python\r\n_URLs = {\r\n    "2021": f"ftp://ftp.ncbi.nlm.nih.gov/pubmed/baseline/pubmed21n{i:04d}.xml.gz" for i in range(1, 1063)],\r\n    "2022": f"ftp://ftp.ncbi.nlm.nih.gov/pubmed/baseline/pubmed22n{i:04d}.xml.gz" for i in range(1, 1114)]\r\n}\r\n```\r\nand depending on the configuration name (you can get it with `self.config.name`) we can pick the URLs of 2021 or the ones of 2022 and pass them to the `dl_manager` in `_split_generators`\r\n\r\nFeel free to ping me if you have questions or if I can help !'
 "Hi @spacemanidol, thanks for your contribution.\r\n\r\nThe update of the PubMed dataset URL (besides the update of the corresponding metadata and the dummy data) was already merged to master branch in this other PR:\r\n- #3692 \r\n\r\nI'm closing this PR then.\r\n\r\n@lhoestq please take into account that 2021 data is no longer accessible: every year PubMed releases the baseline data (containing all previous data until that year) and from that on, they release daily updates.  "
 "> @lhoestq please take into account that 2021 data is no longer accessible: every year PubMed releases the baseline data (containing all previous data until that year) and from that on, they release daily updates.\r\n\r\nOh ok I didn't know, thanks"]
{'url': 'https://api.github.com/repos/huggingface/datasets/pulls/3609', 'html_url': 'https://github.com/huggingface/datasets/pull/3609', 'diff_url': 'https://github.com/huggingface/datasets/pull/3609.diff', 'patch_url': 'https://github.com/huggingface/datasets/pull/3609.patch', 'merged_at': None}
Pubmed has updated its settings for 2022 and thus existing download script does not work. 
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/3609/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}