Unnamed: 0
int64 0
4.89k
| url
stringlengths 58
61
| repository_url
stringclasses 1
value | labels_url
stringlengths 72
75
| comments_url
stringlengths 67
70
| events_url
stringlengths 65
68
| html_url
stringlengths 46
51
| id
int64 599M
1.34B
| node_id
stringlengths 18
32
| number
int64 1
4.87k
| title
stringlengths 1
276
| user
stringlengths 870
1.16k
| labels
stringclasses 64
values | state
stringclasses 2
values | locked
bool 1
class | assignee
stringclasses 38
values | assignees
stringclasses 48
values | milestone
nullclasses 7
values | comments
stringlengths 2
53k
| created_at
stringlengths 19
19
| updated_at
stringlengths 19
19
| closed_at
nulllengths 19
19
⌀ | author_association
stringclasses 3
values | active_lock_reason
null | draft
bool 2
classes | pull_request
stringlengths 289
336
⌀ | body
stringlengths 1
228k
⌀ | reactions
stringlengths 191
196
| timeline_url
stringlengths 67
70
| performed_via_github_app
null | state_reason
nullclasses 3
values | is_pull_request
bool 2
classes |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0 | https://api.github.com/repos/huggingface/datasets/issues/4867 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/4867/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/4867/comments | https://api.github.com/repos/huggingface/datasets/issues/4867/events | https://github.com/huggingface/datasets/pull/4867 | 1,344,982,646 | PR_kwDODunzps49fZle | 4,867 | Complete tags of superglue dataset card | {'login': 'richarddwang', 'id': 17963619, 'node_id': 'MDQ6VXNlcjE3OTYzNjE5', 'avatar_url': 'https://avatars.githubusercontent.com/u/17963619?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/richarddwang', 'html_url': 'https://github.com/richarddwang', 'followers_url': 'https://api.github.com/users/richarddwang/followers', 'following_url': 'https://api.github.com/users/richarddwang/following{/other_user}', 'gists_url': 'https://api.github.com/users/richarddwang/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/richarddwang/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/richarddwang/subscriptions', 'organizations_url': 'https://api.github.com/users/richarddwang/orgs', 'repos_url': 'https://api.github.com/users/richarddwang/repos', 'events_url': 'https://api.github.com/users/richarddwang/events{/privacy}', 'received_events_url': 'https://api.github.com/users/richarddwang/received_events', 'type': 'User', 'site_admin': False} | [] | open | false | null | [] | null | ['The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_4867). All of your documentation changes will be reflected on that endpoint.'] | 2022-08-19 23:44:39 | 2022-08-19 23:53:36 | null | CONTRIBUTOR | null | false | {'url': 'https://api.github.com/repos/huggingface/datasets/pulls/4867', 'html_url': 'https://github.com/huggingface/datasets/pull/4867', 'diff_url': 'https://github.com/huggingface/datasets/pull/4867.diff', 'patch_url': 'https://github.com/huggingface/datasets/pull/4867.patch', 'merged_at': None} | Related to #4479 . | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/4867/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/4867/timeline | null | null | true |
1 | https://api.github.com/repos/huggingface/datasets/issues/4866 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/4866/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/4866/comments | https://api.github.com/repos/huggingface/datasets/issues/4866/events | https://github.com/huggingface/datasets/pull/4866 | 1,344,809,132 | PR_kwDODunzps49e1CP | 4,866 | amend docstring for dunder | {'login': 'schafsam', 'id': 37704298, 'node_id': 'MDQ6VXNlcjM3NzA0Mjk4', 'avatar_url': 'https://avatars.githubusercontent.com/u/37704298?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/schafsam', 'html_url': 'https://github.com/schafsam', 'followers_url': 'https://api.github.com/users/schafsam/followers', 'following_url': 'https://api.github.com/users/schafsam/following{/other_user}', 'gists_url': 'https://api.github.com/users/schafsam/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/schafsam/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/schafsam/subscriptions', 'organizations_url': 'https://api.github.com/users/schafsam/orgs', 'repos_url': 'https://api.github.com/users/schafsam/repos', 'events_url': 'https://api.github.com/users/schafsam/events{/privacy}', 'received_events_url': 'https://api.github.com/users/schafsam/received_events', 'type': 'User', 'site_admin': False} | [] | open | false | null | [] | null | [] | 2022-08-19 19:09:15 | 2022-08-19 19:09:15 | null | NONE | null | false | {'url': 'https://api.github.com/repos/huggingface/datasets/pulls/4866', 'html_url': 'https://github.com/huggingface/datasets/pull/4866', 'diff_url': 'https://github.com/huggingface/datasets/pull/4866.diff', 'patch_url': 'https://github.com/huggingface/datasets/pull/4866.patch', 'merged_at': None} | display dunder method in docsting with underlines an not bold markdown. | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/4866/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/4866/timeline | null | null | true |
2 | https://api.github.com/repos/huggingface/datasets/issues/4865 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/4865/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/4865/comments | https://api.github.com/repos/huggingface/datasets/issues/4865/events | https://github.com/huggingface/datasets/issues/4865 | 1,344,552,626 | I_kwDODunzps5QJD6y | 4,865 | Dataset Viewer issue for MoritzLaurer/multilingual_nli | {'login': 'MoritzLaurer', 'id': 41862082, 'node_id': 'MDQ6VXNlcjQxODYyMDgy', 'avatar_url': 'https://avatars.githubusercontent.com/u/41862082?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/MoritzLaurer', 'html_url': 'https://github.com/MoritzLaurer', 'followers_url': 'https://api.github.com/users/MoritzLaurer/followers', 'following_url': 'https://api.github.com/users/MoritzLaurer/following{/other_user}', 'gists_url': 'https://api.github.com/users/MoritzLaurer/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/MoritzLaurer/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/MoritzLaurer/subscriptions', 'organizations_url': 'https://api.github.com/users/MoritzLaurer/orgs', 'repos_url': 'https://api.github.com/users/MoritzLaurer/repos', 'events_url': 'https://api.github.com/users/MoritzLaurer/events{/privacy}', 'received_events_url': 'https://api.github.com/users/MoritzLaurer/received_events', 'type': 'User', 'site_admin': False} | [{'id': 3470211881, 'node_id': 'LA_kwDODunzps7O1zsp', 'url': 'https://api.github.com/repos/huggingface/datasets/labels/dataset-viewer', 'name': 'dataset-viewer', 'color': 'E5583E', 'default': False, 'description': 'Related to the dataset viewer on huggingface.co'}] | open | false | {'login': 'severo', 'id': 1676121, 'node_id': 'MDQ6VXNlcjE2NzYxMjE=', 'avatar_url': 'https://avatars.githubusercontent.com/u/1676121?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/severo', 'html_url': 'https://github.com/severo', 'followers_url': 'https://api.github.com/users/severo/followers', 'following_url': 'https://api.github.com/users/severo/following{/other_user}', 'gists_url': 'https://api.github.com/users/severo/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/severo/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/severo/subscriptions', 'organizations_url': 'https://api.github.com/users/severo/orgs', 'repos_url': 'https://api.github.com/users/severo/repos', 'events_url': 'https://api.github.com/users/severo/events{/privacy}', 'received_events_url': 'https://api.github.com/users/severo/received_events', 'type': 'User', 'site_admin': False} | [{'login': 'severo', 'id': 1676121, 'node_id': 'MDQ6VXNlcjE2NzYxMjE=', 'avatar_url': 'https://avatars.githubusercontent.com/u/1676121?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/severo', 'html_url': 'https://github.com/severo', 'followers_url': 'https://api.github.com/users/severo/followers', 'following_url': 'https://api.github.com/users/severo/following{/other_user}', 'gists_url': 'https://api.github.com/users/severo/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/severo/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/severo/subscriptions', 'organizations_url': 'https://api.github.com/users/severo/orgs', 'repos_url': 'https://api.github.com/users/severo/repos', 'events_url': 'https://api.github.com/users/severo/events{/privacy}', 'received_events_url': 'https://api.github.com/users/severo/received_events', 'type': 'User', 'site_admin': False}] | null | [] | 2022-08-19 14:55:20 | 2022-08-19 14:56:55 | null | NONE | null | null | null | ### Link
_No response_
### Description
I've just uploaded a new dataset to the hub and the viewer does not work for some reason, see here: https://huggingface.co/datasets/MoritzLaurer/multilingual_nli
It displays the error:
```
Status code: 400
Exception: Status400Error
Message: The dataset does not exist.
```
Weirdly enough the dataviewer works for an earlier version of the same dataset. The only difference is that it is smaller, but I'm not aware of other changes I have made: https://huggingface.co/datasets/MoritzLaurer/multilingual_nli_test
Do you know why the dataviewer is not working?
### Owner
_No response_ | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/4865/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/4865/timeline | null | null | false |
3 | https://api.github.com/repos/huggingface/datasets/issues/4864 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/4864/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/4864/comments | https://api.github.com/repos/huggingface/datasets/issues/4864/events | https://github.com/huggingface/datasets/issues/4864 | 1,344,410,043 | I_kwDODunzps5QIhG7 | 4,864 | Allow pathlib PoxisPath in Dataset.read_json | {'login': 'cccntu', 'id': 31893406, 'node_id': 'MDQ6VXNlcjMxODkzNDA2', 'avatar_url': 'https://avatars.githubusercontent.com/u/31893406?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/cccntu', 'html_url': 'https://github.com/cccntu', 'followers_url': 'https://api.github.com/users/cccntu/followers', 'following_url': 'https://api.github.com/users/cccntu/following{/other_user}', 'gists_url': 'https://api.github.com/users/cccntu/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/cccntu/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/cccntu/subscriptions', 'organizations_url': 'https://api.github.com/users/cccntu/orgs', 'repos_url': 'https://api.github.com/users/cccntu/repos', 'events_url': 'https://api.github.com/users/cccntu/events{/privacy}', 'received_events_url': 'https://api.github.com/users/cccntu/received_events', 'type': 'User', 'site_admin': False} | [{'id': 1935892871, 'node_id': 'MDU6TGFiZWwxOTM1ODkyODcx', 'url': 'https://api.github.com/repos/huggingface/datasets/labels/enhancement', 'name': 'enhancement', 'color': 'a2eeef', 'default': True, 'description': 'New feature or request'}] | open | false | null | [] | null | [] | 2022-08-19 12:59:17 | 2022-08-19 12:59:17 | null | CONTRIBUTOR | null | null | null | **Is your feature request related to a problem? Please describe.**
```
from pathlib import Path
from datasets import Dataset
ds = Dataset.read_json(Path('data.json'))
```
causes an error
```
AttributeError: 'PosixPath' object has no attribute 'decode'
```
**Describe the solution you'd like**
It should be able to accept PosixPath and read the json from inside. | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/4864/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/4864/timeline | null | null | false |
4 | https://api.github.com/repos/huggingface/datasets/issues/4863 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/4863/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/4863/comments | https://api.github.com/repos/huggingface/datasets/issues/4863/events | https://github.com/huggingface/datasets/issues/4863 | 1,343,737,668 | I_kwDODunzps5QF89E | 4,863 | TFDS wiki_dialog dataset to Huggingface dataset | {'login': 'djaym7', 'id': 12378820, 'node_id': 'MDQ6VXNlcjEyMzc4ODIw', 'avatar_url': 'https://avatars.githubusercontent.com/u/12378820?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/djaym7', 'html_url': 'https://github.com/djaym7', 'followers_url': 'https://api.github.com/users/djaym7/followers', 'following_url': 'https://api.github.com/users/djaym7/following{/other_user}', 'gists_url': 'https://api.github.com/users/djaym7/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/djaym7/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/djaym7/subscriptions', 'organizations_url': 'https://api.github.com/users/djaym7/orgs', 'repos_url': 'https://api.github.com/users/djaym7/repos', 'events_url': 'https://api.github.com/users/djaym7/events{/privacy}', 'received_events_url': 'https://api.github.com/users/djaym7/received_events', 'type': 'User', 'site_admin': False} | [{'id': 2067376369, 'node_id': 'MDU6TGFiZWwyMDY3Mzc2MzY5', 'url': 'https://api.github.com/repos/huggingface/datasets/labels/dataset%20request', 'name': 'dataset request', 'color': 'e99695', 'default': False, 'description': 'Requesting to add a new dataset'}] | open | false | null | [] | null | ['@albertvillanova any help ? The linked dataset is in beam format which is similar to wikipedia dataset in huggingface that you scripted..'
'Nvm, I was able to port it to huggingface datasets, will upload to the hub soon'
'https://huggingface.co/datasets/djaym7/wiki_dialog'] | 2022-08-18 23:06:30 | 2022-08-20 01:08:29 | null | NONE | null | null | null | ## Adding a Dataset
- **Name:** *Wiki_dialog*
- **Description: https://github.com/google-research/dialog-inpainting#:~:text=JSON%20object%2C%20for-,example,-%3A
- **Paper: https://arxiv.org/abs/2205.09073
- **Data: https://github.com/google-research/dialog-inpainting
- **Motivation:** *Research and Development on biggest corpus of dialog data*
Instructions to add a new dataset can be found [here](https://github.com/huggingface/datasets/blob/main/ADD_NEW_DATASET.md).
| {'url': 'https://api.github.com/repos/huggingface/datasets/issues/4863/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/4863/timeline | null | null | false |
5 | https://api.github.com/repos/huggingface/datasets/issues/4862 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/4862/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/4862/comments | https://api.github.com/repos/huggingface/datasets/issues/4862/events | https://github.com/huggingface/datasets/issues/4862 | 1,343,464,699 | I_kwDODunzps5QE6T7 | 4,862 | Got "AttributeError: 'xPath' object has no attribute 'read'" when loading an excel dataset with my own code | {'login': 'yana-xuyan', 'id': 38536635, 'node_id': 'MDQ6VXNlcjM4NTM2NjM1', 'avatar_url': 'https://avatars.githubusercontent.com/u/38536635?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/yana-xuyan', 'html_url': 'https://github.com/yana-xuyan', 'followers_url': 'https://api.github.com/users/yana-xuyan/followers', 'following_url': 'https://api.github.com/users/yana-xuyan/following{/other_user}', 'gists_url': 'https://api.github.com/users/yana-xuyan/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/yana-xuyan/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/yana-xuyan/subscriptions', 'organizations_url': 'https://api.github.com/users/yana-xuyan/orgs', 'repos_url': 'https://api.github.com/users/yana-xuyan/repos', 'events_url': 'https://api.github.com/users/yana-xuyan/events{/privacy}', 'received_events_url': 'https://api.github.com/users/yana-xuyan/received_events', 'type': 'User', 'site_admin': False} | [{'id': 1935892857, 'node_id': 'MDU6TGFiZWwxOTM1ODkyODU3', 'url': 'https://api.github.com/repos/huggingface/datasets/labels/bug', 'name': 'bug', 'color': 'd73a4a', 'default': True, 'description': "Something isn't working"}] | open | false | null | [] | null | ["What's more, the downloaded data is actually a folder instead of an excel file."] | 2022-08-18 18:36:14 | 2022-08-19 05:56:41 | null | NONE | null | null | null | ## Describe the bug
A clear and concise description of what the bug is.
## Steps to reproduce the bug
```python
# Sample code to reproduce the bug
# The dataset function is as follows:
from pathlib import Path
from typing import Dict, List, Tuple
import datasets
import pandas as pd
_CITATION = """\
"""
_DATASETNAME = "jadi_ide"
_DESCRIPTION = """\
"""
_HOMEPAGE = ""
_LICENSE = "Unknown"
_URLS = {
_DATASETNAME: "https://github.com/fathanick/Javanese-Dialect-Identification-from-Twitter-Data/raw/main/Update 16K_Dataset.xlsx",
}
_SOURCE_VERSION = "1.0.0"
class JaDi_Ide(datasets.GeneratorBasedBuilder):
SOURCE_VERSION = datasets.Version(_SOURCE_VERSION)
BUILDER_CONFIGS = [
NusantaraConfig(
name="jadi_ide_source",
version=SOURCE_VERSION,
description="JaDi-Ide source schema",
schema="source",
subset_id="jadi_ide",
),
]
DEFAULT_CONFIG_NAME = "source"
def _info(self) -> datasets.DatasetInfo:
if self.config.schema == "source":
features = datasets.Features(
{
"id": datasets.Value("string"),
"text": datasets.Value("string"),
"label": datasets.Value("string")
}
)
return datasets.DatasetInfo(
description=_DESCRIPTION,
features=features,
homepage=_HOMEPAGE,
license=_LICENSE,
citation=_CITATION,
)
def _split_generators(self, dl_manager: datasets.DownloadManager) -> List[datasets.SplitGenerator]:
"""Returns SplitGenerators."""
# Dataset does not have predetermined split, putting all as TRAIN
urls = _URLS[_DATASETNAME]
base_dir = Path(dl_manager.download_and_extract(urls))
data_files = {"train": base_dir}
return [
datasets.SplitGenerator(
name=datasets.Split.TRAIN,
gen_kwargs={
"filepath": data_files["train"],
"split": "train",
},
),
]
def _generate_examples(self, filepath: Path, split: str) -> Tuple[int, Dict]:
"""Yields examples as (key, example) tuples."""
df = pd.read_excel(filepath, engine='openpyxl')
df.columns = ["id", "text", "label"]
if self.config.schema == "source":
for row in df.itertuples():
ex = {
"id": str(row.id),
"text": row.text,
"label": row.label,
}
yield row.id, ex
```
## Expected results
Expecting to load the dataset smoothly.
## Actual results
File "/home/xuyan/anaconda3/lib/python3.7/site-packages/datasets/load.py", line 1751, in load_dataset
use_auth_token=use_auth_token,
File "/home/xuyan/anaconda3/lib/python3.7/site-packages/datasets/builder.py", line 705, in download_and_prepare
dl_manager=dl_manager, verify_infos=verify_infos, **download_and_prepare_kwargs
File "/home/xuyan/anaconda3/lib/python3.7/site-packages/datasets/builder.py", line 1227, in _download_and_prepare
super()._download_and_prepare(dl_manager, verify_infos, check_duplicate_keys=verify_infos)
File "/home/xuyan/anaconda3/lib/python3.7/site-packages/datasets/builder.py", line 793, in _download_and_prepare
self._prepare_split(split_generator, **prepare_split_kwargs)
File "/home/xuyan/anaconda3/lib/python3.7/site-packages/datasets/builder.py", line 1216, in _prepare_split
desc=f"Generating {split_info.name} split",
File "/home/xuyan/anaconda3/lib/python3.7/site-packages/tqdm/std.py", line 1195, in __iter__
for obj in iterable:
File "/home/xuyan/.cache/huggingface/modules/datasets_modules/datasets/jadi_ide/7a539f2b6f726defea8fbe36ceda17bae66c370f6d6c418e3a08d760ebef7519/jadi_ide.py", line 107, in _generate_examples
df = pd.read_excel(filepath, engine='openpyxl')
File "/home/xuyan/anaconda3/lib/python3.7/site-packages/datasets/download/streaming_download_manager.py", line 701, in xpandas_read_excel
return pd.read_excel(BytesIO(filepath_or_buffer.read()), **kwargs)
AttributeError: 'xPath' object has no attribute 'read'
## Environment info
<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->
- `datasets` version: 2.4.0
- Platform: Linux-4.15.0-142-generic-x86_64-with-debian-stretch-sid
- Python version: 3.7.4
- PyArrow version: 9.0.0
- Pandas version: 0.25.1
| {'url': 'https://api.github.com/repos/huggingface/datasets/issues/4862/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/4862/timeline | null | null | false |
6 | https://api.github.com/repos/huggingface/datasets/issues/4861 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/4861/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/4861/comments | https://api.github.com/repos/huggingface/datasets/issues/4861/events | https://github.com/huggingface/datasets/issues/4861 | 1,343,260,220 | I_kwDODunzps5QEIY8 | 4,861 | Using disk for memory with the method `from_dict` | {'login': 'HugoLaurencon', 'id': 44556846, 'node_id': 'MDQ6VXNlcjQ0NTU2ODQ2', 'avatar_url': 'https://avatars.githubusercontent.com/u/44556846?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/HugoLaurencon', 'html_url': 'https://github.com/HugoLaurencon', 'followers_url': 'https://api.github.com/users/HugoLaurencon/followers', 'following_url': 'https://api.github.com/users/HugoLaurencon/following{/other_user}', 'gists_url': 'https://api.github.com/users/HugoLaurencon/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/HugoLaurencon/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/HugoLaurencon/subscriptions', 'organizations_url': 'https://api.github.com/users/HugoLaurencon/orgs', 'repos_url': 'https://api.github.com/users/HugoLaurencon/repos', 'events_url': 'https://api.github.com/users/HugoLaurencon/events{/privacy}', 'received_events_url': 'https://api.github.com/users/HugoLaurencon/received_events', 'type': 'User', 'site_admin': False} | [{'id': 1935892871, 'node_id': 'MDU6TGFiZWwxOTM1ODkyODcx', 'url': 'https://api.github.com/repos/huggingface/datasets/labels/enhancement', 'name': 'enhancement', 'color': 'a2eeef', 'default': True, 'description': 'New feature or request'}] | open | false | null | [] | null | [] | 2022-08-18 15:18:18 | 2022-08-18 15:18:18 | null | NONE | null | null | null | **Is your feature request related to a problem? Please describe.**
I start with an empty dataset. In a loop, at each iteration, I create a new dataset with the method `from_dict` (based on some data I load) and I concatenate this new dataset with the one at the previous iteration. After some iterations, I have an OOM error.
**Describe the solution you'd like**
The method `from_dict` loads the data in RAM. It could be good to add an option to use the disk instead.
**Describe alternatives you've considered**
To solve the problem, I have to do an intermediate step where I save the new datasets at each iteration with `save_to_disk`. Once it's done, I open them all and concatenate them.
| {'url': 'https://api.github.com/repos/huggingface/datasets/issues/4861/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/4861/timeline | null | null | false |
7 | https://api.github.com/repos/huggingface/datasets/issues/4860 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/4860/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/4860/comments | https://api.github.com/repos/huggingface/datasets/issues/4860/events | https://github.com/huggingface/datasets/pull/4860 | 1,342,311,540 | PR_kwDODunzps49WjEu | 4,860 | Add collection3 dataset | {'login': 'pefimov', 'id': 16446994, 'node_id': 'MDQ6VXNlcjE2NDQ2OTk0', 'avatar_url': 'https://avatars.githubusercontent.com/u/16446994?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/pefimov', 'html_url': 'https://github.com/pefimov', 'followers_url': 'https://api.github.com/users/pefimov/followers', 'following_url': 'https://api.github.com/users/pefimov/following{/other_user}', 'gists_url': 'https://api.github.com/users/pefimov/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/pefimov/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/pefimov/subscriptions', 'organizations_url': 'https://api.github.com/users/pefimov/orgs', 'repos_url': 'https://api.github.com/users/pefimov/repos', 'events_url': 'https://api.github.com/users/pefimov/events{/privacy}', 'received_events_url': 'https://api.github.com/users/pefimov/received_events', 'type': 'User', 'site_admin': False} | [] | open | false | null | [] | null | [] | 2022-08-17 21:31:42 | 2022-08-17 21:31:42 | null | NONE | null | false | {'url': 'https://api.github.com/repos/huggingface/datasets/pulls/4860', 'html_url': 'https://github.com/huggingface/datasets/pull/4860', 'diff_url': 'https://github.com/huggingface/datasets/pull/4860.diff', 'patch_url': 'https://github.com/huggingface/datasets/pull/4860.patch', 'merged_at': None} | null | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/4860/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/4860/timeline | null | null | true |
8 | https://api.github.com/repos/huggingface/datasets/issues/4859 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/4859/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/4859/comments | https://api.github.com/repos/huggingface/datasets/issues/4859/events | https://github.com/huggingface/datasets/issues/4859 | 1,342,231,016 | I_kwDODunzps5QANHo | 4,859 | can't install using conda on Windows 10 | {'login': 'xoffey', 'id': 22627691, 'node_id': 'MDQ6VXNlcjIyNjI3Njkx', 'avatar_url': 'https://avatars.githubusercontent.com/u/22627691?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/xoffey', 'html_url': 'https://github.com/xoffey', 'followers_url': 'https://api.github.com/users/xoffey/followers', 'following_url': 'https://api.github.com/users/xoffey/following{/other_user}', 'gists_url': 'https://api.github.com/users/xoffey/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/xoffey/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/xoffey/subscriptions', 'organizations_url': 'https://api.github.com/users/xoffey/orgs', 'repos_url': 'https://api.github.com/users/xoffey/repos', 'events_url': 'https://api.github.com/users/xoffey/events{/privacy}', 'received_events_url': 'https://api.github.com/users/xoffey/received_events', 'type': 'User', 'site_admin': False} | [{'id': 1935892857, 'node_id': 'MDU6TGFiZWwxOTM1ODkyODU3', 'url': 'https://api.github.com/repos/huggingface/datasets/labels/bug', 'name': 'bug', 'color': 'd73a4a', 'default': True, 'description': "Something isn't working"}] | open | false | null | [] | null | [] | 2022-08-17 19:57:37 | 2022-08-17 19:57:37 | null | NONE | null | null | null | ## Describe the bug
I wanted to install using conda or Anaconda navigator. That didn't work, so I had to install using pip.
## Steps to reproduce the bug
conda install -c huggingface -c conda-forge datasets
## Expected results
Should have indicated successful installation.
## Actual results
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
... took forever, so I cancelled it with ctrl-c
## Environment info
- `datasets` version: 2.4.0 # after installing with pip
- Platform: Windows-10-10.0.19044-SP0
- Python version: 3.9.12
- PyArrow version: 9.0.0
- Pandas version: 1.4.2
- conda version: 4.13.0
conda info
active environment : base
active env location : G:\anaconda2022
shell level : 1
user config file : C:\Users\michael\.condarc
populated config files : C:\Users\michael\.condarc
conda version : 4.13.0
conda-build version : 3.21.8
python version : 3.9.12.final.0
virtual packages : __cuda=11.1=0
__win=0=0
__archspec=1=x86_64
base environment : G:\anaconda2022 (writable)
conda av data dir : G:\anaconda2022\etc\conda
conda av metadata url : None
channel URLs : https://conda.anaconda.org/pytorch/win-64
https://conda.anaconda.org/pytorch/noarch
https://conda.anaconda.org/huggingface/win-64
https://conda.anaconda.org/huggingface/noarch
https://conda.anaconda.org/conda-forge/win-64
https://conda.anaconda.org/conda-forge/noarch
https://conda.anaconda.org/anaconda-fusion/win-64
https://conda.anaconda.org/anaconda-fusion/noarch
https://repo.anaconda.com/pkgs/main/win-64
https://repo.anaconda.com/pkgs/main/noarch
https://repo.anaconda.com/pkgs/r/win-64
https://repo.anaconda.com/pkgs/r/noarch
https://repo.anaconda.com/pkgs/msys2/win-64
https://repo.anaconda.com/pkgs/msys2/noarch
package cache : G:\anaconda2022\pkgs
C:\Users\michael\.conda\pkgs
C:\Users\michael\AppData\Local\conda\conda\pkgs
envs directories : G:\anaconda2022\envs
C:\Users\michael\.conda\envs
C:\Users\michael\AppData\Local\conda\conda\envs
platform : win-64
user-agent : conda/4.13.0 requests/2.27.1 CPython/3.9.12 Windows/10 Windows/10.0.19044
administrator : False
netrc file : None
offline mode : False
| {'url': 'https://api.github.com/repos/huggingface/datasets/issues/4859/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/4859/timeline | null | null | false |
9 | https://api.github.com/repos/huggingface/datasets/issues/4858 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/4858/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/4858/comments | https://api.github.com/repos/huggingface/datasets/issues/4858/events | https://github.com/huggingface/datasets/issues/4858 | 1,340,859,853 | I_kwDODunzps5P6-XN | 4,858 | map() function removes columns when input_columns is not None | {'login': 'pramodith', 'id': 16939722, 'node_id': 'MDQ6VXNlcjE2OTM5NzIy', 'avatar_url': 'https://avatars.githubusercontent.com/u/16939722?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/pramodith', 'html_url': 'https://github.com/pramodith', 'followers_url': 'https://api.github.com/users/pramodith/followers', 'following_url': 'https://api.github.com/users/pramodith/following{/other_user}', 'gists_url': 'https://api.github.com/users/pramodith/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/pramodith/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/pramodith/subscriptions', 'organizations_url': 'https://api.github.com/users/pramodith/orgs', 'repos_url': 'https://api.github.com/users/pramodith/repos', 'events_url': 'https://api.github.com/users/pramodith/events{/privacy}', 'received_events_url': 'https://api.github.com/users/pramodith/received_events', 'type': 'User', 'site_admin': False} | [{'id': 1935892857, 'node_id': 'MDU6TGFiZWwxOTM1ODkyODU3', 'url': 'https://api.github.com/repos/huggingface/datasets/labels/bug', 'name': 'bug', 'color': 'd73a4a', 'default': True, 'description': "Something isn't working"}] | open | false | null | [] | null | [] | 2022-08-16 20:42:30 | 2022-08-16 20:42:30 | null | NONE | null | null | null | ## Describe the bug
The map function, removes features from the dataset that are not present in the _input_columns_ list of columns, despite the columns being removed not mentioned in the _remove_columns_ argument.
## Steps to reproduce the bug
```python
from datasets import Dataset
ds = Dataset.from_dict({"a" : [1,2,3],"b" : [0,1,0], "c" : [2,4,5]})
def double(x,y):
x = x*2
y = y*2
return {"d" : x, "e" : y}
ds.map(double, input_columns=["a","c"])
```
## Expected results
```
Dataset({
features: ['a', 'b', 'c', 'd', 'e'],
num_rows: 3
})
```
## Actual results
```
Dataset({
features: ['a', 'c', 'd', 'e'],
num_rows: 3
})
```
In this specific example feature **b** should not be removed.
## Environment info
<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->
- `datasets` version: 2.4.0
- Platform: linux (colab)
- Python version: 3.7.13
- PyArrow version: 6.0.1
| {'url': 'https://api.github.com/repos/huggingface/datasets/issues/4858/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/4858/timeline | null | null | false |
10 | https://api.github.com/repos/huggingface/datasets/issues/4857 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/4857/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/4857/comments | https://api.github.com/repos/huggingface/datasets/issues/4857/events | https://github.com/huggingface/datasets/issues/4857 | 1,340,397,153 | I_kwDODunzps5P5NZh | 4,857 | No preprocessed wikipedia is working on huggingface/datasets | {'login': 'aninrusimha', 'id': 30733039, 'node_id': 'MDQ6VXNlcjMwNzMzMDM5', 'avatar_url': 'https://avatars.githubusercontent.com/u/30733039?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/aninrusimha', 'html_url': 'https://github.com/aninrusimha', 'followers_url': 'https://api.github.com/users/aninrusimha/followers', 'following_url': 'https://api.github.com/users/aninrusimha/following{/other_user}', 'gists_url': 'https://api.github.com/users/aninrusimha/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/aninrusimha/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/aninrusimha/subscriptions', 'organizations_url': 'https://api.github.com/users/aninrusimha/orgs', 'repos_url': 'https://api.github.com/users/aninrusimha/repos', 'events_url': 'https://api.github.com/users/aninrusimha/events{/privacy}', 'received_events_url': 'https://api.github.com/users/aninrusimha/received_events', 'type': 'User', 'site_admin': False} | [{'id': 1935892857, 'node_id': 'MDU6TGFiZWwxOTM1ODkyODU3', 'url': 'https://api.github.com/repos/huggingface/datasets/labels/bug', 'name': 'bug', 'color': 'd73a4a', 'default': True, 'description': "Something isn't working"}] | closed | false | null | [] | null | ['Thanks for reporting @aninrusimha.\r\n\r\nPlease, note that the preprocessed datasets are still available, as described in the dataset card, e.g.: https://huggingface.co/datasets/wikipedia\r\n```python\r\nds = load_dataset("wikipedia", "20220301.en")\r\n``` '
'This is working now, but I was getting an error a few days ago when running an existing script. Unfortunately I did not do a proper bug report, but for some reason I was unable to load the dataset due to a request being made to the wikimedia website. However, its working now. Thanks for the reply!'] | 2022-08-16 13:55:33 | 2022-08-17 13:35:08 | null | NONE | null | null | null | ## Describe the bug
20220301 wikipedia dump has been deprecated, so now there is no working wikipedia dump on huggingface
https://huggingface.co/datasets/wikipedia
https://dumps.wikimedia.org/enwiki/
| {'url': 'https://api.github.com/repos/huggingface/datasets/issues/4857/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/4857/timeline | null | null | false |
11 | https://api.github.com/repos/huggingface/datasets/issues/4856 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/4856/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/4856/comments | https://api.github.com/repos/huggingface/datasets/issues/4856/events | https://github.com/huggingface/datasets/issues/4856 | 1,339,779,957 | I_kwDODunzps5P22t1 | 4,856 | file missing when load_dataset with openwebtext on windows | {'login': 'kingstarcraft', 'id': 10361976, 'node_id': 'MDQ6VXNlcjEwMzYxOTc2', 'avatar_url': 'https://avatars.githubusercontent.com/u/10361976?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/kingstarcraft', 'html_url': 'https://github.com/kingstarcraft', 'followers_url': 'https://api.github.com/users/kingstarcraft/followers', 'following_url': 'https://api.github.com/users/kingstarcraft/following{/other_user}', 'gists_url': 'https://api.github.com/users/kingstarcraft/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/kingstarcraft/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/kingstarcraft/subscriptions', 'organizations_url': 'https://api.github.com/users/kingstarcraft/orgs', 'repos_url': 'https://api.github.com/users/kingstarcraft/repos', 'events_url': 'https://api.github.com/users/kingstarcraft/events{/privacy}', 'received_events_url': 'https://api.github.com/users/kingstarcraft/received_events', 'type': 'User', 'site_admin': False} | [{'id': 1935892857, 'node_id': 'MDU6TGFiZWwxOTM1ODkyODU3', 'url': 'https://api.github.com/repos/huggingface/datasets/labels/bug', 'name': 'bug', 'color': 'd73a4a', 'default': True, 'description': "Something isn't working"}] | open | false | null | [] | null | ['I have tried to extract ```0015896-b1054262f7da52a0518521e29c8e352c.txt``` from ```17ecf461bfccd469a1fbc264ccb03731f8606eea7b3e2e8b86e13d18040bf5b3/urlsf_subset00-16_data.xz``` with 7-zip\r\nand put the file into cache_path ```F://huggingface/datasets/downloads/extracted/0901d27f43b7e9ac0577da0d0061c8c632ba0b70ecd1b4bfb21562d9b7486faa```\r\nthere is still raise the same error and I find the file was removed from cache_path after I run the run_mlm.py with ```python run_mlm.py --model_type roberta --tokenizer_name roberta-base --dataset_name openwebtext --per_device_train_batch_size 8 --per_device_eval_batch_size 8 --do_train --do_eval --output_dir F:/model/roberta-base```.'] | 2022-08-16 04:04:22 | 2022-08-16 09:06:32 | null | NONE | null | null | null | ## Describe the bug
0015896-b1054262f7da52a0518521e29c8e352c.txt is missing when I run run_mlm.py with openwebtext. I check the cache_path and can not find 0015896-b1054262f7da52a0518521e29c8e352c.txt. but I can find this file in the 17ecf461bfccd469a1fbc264ccb03731f8606eea7b3e2e8b86e13d18040bf5b3/urlsf_subset00-16_data.xz with 7-zip.
## Steps to reproduce the bug
```sh
python run_mlm.py --model_type roberta --tokenizer_name roberta-base --dataset_name openwebtext --per_device_train_batch_size 8 --per_device_eval_batch_size 8 --do_train --do_eval --output_dir F:/model/roberta-base
```
or
```python
from datasets import load_dataset
load_dataset("openwebtext", None, cache_dir=None, use_auth_token=None)
```
## Expected results
Loading is successful
## Actual results
Traceback (most recent call last):
File "D:\Python\v3.8.5\lib\site-packages\datasets\builder.py", line 704, in download_and_prepare
self._download_and_prepare(
File "D:\Python\v3.8.5\lib\site-packages\datasets\builder.py", line 1227, in _download_and_prepare
super()._download_and_prepare(dl_manager, verify_infos, check_duplicate_keys=verify_infos)
File "D:\Python\v3.8.5\lib\site-packages\datasets\builder.py", line 795, in _download_and_prepare
raise OSError(
OSError: Cannot find data file.
Original error:
[Errno 22] Invalid argument: 'F://huggingface/datasets/downloads/extracted/0901d27f43b7e9ac0577da0d0061c8c632ba0b70ecd1b4bfb21562d9b7486faa/0015896-b1054262f7da52a0518521e29c8e352c.txt'
## Environment info
<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->
- `datasets` version: 2.4.0
- Platform: windows
- Python version: 3.8.5
- PyArrow version: 9.0.0
| {'url': 'https://api.github.com/repos/huggingface/datasets/issues/4856/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/4856/timeline | null | null | false |
12 | https://api.github.com/repos/huggingface/datasets/issues/4855 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/4855/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/4855/comments | https://api.github.com/repos/huggingface/datasets/issues/4855/events | https://github.com/huggingface/datasets/issues/4855 | 1,339,699,975 | I_kwDODunzps5P2jMH | 4,855 | Dataset Viewer issue for super_glue | {'login': 'wzsxxa', 'id': 54366859, 'node_id': 'MDQ6VXNlcjU0MzY2ODU5', 'avatar_url': 'https://avatars.githubusercontent.com/u/54366859?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/wzsxxa', 'html_url': 'https://github.com/wzsxxa', 'followers_url': 'https://api.github.com/users/wzsxxa/followers', 'following_url': 'https://api.github.com/users/wzsxxa/following{/other_user}', 'gists_url': 'https://api.github.com/users/wzsxxa/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/wzsxxa/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/wzsxxa/subscriptions', 'organizations_url': 'https://api.github.com/users/wzsxxa/orgs', 'repos_url': 'https://api.github.com/users/wzsxxa/repos', 'events_url': 'https://api.github.com/users/wzsxxa/events{/privacy}', 'received_events_url': 'https://api.github.com/users/wzsxxa/received_events', 'type': 'User', 'site_admin': False} | [{'id': 3470211881, 'node_id': 'LA_kwDODunzps7O1zsp', 'url': 'https://api.github.com/repos/huggingface/datasets/labels/dataset-viewer', 'name': 'dataset-viewer', 'color': 'E5583E', 'default': False, 'description': 'Related to the dataset viewer on huggingface.co'}] | open | false | {'login': 'severo', 'id': 1676121, 'node_id': 'MDQ6VXNlcjE2NzYxMjE=', 'avatar_url': 'https://avatars.githubusercontent.com/u/1676121?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/severo', 'html_url': 'https://github.com/severo', 'followers_url': 'https://api.github.com/users/severo/followers', 'following_url': 'https://api.github.com/users/severo/following{/other_user}', 'gists_url': 'https://api.github.com/users/severo/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/severo/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/severo/subscriptions', 'organizations_url': 'https://api.github.com/users/severo/orgs', 'repos_url': 'https://api.github.com/users/severo/repos', 'events_url': 'https://api.github.com/users/severo/events{/privacy}', 'received_events_url': 'https://api.github.com/users/severo/received_events', 'type': 'User', 'site_admin': False} | [{'login': 'severo', 'id': 1676121, 'node_id': 'MDQ6VXNlcjE2NzYxMjE=', 'avatar_url': 'https://avatars.githubusercontent.com/u/1676121?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/severo', 'html_url': 'https://github.com/severo', 'followers_url': 'https://api.github.com/users/severo/followers', 'following_url': 'https://api.github.com/users/severo/following{/other_user}', 'gists_url': 'https://api.github.com/users/severo/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/severo/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/severo/subscriptions', 'organizations_url': 'https://api.github.com/users/severo/orgs', 'repos_url': 'https://api.github.com/users/severo/repos', 'events_url': 'https://api.github.com/users/severo/events{/privacy}', 'received_events_url': 'https://api.github.com/users/severo/received_events', 'type': 'User', 'site_admin': False}] | null | [] | 2022-08-16 01:34:56 | 2022-08-16 01:34:56 | null | NONE | null | null | null | ### Link
https://huggingface.co/datasets/super_glue
### Description
can't view super_glue dataset on the web page
### Owner
_No response_ | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/4855/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/4855/timeline | null | null | false |
13 | https://api.github.com/repos/huggingface/datasets/issues/4853 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/4853/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/4853/comments | https://api.github.com/repos/huggingface/datasets/issues/4853/events | https://github.com/huggingface/datasets/pull/4853 | 1,339,456,490 | PR_kwDODunzps49NFNL | 4,853 | Fix bug and checksums in exams dataset | {'login': 'albertvillanova', 'id': 8515462, 'node_id': 'MDQ6VXNlcjg1MTU0NjI=', 'avatar_url': 'https://avatars.githubusercontent.com/u/8515462?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/albertvillanova', 'html_url': 'https://github.com/albertvillanova', 'followers_url': 'https://api.github.com/users/albertvillanova/followers', 'following_url': 'https://api.github.com/users/albertvillanova/following{/other_user}', 'gists_url': 'https://api.github.com/users/albertvillanova/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/albertvillanova/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/albertvillanova/subscriptions', 'organizations_url': 'https://api.github.com/users/albertvillanova/orgs', 'repos_url': 'https://api.github.com/users/albertvillanova/repos', 'events_url': 'https://api.github.com/users/albertvillanova/events{/privacy}', 'received_events_url': 'https://api.github.com/users/albertvillanova/received_events', 'type': 'User', 'site_admin': False} | [] | closed | false | null | [] | null | ['_The documentation is not available anymore as the PR was closed or merged._'] | 2022-08-15 20:17:57 | 2022-08-16 06:43:57 | null | MEMBER | null | false | {'url': 'https://api.github.com/repos/huggingface/datasets/pulls/4853', 'html_url': 'https://github.com/huggingface/datasets/pull/4853', 'diff_url': 'https://github.com/huggingface/datasets/pull/4853.diff', 'patch_url': 'https://github.com/huggingface/datasets/pull/4853.patch', 'merged_at': datetime.datetime(2022, 8, 16, 6, 29, 6)} | Fix #4852. | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/4853/reactions', 'total_count': 1, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 1, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/4853/timeline | null | null | true |
14 | https://api.github.com/repos/huggingface/datasets/issues/4852 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/4852/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/4852/comments | https://api.github.com/repos/huggingface/datasets/issues/4852/events | https://github.com/huggingface/datasets/issues/4852 | 1,339,450,991 | I_kwDODunzps5P1mZv | 4,852 | Bug in multilingual_with_para config of exams dataset and checksums error | {'login': 'albertvillanova', 'id': 8515462, 'node_id': 'MDQ6VXNlcjg1MTU0NjI=', 'avatar_url': 'https://avatars.githubusercontent.com/u/8515462?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/albertvillanova', 'html_url': 'https://github.com/albertvillanova', 'followers_url': 'https://api.github.com/users/albertvillanova/followers', 'following_url': 'https://api.github.com/users/albertvillanova/following{/other_user}', 'gists_url': 'https://api.github.com/users/albertvillanova/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/albertvillanova/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/albertvillanova/subscriptions', 'organizations_url': 'https://api.github.com/users/albertvillanova/orgs', 'repos_url': 'https://api.github.com/users/albertvillanova/repos', 'events_url': 'https://api.github.com/users/albertvillanova/events{/privacy}', 'received_events_url': 'https://api.github.com/users/albertvillanova/received_events', 'type': 'User', 'site_admin': False} | [{'id': 1935892857, 'node_id': 'MDU6TGFiZWwxOTM1ODkyODU3', 'url': 'https://api.github.com/repos/huggingface/datasets/labels/bug', 'name': 'bug', 'color': 'd73a4a', 'default': True, 'description': "Something isn't working"}] | closed | false | {'login': 'albertvillanova', 'id': 8515462, 'node_id': 'MDQ6VXNlcjg1MTU0NjI=', 'avatar_url': 'https://avatars.githubusercontent.com/u/8515462?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/albertvillanova', 'html_url': 'https://github.com/albertvillanova', 'followers_url': 'https://api.github.com/users/albertvillanova/followers', 'following_url': 'https://api.github.com/users/albertvillanova/following{/other_user}', 'gists_url': 'https://api.github.com/users/albertvillanova/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/albertvillanova/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/albertvillanova/subscriptions', 'organizations_url': 'https://api.github.com/users/albertvillanova/orgs', 'repos_url': 'https://api.github.com/users/albertvillanova/repos', 'events_url': 'https://api.github.com/users/albertvillanova/events{/privacy}', 'received_events_url': 'https://api.github.com/users/albertvillanova/received_events', 'type': 'User', 'site_admin': False} | [{'login': 'albertvillanova', 'id': 8515462, 'node_id': 'MDQ6VXNlcjg1MTU0NjI=', 'avatar_url': 'https://avatars.githubusercontent.com/u/8515462?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/albertvillanova', 'html_url': 'https://github.com/albertvillanova', 'followers_url': 'https://api.github.com/users/albertvillanova/followers', 'following_url': 'https://api.github.com/users/albertvillanova/following{/other_user}', 'gists_url': 'https://api.github.com/users/albertvillanova/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/albertvillanova/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/albertvillanova/subscriptions', 'organizations_url': 'https://api.github.com/users/albertvillanova/orgs', 'repos_url': 'https://api.github.com/users/albertvillanova/repos', 'events_url': 'https://api.github.com/users/albertvillanova/events{/privacy}', 'received_events_url': 'https://api.github.com/users/albertvillanova/received_events', 'type': 'User', 'site_admin': False}] | null | [] | 2022-08-15 20:14:52 | 2022-08-16 06:29:07 | null | MEMBER | null | null | null | ## Describe the bug
There is a bug for "multilingual_with_para" config in exams dataset:
```python
ds = load_dataset("./datasets/exams", split="train")
```
raises:
```
KeyError: 'choices'
```
Moreover, there is a NonMatchingChecksumError:
```
NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://github.com/mhardalov/exams-qa/raw/main/data/exams/multilingual/with_paragraphs/train_with_para.jsonl.tar.gz', 'https://github.com/mhardalov/exams-qa/raw/main/data/exams/multilingual/with_paragraphs/dev_with_para.jsonl.tar.gz', 'https://github.com/mhardalov/exams-qa/raw/main/data/exams/multilingual/with_paragraphs/test_with_para.jsonl.tar.gz', 'https://github.com/mhardalov/exams-qa/raw/main/data/exams/cross-lingual/with_paragraphs/test_with_para.jsonl.tar.gz', 'https://github.com/mhardalov/exams-qa/raw/main/data/exams/cross-lingual/with_paragraphs/train_bg_with_para.jsonl.tar.gz', 'https://github.com/mhardalov/exams-qa/raw/main/data/exams/cross-lingual/with_paragraphs/dev_bg_with_para.jsonl.tar.gz', 'https://github.com/mhardalov/exams-qa/raw/main/data/exams/cross-lingual/with_paragraphs/train_hr_with_para.jsonl.tar.gz', 'https://github.com/mhardalov/exams-qa/raw/main/data/exams/cross-lingual/with_paragraphs/dev_hr_with_para.jsonl.tar.gz', 'https://github.com/mhardalov/exams-qa/raw/main/data/exams/cross-lingual/with_paragraphs/train_hu_with_para.jsonl.tar.gz', 'https://github.com/mhardalov/exams-qa/raw/main/data/exams/cross-lingual/with_paragraphs/dev_hu_with_para.jsonl.tar.gz', 'https://github.com/mhardalov/exams-qa/raw/main/data/exams/cross-lingual/with_paragraphs/train_it_with_para.jsonl.tar.gz', 'https://github.com/mhardalov/exams-qa/raw/main/data/exams/cross-lingual/with_paragraphs/dev_it_with_para.jsonl.tar.gz', 'https://github.com/mhardalov/exams-qa/raw/main/data/exams/cross-lingual/with_paragraphs/train_mk_with_para.jsonl.tar.gz', 'https://github.com/mhardalov/exams-qa/raw/main/data/exams/cross-lingual/with_paragraphs/dev_mk_with_para.jsonl.tar.gz', 'https://github.com/mhardalov/exams-qa/raw/main/data/exams/cross-lingual/with_paragraphs/train_pl_with_para.jsonl.tar.gz', 'https://github.com/mhardalov/exams-qa/raw/main/data/exams/cross-lingual/with_paragraphs/dev_pl_with_para.jsonl.tar.gz', 'https://github.com/mhardalov/exams-qa/raw/main/data/exams/cross-lingual/with_paragraphs/train_pt_with_para.jsonl.tar.gz', 'https://github.com/mhardalov/exams-qa/raw/main/data/exams/cross-lingual/with_paragraphs/dev_pt_with_para.jsonl.tar.gz', 'https://github.com/mhardalov/exams-qa/raw/main/data/exams/cross-lingual/with_paragraphs/train_sq_with_para.jsonl.tar.gz', 'https://github.com/mhardalov/exams-qa/raw/main/data/exams/cross-lingual/with_paragraphs/dev_sq_with_para.jsonl.tar.gz', 'https://github.com/mhardalov/exams-qa/raw/main/data/exams/cross-lingual/with_paragraphs/train_sr_with_para.jsonl.tar.gz', 'https://github.com/mhardalov/exams-qa/raw/main/data/exams/cross-lingual/with_paragraphs/dev_sr_with_para.jsonl.tar.gz', 'https://github.com/mhardalov/exams-qa/raw/main/data/exams/cross-lingual/with_paragraphs/train_tr_with_para.jsonl.tar.gz', 'https://github.com/mhardalov/exams-qa/raw/main/data/exams/cross-lingual/with_paragraphs/dev_tr_with_para.jsonl.tar.gz', 'https://github.com/mhardalov/exams-qa/raw/main/data/exams/cross-lingual/with_paragraphs/train_vi_with_para.jsonl.tar.gz', 'https://github.com/mhardalov/exams-qa/raw/main/data/exams/cross-lingual/with_paragraphs/dev_vi_with_para.jsonl.tar.gz']
```
CC: @thesofakillers | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/4852/reactions', 'total_count': 1, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 1, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/4852/timeline | null | null | false |
15 | https://api.github.com/repos/huggingface/datasets/issues/4851 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/4851/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/4851/comments | https://api.github.com/repos/huggingface/datasets/issues/4851/events | https://github.com/huggingface/datasets/pull/4851 | 1,339,085,917 | PR_kwDODunzps49L6ee | 4,851 | fix billsum license and data source field | {'login': 'kashif', 'id': 8100, 'node_id': 'MDQ6VXNlcjgxMDA=', 'avatar_url': 'https://avatars.githubusercontent.com/u/8100?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/kashif', 'html_url': 'https://github.com/kashif', 'followers_url': 'https://api.github.com/users/kashif/followers', 'following_url': 'https://api.github.com/users/kashif/following{/other_user}', 'gists_url': 'https://api.github.com/users/kashif/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/kashif/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/kashif/subscriptions', 'organizations_url': 'https://api.github.com/users/kashif/orgs', 'repos_url': 'https://api.github.com/users/kashif/repos', 'events_url': 'https://api.github.com/users/kashif/events{/privacy}', 'received_events_url': 'https://api.github.com/users/kashif/received_events', 'type': 'User', 'site_admin': False} | [] | open | false | null | [] | null | ['The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_4851). All of your documentation changes will be reflected on that endpoint.'] | 2022-08-15 14:37:00 | 2022-08-15 14:45:23 | null | CONTRIBUTOR | null | false | {'url': 'https://api.github.com/repos/huggingface/datasets/pulls/4851', 'html_url': 'https://github.com/huggingface/datasets/pull/4851', 'diff_url': 'https://github.com/huggingface/datasets/pull/4851.diff', 'patch_url': 'https://github.com/huggingface/datasets/pull/4851.patch', 'merged_at': None} | Fixed the data source and license fields | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/4851/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/4851/timeline | null | null | true |
16 | https://api.github.com/repos/huggingface/datasets/issues/4850 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/4850/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/4850/comments | https://api.github.com/repos/huggingface/datasets/issues/4850/events | https://github.com/huggingface/datasets/pull/4850 | 1,338,702,306 | PR_kwDODunzps49KnZ8 | 4,850 | Fix test of _get_extraction_protocol for TAR files | {'login': 'albertvillanova', 'id': 8515462, 'node_id': 'MDQ6VXNlcjg1MTU0NjI=', 'avatar_url': 'https://avatars.githubusercontent.com/u/8515462?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/albertvillanova', 'html_url': 'https://github.com/albertvillanova', 'followers_url': 'https://api.github.com/users/albertvillanova/followers', 'following_url': 'https://api.github.com/users/albertvillanova/following{/other_user}', 'gists_url': 'https://api.github.com/users/albertvillanova/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/albertvillanova/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/albertvillanova/subscriptions', 'organizations_url': 'https://api.github.com/users/albertvillanova/orgs', 'repos_url': 'https://api.github.com/users/albertvillanova/repos', 'events_url': 'https://api.github.com/users/albertvillanova/events{/privacy}', 'received_events_url': 'https://api.github.com/users/albertvillanova/received_events', 'type': 'User', 'site_admin': False} | [] | closed | false | null | [] | null | ['_The documentation is not available anymore as the PR was closed or merged._'] | 2022-08-15 08:37:58 | 2022-08-15 09:42:56 | null | MEMBER | null | false | {'url': 'https://api.github.com/repos/huggingface/datasets/pulls/4850', 'html_url': 'https://github.com/huggingface/datasets/pull/4850', 'diff_url': 'https://github.com/huggingface/datasets/pull/4850.diff', 'patch_url': 'https://github.com/huggingface/datasets/pull/4850.patch', 'merged_at': datetime.datetime(2022, 8, 15, 9, 28, 46)} | While working in another PR, I discovered an xpass test (a test that is supposed to xfail but nevertheless passes) when testing `_get_extraction_protocol`: https://github.com/huggingface/datasets/runs/7818845285?check_suite_focus=true
```
XPASS tests/test_streaming_download_manager.py::test_streaming_dl_manager_get_extraction_protocol_throws[https://foo.bar/train.tar]
```
This PR:
- refactors the test so that it tests the raise of the exceptions instead of xfailing
- fixes the test for TAR files: it does not raise an exception, but returns "tar"
- fixes some tests wrongly named: exchange `test_streaming_dl_manager_get_extraction_protocol` with `test_streaming_dl_manager_get_extraction_protocol_gg_drive` | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/4850/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/4850/timeline | null | null | true |
17 | https://api.github.com/repos/huggingface/datasets/issues/4849 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/4849/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/4849/comments | https://api.github.com/repos/huggingface/datasets/issues/4849/events | https://github.com/huggingface/datasets/pull/4849 | 1,338,273,900 | PR_kwDODunzps49JN8d | 4,849 | 1.18.x | {'login': 'Mr-Robot-001', 'id': 49282718, 'node_id': 'MDQ6VXNlcjQ5MjgyNzE4', 'avatar_url': 'https://avatars.githubusercontent.com/u/49282718?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/Mr-Robot-001', 'html_url': 'https://github.com/Mr-Robot-001', 'followers_url': 'https://api.github.com/users/Mr-Robot-001/followers', 'following_url': 'https://api.github.com/users/Mr-Robot-001/following{/other_user}', 'gists_url': 'https://api.github.com/users/Mr-Robot-001/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/Mr-Robot-001/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/Mr-Robot-001/subscriptions', 'organizations_url': 'https://api.github.com/users/Mr-Robot-001/orgs', 'repos_url': 'https://api.github.com/users/Mr-Robot-001/repos', 'events_url': 'https://api.github.com/users/Mr-Robot-001/events{/privacy}', 'received_events_url': 'https://api.github.com/users/Mr-Robot-001/received_events', 'type': 'User', 'site_admin': False} | [] | closed | false | null | [] | null | [] | 2022-08-14 15:09:19 | 2022-08-14 15:10:02 | null | NONE | null | false | {'url': 'https://api.github.com/repos/huggingface/datasets/pulls/4849', 'html_url': 'https://github.com/huggingface/datasets/pull/4849', 'diff_url': 'https://github.com/huggingface/datasets/pull/4849.diff', 'patch_url': 'https://github.com/huggingface/datasets/pull/4849.patch', 'merged_at': None} | null | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/4849/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/4849/timeline | null | null | true |
18 | https://api.github.com/repos/huggingface/datasets/issues/4848 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/4848/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/4848/comments | https://api.github.com/repos/huggingface/datasets/issues/4848/events | https://github.com/huggingface/datasets/pull/4848 | 1,338,271,833 | PR_kwDODunzps49JNj_ | 4,848 | a | {'login': 'Mr-Robot-001', 'id': 49282718, 'node_id': 'MDQ6VXNlcjQ5MjgyNzE4', 'avatar_url': 'https://avatars.githubusercontent.com/u/49282718?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/Mr-Robot-001', 'html_url': 'https://github.com/Mr-Robot-001', 'followers_url': 'https://api.github.com/users/Mr-Robot-001/followers', 'following_url': 'https://api.github.com/users/Mr-Robot-001/following{/other_user}', 'gists_url': 'https://api.github.com/users/Mr-Robot-001/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/Mr-Robot-001/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/Mr-Robot-001/subscriptions', 'organizations_url': 'https://api.github.com/users/Mr-Robot-001/orgs', 'repos_url': 'https://api.github.com/users/Mr-Robot-001/repos', 'events_url': 'https://api.github.com/users/Mr-Robot-001/events{/privacy}', 'received_events_url': 'https://api.github.com/users/Mr-Robot-001/received_events', 'type': 'User', 'site_admin': False} | [] | closed | false | null | [] | null | [] | 2022-08-14 15:01:16 | 2022-08-14 15:09:59 | null | NONE | null | false | {'url': 'https://api.github.com/repos/huggingface/datasets/pulls/4848', 'html_url': 'https://github.com/huggingface/datasets/pull/4848', 'diff_url': 'https://github.com/huggingface/datasets/pull/4848.diff', 'patch_url': 'https://github.com/huggingface/datasets/pull/4848.patch', 'merged_at': None} | null | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/4848/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/4848/timeline | null | null | true |
19 | https://api.github.com/repos/huggingface/datasets/issues/4847 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/4847/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/4847/comments | https://api.github.com/repos/huggingface/datasets/issues/4847/events | https://github.com/huggingface/datasets/pull/4847 | 1,338,270,636 | PR_kwDODunzps49JNWX | 4,847 | Test win ci | {'login': 'Mr-Robot-001', 'id': 49282718, 'node_id': 'MDQ6VXNlcjQ5MjgyNzE4', 'avatar_url': 'https://avatars.githubusercontent.com/u/49282718?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/Mr-Robot-001', 'html_url': 'https://github.com/Mr-Robot-001', 'followers_url': 'https://api.github.com/users/Mr-Robot-001/followers', 'following_url': 'https://api.github.com/users/Mr-Robot-001/following{/other_user}', 'gists_url': 'https://api.github.com/users/Mr-Robot-001/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/Mr-Robot-001/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/Mr-Robot-001/subscriptions', 'organizations_url': 'https://api.github.com/users/Mr-Robot-001/orgs', 'repos_url': 'https://api.github.com/users/Mr-Robot-001/repos', 'events_url': 'https://api.github.com/users/Mr-Robot-001/events{/privacy}', 'received_events_url': 'https://api.github.com/users/Mr-Robot-001/received_events', 'type': 'User', 'site_admin': False} | [] | closed | false | null | [] | null | [] | 2022-08-14 14:57:00 | 2022-08-14 14:57:45 | null | NONE | null | false | {'url': 'https://api.github.com/repos/huggingface/datasets/pulls/4847', 'html_url': 'https://github.com/huggingface/datasets/pull/4847', 'diff_url': 'https://github.com/huggingface/datasets/pull/4847.diff', 'patch_url': 'https://github.com/huggingface/datasets/pull/4847.patch', 'merged_at': None} | aa | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/4847/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/4847/timeline | null | null | true |
20 | https://api.github.com/repos/huggingface/datasets/issues/4846 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/4846/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/4846/comments | https://api.github.com/repos/huggingface/datasets/issues/4846/events | https://github.com/huggingface/datasets/pull/4846 | 1,337,979,897 | PR_kwDODunzps49IYSC | 4,846 | Update documentation card of miam dataset | {'login': 'PierreColombo', 'id': 22492839, 'node_id': 'MDQ6VXNlcjIyNDkyODM5', 'avatar_url': 'https://avatars.githubusercontent.com/u/22492839?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/PierreColombo', 'html_url': 'https://github.com/PierreColombo', 'followers_url': 'https://api.github.com/users/PierreColombo/followers', 'following_url': 'https://api.github.com/users/PierreColombo/following{/other_user}', 'gists_url': 'https://api.github.com/users/PierreColombo/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/PierreColombo/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/PierreColombo/subscriptions', 'organizations_url': 'https://api.github.com/users/PierreColombo/orgs', 'repos_url': 'https://api.github.com/users/PierreColombo/repos', 'events_url': 'https://api.github.com/users/PierreColombo/events{/privacy}', 'received_events_url': 'https://api.github.com/users/PierreColombo/received_events', 'type': 'User', 'site_admin': False} | [] | closed | false | null | [] | null | ['_The documentation is not available anymore as the PR was closed or merged._'
'Ahahah :D not sur how i broke something by updating the README :D '
'Thanks for the fix @PierreColombo. \r\n\r\nOnce a README is modified, our CI runs tests on it, requiring additional quality fixes, so that all READMEs are progressively improved and have some minimal tags/sections/information.\r\n\r\nFor this specific README file, the additional quality requirements of the CI are: https://github.com/huggingface/datasets/runs/7819924428?check_suite_focus=true\r\n```\r\nE The following issues were found for the README at `/home/runner/work/datasets/datasets/datasets/miam/README.md`:\r\nE -\tSection `Additional Information` is missing subsection: `Dataset Curators`.\r\nE -\tSection `Additional Information` is missing subsection: `Contributions`.\r\nE -\t`Additional Information` has an extra subsection: `Benchmark Curators`. Skipping further validation checks for this subsection as expected structure is unknown.\r\n```'
'Thanks a lot Albert :)))'] | 2022-08-13 14:38:55 | 2022-08-17 00:50:04 | null | CONTRIBUTOR | null | false | {'url': 'https://api.github.com/repos/huggingface/datasets/pulls/4846', 'html_url': 'https://github.com/huggingface/datasets/pull/4846', 'diff_url': 'https://github.com/huggingface/datasets/pull/4846.diff', 'patch_url': 'https://github.com/huggingface/datasets/pull/4846.patch', 'merged_at': datetime.datetime(2022, 8, 14, 10, 26, 8)} | Hi !
Paper has been published at EMNLP. | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/4846/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/4846/timeline | null | null | true |
21 | https://api.github.com/repos/huggingface/datasets/issues/4845 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/4845/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/4845/comments | https://api.github.com/repos/huggingface/datasets/issues/4845/events | https://github.com/huggingface/datasets/pull/4845 | 1,337,928,283 | PR_kwDODunzps49IOjf | 4,845 | Mark CI tests as xfail if Hub HTTP error | {'login': 'albertvillanova', 'id': 8515462, 'node_id': 'MDQ6VXNlcjg1MTU0NjI=', 'avatar_url': 'https://avatars.githubusercontent.com/u/8515462?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/albertvillanova', 'html_url': 'https://github.com/albertvillanova', 'followers_url': 'https://api.github.com/users/albertvillanova/followers', 'following_url': 'https://api.github.com/users/albertvillanova/following{/other_user}', 'gists_url': 'https://api.github.com/users/albertvillanova/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/albertvillanova/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/albertvillanova/subscriptions', 'organizations_url': 'https://api.github.com/users/albertvillanova/orgs', 'repos_url': 'https://api.github.com/users/albertvillanova/repos', 'events_url': 'https://api.github.com/users/albertvillanova/events{/privacy}', 'received_events_url': 'https://api.github.com/users/albertvillanova/received_events', 'type': 'User', 'site_admin': False} | [] | open | false | null | [] | null | ['The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_4845). All of your documentation changes will be reflected on that endpoint.'] | 2022-08-13 10:45:11 | 2022-08-15 20:06:05 | null | MEMBER | null | false | {'url': 'https://api.github.com/repos/huggingface/datasets/pulls/4845', 'html_url': 'https://github.com/huggingface/datasets/pull/4845', 'diff_url': 'https://github.com/huggingface/datasets/pull/4845.diff', 'patch_url': 'https://github.com/huggingface/datasets/pull/4845.patch', 'merged_at': None} | In order to make testing more robust (and avoid merges to master with red tests), we could mark tests as xfailed (instead of failed) when the Hub raises some temporary HTTP errors.
This PR:
- marks tests as xfailed only if the Hub raises a 500 error for:
- test_upstream_hub
- makes pytest report the xfailed/xpassed tests.
More tests could also be marked if needed.
Examples of CI failures due to temporary Hub HTTP errors:
- FAILED tests/test_upstream_hub.py::TestPushToHub::test_push_dataset_dict_to_hub_multiple_files
- https://github.com/huggingface/datasets/runs/7806855399?check_suite_focus=true
`requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: https://hub-ci.huggingface.co/api/datasets/__DUMMY_TRANSFORMERS_USER__/test-16603108028233/commit/main (Request ID: aZeAQ5yLktoGHQYBcJ3zo)`
- FAILED tests/test_upstream_hub.py::TestPushToHub::test_push_dataset_dict_to_hub_no_token
- https://github.com/huggingface/datasets/runs/7840022996?check_suite_focus=true
`requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: https://s3.us-east-1.amazonaws.com/lfs-staging.huggingface.co/repos/81/e3/81e3b831fa9bf23190ec041f26ef7ff6d6b71c1a937b8ec1ef1f1f05b508c089/caae596caa179cf45e7c9ac0c6d9a9cb0fe2d305291bfbb2d8b648ae26ed38b6?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=AKIA4N7VTDGOZQA2IKWK%2F20220815%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20220815T144713Z&X-Amz-Expires=900&X-Amz-Signature=5ddddfe8ef2b0601e80ab41c78a4d77d921942b0d8160bcab40ff894095e6823&X-Amz-SignedHeaders=host&x-id=PutObject`
- FAILED tests/test_upstream_hub.py::TestPushToHub::test_push_dataset_dict_to_hub_private
- https://github.com/huggingface/datasets/runs/7835921082?check_suite_focus=true
`requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: https://hub-ci.huggingface.co/api/repos/create (Request ID: gL_1I7i2dii9leBhlZen-) - Internal Error - We're working hard to fix that as soon as possible!`
- FAILED tests/test_upstream_hub.py::TestPushToHub::test_push_dataset_to_hub_custom_features_image_list
- https://github.com/huggingface/datasets/runs/7835920900?check_suite_focus=true
- This is not 500, but 404:
`requests.exceptions.HTTPError: 404 Client Error: Not Found for url: [https://hub-ci.huggingface.co/datasets/__DUMMY_TRANSFORMERS_USER__/test-16605586458339.git/info/lfs/objects](https://hub-ci.huggingface.co/datasets/__DUMMY_TRANSFORMERS_USER__/test-16605586458339.git/info/lfs/objects/batch)`
| {'url': 'https://api.github.com/repos/huggingface/datasets/issues/4845/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/4845/timeline | null | null | true |
22 | https://api.github.com/repos/huggingface/datasets/issues/4844 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/4844/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/4844/comments | https://api.github.com/repos/huggingface/datasets/issues/4844/events | https://github.com/huggingface/datasets/pull/4844 | 1,337,878,249 | PR_kwDODunzps49IFLa | 4,844 | Add 'val' to VALIDATION_KEYWORDS. | {'login': 'akt42', 'id': 98386959, 'node_id': 'U_kgDOBd1EDw', 'avatar_url': 'https://avatars.githubusercontent.com/u/98386959?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/akt42', 'html_url': 'https://github.com/akt42', 'followers_url': 'https://api.github.com/users/akt42/followers', 'following_url': 'https://api.github.com/users/akt42/following{/other_user}', 'gists_url': 'https://api.github.com/users/akt42/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/akt42/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/akt42/subscriptions', 'organizations_url': 'https://api.github.com/users/akt42/orgs', 'repos_url': 'https://api.github.com/users/akt42/repos', 'events_url': 'https://api.github.com/users/akt42/events{/privacy}', 'received_events_url': 'https://api.github.com/users/akt42/received_events', 'type': 'User', 'site_admin': False} | [] | open | false | null | [] | null | ['@mariosasko not sure about how the reviewing process works. Maybe you can have a look because we discussed this elsewhere?'
"Hi, thanks! \r\n\r\nLet's add one pattern with `val` to this test before merging: \r\nhttps://github.com/huggingface/datasets/blob/b88a656cf94c4ad972154371c83c1af759fde522/tests/test_data_files.py#L598"
'The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_4844). All of your documentation changes will be reflected on that endpoint.'
'@akt42 note that there is some info about splits keywords in the docs: https://huggingface.co/docs/datasets/main/en/repository_structure#split-names-keywords. I agree it\'s not clear that it applies not only to filenames, but to directories as well.\r\n\r\nI think "val" should be now added to the documentation source file here: https://github.com/huggingface/datasets/blob/main/docs/source/repository_structure.mdx?plain=1#L98'] | 2022-08-13 06:49:41 | 2022-08-17 12:16:11 | null | NONE | null | false | {'url': 'https://api.github.com/repos/huggingface/datasets/pulls/4844', 'html_url': 'https://github.com/huggingface/datasets/pull/4844', 'diff_url': 'https://github.com/huggingface/datasets/pull/4844.diff', 'patch_url': 'https://github.com/huggingface/datasets/pull/4844.patch', 'merged_at': None} | This PR fixes #4839 by adding the word `"val"` to the `VALIDATION_KEYWORDS` so that the `load_dataset()` method with `imagefolder` (and probably, some other directives as well) reads folders named `"val"` as well.
I think the supported keywords have to be mentioned in the documentation as well, but I couldn't think of a proper place to add that. | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/4844/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/4844/timeline | null | null | true |
23 | https://api.github.com/repos/huggingface/datasets/issues/4843 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/4843/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/4843/comments | https://api.github.com/repos/huggingface/datasets/issues/4843/events | https://github.com/huggingface/datasets/pull/4843 | 1,337,668,699 | PR_kwDODunzps49HaWT | 4,843 | Fix typo in streaming docs | {'login': 'flozi00', 'id': 47894090, 'node_id': 'MDQ6VXNlcjQ3ODk0MDkw', 'avatar_url': 'https://avatars.githubusercontent.com/u/47894090?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/flozi00', 'html_url': 'https://github.com/flozi00', 'followers_url': 'https://api.github.com/users/flozi00/followers', 'following_url': 'https://api.github.com/users/flozi00/following{/other_user}', 'gists_url': 'https://api.github.com/users/flozi00/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/flozi00/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/flozi00/subscriptions', 'organizations_url': 'https://api.github.com/users/flozi00/orgs', 'repos_url': 'https://api.github.com/users/flozi00/repos', 'events_url': 'https://api.github.com/users/flozi00/events{/privacy}', 'received_events_url': 'https://api.github.com/users/flozi00/received_events', 'type': 'User', 'site_admin': False} | [] | closed | false | null | [] | null | ['_The documentation is not available anymore as the PR was closed or merged._'] | 2022-08-12 20:18:21 | 2022-08-14 11:43:30 | null | CONTRIBUTOR | null | false | {'url': 'https://api.github.com/repos/huggingface/datasets/pulls/4843', 'html_url': 'https://github.com/huggingface/datasets/pull/4843', 'diff_url': 'https://github.com/huggingface/datasets/pull/4843.diff', 'patch_url': 'https://github.com/huggingface/datasets/pull/4843.patch', 'merged_at': datetime.datetime(2022, 8, 14, 11, 2, 9)} | null | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/4843/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/4843/timeline | null | null | true |
24 | https://api.github.com/repos/huggingface/datasets/issues/4842 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/4842/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/4842/comments | https://api.github.com/repos/huggingface/datasets/issues/4842/events | https://github.com/huggingface/datasets/pull/4842 | 1,337,527,764 | PR_kwDODunzps49G8CC | 4,842 | Update stackexchange license | {'login': 'cakiki', 'id': 3664563, 'node_id': 'MDQ6VXNlcjM2NjQ1NjM=', 'avatar_url': 'https://avatars.githubusercontent.com/u/3664563?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/cakiki', 'html_url': 'https://github.com/cakiki', 'followers_url': 'https://api.github.com/users/cakiki/followers', 'following_url': 'https://api.github.com/users/cakiki/following{/other_user}', 'gists_url': 'https://api.github.com/users/cakiki/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/cakiki/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/cakiki/subscriptions', 'organizations_url': 'https://api.github.com/users/cakiki/orgs', 'repos_url': 'https://api.github.com/users/cakiki/repos', 'events_url': 'https://api.github.com/users/cakiki/events{/privacy}', 'received_events_url': 'https://api.github.com/users/cakiki/received_events', 'type': 'User', 'site_admin': False} | [] | closed | false | null | [] | null | ['_The documentation is not available anymore as the PR was closed or merged._'] | 2022-08-12 17:39:06 | 2022-08-14 10:43:18 | null | CONTRIBUTOR | null | false | {'url': 'https://api.github.com/repos/huggingface/datasets/pulls/4842', 'html_url': 'https://github.com/huggingface/datasets/pull/4842', 'diff_url': 'https://github.com/huggingface/datasets/pull/4842.diff', 'patch_url': 'https://github.com/huggingface/datasets/pull/4842.patch', 'merged_at': datetime.datetime(2022, 8, 14, 10, 28, 49)} | The correct license of the stackexchange subset of the Pile is `cc-by-sa-4.0`, as can for example be seen here: https://stackoverflow.com/help/licensing | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/4842/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/4842/timeline | null | null | true |
25 | https://api.github.com/repos/huggingface/datasets/issues/4841 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/4841/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/4841/comments | https://api.github.com/repos/huggingface/datasets/issues/4841/events | https://github.com/huggingface/datasets/pull/4841 | 1,337,401,243 | PR_kwDODunzps49Gf0I | 4,841 | Update ted_talks_iwslt license to include ND | {'login': 'cakiki', 'id': 3664563, 'node_id': 'MDQ6VXNlcjM2NjQ1NjM=', 'avatar_url': 'https://avatars.githubusercontent.com/u/3664563?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/cakiki', 'html_url': 'https://github.com/cakiki', 'followers_url': 'https://api.github.com/users/cakiki/followers', 'following_url': 'https://api.github.com/users/cakiki/following{/other_user}', 'gists_url': 'https://api.github.com/users/cakiki/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/cakiki/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/cakiki/subscriptions', 'organizations_url': 'https://api.github.com/users/cakiki/orgs', 'repos_url': 'https://api.github.com/users/cakiki/repos', 'events_url': 'https://api.github.com/users/cakiki/events{/privacy}', 'received_events_url': 'https://api.github.com/users/cakiki/received_events', 'type': 'User', 'site_admin': False} | [] | closed | false | null | [] | null | ['_The documentation is not available anymore as the PR was closed or merged._'] | 2022-08-12 16:14:52 | 2022-08-14 11:15:22 | null | CONTRIBUTOR | null | false | {'url': 'https://api.github.com/repos/huggingface/datasets/pulls/4841', 'html_url': 'https://github.com/huggingface/datasets/pull/4841', 'diff_url': 'https://github.com/huggingface/datasets/pull/4841.diff', 'patch_url': 'https://github.com/huggingface/datasets/pull/4841.patch', 'merged_at': datetime.datetime(2022, 8, 14, 11, 0, 22)} | Excerpt from the paper's abstract: "Aside from its cultural and social relevance, this content, which is published under the Creative Commons BY-NC-ND license, also represents a precious language resource for the machine translation research community" | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/4841/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/4841/timeline | null | null | true |
26 | https://api.github.com/repos/huggingface/datasets/issues/4840 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/4840/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/4840/comments | https://api.github.com/repos/huggingface/datasets/issues/4840/events | https://github.com/huggingface/datasets/issues/4840 | 1,337,342,672 | I_kwDODunzps5PtjrQ | 4,840 | Dataset Viewer issue for darragh/demo_data_raw3 | {'login': 'severo', 'id': 1676121, 'node_id': 'MDQ6VXNlcjE2NzYxMjE=', 'avatar_url': 'https://avatars.githubusercontent.com/u/1676121?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/severo', 'html_url': 'https://github.com/severo', 'followers_url': 'https://api.github.com/users/severo/followers', 'following_url': 'https://api.github.com/users/severo/following{/other_user}', 'gists_url': 'https://api.github.com/users/severo/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/severo/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/severo/subscriptions', 'organizations_url': 'https://api.github.com/users/severo/orgs', 'repos_url': 'https://api.github.com/users/severo/repos', 'events_url': 'https://api.github.com/users/severo/events{/privacy}', 'received_events_url': 'https://api.github.com/users/severo/received_events', 'type': 'User', 'site_admin': False} | [{'id': 3470211881, 'node_id': 'LA_kwDODunzps7O1zsp', 'url': 'https://api.github.com/repos/huggingface/datasets/labels/dataset-viewer', 'name': 'dataset-viewer', 'color': 'E5583E', 'default': False, 'description': 'Related to the dataset viewer on huggingface.co'}] | open | false | {'login': 'severo', 'id': 1676121, 'node_id': 'MDQ6VXNlcjE2NzYxMjE=', 'avatar_url': 'https://avatars.githubusercontent.com/u/1676121?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/severo', 'html_url': 'https://github.com/severo', 'followers_url': 'https://api.github.com/users/severo/followers', 'following_url': 'https://api.github.com/users/severo/following{/other_user}', 'gists_url': 'https://api.github.com/users/severo/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/severo/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/severo/subscriptions', 'organizations_url': 'https://api.github.com/users/severo/orgs', 'repos_url': 'https://api.github.com/users/severo/repos', 'events_url': 'https://api.github.com/users/severo/events{/privacy}', 'received_events_url': 'https://api.github.com/users/severo/received_events', 'type': 'User', 'site_admin': False} | [{'login': 'severo', 'id': 1676121, 'node_id': 'MDQ6VXNlcjE2NzYxMjE=', 'avatar_url': 'https://avatars.githubusercontent.com/u/1676121?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/severo', 'html_url': 'https://github.com/severo', 'followers_url': 'https://api.github.com/users/severo/followers', 'following_url': 'https://api.github.com/users/severo/following{/other_user}', 'gists_url': 'https://api.github.com/users/severo/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/severo/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/severo/subscriptions', 'organizations_url': 'https://api.github.com/users/severo/orgs', 'repos_url': 'https://api.github.com/users/severo/repos', 'events_url': 'https://api.github.com/users/severo/events{/privacy}', 'received_events_url': 'https://api.github.com/users/severo/received_events', 'type': 'User', 'site_admin': False}] | null | ['do you have an idea of why it can occur @huggingface/datasets? The dataset consists of a single parquet file.'
"Thanks for reporting @severo.\r\n\r\nI'm not able to reproduce that error. I get instead:\r\n```\r\nFileNotFoundError: [Errno 2] No such file or directory: 'orix/data/ChiSig/唐合乐-9-3.jpg'\r\n```\r\n\r\nWhich pyarrow version are you using? Mine is 6.0.1. "
'OK, I get now your error when not streaming.'
"OK!\r\n\r\nIf it's useful, the pyarrow version is 7.0.0:\r\n\r\nhttps://github.com/huggingface/datasets-server/blob/487c39d87998f8d5a35972f1027d6c8e588e622d/services/worker/poetry.lock#L1537-L1543"
'Apparently, there is something weird with that Parquet file: its schema is:\r\n```\r\nimages: extension<arrow.py_extension_type<pyarrow.lib.UnknownExtensionType>>\r\n```\r\n\r\nI have forced a right schema:\r\n```python\r\nfrom datasets import Features, Image, load_dataset\r\n\r\nfeatures = Features({"images": Image()})\r\nds = datasets.load_dataset("parquet", split="train", data_files="train-00000-of-00001.parquet", features=features)\r\n```\r\nand then recreated a new Parquet file:\r\n```python\r\nds.to_parquet("train.parquet")\r\n```\r\n\r\nNow this Parquet file has the right schema:\r\n```\r\nimages: struct<bytes: binary, path: string>\r\n child 0, bytes: binary\r\n child 1, path: string\r\n```\r\nand can be loaded normally:\r\n```python\r\nIn [26]: ds = load_dataset("parquet", split="train", data_files="dataset.parquet")\r\nn [27]: ds\r\nOut[27]: \r\nDataset({\r\n features: [\'images\'],\r\n num_rows: 20\r\n})\r\n```'] | 2022-08-12 15:22:58 | 2022-08-13 08:08:58 | null | CONTRIBUTOR | null | null | null | ### Link
https://huggingface.co/datasets/darragh/demo_data_raw3
### Description
```
Exception: ValueError
Message: Arrow type extension<arrow.py_extension_type<pyarrow.lib.UnknownExtensionType>> does not have a datasets dtype equivalent.
```
reported by @NielsRogge
### Owner
No | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/4840/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/4840/timeline | null | null | false |
27 | https://api.github.com/repos/huggingface/datasets/issues/4839 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/4839/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/4839/comments | https://api.github.com/repos/huggingface/datasets/issues/4839/events | https://github.com/huggingface/datasets/issues/4839 | 1,337,206,377 | I_kwDODunzps5PtCZp | 4,839 | ImageFolder dataset builder does not read the validation data set if it is named as "val" | {'login': 'akt42', 'id': 98386959, 'node_id': 'U_kgDOBd1EDw', 'avatar_url': 'https://avatars.githubusercontent.com/u/98386959?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/akt42', 'html_url': 'https://github.com/akt42', 'followers_url': 'https://api.github.com/users/akt42/followers', 'following_url': 'https://api.github.com/users/akt42/following{/other_user}', 'gists_url': 'https://api.github.com/users/akt42/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/akt42/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/akt42/subscriptions', 'organizations_url': 'https://api.github.com/users/akt42/orgs', 'repos_url': 'https://api.github.com/users/akt42/repos', 'events_url': 'https://api.github.com/users/akt42/events{/privacy}', 'received_events_url': 'https://api.github.com/users/akt42/received_events', 'type': 'User', 'site_admin': False} | [{'id': 1935892871, 'node_id': 'MDU6TGFiZWwxOTM1ODkyODcx', 'url': 'https://api.github.com/repos/huggingface/datasets/labels/enhancement', 'name': 'enhancement', 'color': 'a2eeef', 'default': True, 'description': 'New feature or request'}] | open | false | {'login': 'akt42', 'id': 98386959, 'node_id': 'U_kgDOBd1EDw', 'avatar_url': 'https://avatars.githubusercontent.com/u/98386959?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/akt42', 'html_url': 'https://github.com/akt42', 'followers_url': 'https://api.github.com/users/akt42/followers', 'following_url': 'https://api.github.com/users/akt42/following{/other_user}', 'gists_url': 'https://api.github.com/users/akt42/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/akt42/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/akt42/subscriptions', 'organizations_url': 'https://api.github.com/users/akt42/orgs', 'repos_url': 'https://api.github.com/users/akt42/repos', 'events_url': 'https://api.github.com/users/akt42/events{/privacy}', 'received_events_url': 'https://api.github.com/users/akt42/received_events', 'type': 'User', 'site_admin': False} | [{'login': 'akt42', 'id': 98386959, 'node_id': 'U_kgDOBd1EDw', 'avatar_url': 'https://avatars.githubusercontent.com/u/98386959?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/akt42', 'html_url': 'https://github.com/akt42', 'followers_url': 'https://api.github.com/users/akt42/followers', 'following_url': 'https://api.github.com/users/akt42/following{/other_user}', 'gists_url': 'https://api.github.com/users/akt42/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/akt42/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/akt42/subscriptions', 'organizations_url': 'https://api.github.com/users/akt42/orgs', 'repos_url': 'https://api.github.com/users/akt42/repos', 'events_url': 'https://api.github.com/users/akt42/events{/privacy}', 'received_events_url': 'https://api.github.com/users/akt42/received_events', 'type': 'User', 'site_admin': False}] | null | ['#take'] | 2022-08-12 13:26:00 | 2022-08-13 06:43:15 | null | NONE | null | null | null | **Is your feature request related to a problem? Please describe.**
Currently, the `'imagefolder'` data set builder in [`load_dataset()`](https://github.com/huggingface/datasets/blob/2.4.0/src/datasets/load.py#L1541] ) only [supports](https://github.com/huggingface/datasets/blob/6c609a322da994de149b2c938f19439bca99408e/src/datasets/data_files.py#L31) the following names as the validation data set directory name: `["validation", "valid", "dev"]`. When the validation directory is named as `'val'`, the Data set will not have a validation split. I expected this to be a trivial task but ended up spending a lot of time before knowing that only the above names are supported.
Here's a minimal example of `val` not being recognized:
```python
import os
import numpy as np
import cv2
from datasets import load_dataset
# creating a dummy data set with the following structure:
# ROOT
# | -- train
# | ---- class_1
# | ---- class_2
# | -- val
# | ---- class_1
# | ---- class_2
ROOT = "data"
for which in ["train", "val"]:
for class_name in ["class_1", "class_2"]:
dir_name = os.path.join(ROOT, which, class_name)
if not os.path.exists(dir_name):
os.makedirs(dir_name)
for i in range(10):
cv2.imwrite(
os.path.join(dir_name, f"{i}.png"),
np.random.random((224, 224))
)
# trying to create a data set
dataset = load_dataset(
"imagefolder",
data_dir=ROOT
)
>> dataset
DatasetDict({
train: Dataset({
features: ['image', 'label'],
num_rows: 20
})
})
# ^ note how the dataset only has a 'train' subset
```
**Describe the solution you'd like**
The suggestion is to include `"val"` to [that list ](https://github.com/huggingface/datasets/blob/6c609a322da994de149b2c938f19439bca99408e/src/datasets/data_files.py#L31) as that's a commonly used phrase to name the validation directory.
Also, In the documentation, explicitly mention that only such directory names are supported as train/val/test directories to avoid confusion.
**Describe alternatives you've considered**
In the documentation, explicitly mention that only such directory names are supported as train/val/test directories without adding `val` to the above list.
**Additional context**
A question asked in the forum: [
Loading an imagenet-style image dataset with train/val directories](https://discuss.huggingface.co/t/loading-an-imagenet-style-image-dataset-with-train-val-directories/21554) | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/4839/reactions', 'total_count': 1, '+1': 1, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/4839/timeline | null | null | false |
28 | https://api.github.com/repos/huggingface/datasets/issues/4838 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/4838/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/4838/comments | https://api.github.com/repos/huggingface/datasets/issues/4838/events | https://github.com/huggingface/datasets/pull/4838 | 1,337,194,918 | PR_kwDODunzps49F08R | 4,838 | Fix documentation card of adv_glue dataset | {'login': 'albertvillanova', 'id': 8515462, 'node_id': 'MDQ6VXNlcjg1MTU0NjI=', 'avatar_url': 'https://avatars.githubusercontent.com/u/8515462?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/albertvillanova', 'html_url': 'https://github.com/albertvillanova', 'followers_url': 'https://api.github.com/users/albertvillanova/followers', 'following_url': 'https://api.github.com/users/albertvillanova/following{/other_user}', 'gists_url': 'https://api.github.com/users/albertvillanova/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/albertvillanova/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/albertvillanova/subscriptions', 'organizations_url': 'https://api.github.com/users/albertvillanova/orgs', 'repos_url': 'https://api.github.com/users/albertvillanova/repos', 'events_url': 'https://api.github.com/users/albertvillanova/events{/privacy}', 'received_events_url': 'https://api.github.com/users/albertvillanova/received_events', 'type': 'User', 'site_admin': False} | [] | closed | false | null | [] | null | ['_The documentation is not available anymore as the PR was closed or merged._'
'The failing test has nothing to do with this PR:\r\n```\r\nFAILED tests/test_upstream_hub.py::TestPushToHub::test_push_dataset_dict_to_hub_multiple_files\r\n```'] | 2022-08-12 13:15:26 | 2022-08-15 10:17:14 | null | MEMBER | null | false | {'url': 'https://api.github.com/repos/huggingface/datasets/pulls/4838', 'html_url': 'https://github.com/huggingface/datasets/pull/4838', 'diff_url': 'https://github.com/huggingface/datasets/pull/4838.diff', 'patch_url': 'https://github.com/huggingface/datasets/pull/4838.patch', 'merged_at': datetime.datetime(2022, 8, 15, 10, 2, 11)} | Fix documentation card of adv_glue dataset. | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/4838/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/4838/timeline | null | null | true |
29 | https://api.github.com/repos/huggingface/datasets/issues/4837 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/4837/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/4837/comments | https://api.github.com/repos/huggingface/datasets/issues/4837/events | https://github.com/huggingface/datasets/pull/4837 | 1,337,079,723 | PR_kwDODunzps49Fb6l | 4,837 | Add support for CSV metadata files to ImageFolder | {'login': 'mariosasko', 'id': 47462742, 'node_id': 'MDQ6VXNlcjQ3NDYyNzQy', 'avatar_url': 'https://avatars.githubusercontent.com/u/47462742?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/mariosasko', 'html_url': 'https://github.com/mariosasko', 'followers_url': 'https://api.github.com/users/mariosasko/followers', 'following_url': 'https://api.github.com/users/mariosasko/following{/other_user}', 'gists_url': 'https://api.github.com/users/mariosasko/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/mariosasko/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/mariosasko/subscriptions', 'organizations_url': 'https://api.github.com/users/mariosasko/orgs', 'repos_url': 'https://api.github.com/users/mariosasko/repos', 'events_url': 'https://api.github.com/users/mariosasko/events{/privacy}', 'received_events_url': 'https://api.github.com/users/mariosasko/received_events', 'type': 'User', 'site_admin': False} | [] | open | false | null | [] | null | ['The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_4837). All of your documentation changes will be reflected on that endpoint.'
"Cool thanks ! Maybe let's include this change after the refactoring from FolderBasedBuilder in #3963 to avoid dealing with too many unpleasant conflicts ?"] | 2022-08-12 11:19:18 | 2022-08-18 15:46:14 | null | CONTRIBUTOR | null | false | {'url': 'https://api.github.com/repos/huggingface/datasets/pulls/4837', 'html_url': 'https://github.com/huggingface/datasets/pull/4837', 'diff_url': 'https://github.com/huggingface/datasets/pull/4837.diff', 'patch_url': 'https://github.com/huggingface/datasets/pull/4837.patch', 'merged_at': None} | Fix #4814 | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/4837/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/4837/timeline | null | null | true |
30 | https://api.github.com/repos/huggingface/datasets/issues/4836 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/4836/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/4836/comments | https://api.github.com/repos/huggingface/datasets/issues/4836/events | https://github.com/huggingface/datasets/issues/4836 | 1,337,067,632 | I_kwDODunzps5Psghw | 4,836 | Is it possible to pass multiple links to a split in load script? | {'login': 'sadrasabouri', 'id': 43045767, 'node_id': 'MDQ6VXNlcjQzMDQ1NzY3', 'avatar_url': 'https://avatars.githubusercontent.com/u/43045767?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/sadrasabouri', 'html_url': 'https://github.com/sadrasabouri', 'followers_url': 'https://api.github.com/users/sadrasabouri/followers', 'following_url': 'https://api.github.com/users/sadrasabouri/following{/other_user}', 'gists_url': 'https://api.github.com/users/sadrasabouri/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/sadrasabouri/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/sadrasabouri/subscriptions', 'organizations_url': 'https://api.github.com/users/sadrasabouri/orgs', 'repos_url': 'https://api.github.com/users/sadrasabouri/repos', 'events_url': 'https://api.github.com/users/sadrasabouri/events{/privacy}', 'received_events_url': 'https://api.github.com/users/sadrasabouri/received_events', 'type': 'User', 'site_admin': False} | [{'id': 1935892871, 'node_id': 'MDU6TGFiZWwxOTM1ODkyODcx', 'url': 'https://api.github.com/repos/huggingface/datasets/labels/enhancement', 'name': 'enhancement', 'color': 'a2eeef', 'default': True, 'description': 'New feature or request'}] | open | false | null | [] | null | [] | 2022-08-12 11:06:11 | 2022-08-12 11:06:11 | null | NONE | null | null | null | **Is your feature request related to a problem? Please describe.**
I wanted to use a python loading script in hugging face datasets that use different sources of text (it's somehow a compilation of multiple datasets + my own dataset) based on how `load_dataset` [works](https://huggingface.co/docs/datasets/loading) I assumed I could do something like bellow in my loading script:
```python
...
_URL = "MY_DATASET_URL/resolve/main/data/"
_URLS = {
"train": [
"FIRST_URL_TO.txt",
_URL + "train-00000-of-00001-676bfebbc8742592.parquet"
]
}
...
```
but when loading the dataset it raises the following error:
```python
File ~/.local/lib/python3.8/site-packages/datasets/builder.py:704, in DatasetBuilder.download_and_prepare(self, download_config, download_mode, ignore_verifications, try_from_hf_gcs, dl_manager, base_path, use_auth_token, **download_and_prepare_kwargs)
702 logger.warning("HF google storage unreachable. Downloading and preparing it from source")
703 if not downloaded_from_gcs:
--> 704 self._download_and_prepare(
705 dl_manager=dl_manager, verify_infos=verify_infos, **download_and_prepare_kwargs
...
668 if isinstance(a, str):
669 # Force-cast str subclasses to str (issue #21127)
670 parts.append(str(a))
TypeError: expected str, bytes or os.PathLike object, not list
```
**Describe the solution you'd like**
I believe since it's possible for `load_dataset` to get list of URLs instead of just a URL for `train` split it can be possible here too.
**Describe alternatives you've considered**
An alternative solution would be to download all needed datasets locally and `push_to_hub` them all, but since the datasets I'm talking about are huge it's not among my options.
**Additional context**
I think loading `text` beside the `parquet` is completely a different issue but I believe I can figure it out by proposing a config for my dataset to load each entry of `_URLS['train']` separately either by `load_dataset("text", ...` or `load_dataset("parquet", ...`.
| {'url': 'https://api.github.com/repos/huggingface/datasets/issues/4836/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/4836/timeline | null | null | false |
31 | https://api.github.com/repos/huggingface/datasets/issues/4835 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/4835/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/4835/comments | https://api.github.com/repos/huggingface/datasets/issues/4835/events | https://github.com/huggingface/datasets/pull/4835 | 1,336,994,835 | PR_kwDODunzps49FJg9 | 4,835 | Fix documentation card of ethos dataset | {'login': 'albertvillanova', 'id': 8515462, 'node_id': 'MDQ6VXNlcjg1MTU0NjI=', 'avatar_url': 'https://avatars.githubusercontent.com/u/8515462?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/albertvillanova', 'html_url': 'https://github.com/albertvillanova', 'followers_url': 'https://api.github.com/users/albertvillanova/followers', 'following_url': 'https://api.github.com/users/albertvillanova/following{/other_user}', 'gists_url': 'https://api.github.com/users/albertvillanova/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/albertvillanova/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/albertvillanova/subscriptions', 'organizations_url': 'https://api.github.com/users/albertvillanova/orgs', 'repos_url': 'https://api.github.com/users/albertvillanova/repos', 'events_url': 'https://api.github.com/users/albertvillanova/events{/privacy}', 'received_events_url': 'https://api.github.com/users/albertvillanova/received_events', 'type': 'User', 'site_admin': False} | [] | closed | false | null | [] | null | ['_The documentation is not available anymore as the PR was closed or merged._'] | 2022-08-12 09:51:06 | 2022-08-12 13:13:55 | null | MEMBER | null | false | {'url': 'https://api.github.com/repos/huggingface/datasets/pulls/4835', 'html_url': 'https://github.com/huggingface/datasets/pull/4835', 'diff_url': 'https://github.com/huggingface/datasets/pull/4835.diff', 'patch_url': 'https://github.com/huggingface/datasets/pull/4835.patch', 'merged_at': datetime.datetime(2022, 8, 12, 12, 59, 39)} | Fix documentation card of ethos dataset. | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/4835/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/4835/timeline | null | null | true |
32 | https://api.github.com/repos/huggingface/datasets/issues/4834 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/4834/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/4834/comments | https://api.github.com/repos/huggingface/datasets/issues/4834/events | https://github.com/huggingface/datasets/pull/4834 | 1,336,993,511 | PR_kwDODunzps49FJOu | 4,834 | Fix documentation card of recipe_nlg dataset | {'login': 'albertvillanova', 'id': 8515462, 'node_id': 'MDQ6VXNlcjg1MTU0NjI=', 'avatar_url': 'https://avatars.githubusercontent.com/u/8515462?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/albertvillanova', 'html_url': 'https://github.com/albertvillanova', 'followers_url': 'https://api.github.com/users/albertvillanova/followers', 'following_url': 'https://api.github.com/users/albertvillanova/following{/other_user}', 'gists_url': 'https://api.github.com/users/albertvillanova/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/albertvillanova/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/albertvillanova/subscriptions', 'organizations_url': 'https://api.github.com/users/albertvillanova/orgs', 'repos_url': 'https://api.github.com/users/albertvillanova/repos', 'events_url': 'https://api.github.com/users/albertvillanova/events{/privacy}', 'received_events_url': 'https://api.github.com/users/albertvillanova/received_events', 'type': 'User', 'site_admin': False} | [] | closed | false | null | [] | null | ['_The documentation is not available anymore as the PR was closed or merged._'] | 2022-08-12 09:49:39 | 2022-08-12 11:28:18 | null | MEMBER | null | false | {'url': 'https://api.github.com/repos/huggingface/datasets/pulls/4834', 'html_url': 'https://github.com/huggingface/datasets/pull/4834', 'diff_url': 'https://github.com/huggingface/datasets/pull/4834.diff', 'patch_url': 'https://github.com/huggingface/datasets/pull/4834.patch', 'merged_at': datetime.datetime(2022, 8, 12, 11, 13, 40)} | Fix documentation card of recipe_nlg dataset | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/4834/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/4834/timeline | null | null | true |
33 | https://api.github.com/repos/huggingface/datasets/issues/4833 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/4833/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/4833/comments | https://api.github.com/repos/huggingface/datasets/issues/4833/events | https://github.com/huggingface/datasets/pull/4833 | 1,336,946,965 | PR_kwDODunzps49E_Nk | 4,833 | Fix missing tags in dataset cards | {'login': 'albertvillanova', 'id': 8515462, 'node_id': 'MDQ6VXNlcjg1MTU0NjI=', 'avatar_url': 'https://avatars.githubusercontent.com/u/8515462?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/albertvillanova', 'html_url': 'https://github.com/albertvillanova', 'followers_url': 'https://api.github.com/users/albertvillanova/followers', 'following_url': 'https://api.github.com/users/albertvillanova/following{/other_user}', 'gists_url': 'https://api.github.com/users/albertvillanova/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/albertvillanova/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/albertvillanova/subscriptions', 'organizations_url': 'https://api.github.com/users/albertvillanova/orgs', 'repos_url': 'https://api.github.com/users/albertvillanova/repos', 'events_url': 'https://api.github.com/users/albertvillanova/events{/privacy}', 'received_events_url': 'https://api.github.com/users/albertvillanova/received_events', 'type': 'User', 'site_admin': False} | [] | closed | false | null | [] | null | ['_The documentation is not available anymore as the PR was closed or merged._'] | 2022-08-12 09:04:52 | 2022-08-12 10:00:27 | null | MEMBER | null | false | {'url': 'https://api.github.com/repos/huggingface/datasets/pulls/4833', 'html_url': 'https://github.com/huggingface/datasets/pull/4833', 'diff_url': 'https://github.com/huggingface/datasets/pull/4833.diff', 'patch_url': 'https://github.com/huggingface/datasets/pull/4833.patch', 'merged_at': datetime.datetime(2022, 8, 12, 9, 45, 55)} | Fix missing tags in dataset cards.
This PR partially fixes the missing tags in dataset cards. Subsequent PRs will follow to complete this task. | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/4833/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/4833/timeline | null | null | true |
34 | https://api.github.com/repos/huggingface/datasets/issues/4832 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/4832/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/4832/comments | https://api.github.com/repos/huggingface/datasets/issues/4832/events | https://github.com/huggingface/datasets/pull/4832 | 1,336,727,389 | PR_kwDODunzps49EQav | 4,832 | Fix tags in dataset cards | {'login': 'albertvillanova', 'id': 8515462, 'node_id': 'MDQ6VXNlcjg1MTU0NjI=', 'avatar_url': 'https://avatars.githubusercontent.com/u/8515462?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/albertvillanova', 'html_url': 'https://github.com/albertvillanova', 'followers_url': 'https://api.github.com/users/albertvillanova/followers', 'following_url': 'https://api.github.com/users/albertvillanova/following{/other_user}', 'gists_url': 'https://api.github.com/users/albertvillanova/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/albertvillanova/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/albertvillanova/subscriptions', 'organizations_url': 'https://api.github.com/users/albertvillanova/orgs', 'repos_url': 'https://api.github.com/users/albertvillanova/repos', 'events_url': 'https://api.github.com/users/albertvillanova/events{/privacy}', 'received_events_url': 'https://api.github.com/users/albertvillanova/received_events', 'type': 'User', 'site_admin': False} | [] | closed | false | null | [] | null | ['_The documentation is not available anymore as the PR was closed or merged._'
'The non-passing tests are caused by other missing information in the dataset cards.'] | 2022-08-12 04:11:23 | 2022-08-12 04:41:55 | null | MEMBER | null | false | {'url': 'https://api.github.com/repos/huggingface/datasets/pulls/4832', 'html_url': 'https://github.com/huggingface/datasets/pull/4832', 'diff_url': 'https://github.com/huggingface/datasets/pull/4832.diff', 'patch_url': 'https://github.com/huggingface/datasets/pull/4832.patch', 'merged_at': datetime.datetime(2022, 8, 12, 4, 27, 24)} | Fix wrong tags in dataset cards. | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/4832/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/4832/timeline | null | null | true |
35 | https://api.github.com/repos/huggingface/datasets/issues/4831 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/4831/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/4831/comments | https://api.github.com/repos/huggingface/datasets/issues/4831/events | https://github.com/huggingface/datasets/pull/4831 | 1,336,199,643 | PR_kwDODunzps49Cibf | 4,831 | Add oversampling strategies to interleave datasets | {'login': 'ylacombe', 'id': 52246514, 'node_id': 'MDQ6VXNlcjUyMjQ2NTE0', 'avatar_url': 'https://avatars.githubusercontent.com/u/52246514?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/ylacombe', 'html_url': 'https://github.com/ylacombe', 'followers_url': 'https://api.github.com/users/ylacombe/followers', 'following_url': 'https://api.github.com/users/ylacombe/following{/other_user}', 'gists_url': 'https://api.github.com/users/ylacombe/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/ylacombe/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/ylacombe/subscriptions', 'organizations_url': 'https://api.github.com/users/ylacombe/orgs', 'repos_url': 'https://api.github.com/users/ylacombe/repos', 'events_url': 'https://api.github.com/users/ylacombe/events{/privacy}', 'received_events_url': 'https://api.github.com/users/ylacombe/received_events', 'type': 'User', 'site_admin': False} | [] | open | false | null | [] | null | ['The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_4831). All of your documentation changes will be reflected on that endpoint.'] | 2022-08-11 16:24:51 | 2022-08-17 13:50:09 | null | NONE | null | false | {'url': 'https://api.github.com/repos/huggingface/datasets/pulls/4831', 'html_url': 'https://github.com/huggingface/datasets/pull/4831', 'diff_url': 'https://github.com/huggingface/datasets/pull/4831.diff', 'patch_url': 'https://github.com/huggingface/datasets/pull/4831.patch', 'merged_at': None} | Hello everyone,
Here is a proposal to improve `interleave_datasets` function.
Following Issue #3064, and @lhoestq [comment](https://github.com/huggingface/datasets/issues/3064#issuecomment-1022333385), I propose here a code that performs oversampling when interleaving a `Dataset` list.
I have myself encountered this problem while trying to implement training on a multilingual dataset following a training strategy similar to that of [XLSUM paper](https://arxiv.org/pdf/2106.13822.pdf), a multilingual abstract summary dataset where the multilingual training dataset is created by sampling from the languages following a smoothing strategy. The main idea is to sample languages that have a low number of samples more frequently than other languages.
As in Issue #3064, the current default strategy is a undersampling strategy, which stops as soon as a dataset runs out of samples. The new `all_exhausted` strategy stops building the new dataset as soon as all samples in each dataset have been added at least once.
How does it work in practice:
- if ``probabilities`` is `None` and the strategy is `all_exhausted`, it simply performs a round robin interleaving that stops when the longest dataset is out of samples. Here the new dataset length will be $maxLengthDataset*nbDataset$.
- if ``probabilities`` is not `None` and the strategy is `all_exhausted`, it keeps trace of the datasets which were out of samples but continues to add them to the new dataset, and stops as soons as every dataset runs out of samples at least once.
- In the other cases, it is supposed to keep the same behaviour as before. Except that this time, when probabilities are precised, it really stops AS SOON AS a dataset is out of samples.
More on the last sentence:
The previous example of `interleave_datasets` was:
>>> from datasets import Dataset, interleave_datasets
>>> d1 = Dataset.from_dict({"a": [0, 1, 2]})
>>> d2 = Dataset.from_dict({"a": [10, 11, 12]})
>>> d3 = Dataset.from_dict({"a": [20, 21, 22]})
>>> dataset = interleave_datasets([d1, d2, d3])
>>> dataset["a"]
[0, 10, 20, 1, 11, 21, 2, 12, 22]
>>> dataset = interleave_datasets([d1, d2, d3], probabilities=[0.7, 0.2, 0.1], seed=42)
>>> dataset["a"]
[10, 0, 11, 1, 2, 20, 12]
With my implementation, `dataset = interleave_datasets([d1, d2, d3], probabilities=[0.7, 0.2, 0.1], seed=42)` gives:
>>> dataset["a"]
[10, 0, 11, 1, 2]
because `d1` is already out of samples just after `2` is added.
Example of the results of applying the different strategies:
>>> from datasets import Dataset, interleave_datasets
>>> d1 = Dataset.from_dict({"a": [0, 1, 2]})
>>> d2 = Dataset.from_dict({"a": [10, 11, 12]})
>>> d3 = Dataset.from_dict({"a": [20, 21, 22]})
>>> dataset = interleave_datasets([d1, d2, d3], probabilities=[0.7, 0.2, 0.1], seed=42, stopping_strategy="all_exhausted")
>>> dataset["a"]
[10, 0, 11, 1, 2, 20, 12, 10, 0, 1, 2, 21, 0, 11, 1, 2, 0, 1, 12, 2, 10, 0, 22]
>>> dataset = interleave_datasets([d1, d2, d3], probabilities=[0.7, 0.2, 0.1], seed=42)
>>> dataset["a"]
[10, 0, 11, 1, 2]
>>> dataset = interleave_datasets([d1, d2, d3])
>>> dataset["a"]
[0, 10, 20, 1, 11, 21, 2, 12, 22]
>>> dataset = interleave_datasets([d1, d2, d3], stopping_strategy="all_exhausted")
>>> dataset["a"]
[0, 10, 20, 1, 11, 21, 2, 12, 22]
>>> d1 = Dataset.from_dict({"a": [0, 1, 2]})
>>> d2 = Dataset.from_dict({"a": [10, 11, 12, 13]})
>>> d3 = Dataset.from_dict({"a": [20, 21, 22, 23, 24]})
>>> dataset = interleave_datasets([d1, d2, d3])
>>> dataset["a"]
[0, 10, 20, 1, 11, 21, 2, 12, 22]
>>> dataset = interleave_datasets([d1, d2, d3], stopping_strategy="all_exhausted")
>>> dataset["a"]
[0, 10, 20, 1, 11, 21, 2, 12, 22, 0, 13, 23, 1, 0, 24]
>>> dataset = interleave_datasets([d1, d2, d3], probabilities=[0.7, 0.2, 0.1], seed=42)
>>> dataset["a"]
[10, 0, 11, 1, 2]
>>> dataset = interleave_datasets([d1, d2, d3], probabilities=[0.7, 0.2, 0.1], seed=42, stopping_strategy="all_exhausted")
>>> dataset["a"]
[10, 0, 11, 1, 2, 20, 12, 13, ..., 0, 1, 2, 0, 24]
**Final note:** I've been using that code for a research project involving a large-scale multilingual dataset. One should be careful when using oversampling to avoid to avoid exploding the size of the dataset. For example, if a very large data set has a low probability of being sampled, the final dataset may be several times the size of that large data set.
| {'url': 'https://api.github.com/repos/huggingface/datasets/issues/4831/reactions', 'total_count': 1, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 1, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/4831/timeline | null | null | true |
36 | https://api.github.com/repos/huggingface/datasets/issues/4830 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/4830/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/4830/comments | https://api.github.com/repos/huggingface/datasets/issues/4830/events | https://github.com/huggingface/datasets/pull/4830 | 1,336,177,937 | PR_kwDODunzps49Cdro | 4,830 | Fix task tags in dataset cards | {'login': 'albertvillanova', 'id': 8515462, 'node_id': 'MDQ6VXNlcjg1MTU0NjI=', 'avatar_url': 'https://avatars.githubusercontent.com/u/8515462?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/albertvillanova', 'html_url': 'https://github.com/albertvillanova', 'followers_url': 'https://api.github.com/users/albertvillanova/followers', 'following_url': 'https://api.github.com/users/albertvillanova/following{/other_user}', 'gists_url': 'https://api.github.com/users/albertvillanova/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/albertvillanova/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/albertvillanova/subscriptions', 'organizations_url': 'https://api.github.com/users/albertvillanova/orgs', 'repos_url': 'https://api.github.com/users/albertvillanova/repos', 'events_url': 'https://api.github.com/users/albertvillanova/events{/privacy}', 'received_events_url': 'https://api.github.com/users/albertvillanova/received_events', 'type': 'User', 'site_admin': False} | [] | closed | false | null | [] | null | ['_The documentation is not available anymore as the PR was closed or merged._'
'The non-passing tests are caused by other missing information in the dataset cards.'] | 2022-08-11 16:06:06 | 2022-08-11 16:37:27 | null | MEMBER | null | false | {'url': 'https://api.github.com/repos/huggingface/datasets/pulls/4830', 'html_url': 'https://github.com/huggingface/datasets/pull/4830', 'diff_url': 'https://github.com/huggingface/datasets/pull/4830.diff', 'patch_url': 'https://github.com/huggingface/datasets/pull/4830.patch', 'merged_at': datetime.datetime(2022, 8, 11, 16, 23)} | null | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/4830/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/4830/timeline | null | null | true |
37 | https://api.github.com/repos/huggingface/datasets/issues/4829 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/4829/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/4829/comments | https://api.github.com/repos/huggingface/datasets/issues/4829/events | https://github.com/huggingface/datasets/issues/4829 | 1,336,068,068 | I_kwDODunzps5Posfk | 4,829 | Misalignment between card tag validation and docs | {'login': 'albertvillanova', 'id': 8515462, 'node_id': 'MDQ6VXNlcjg1MTU0NjI=', 'avatar_url': 'https://avatars.githubusercontent.com/u/8515462?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/albertvillanova', 'html_url': 'https://github.com/albertvillanova', 'followers_url': 'https://api.github.com/users/albertvillanova/followers', 'following_url': 'https://api.github.com/users/albertvillanova/following{/other_user}', 'gists_url': 'https://api.github.com/users/albertvillanova/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/albertvillanova/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/albertvillanova/subscriptions', 'organizations_url': 'https://api.github.com/users/albertvillanova/orgs', 'repos_url': 'https://api.github.com/users/albertvillanova/repos', 'events_url': 'https://api.github.com/users/albertvillanova/events{/privacy}', 'received_events_url': 'https://api.github.com/users/albertvillanova/received_events', 'type': 'User', 'site_admin': False} | [{'id': 1935892857, 'node_id': 'MDU6TGFiZWwxOTM1ODkyODU3', 'url': 'https://api.github.com/repos/huggingface/datasets/labels/bug', 'name': 'bug', 'color': 'd73a4a', 'default': True, 'description': "Something isn't working"}] | open | false | null | [] | null | ['(Note that the doc is aligned with the hub validation rules, and the "ground truth" is the hub validation rules given that they apply to all datasets, not just the canonical ones)'] | 2022-08-11 14:44:45 | 2022-08-11 14:46:35 | null | MEMBER | null | null | null | ## Describe the bug
As pointed out in other issue: https://github.com/huggingface/datasets/pull/4827#discussion_r943536284
the validation of the dataset card tags is not aligned with its documentation: e.g.
- implementation: `license: List[str]`
- docs: `license: Union[str, List[str]]`
They should be aligned.
CC: @julien-c
| {'url': 'https://api.github.com/repos/huggingface/datasets/issues/4829/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/4829/timeline | null | null | false |
38 | https://api.github.com/repos/huggingface/datasets/issues/4828 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/4828/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/4828/comments | https://api.github.com/repos/huggingface/datasets/issues/4828/events | https://github.com/huggingface/datasets/pull/4828 | 1,336,040,168 | PR_kwDODunzps49B_vb | 4,828 | Support PIL Image objects in `add_item`/`add_column` | {'login': 'mariosasko', 'id': 47462742, 'node_id': 'MDQ6VXNlcjQ3NDYyNzQy', 'avatar_url': 'https://avatars.githubusercontent.com/u/47462742?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/mariosasko', 'html_url': 'https://github.com/mariosasko', 'followers_url': 'https://api.github.com/users/mariosasko/followers', 'following_url': 'https://api.github.com/users/mariosasko/following{/other_user}', 'gists_url': 'https://api.github.com/users/mariosasko/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/mariosasko/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/mariosasko/subscriptions', 'organizations_url': 'https://api.github.com/users/mariosasko/orgs', 'repos_url': 'https://api.github.com/users/mariosasko/repos', 'events_url': 'https://api.github.com/users/mariosasko/events{/privacy}', 'received_events_url': 'https://api.github.com/users/mariosasko/received_events', 'type': 'User', 'site_admin': False} | [] | open | false | null | [] | null | ['The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_4828). All of your documentation changes will be reflected on that endpoint.'] | 2022-08-11 14:25:45 | 2022-08-11 14:32:29 | null | CONTRIBUTOR | null | false | {'url': 'https://api.github.com/repos/huggingface/datasets/pulls/4828', 'html_url': 'https://github.com/huggingface/datasets/pull/4828', 'diff_url': 'https://github.com/huggingface/datasets/pull/4828.diff', 'patch_url': 'https://github.com/huggingface/datasets/pull/4828.patch', 'merged_at': None} | Fix #4796
PS: We should also improve the type inference in `OptimizedTypeSequence` to make it possible to also infer the complex types (only `Image` currently) in nested arrays (e.g. `[[pil_image], [pil_image, pil_image]]` or `[{"img": pil_image}`]), but I plan to address this in a separate PR. | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/4828/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/4828/timeline | null | null | true |
39 | https://api.github.com/repos/huggingface/datasets/issues/4827 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/4827/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/4827/comments | https://api.github.com/repos/huggingface/datasets/issues/4827/events | https://github.com/huggingface/datasets/pull/4827 | 1,335,994,312 | PR_kwDODunzps49B1zi | 4,827 | Add license metadata to pg19 | {'login': 'julien-c', 'id': 326577, 'node_id': 'MDQ6VXNlcjMyNjU3Nw==', 'avatar_url': 'https://avatars.githubusercontent.com/u/326577?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/julien-c', 'html_url': 'https://github.com/julien-c', 'followers_url': 'https://api.github.com/users/julien-c/followers', 'following_url': 'https://api.github.com/users/julien-c/following{/other_user}', 'gists_url': 'https://api.github.com/users/julien-c/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/julien-c/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/julien-c/subscriptions', 'organizations_url': 'https://api.github.com/users/julien-c/orgs', 'repos_url': 'https://api.github.com/users/julien-c/repos', 'events_url': 'https://api.github.com/users/julien-c/events{/privacy}', 'received_events_url': 'https://api.github.com/users/julien-c/received_events', 'type': 'User', 'site_admin': False} | [] | closed | false | null | [] | null | ['_The documentation is not available anymore as the PR was closed or merged._'] | 2022-08-11 13:52:20 | 2022-08-11 15:01:03 | null | MEMBER | null | false | {'url': 'https://api.github.com/repos/huggingface/datasets/pulls/4827', 'html_url': 'https://github.com/huggingface/datasets/pull/4827', 'diff_url': 'https://github.com/huggingface/datasets/pull/4827.diff', 'patch_url': 'https://github.com/huggingface/datasets/pull/4827.patch', 'merged_at': datetime.datetime(2022, 8, 11, 14, 46, 38)} | As reported over email by Roy Rijkers | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/4827/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/4827/timeline | null | null | true |
40 | https://api.github.com/repos/huggingface/datasets/issues/4826 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/4826/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/4826/comments | https://api.github.com/repos/huggingface/datasets/issues/4826/events | https://github.com/huggingface/datasets/pull/4826 | 1,335,987,583 | PR_kwDODunzps49B0V3 | 4,826 | Fix language tags in dataset cards | {'login': 'albertvillanova', 'id': 8515462, 'node_id': 'MDQ6VXNlcjg1MTU0NjI=', 'avatar_url': 'https://avatars.githubusercontent.com/u/8515462?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/albertvillanova', 'html_url': 'https://github.com/albertvillanova', 'followers_url': 'https://api.github.com/users/albertvillanova/followers', 'following_url': 'https://api.github.com/users/albertvillanova/following{/other_user}', 'gists_url': 'https://api.github.com/users/albertvillanova/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/albertvillanova/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/albertvillanova/subscriptions', 'organizations_url': 'https://api.github.com/users/albertvillanova/orgs', 'repos_url': 'https://api.github.com/users/albertvillanova/repos', 'events_url': 'https://api.github.com/users/albertvillanova/events{/privacy}', 'received_events_url': 'https://api.github.com/users/albertvillanova/received_events', 'type': 'User', 'site_admin': False} | [] | closed | false | null | [] | null | ['_The documentation is not available anymore as the PR was closed or merged._'
'The non-passing tests are caused by other missing information in the dataset cards.'] | 2022-08-11 13:47:14 | 2022-08-11 14:17:48 | null | MEMBER | null | false | {'url': 'https://api.github.com/repos/huggingface/datasets/pulls/4826', 'html_url': 'https://github.com/huggingface/datasets/pull/4826', 'diff_url': 'https://github.com/huggingface/datasets/pull/4826.diff', 'patch_url': 'https://github.com/huggingface/datasets/pull/4826.patch', 'merged_at': datetime.datetime(2022, 8, 11, 14, 3, 12)} | Fix language tags in all dataset cards, so that they are validated (aligned with our `languages.json` resource). | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/4826/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/4826/timeline | null | null | true |
41 | https://api.github.com/repos/huggingface/datasets/issues/4825 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/4825/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/4825/comments | https://api.github.com/repos/huggingface/datasets/issues/4825/events | https://github.com/huggingface/datasets/pull/4825 | 1,335,856,882 | PR_kwDODunzps49BYWL | 4,825 | [Windows] Fix Access Denied when using os.rename() | {'login': 'DougTrajano', 'id': 8703022, 'node_id': 'MDQ6VXNlcjg3MDMwMjI=', 'avatar_url': 'https://avatars.githubusercontent.com/u/8703022?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/DougTrajano', 'html_url': 'https://github.com/DougTrajano', 'followers_url': 'https://api.github.com/users/DougTrajano/followers', 'following_url': 'https://api.github.com/users/DougTrajano/following{/other_user}', 'gists_url': 'https://api.github.com/users/DougTrajano/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/DougTrajano/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/DougTrajano/subscriptions', 'organizations_url': 'https://api.github.com/users/DougTrajano/orgs', 'repos_url': 'https://api.github.com/users/DougTrajano/repos', 'events_url': 'https://api.github.com/users/DougTrajano/events{/privacy}', 'received_events_url': 'https://api.github.com/users/DougTrajano/received_events', 'type': 'User', 'site_admin': False} | [] | open | false | null | [] | null | [] | 2022-08-11 11:57:15 | 2022-08-11 12:17:33 | null | NONE | null | false | {'url': 'https://api.github.com/repos/huggingface/datasets/pulls/4825', 'html_url': 'https://github.com/huggingface/datasets/pull/4825', 'diff_url': 'https://github.com/huggingface/datasets/pull/4825.diff', 'patch_url': 'https://github.com/huggingface/datasets/pull/4825.patch', 'merged_at': None} | In this PR, we are including an additional step when `os.rename()` raises a PermissionError.
Basically, we will use `shutil.move()` on the temp files.
Fix #2937 | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/4825/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/4825/timeline | null | null | true |
42 | https://api.github.com/repos/huggingface/datasets/issues/4824 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/4824/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/4824/comments | https://api.github.com/repos/huggingface/datasets/issues/4824/events | https://github.com/huggingface/datasets/pull/4824 | 1,335,826,639 | PR_kwDODunzps49BR5H | 4,824 | Fix titles in dataset cards | {'login': 'albertvillanova', 'id': 8515462, 'node_id': 'MDQ6VXNlcjg1MTU0NjI=', 'avatar_url': 'https://avatars.githubusercontent.com/u/8515462?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/albertvillanova', 'html_url': 'https://github.com/albertvillanova', 'followers_url': 'https://api.github.com/users/albertvillanova/followers', 'following_url': 'https://api.github.com/users/albertvillanova/following{/other_user}', 'gists_url': 'https://api.github.com/users/albertvillanova/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/albertvillanova/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/albertvillanova/subscriptions', 'organizations_url': 'https://api.github.com/users/albertvillanova/orgs', 'repos_url': 'https://api.github.com/users/albertvillanova/repos', 'events_url': 'https://api.github.com/users/albertvillanova/events{/privacy}', 'received_events_url': 'https://api.github.com/users/albertvillanova/received_events', 'type': 'User', 'site_admin': False} | [] | closed | false | null | [] | null | ['_The documentation is not available anymore as the PR was closed or merged._'
'The non-passing tests are caused by other missing information in the dataset cards.'] | 2022-08-11 11:27:48 | 2022-08-11 13:46:11 | null | MEMBER | null | false | {'url': 'https://api.github.com/repos/huggingface/datasets/pulls/4824', 'html_url': 'https://github.com/huggingface/datasets/pull/4824', 'diff_url': 'https://github.com/huggingface/datasets/pull/4824.diff', 'patch_url': 'https://github.com/huggingface/datasets/pull/4824.patch', 'merged_at': datetime.datetime(2022, 8, 11, 12, 56, 49)} | Fix all the titles in the dataset cards, so that they conform to the required format. | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/4824/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/4824/timeline | null | null | true |
43 | https://api.github.com/repos/huggingface/datasets/issues/4823 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/4823/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/4823/comments | https://api.github.com/repos/huggingface/datasets/issues/4823/events | https://github.com/huggingface/datasets/pull/4823 | 1,335,687,033 | PR_kwDODunzps49A0O_ | 4,823 | Update data URL in mkqa dataset | {'login': 'albertvillanova', 'id': 8515462, 'node_id': 'MDQ6VXNlcjg1MTU0NjI=', 'avatar_url': 'https://avatars.githubusercontent.com/u/8515462?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/albertvillanova', 'html_url': 'https://github.com/albertvillanova', 'followers_url': 'https://api.github.com/users/albertvillanova/followers', 'following_url': 'https://api.github.com/users/albertvillanova/following{/other_user}', 'gists_url': 'https://api.github.com/users/albertvillanova/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/albertvillanova/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/albertvillanova/subscriptions', 'organizations_url': 'https://api.github.com/users/albertvillanova/orgs', 'repos_url': 'https://api.github.com/users/albertvillanova/repos', 'events_url': 'https://api.github.com/users/albertvillanova/events{/privacy}', 'received_events_url': 'https://api.github.com/users/albertvillanova/received_events', 'type': 'User', 'site_admin': False} | [] | closed | false | null | [] | null | ['_The documentation is not available anymore as the PR was closed or merged._'] | 2022-08-11 09:16:13 | 2022-08-11 09:51:50 | null | MEMBER | null | false | {'url': 'https://api.github.com/repos/huggingface/datasets/pulls/4823', 'html_url': 'https://github.com/huggingface/datasets/pull/4823', 'diff_url': 'https://github.com/huggingface/datasets/pull/4823.diff', 'patch_url': 'https://github.com/huggingface/datasets/pull/4823.patch', 'merged_at': datetime.datetime(2022, 8, 11, 9, 37, 51)} | Update data URL in mkqa dataset.
Fix #4817. | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/4823/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/4823/timeline | null | null | true |
44 | https://api.github.com/repos/huggingface/datasets/issues/4822 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/4822/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/4822/comments | https://api.github.com/repos/huggingface/datasets/issues/4822/events | https://github.com/huggingface/datasets/issues/4822 | 1,335,675,352 | I_kwDODunzps5PnMnY | 4,822 | Moving dataset between namespaces breaks dataset viewer | {'login': 'cakiki', 'id': 3664563, 'node_id': 'MDQ6VXNlcjM2NjQ1NjM=', 'avatar_url': 'https://avatars.githubusercontent.com/u/3664563?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/cakiki', 'html_url': 'https://github.com/cakiki', 'followers_url': 'https://api.github.com/users/cakiki/followers', 'following_url': 'https://api.github.com/users/cakiki/following{/other_user}', 'gists_url': 'https://api.github.com/users/cakiki/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/cakiki/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/cakiki/subscriptions', 'organizations_url': 'https://api.github.com/users/cakiki/orgs', 'repos_url': 'https://api.github.com/users/cakiki/repos', 'events_url': 'https://api.github.com/users/cakiki/events{/privacy}', 'received_events_url': 'https://api.github.com/users/cakiki/received_events', 'type': 'User', 'site_admin': False} | [{'id': 1935892857, 'node_id': 'MDU6TGFiZWwxOTM1ODkyODU3', 'url': 'https://api.github.com/repos/huggingface/datasets/labels/bug', 'name': 'bug', 'color': 'd73a4a', 'default': True, 'description': "Something isn't working"}] | open | false | {'login': 'severo', 'id': 1676121, 'node_id': 'MDQ6VXNlcjE2NzYxMjE=', 'avatar_url': 'https://avatars.githubusercontent.com/u/1676121?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/severo', 'html_url': 'https://github.com/severo', 'followers_url': 'https://api.github.com/users/severo/followers', 'following_url': 'https://api.github.com/users/severo/following{/other_user}', 'gists_url': 'https://api.github.com/users/severo/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/severo/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/severo/subscriptions', 'organizations_url': 'https://api.github.com/users/severo/orgs', 'repos_url': 'https://api.github.com/users/severo/repos', 'events_url': 'https://api.github.com/users/severo/events{/privacy}', 'received_events_url': 'https://api.github.com/users/severo/received_events', 'type': 'User', 'site_admin': False} | [{'login': 'severo', 'id': 1676121, 'node_id': 'MDQ6VXNlcjE2NzYxMjE=', 'avatar_url': 'https://avatars.githubusercontent.com/u/1676121?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/severo', 'html_url': 'https://github.com/severo', 'followers_url': 'https://api.github.com/users/severo/followers', 'following_url': 'https://api.github.com/users/severo/following{/other_user}', 'gists_url': 'https://api.github.com/users/severo/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/severo/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/severo/subscriptions', 'organizations_url': 'https://api.github.com/users/severo/orgs', 'repos_url': 'https://api.github.com/users/severo/repos', 'events_url': 'https://api.github.com/users/severo/events{/privacy}', 'received_events_url': 'https://api.github.com/users/severo/received_events', 'type': 'User', 'site_admin': False}] | null | [] | 2022-08-11 09:05:30 | 2022-08-11 14:53:42 | null | CONTRIBUTOR | null | null | null | ## Describe the bug
I moved a dataset from my own namespace to an org and that broke the dataset viewer. To fix it I had to manually edit the `dataset_info.json` file and change the first key in the json from `username--datasetname` to `orgname--datasetname`
## Steps to reproduce the bug
What I did was:
1- Upload a dataset to my own namespace using `push_to_hub`
2- Move the dataset from my namespace to an org using the web interface.
## Expected results
For the file to be changed accordingly.
## Actual results
Broken dataset viewer.
## Environment info
- `datasets` version: 2.3.3.dev0
- Platform: Linux-4.15.0-189-generic-x86_64-with-Ubuntu-18.04-bionic
- Python version: 3.7.5
- PyArrow version: 7.0.0
- Pandas version: 1.3.5
| {'url': 'https://api.github.com/repos/huggingface/datasets/issues/4822/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/4822/timeline | null | null | false |
45 | https://api.github.com/repos/huggingface/datasets/issues/4821 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/4821/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/4821/comments | https://api.github.com/repos/huggingface/datasets/issues/4821/events | https://github.com/huggingface/datasets/pull/4821 | 1,335,664,588 | PR_kwDODunzps49AvaE | 4,821 | Fix train_test_split docs | {'login': 'NielsRogge', 'id': 48327001, 'node_id': 'MDQ6VXNlcjQ4MzI3MDAx', 'avatar_url': 'https://avatars.githubusercontent.com/u/48327001?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/NielsRogge', 'html_url': 'https://github.com/NielsRogge', 'followers_url': 'https://api.github.com/users/NielsRogge/followers', 'following_url': 'https://api.github.com/users/NielsRogge/following{/other_user}', 'gists_url': 'https://api.github.com/users/NielsRogge/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/NielsRogge/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/NielsRogge/subscriptions', 'organizations_url': 'https://api.github.com/users/NielsRogge/orgs', 'repos_url': 'https://api.github.com/users/NielsRogge/repos', 'events_url': 'https://api.github.com/users/NielsRogge/events{/privacy}', 'received_events_url': 'https://api.github.com/users/NielsRogge/received_events', 'type': 'User', 'site_admin': False} | [] | closed | false | null | [] | null | ['_The documentation is not available anymore as the PR was closed or merged._'] | 2022-08-11 08:55:45 | 2022-08-11 09:59:29 | null | CONTRIBUTOR | null | false | {'url': 'https://api.github.com/repos/huggingface/datasets/pulls/4821', 'html_url': 'https://github.com/huggingface/datasets/pull/4821', 'diff_url': 'https://github.com/huggingface/datasets/pull/4821.diff', 'patch_url': 'https://github.com/huggingface/datasets/pull/4821.patch', 'merged_at': datetime.datetime(2022, 8, 11, 9, 45, 40)} | I saw that `stratify` is added to the `train_test_split` method as per #4322, hence the docs can be updated. | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/4821/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/4821/timeline | null | null | true |
46 | https://api.github.com/repos/huggingface/datasets/issues/4820 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/4820/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/4820/comments | https://api.github.com/repos/huggingface/datasets/issues/4820/events | https://github.com/huggingface/datasets/issues/4820 | 1,335,117,132 | I_kwDODunzps5PlEVM | 4,820 | Terminating: fork() called from a process already using GNU OpenMP, this is unsafe. | {'login': 'talhaanwarch', 'id': 37379131, 'node_id': 'MDQ6VXNlcjM3Mzc5MTMx', 'avatar_url': 'https://avatars.githubusercontent.com/u/37379131?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/talhaanwarch', 'html_url': 'https://github.com/talhaanwarch', 'followers_url': 'https://api.github.com/users/talhaanwarch/followers', 'following_url': 'https://api.github.com/users/talhaanwarch/following{/other_user}', 'gists_url': 'https://api.github.com/users/talhaanwarch/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/talhaanwarch/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/talhaanwarch/subscriptions', 'organizations_url': 'https://api.github.com/users/talhaanwarch/orgs', 'repos_url': 'https://api.github.com/users/talhaanwarch/repos', 'events_url': 'https://api.github.com/users/talhaanwarch/events{/privacy}', 'received_events_url': 'https://api.github.com/users/talhaanwarch/received_events', 'type': 'User', 'site_admin': False} | [{'id': 1935892857, 'node_id': 'MDU6TGFiZWwxOTM1ODkyODU3', 'url': 'https://api.github.com/repos/huggingface/datasets/labels/bug', 'name': 'bug', 'color': 'd73a4a', 'default': True, 'description': "Something isn't working"}] | closed | false | null | [] | null | ['Fixed by installing either resampy<3 or resampy>=4'] | 2022-08-10 19:42:33 | 2022-08-10 19:53:10 | null | NONE | null | null | null | Hi, when i try to run prepare_dataset function in [fine tuning ASR tutorial 4](https://colab.research.google.com/github/patrickvonplaten/notebooks/blob/master/Fine_tuning_Wav2Vec2_for_English_ASR.ipynb) , i got this error.
I got this error
Terminating: fork() called from a process already using GNU OpenMP, this is unsafe.
There is no other logs available, so i have no clue what is the cause of it.
```
def prepare_dataset(batch):
audio = batch["path"]
# batched output is "un-batched"
batch["input_values"] = processor(audio["array"], sampling_rate=audio["sampling_rate"]).input_values[0]
batch["input_length"] = len(batch["input_values"])
with processor.as_target_processor():
batch["labels"] = processor(batch["text"]).input_ids
return batch
data = data.map(prepare_dataset, remove_columns=data.column_names["train"],
num_proc=4)
```
Specify the actual results or traceback.
There is no traceback except
`Terminating: fork() called from a process already using GNU OpenMP, this is unsafe.`
## Environment info
<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->
- `datasets` version: 2.4.0
- Platform: Linux-5.15.0-43-generic-x86_64-with-glibc2.29
- Python version: 3.8.10
- PyArrow version: 9.0.0
- Pandas version: 1.4.3
| {'url': 'https://api.github.com/repos/huggingface/datasets/issues/4820/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/4820/timeline | null | null | false |
47 | https://api.github.com/repos/huggingface/datasets/issues/4819 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/4819/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/4819/comments | https://api.github.com/repos/huggingface/datasets/issues/4819/events | https://github.com/huggingface/datasets/pull/4819 | 1,335,064,449 | PR_kwDODunzps48-xc6 | 4,819 | Add missing language tags to resources | {'login': 'albertvillanova', 'id': 8515462, 'node_id': 'MDQ6VXNlcjg1MTU0NjI=', 'avatar_url': 'https://avatars.githubusercontent.com/u/8515462?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/albertvillanova', 'html_url': 'https://github.com/albertvillanova', 'followers_url': 'https://api.github.com/users/albertvillanova/followers', 'following_url': 'https://api.github.com/users/albertvillanova/following{/other_user}', 'gists_url': 'https://api.github.com/users/albertvillanova/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/albertvillanova/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/albertvillanova/subscriptions', 'organizations_url': 'https://api.github.com/users/albertvillanova/orgs', 'repos_url': 'https://api.github.com/users/albertvillanova/repos', 'events_url': 'https://api.github.com/users/albertvillanova/events{/privacy}', 'received_events_url': 'https://api.github.com/users/albertvillanova/received_events', 'type': 'User', 'site_admin': False} | [] | closed | false | null | [] | null | ['_The documentation is not available anymore as the PR was closed or merged._'] | 2022-08-10 19:06:42 | 2022-08-10 19:45:49 | null | MEMBER | null | false | {'url': 'https://api.github.com/repos/huggingface/datasets/pulls/4819', 'html_url': 'https://github.com/huggingface/datasets/pull/4819', 'diff_url': 'https://github.com/huggingface/datasets/pull/4819.diff', 'patch_url': 'https://github.com/huggingface/datasets/pull/4819.patch', 'merged_at': datetime.datetime(2022, 8, 10, 19, 32, 15)} | Add missing language tags to resources, required by existing datasets on GitHub. | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/4819/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/4819/timeline | null | null | true |
48 | https://api.github.com/repos/huggingface/datasets/issues/4818 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/4818/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/4818/comments | https://api.github.com/repos/huggingface/datasets/issues/4818/events | https://github.com/huggingface/datasets/pull/4818 | 1,334,941,810 | PR_kwDODunzps48-W7a | 4,818 | Add add cc-by-sa-2.5 license tag | {'login': 'polinaeterna', 'id': 16348744, 'node_id': 'MDQ6VXNlcjE2MzQ4NzQ0', 'avatar_url': 'https://avatars.githubusercontent.com/u/16348744?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/polinaeterna', 'html_url': 'https://github.com/polinaeterna', 'followers_url': 'https://api.github.com/users/polinaeterna/followers', 'following_url': 'https://api.github.com/users/polinaeterna/following{/other_user}', 'gists_url': 'https://api.github.com/users/polinaeterna/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/polinaeterna/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/polinaeterna/subscriptions', 'organizations_url': 'https://api.github.com/users/polinaeterna/orgs', 'repos_url': 'https://api.github.com/users/polinaeterna/repos', 'events_url': 'https://api.github.com/users/polinaeterna/events{/privacy}', 'received_events_url': 'https://api.github.com/users/polinaeterna/received_events', 'type': 'User', 'site_admin': False} | [] | open | false | null | [] | null | ['The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_4818). All of your documentation changes will be reflected on that endpoint.'] | 2022-08-10 17:18:39 | 2022-08-10 17:55:01 | null | CONTRIBUTOR | null | true | {'url': 'https://api.github.com/repos/huggingface/datasets/pulls/4818', 'html_url': 'https://github.com/huggingface/datasets/pull/4818', 'diff_url': 'https://github.com/huggingface/datasets/pull/4818.diff', 'patch_url': 'https://github.com/huggingface/datasets/pull/4818.patch', 'merged_at': None} | - [ ] add it to moon-landing
- [ ] add it to hub-docs | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/4818/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/4818/timeline | null | null | true |
49 | https://api.github.com/repos/huggingface/datasets/issues/4817 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/4817/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/4817/comments | https://api.github.com/repos/huggingface/datasets/issues/4817/events | https://github.com/huggingface/datasets/issues/4817 | 1,334,572,163 | I_kwDODunzps5Pi_SD | 4,817 | Outdated Link for mkqa Dataset | {'login': 'liaeh', 'id': 52380283, 'node_id': 'MDQ6VXNlcjUyMzgwMjgz', 'avatar_url': 'https://avatars.githubusercontent.com/u/52380283?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/liaeh', 'html_url': 'https://github.com/liaeh', 'followers_url': 'https://api.github.com/users/liaeh/followers', 'following_url': 'https://api.github.com/users/liaeh/following{/other_user}', 'gists_url': 'https://api.github.com/users/liaeh/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/liaeh/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/liaeh/subscriptions', 'organizations_url': 'https://api.github.com/users/liaeh/orgs', 'repos_url': 'https://api.github.com/users/liaeh/repos', 'events_url': 'https://api.github.com/users/liaeh/events{/privacy}', 'received_events_url': 'https://api.github.com/users/liaeh/received_events', 'type': 'User', 'site_admin': False} | [{'id': 1935892857, 'node_id': 'MDU6TGFiZWwxOTM1ODkyODU3', 'url': 'https://api.github.com/repos/huggingface/datasets/labels/bug', 'name': 'bug', 'color': 'd73a4a', 'default': True, 'description': "Something isn't working"}] | closed | false | {'login': 'albertvillanova', 'id': 8515462, 'node_id': 'MDQ6VXNlcjg1MTU0NjI=', 'avatar_url': 'https://avatars.githubusercontent.com/u/8515462?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/albertvillanova', 'html_url': 'https://github.com/albertvillanova', 'followers_url': 'https://api.github.com/users/albertvillanova/followers', 'following_url': 'https://api.github.com/users/albertvillanova/following{/other_user}', 'gists_url': 'https://api.github.com/users/albertvillanova/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/albertvillanova/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/albertvillanova/subscriptions', 'organizations_url': 'https://api.github.com/users/albertvillanova/orgs', 'repos_url': 'https://api.github.com/users/albertvillanova/repos', 'events_url': 'https://api.github.com/users/albertvillanova/events{/privacy}', 'received_events_url': 'https://api.github.com/users/albertvillanova/received_events', 'type': 'User', 'site_admin': False} | [{'login': 'albertvillanova', 'id': 8515462, 'node_id': 'MDQ6VXNlcjg1MTU0NjI=', 'avatar_url': 'https://avatars.githubusercontent.com/u/8515462?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/albertvillanova', 'html_url': 'https://github.com/albertvillanova', 'followers_url': 'https://api.github.com/users/albertvillanova/followers', 'following_url': 'https://api.github.com/users/albertvillanova/following{/other_user}', 'gists_url': 'https://api.github.com/users/albertvillanova/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/albertvillanova/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/albertvillanova/subscriptions', 'organizations_url': 'https://api.github.com/users/albertvillanova/orgs', 'repos_url': 'https://api.github.com/users/albertvillanova/repos', 'events_url': 'https://api.github.com/users/albertvillanova/events{/privacy}', 'received_events_url': 'https://api.github.com/users/albertvillanova/received_events', 'type': 'User', 'site_admin': False}] | null | ['Thanks for reporting @liaeh, we are investigating this. '] | 2022-08-10 12:45:45 | 2022-08-11 09:37:52 | null | NONE | null | null | null | ## Describe the bug
The URL used to download the mkqa dataset is outdated. It seems the URL to download the dataset is currently https://github.com/apple/ml-mkqa/blob/main/dataset/mkqa.jsonl.gz instead of https://github.com/apple/ml-mkqa/raw/master/dataset/mkqa.jsonl.gz (master branch has been renamed to main).
## Steps to reproduce the bug
```python
from datasets import load_dataset
dataset = load_dataset("mkqa")
```
## Expected results
downloads the dataset
## Actual results
```python
Downloading builder script:
4.79k/? [00:00<00:00, 201kB/s]
Downloading metadata:
13.2k/? [00:00<00:00, 504kB/s]
Downloading and preparing dataset mkqa/mkqa (download: 11.35 MiB, generated: 34.29 MiB, post-processed: Unknown size, total: 45.65 MiB) to /home/lhr/.cache/huggingface/datasets/mkqa/mkqa/1.0.0/5401489c674c81257cf563417aaaa5de2c7e26a1090ce9b10eb0404f10003d4d...
Downloading data files: 0%
0/1 [00:00<?, ?it/s]
---------------------------------------------------------------------------
FileNotFoundError Traceback (most recent call last)
Input In [3], in <cell line: 3>()
1 from datasets import load_dataset
----> 3 dataset = load_dataset("mkqa")
File ~/repos/punc-cap/venv/lib/python3.9/site-packages/datasets/load.py:1746, in load_dataset(path, name, data_dir, data_files, split, cache_dir, features, download_config, download_mode, ignore_verifications, keep_in_memory, save_infos, revision, use_auth_token, task, streaming, **config_kwargs)
1743 try_from_hf_gcs = path not in _PACKAGED_DATASETS_MODULES
1745 # Download and prepare data
-> 1746 builder_instance.download_and_prepare(
1747 download_config=download_config,
1748 download_mode=download_mode,
1749 ignore_verifications=ignore_verifications,
1750 try_from_hf_gcs=try_from_hf_gcs,
1751 use_auth_token=use_auth_token,
1752 )
1754 # Build dataset for splits
1755 keep_in_memory = (
1756 keep_in_memory if keep_in_memory is not None else is_small_dataset(builder_instance.info.dataset_size)
1757 )
File ~/repos/punc-cap/venv/lib/python3.9/site-packages/datasets/builder.py:704, in DatasetBuilder.download_and_prepare(self, download_config, download_mode, ignore_verifications, try_from_hf_gcs, dl_manager, base_path, use_auth_token, **download_and_prepare_kwargs)
702 logger.warning("HF google storage unreachable. Downloading and preparing it from source")
703 if not downloaded_from_gcs:
--> 704 self._download_and_prepare(
705 dl_manager=dl_manager, verify_infos=verify_infos, **download_and_prepare_kwargs
706 )
707 # Sync info
708 self.info.dataset_size = sum(split.num_bytes for split in self.info.splits.values())
File ~/repos/punc-cap/venv/lib/python3.9/site-packages/datasets/builder.py:1227, in GeneratorBasedBuilder._download_and_prepare(self, dl_manager, verify_infos)
1226 def _download_and_prepare(self, dl_manager, verify_infos):
-> 1227 super()._download_and_prepare(dl_manager, verify_infos, check_duplicate_keys=verify_infos)
File ~/repos/punc-cap/venv/lib/python3.9/site-packages/datasets/builder.py:771, in DatasetBuilder._download_and_prepare(self, dl_manager, verify_infos, **prepare_split_kwargs)
769 split_dict = SplitDict(dataset_name=self.name)
770 split_generators_kwargs = self._make_split_generators_kwargs(prepare_split_kwargs)
--> 771 split_generators = self._split_generators(dl_manager, **split_generators_kwargs)
773 # Checksums verification
774 if verify_infos and dl_manager.record_checksums:
File ~/.cache/huggingface/modules/datasets_modules/datasets/mkqa/5401489c674c81257cf563417aaaa5de2c7e26a1090ce9b10eb0404f10003d4d/mkqa.py:130, in Mkqa._split_generators(self, dl_manager)
128 # download and extract URLs
129 urls_to_download = _URLS
--> 130 downloaded_files = dl_manager.download_and_extract(urls_to_download)
132 return [datasets.SplitGenerator(name=datasets.Split.TRAIN, gen_kwargs={"filepath": downloaded_files["train"]})]
File ~/repos/punc-cap/venv/lib/python3.9/site-packages/datasets/download/download_manager.py:431, in DownloadManager.download_and_extract(self, url_or_urls)
415 def download_and_extract(self, url_or_urls):
416 """Download and extract given url_or_urls.
417
418 Is roughly equivalent to:
(...)
429 extracted_path(s): `str`, extracted paths of given URL(s).
430 """
--> 431 return self.extract(self.download(url_or_urls))
File ~/repos/punc-cap/venv/lib/python3.9/site-packages/datasets/download/download_manager.py:309, in DownloadManager.download(self, url_or_urls)
306 download_func = partial(self._download, download_config=download_config)
308 start_time = datetime.now()
--> 309 downloaded_path_or_paths = map_nested(
310 download_func,
311 url_or_urls,
312 map_tuple=True,
313 num_proc=download_config.num_proc,
314 disable_tqdm=not is_progress_bar_enabled(),
315 desc="Downloading data files",
316 )
317 duration = datetime.now() - start_time
318 logger.info(f"Downloading took {duration.total_seconds() // 60} min")
File ~/repos/punc-cap/venv/lib/python3.9/site-packages/datasets/utils/py_utils.py:393, in map_nested(function, data_struct, dict_only, map_list, map_tuple, map_numpy, num_proc, types, disable_tqdm, desc)
391 num_proc = 1
392 if num_proc <= 1 or len(iterable) <= num_proc:
--> 393 mapped = [
394 _single_map_nested((function, obj, types, None, True, None))
395 for obj in logging.tqdm(iterable, disable=disable_tqdm, desc=desc)
396 ]
397 else:
398 split_kwds = [] # We organize the splits ourselve (contiguous splits)
File ~/repos/punc-cap/venv/lib/python3.9/site-packages/datasets/utils/py_utils.py:394, in <listcomp>(.0)
391 num_proc = 1
392 if num_proc <= 1 or len(iterable) <= num_proc:
393 mapped = [
--> 394 _single_map_nested((function, obj, types, None, True, None))
395 for obj in logging.tqdm(iterable, disable=disable_tqdm, desc=desc)
396 ]
397 else:
398 split_kwds = [] # We organize the splits ourselve (contiguous splits)
File ~/repos/punc-cap/venv/lib/python3.9/site-packages/datasets/utils/py_utils.py:330, in _single_map_nested(args)
328 # Singleton first to spare some computation
329 if not isinstance(data_struct, dict) and not isinstance(data_struct, types):
--> 330 return function(data_struct)
332 # Reduce logging to keep things readable in multiprocessing with tqdm
333 if rank is not None and logging.get_verbosity() < logging.WARNING:
File ~/repos/punc-cap/venv/lib/python3.9/site-packages/datasets/download/download_manager.py:335, in DownloadManager._download(self, url_or_filename, download_config)
332 if is_relative_path(url_or_filename):
333 # append the relative path to the base_path
334 url_or_filename = url_or_path_join(self._base_path, url_or_filename)
--> 335 return cached_path(url_or_filename, download_config=download_config)
File ~/repos/punc-cap/venv/lib/python3.9/site-packages/datasets/utils/file_utils.py:185, in cached_path(url_or_filename, download_config, **download_kwargs)
181 url_or_filename = str(url_or_filename)
183 if is_remote_url(url_or_filename):
184 # URL, so get it from the cache (downloading if necessary)
--> 185 output_path = get_from_cache(
186 url_or_filename,
187 cache_dir=cache_dir,
188 force_download=download_config.force_download,
189 proxies=download_config.proxies,
190 resume_download=download_config.resume_download,
191 user_agent=download_config.user_agent,
192 local_files_only=download_config.local_files_only,
193 use_etag=download_config.use_etag,
194 max_retries=download_config.max_retries,
195 use_auth_token=download_config.use_auth_token,
196 ignore_url_params=download_config.ignore_url_params,
197 download_desc=download_config.download_desc,
198 )
199 elif os.path.exists(url_or_filename):
200 # File, and it exists.
201 output_path = url_or_filename
File ~/repos/punc-cap/venv/lib/python3.9/site-packages/datasets/utils/file_utils.py:530, in get_from_cache(url, cache_dir, force_download, proxies, etag_timeout, resume_download, user_agent, local_files_only, use_etag, max_retries, use_auth_token, ignore_url_params, download_desc)
525 raise FileNotFoundError(
526 f"Cannot find the requested files in the cached path at {cache_path} and outgoing traffic has been"
527 " disabled. To enable file online look-ups, set 'local_files_only' to False."
528 )
529 elif response is not None and response.status_code == 404:
--> 530 raise FileNotFoundError(f"Couldn't find file at {url}")
531 _raise_if_offline_mode_is_enabled(f"Tried to reach {url}")
532 if head_error is not None:
FileNotFoundError: Couldn't find file at https://github.com/apple/ml-mkqa/raw/master/dataset/mkqa.jsonl.gz
```
## Environment info
- `datasets` version: 2.4.0
- Platform: Linux-5.13.0-40-generic-x86_64-with-glibc2.31
- Python version: 3.9.7
- PyArrow version: 9.0.0
- Pandas version: 1.4.2
| {'url': 'https://api.github.com/repos/huggingface/datasets/issues/4817/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/4817/timeline | null | null | false |
End of preview. Expand
in Dataset Viewer.
Dataset Card for GitHub-Issues
Dataset Summary
[More Information Needed]
Supported Tasks and Leaderboards
[More Information Needed]
Languages
[More Information Needed]
Dataset Structure
Data Instances
[More Information Needed]
Data Fields
[More Information Needed]
Data Splits
[More Information Needed]
Dataset Creation
Curation Rationale
[More Information Needed]
Source Data
Initial Data Collection and Normalization
[More Information Needed]
Who are the source language producers?
[More Information Needed]
Annotations
Annotation process
[More Information Needed]
Who are the annotators?
[More Information Needed]
Personal and Sensitive Information
[More Information Needed]
Considerations for Using the Data
Social Impact of Dataset
[More Information Needed]
Discussion of Biases
[More Information Needed]
Other Known Limitations
[More Information Needed]
Additional Information
Dataset Curators
[More Information Needed]
Licensing Information
[More Information Needed]
Citation Information
[More Information Needed]
Contributions
Thanks to @github-username for adding this dataset.
- Downloads last month
- 50