id
int64
1.14B
2.23B
labels_url
stringlengths
75
75
body
stringlengths
2
33.9k
updated_at
stringlengths
20
20
number
int64
3.76k
6.79k
milestone
dict
repository_url
stringclasses
1 value
draft
bool
2 classes
labels
listlengths
0
4
created_at
stringlengths
20
20
comments_url
stringlengths
70
70
assignee
dict
timeline_url
stringlengths
70
70
title
stringlengths
1
290
events_url
stringlengths
68
68
active_lock_reason
null
user
dict
assignees
listlengths
0
3
performed_via_github_app
null
state_reason
stringclasses
3 values
author_association
stringclasses
3 values
closed_at
stringlengths
20
20
pull_request
dict
node_id
stringlengths
18
19
comments
listlengths
0
30
reactions
dict
state
stringclasses
2 values
locked
bool
1 class
url
stringlengths
61
61
html_url
stringlengths
49
51
is_pull_request
bool
2 classes
1,349,105,946
https://api.github.com/repos/huggingface/datasets/issues/4884/labels{/name}
Fix documentation card of math_qa dataset.
2022-08-24T11:33:17Z
4,884
null
https://api.github.com/repos/huggingface/datasets
false
[]
2022-08-24T09:00:56Z
https://api.github.com/repos/huggingface/datasets/issues/4884/comments
null
https://api.github.com/repos/huggingface/datasets/issues/4884/timeline
Fix documentation card of math_qa dataset
https://api.github.com/repos/huggingface/datasets/issues/4884/events
null
{ "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "events_url": "https://api.github.com/users/albertvillanova/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/albertvillanova", "id": 8515462, "login": "albertvillanova", "node_id": "MDQ6VXNlcjg1MTU0NjI=", "organizations_url": "https://api.github.com/users/albertvillanova/orgs", "received_events_url": "https://api.github.com/users/albertvillanova/received_events", "repos_url": "https://api.github.com/users/albertvillanova/repos", "site_admin": false, "starred_url": "https://api.github.com/users/albertvillanova/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/albertvillanova/subscriptions", "type": "User", "url": "https://api.github.com/users/albertvillanova" }
[]
null
null
MEMBER
2022-08-24T11:33:16Z
{ "diff_url": "https://github.com/huggingface/datasets/pull/4884.diff", "html_url": "https://github.com/huggingface/datasets/pull/4884", "merged_at": "2022-08-24T11:33:16Z", "patch_url": "https://github.com/huggingface/datasets/pull/4884.patch", "url": "https://api.github.com/repos/huggingface/datasets/pulls/4884" }
PR_kwDODunzps49s6Aj
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_4884). All of your documentation changes will be reflected on that endpoint." ]
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/4884/reactions" }
closed
false
https://api.github.com/repos/huggingface/datasets/issues/4884
https://github.com/huggingface/datasets/pull/4884
true
1,349,083,235
https://api.github.com/repos/huggingface/datasets/issues/4883/labels{/name}
## Describe the bug When the HF datasets is used in conjunction with PyTorch Dataloader, the RSS memory of the process keeps on increasing when it should stay constant. ## Steps to reproduce the bug Run and observe the output of this snippet which logs RSS memory. ```python import psutil import os from transformers import BertTokenizer from datasets import load_dataset from torch.utils.data import DataLoader BATCH_SIZE = 32 NUM_TRIES = 10 tokenizer = BertTokenizer.from_pretrained("bert-base-uncased") def transform(x): x.update(tokenizer(x["text"], return_tensors="pt", max_length=64, padding="max_length", truncation=True)) x.pop("text") x.pop("label") return x dataset = load_dataset("imdb", split="train") dataset.set_transform(transform) train_loader = DataLoader(dataset, batch_size=BATCH_SIZE, shuffle=True, num_workers=4) mem_before = psutil.Process(os.getpid()).memory_info().rss / (1024 * 1024) count = 0 while count < NUM_TRIES: for idx, batch in enumerate(train_loader): mem_after = psutil.Process(os.getpid()).memory_info().rss / (1024 * 1024) print(count, idx, mem_after - mem_before) count += 1 ``` ## Expected results Memory should not increase after initial setup and loading of the dataset ## Actual results Memory continuously increases as can be seen in the log. ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: 2.3.2 - Platform: Linux-4.19.0-21-cloud-amd64-x86_64-with-glibc2.10 - Python version: 3.8.13 - PyArrow version: 7.0.0
2024-01-23T12:42:40Z
4,883
null
https://api.github.com/repos/huggingface/datasets
null
[ { "color": "d73a4a", "default": true, "description": "Something isn't working", "id": 1935892857, "name": "bug", "node_id": "MDU6TGFiZWwxOTM1ODkyODU3", "url": "https://api.github.com/repos/huggingface/datasets/labels/bug" } ]
2022-08-24T08:42:54Z
https://api.github.com/repos/huggingface/datasets/issues/4883/comments
null
https://api.github.com/repos/huggingface/datasets/issues/4883/timeline
With dataloader RSS memory consumed by HF datasets monotonically increases
https://api.github.com/repos/huggingface/datasets/issues/4883/events
null
{ "avatar_url": "https://avatars.githubusercontent.com/u/3616806?v=4", "events_url": "https://api.github.com/users/apsdehal/events{/privacy}", "followers_url": "https://api.github.com/users/apsdehal/followers", "following_url": "https://api.github.com/users/apsdehal/following{/other_user}", "gists_url": "https://api.github.com/users/apsdehal/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/apsdehal", "id": 3616806, "login": "apsdehal", "node_id": "MDQ6VXNlcjM2MTY4MDY=", "organizations_url": "https://api.github.com/users/apsdehal/orgs", "received_events_url": "https://api.github.com/users/apsdehal/received_events", "repos_url": "https://api.github.com/users/apsdehal/repos", "site_admin": false, "starred_url": "https://api.github.com/users/apsdehal/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/apsdehal/subscriptions", "type": "User", "url": "https://api.github.com/users/apsdehal" }
[]
null
null
CONTRIBUTOR
null
null
I_kwDODunzps5QaWBj
[ "Are you sure there is a leak? How can I see it? You shared the script but not the output which you believe should indicate a leak.\r\n\r\nI modified your reproduction script to print only once per try as your original was printing too much info and you absolutely must add `gc.collect()` when doing any memory measu...
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 3, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 3, "url": "https://api.github.com/repos/huggingface/datasets/issues/4883/reactions" }
open
false
https://api.github.com/repos/huggingface/datasets/issues/4883
https://github.com/huggingface/datasets/issues/4883
false
1,348,913,665
https://api.github.com/repos/huggingface/datasets/issues/4882/labels{/name}
This PR fixes/updates/adds ALL language tags from IANA (as of 2022-08-08). This PR also removes all BCP47 suffixes (the languages file only contains language subtags, i.e. ISO 639 1 or 2 codes; no script/region/variant suffixes). See: - #4753
2022-08-24T13:58:33Z
4,882
null
https://api.github.com/repos/huggingface/datasets
false
[]
2022-08-24T06:06:01Z
https://api.github.com/repos/huggingface/datasets/issues/4882/comments
null
https://api.github.com/repos/huggingface/datasets/issues/4882/timeline
Fix language tags resource file
https://api.github.com/repos/huggingface/datasets/issues/4882/events
null
{ "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "events_url": "https://api.github.com/users/albertvillanova/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/albertvillanova", "id": 8515462, "login": "albertvillanova", "node_id": "MDQ6VXNlcjg1MTU0NjI=", "organizations_url": "https://api.github.com/users/albertvillanova/orgs", "received_events_url": "https://api.github.com/users/albertvillanova/received_events", "repos_url": "https://api.github.com/users/albertvillanova/repos", "site_admin": false, "starred_url": "https://api.github.com/users/albertvillanova/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/albertvillanova/subscriptions", "type": "User", "url": "https://api.github.com/users/albertvillanova" }
[]
null
null
MEMBER
2022-08-24T13:58:30Z
{ "diff_url": "https://github.com/huggingface/datasets/pull/4882.diff", "html_url": "https://github.com/huggingface/datasets/pull/4882", "merged_at": "2022-08-24T13:58:30Z", "patch_url": "https://github.com/huggingface/datasets/pull/4882.patch", "url": "https://api.github.com/repos/huggingface/datasets/pulls/4882" }
PR_kwDODunzps49sRtv
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_4882). All of your documentation changes will be reflected on that endpoint." ]
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/4882/reactions" }
closed
false
https://api.github.com/repos/huggingface/datasets/issues/4882
https://github.com/huggingface/datasets/pull/4882
true
1,348,495,777
https://api.github.com/repos/huggingface/datasets/issues/4881/labels{/name}
**The problem:** Language diversity is an important dimension of the diversity of datasets. To find one's way around datasets, being able to search by language name and by standardized codes appears crucial. Currently the list of language codes is [here](https://github.com/huggingface/datasets/blob/main/src/datasets/utils/resources/languages.json), right? At about 1,500 entries, it is roughly at 1/4th of the world's diversity of extant languages. (Probably less, as the list of 1,418 contains variants that are linguistically very close: 108 varieties of English, for instance.) Looking forward to ever increasing coverage, how will the list of language names and language codes improve over time? Enrichment of the custom list by HFT contributors (like [here](https://github.com/huggingface/datasets/pull/4880)) has several issues: * progress is likely to be slow: ![image](https://user-images.githubusercontent.com/6072524/186253353-62f42168-3d31-4105-be1c-5eb1f818d528.png) (input required from reviewers, etc.) * the more contributors, the less consistency can be expected among contributions. No need to elaborate on how much confusion is likely to ensue as datasets accumulate. * there is no information on which language relates with which: no encoding of the special closeness between the languages of the Northwestern Germanic branch (English+Dutch+German etc.), for instance. Information on phylogenetic closeness can be relevant to run experiments on transfer of technology from one language to its close relatives. **A solution that seems desirable:** Connecting to an established database that (i) aims at full coverage of the world's languages and (ii) has information on higher-level groupings, alternative names, etc. It takes a lot of hard work to do such databases. Two important initiatives are [Ethnologue](https://www.ethnologue.com/) (ISO standard) and [Glottolog](https://glottolog.org/). Both have pros and cons. Glottolog contains references to Ethnologue identifiers, so adopting Glottolog entails getting the advantages of both sets of language codes. Both seem technically accessible & 'developer-friendly'. Glottolog has a [GitHub repo](https://github.com/glottolog/glottolog). For Ethnologue, harvesting tools have been devised (see [here](https://github.com/lyy1994/ethnologue); I did not try it out). In case a conversation with linguists seemed in order here, I'd be happy to participate ('pro bono', of course), & to rustle up more colleagues as useful, to help this useful development happen. With appreciation of HFT,
2023-01-03T08:32:35Z
4,881
null
https://api.github.com/repos/huggingface/datasets
null
[ { "color": "a2eeef", "default": true, "description": "New feature or request", "id": 1935892871, "name": "enhancement", "node_id": "MDU6TGFiZWwxOTM1ODkyODcx", "url": "https://api.github.com/repos/huggingface/datasets/labels/enhancement" } ]
2022-08-23T20:14:24Z
https://api.github.com/repos/huggingface/datasets/issues/4881/comments
null
https://api.github.com/repos/huggingface/datasets/issues/4881/timeline
Language names and language codes: connecting to a big database (rather than slow enrichment of custom list)
https://api.github.com/repos/huggingface/datasets/issues/4881/events
null
{ "avatar_url": "https://avatars.githubusercontent.com/u/6072524?v=4", "events_url": "https://api.github.com/users/alexis-michaud/events{/privacy}", "followers_url": "https://api.github.com/users/alexis-michaud/followers", "following_url": "https://api.github.com/users/alexis-michaud/following{/other_user}", "gists_url": "https://api.github.com/users/alexis-michaud/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/alexis-michaud", "id": 6072524, "login": "alexis-michaud", "node_id": "MDQ6VXNlcjYwNzI1MjQ=", "organizations_url": "https://api.github.com/users/alexis-michaud/orgs", "received_events_url": "https://api.github.com/users/alexis-michaud/received_events", "repos_url": "https://api.github.com/users/alexis-michaud/repos", "site_admin": false, "starred_url": "https://api.github.com/users/alexis-michaud/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/alexis-michaud/subscriptions", "type": "User", "url": "https://api.github.com/users/alexis-michaud" }
[]
null
null
NONE
null
null
I_kwDODunzps5QYGmh
[ "Thanks for opening this discussion, @alexis-michaud.\r\n\r\nAs the language validation procedure is shared with other Hugging Face projects, I'm tagging them as well.\r\n\r\nCC: @huggingface/moon-landing ", "on the Hub side, there is not fine grained validation we just check that `language:` contains an array of...
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/4881/reactions" }
open
false
https://api.github.com/repos/huggingface/datasets/issues/4881
https://github.com/huggingface/datasets/issues/4881
false
1,348,452,776
https://api.github.com/repos/huggingface/datasets/issues/4880/labels{/name}
Added names of less-studied languages (nru – Narua and jya – Japhug) for existing datasets.
2022-08-24T12:52:46Z
4,880
null
https://api.github.com/repos/huggingface/datasets
false
[]
2022-08-23T19:32:38Z
https://api.github.com/repos/huggingface/datasets/issues/4880/comments
null
https://api.github.com/repos/huggingface/datasets/issues/4880/timeline
Added names of less-studied languages
https://api.github.com/repos/huggingface/datasets/issues/4880/events
null
{ "avatar_url": "https://avatars.githubusercontent.com/u/23100612?v=4", "events_url": "https://api.github.com/users/BenjaminGalliot/events{/privacy}", "followers_url": "https://api.github.com/users/BenjaminGalliot/followers", "following_url": "https://api.github.com/users/BenjaminGalliot/following{/other_user}", "gists_url": "https://api.github.com/users/BenjaminGalliot/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/BenjaminGalliot", "id": 23100612, "login": "BenjaminGalliot", "node_id": "MDQ6VXNlcjIzMTAwNjEy", "organizations_url": "https://api.github.com/users/BenjaminGalliot/orgs", "received_events_url": "https://api.github.com/users/BenjaminGalliot/received_events", "repos_url": "https://api.github.com/users/BenjaminGalliot/repos", "site_admin": false, "starred_url": "https://api.github.com/users/BenjaminGalliot/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/BenjaminGalliot/subscriptions", "type": "User", "url": "https://api.github.com/users/BenjaminGalliot" }
[]
null
null
CONTRIBUTOR
2022-08-24T12:52:46Z
{ "diff_url": "https://github.com/huggingface/datasets/pull/4880.diff", "html_url": "https://github.com/huggingface/datasets/pull/4880", "merged_at": "2022-08-24T12:52:46Z", "patch_url": "https://github.com/huggingface/datasets/pull/4880.patch", "url": "https://api.github.com/repos/huggingface/datasets/pulls/4880" }
PR_kwDODunzps49qyJr
[ "OK, I removed Glottolog codes and only added ISO 639-3 ones. The former are for the moment in corpus card description, language details, and in subcorpora names.", "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_4880). All of your documentation changes will be reflected on ...
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/4880/reactions" }
closed
false
https://api.github.com/repos/huggingface/datasets/issues/4880
https://github.com/huggingface/datasets/pull/4880
true
1,348,346,407
https://api.github.com/repos/huggingface/datasets/issues/4879/labels{/name}
Fix Citation Information section in dataset cards: - cc_news - conllpp - datacommons_factcheck - gnad10 - id_panl_bppt - jigsaw_toxicity_pred - kinnews_kirnews - kor_sarcasm - makhzan - reasoning_bg - ro_sts - ro_sts_parallel - sanskrit_classic - telugu_news - thaiqa_squad - wiki_movies This PR partially fixes the Citation Information section in dataset cards. Subsequent PRs will follow to complete this task.
2022-09-27T14:04:45Z
4,879
null
https://api.github.com/repos/huggingface/datasets
false
[]
2022-08-23T18:06:43Z
https://api.github.com/repos/huggingface/datasets/issues/4879/comments
null
https://api.github.com/repos/huggingface/datasets/issues/4879/timeline
Fix Citation Information section in dataset cards
https://api.github.com/repos/huggingface/datasets/issues/4879/events
null
{ "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "events_url": "https://api.github.com/users/albertvillanova/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/albertvillanova", "id": 8515462, "login": "albertvillanova", "node_id": "MDQ6VXNlcjg1MTU0NjI=", "organizations_url": "https://api.github.com/users/albertvillanova/orgs", "received_events_url": "https://api.github.com/users/albertvillanova/received_events", "repos_url": "https://api.github.com/users/albertvillanova/repos", "site_admin": false, "starred_url": "https://api.github.com/users/albertvillanova/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/albertvillanova/subscriptions", "type": "User", "url": "https://api.github.com/users/albertvillanova" }
[]
null
null
MEMBER
2022-08-24T04:09:07Z
{ "diff_url": "https://github.com/huggingface/datasets/pull/4879.diff", "html_url": "https://github.com/huggingface/datasets/pull/4879", "merged_at": "2022-08-24T04:09:07Z", "patch_url": "https://github.com/huggingface/datasets/pull/4879.patch", "url": "https://api.github.com/repos/huggingface/datasets/pulls/4879" }
PR_kwDODunzps49qbOl
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_4879). All of your documentation changes will be reflected on that endpoint." ]
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/4879/reactions" }
closed
false
https://api.github.com/repos/huggingface/datasets/issues/4879
https://github.com/huggingface/datasets/pull/4879
true
1,348,270,141
https://api.github.com/repos/huggingface/datasets/issues/4878/labels{/name}
In the huggingface-hub dependency, the `identical_ok` argument has no effect in `upload_file` (and it will be removed soon) See https://github.com/huggingface/huggingface_hub/blob/43499582b19df1ed081a5b2bd7a364e9cacdc91d/src/huggingface_hub/hf_api.py#L2164-L2169 It's used here: https://github.com/huggingface/datasets/blob/fcfcc951a73efbc677f9def9a8707d0af93d5890/src/datasets/dataset_dict.py#L1373-L1381 https://github.com/huggingface/datasets/blob/fdcb8b144ce3ef241410281e125bd03e87b8caa1/src/datasets/arrow_dataset.py#L4354-L4362 https://github.com/huggingface/datasets/blob/fdcb8b144ce3ef241410281e125bd03e87b8caa1/src/datasets/arrow_dataset.py#L4197-L4213 We should remove it. Maybe the third code sample has an unexpected behavior since it uses the non-default value `identical_ok = False`, but the argument is ignored.
2022-09-13T14:00:06Z
4,878
null
https://api.github.com/repos/huggingface/datasets
null
[ { "color": "008672", "default": true, "description": "Extra attention is needed", "id": 1935892884, "name": "help wanted", "node_id": "MDU6TGFiZWwxOTM1ODkyODg0", "url": "https://api.github.com/repos/huggingface/datasets/labels/help%20wanted" }, { "color": "d876e3", "default":...
2022-08-23T17:09:55Z
https://api.github.com/repos/huggingface/datasets/issues/4878/comments
null
https://api.github.com/repos/huggingface/datasets/issues/4878/timeline
[not really a bug] `identical_ok` is deprecated in huggingface-hub's `upload_file`
https://api.github.com/repos/huggingface/datasets/issues/4878/events
null
{ "avatar_url": "https://avatars.githubusercontent.com/u/1676121?v=4", "events_url": "https://api.github.com/users/severo/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/severo", "id": 1676121, "login": "severo", "node_id": "MDQ6VXNlcjE2NzYxMjE=", "organizations_url": "https://api.github.com/users/severo/orgs", "received_events_url": "https://api.github.com/users/severo/received_events", "repos_url": "https://api.github.com/users/severo/repos", "site_admin": false, "starred_url": "https://api.github.com/users/severo/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/severo/subscriptions", "type": "User", "url": "https://api.github.com/users/severo" }
[]
null
completed
CONTRIBUTOR
2022-09-13T14:00:05Z
null
I_kwDODunzps5QXPg9
[ "Resolved via https://github.com/huggingface/datasets/pull/4937." ]
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/4878/reactions" }
closed
false
https://api.github.com/repos/huggingface/datasets/issues/4878
https://github.com/huggingface/datasets/issues/4878
false
1,348,246,755
https://api.github.com/repos/huggingface/datasets/issues/4877/labels{/name}
Fix documentation card of covid_qa_castorini dataset.
2022-08-23T18:05:01Z
4,877
null
https://api.github.com/repos/huggingface/datasets
false
[]
2022-08-23T16:52:33Z
https://api.github.com/repos/huggingface/datasets/issues/4877/comments
null
https://api.github.com/repos/huggingface/datasets/issues/4877/timeline
Fix documentation card of covid_qa_castorini dataset
https://api.github.com/repos/huggingface/datasets/issues/4877/events
null
{ "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "events_url": "https://api.github.com/users/albertvillanova/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/albertvillanova", "id": 8515462, "login": "albertvillanova", "node_id": "MDQ6VXNlcjg1MTU0NjI=", "organizations_url": "https://api.github.com/users/albertvillanova/orgs", "received_events_url": "https://api.github.com/users/albertvillanova/received_events", "repos_url": "https://api.github.com/users/albertvillanova/repos", "site_admin": false, "starred_url": "https://api.github.com/users/albertvillanova/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/albertvillanova/subscriptions", "type": "User", "url": "https://api.github.com/users/albertvillanova" }
[]
null
null
MEMBER
2022-08-23T18:05:00Z
{ "diff_url": "https://github.com/huggingface/datasets/pull/4877.diff", "html_url": "https://github.com/huggingface/datasets/pull/4877", "merged_at": "2022-08-23T18:05:00Z", "patch_url": "https://github.com/huggingface/datasets/pull/4877.patch", "url": "https://api.github.com/repos/huggingface/datasets/pulls/4877" }
PR_kwDODunzps49qF-w
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_4877). All of your documentation changes will be reflected on that endpoint." ]
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/4877/reactions" }
closed
false
https://api.github.com/repos/huggingface/datasets/issues/4877
https://github.com/huggingface/datasets/pull/4877
true
1,348,202,678
https://api.github.com/repos/huggingface/datasets/issues/4876/labels{/name}
Currently there are two places to find metadata for datasets: - datasets_infos.json, which contains **per dataset config** - description - citation - license - splits and sizes - checksums of the data files - feature types - and more - YAML tags, which contain - license - language - train-eval-index - and more It would be nice to have a single place instead. We can rely on the YAML tags more than the JSON file for consistency with models. And it would all be indexed by our back-end directly, which is nice to have. One way would be to move everything to the YAML tags except the checksums (there can be tens of thousands of them). The description/citation is already in the dataset card so we probably don't need to have them in the YAML card, it would be redundant. Here is an example for SQuAD ```yaml download_size: 35142551 dataset_size: 89789763 version: 1.0.0 splits: - name: train num_examples: 87599 num_bytes: 79317110 - name: validation num_examples: 10570 num_bytes: 10472653 features: - name: id dtype: string - name: title dtype: string - name: context dtype: string - name: question dtype: string - name: answers struct: - name: text list: dtype: string - name: answer_start list: dtype: int32 ``` Since there is only one configuration for SQuAD, this structure is ok. For datasets with several configs we can see in a second step, but IMO it would be ok to have these fields per config using another syntax ```yaml configs: - config: unlabeled splits: - name: train num_examples: 10000 features: - name: text dtype: string - config: labeled splits: - name: train num_examples: 100 features: - name: text dtype: string - name: label dtype: ClassLabel names: - negative - positive ``` So in the end you could specify a YAML tag either at the top level (for all configs) or per config in the `configs` field Alternatively we could keep config specific stuff in the `dataset_infos.json` as it it today Not sure yet what's the best approach here but cc @julien-c @mariosasko @albertvillanova @polinaeterna for feedback :)
2022-10-03T09:11:13Z
4,876
null
https://api.github.com/repos/huggingface/datasets
null
[]
2022-08-23T16:16:41Z
https://api.github.com/repos/huggingface/datasets/issues/4876/comments
{ "avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4", "events_url": "https://api.github.com/users/lhoestq/events{/privacy}", "followers_url": "https://api.github.com/users/lhoestq/followers", "following_url": "https://api.github.com/users/lhoestq/following{/other_user}", "gists_url": "https://api.github.com/users/lhoestq/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/lhoestq", "id": 42851186, "login": "lhoestq", "node_id": "MDQ6VXNlcjQyODUxMTg2", "organizations_url": "https://api.github.com/users/lhoestq/orgs", "received_events_url": "https://api.github.com/users/lhoestq/received_events", "repos_url": "https://api.github.com/users/lhoestq/repos", "site_admin": false, "starred_url": "https://api.github.com/users/lhoestq/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lhoestq/subscriptions", "type": "User", "url": "https://api.github.com/users/lhoestq" }
https://api.github.com/repos/huggingface/datasets/issues/4876/timeline
Move DatasetInfo from `datasets_infos.json` to the YAML tags in `README.md`
https://api.github.com/repos/huggingface/datasets/issues/4876/events
null
{ "avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4", "events_url": "https://api.github.com/users/lhoestq/events{/privacy}", "followers_url": "https://api.github.com/users/lhoestq/followers", "following_url": "https://api.github.com/users/lhoestq/following{/other_user}", "gists_url": "https://api.github.com/users/lhoestq/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/lhoestq", "id": 42851186, "login": "lhoestq", "node_id": "MDQ6VXNlcjQyODUxMTg2", "organizations_url": "https://api.github.com/users/lhoestq/orgs", "received_events_url": "https://api.github.com/users/lhoestq/received_events", "repos_url": "https://api.github.com/users/lhoestq/repos", "site_admin": false, "starred_url": "https://api.github.com/users/lhoestq/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lhoestq/subscriptions", "type": "User", "url": "https://api.github.com/users/lhoestq" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4", "events_url": "https://api.github.com/users/lhoestq/events{/privacy}", "followers_url": "https://api.github.com/users/lhoestq/followers", "following_url": "https://api.github.com/users/lhoestq/following{/other_user}", "gists...
null
completed
MEMBER
2022-10-03T09:11:13Z
null
I_kwDODunzps5QW_C2
[ "also @osanseviero @Pierrci @SBrandeis potentially", "Love this in principle 🚀 \r\n\r\nLet's keep in mind users might rely on `dataset_infos.json` already.\r\n\r\nI'm not convinced by the two-syntax solution, wouldn't it be simpler to have only one syntax with a `default` config for datasets with only one config...
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 4, "heart": 3, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 7, "url": "https://api.github.com/repos/huggingface/datasets/issues/4876/reactions" }
closed
false
https://api.github.com/repos/huggingface/datasets/issues/4876
https://github.com/huggingface/datasets/issues/4876
false
1,348,095,686
https://api.github.com/repos/huggingface/datasets/issues/4875/labels{/name}
## Describe the bug When calling [`_resolve_features()`](https://github.com/huggingface/datasets/blob/54b532a8a2f5353fdb0207578162153f7b2da2ec/src/datasets/iterable_dataset.py#L1255) on a gated dataset, ie. a dataset which requires a token to be loaded, the token seems to be ignored even if it has been provided to `load_dataset` before. ## Steps to reproduce the bug ```python import os os.environ["HF_ENDPOINT"] = "https://hub-ci.huggingface.co/" hf_token = "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" from datasets import load_dataset # public dataset_name = "__DUMMY_DATASETS_SERVER_USER__/repo_csv_data-16612654226756" config_name = "__DUMMY_DATASETS_SERVER_USER__--repo_csv_data-16612654226756" split_name = "train" iterable_dataset = load_dataset( dataset_name, name=config_name, split=split_name, streaming=True, use_auth_token=hf_token, ) iterable_dataset = iterable_dataset._resolve_features() print(iterable_dataset.features) # gated dataset_name = "__DUMMY_DATASETS_SERVER_USER__/repo_csv_data-16612654317644" config_name = "__DUMMY_DATASETS_SERVER_USER__--repo_csv_data-16612654317644" split_name = "train" iterable_dataset = load_dataset( dataset_name, name=config_name, split=split_name, streaming=True, use_auth_token=hf_token, ) try: iterable_dataset = iterable_dataset._resolve_features() except FileNotFoundError as e: print("FAILS") ``` ## Expected results I expect to have the same result on a public dataset and on a gated (or private) dataset, if the token has been provided. ## Actual results An exception is thrown on gated datasets. ## Environment info - `datasets` version: 2.4.0 - Platform: Linux-5.15.0-1017-aws-x86_64-with-glibc2.35 - Python version: 3.9.6 - PyArrow version: 7.0.0 - Pandas version: 1.4.2
2022-10-17T13:45:47Z
4,875
null
https://api.github.com/repos/huggingface/datasets
null
[]
2022-08-23T14:57:36Z
https://api.github.com/repos/huggingface/datasets/issues/4875/comments
{ "avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4", "events_url": "https://api.github.com/users/lhoestq/events{/privacy}", "followers_url": "https://api.github.com/users/lhoestq/followers", "following_url": "https://api.github.com/users/lhoestq/following{/other_user}", "gists_url": "https://api.github.com/users/lhoestq/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/lhoestq", "id": 42851186, "login": "lhoestq", "node_id": "MDQ6VXNlcjQyODUxMTg2", "organizations_url": "https://api.github.com/users/lhoestq/orgs", "received_events_url": "https://api.github.com/users/lhoestq/received_events", "repos_url": "https://api.github.com/users/lhoestq/repos", "site_admin": false, "starred_url": "https://api.github.com/users/lhoestq/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lhoestq/subscriptions", "type": "User", "url": "https://api.github.com/users/lhoestq" }
https://api.github.com/repos/huggingface/datasets/issues/4875/timeline
`_resolve_features` ignores the token
https://api.github.com/repos/huggingface/datasets/issues/4875/events
null
{ "avatar_url": "https://avatars.githubusercontent.com/u/1676121?v=4", "events_url": "https://api.github.com/users/severo/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/severo", "id": 1676121, "login": "severo", "node_id": "MDQ6VXNlcjE2NzYxMjE=", "organizations_url": "https://api.github.com/users/severo/orgs", "received_events_url": "https://api.github.com/users/severo/received_events", "repos_url": "https://api.github.com/users/severo/repos", "site_admin": false, "starred_url": "https://api.github.com/users/severo/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/severo/subscriptions", "type": "User", "url": "https://api.github.com/users/severo" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4", "events_url": "https://api.github.com/users/lhoestq/events{/privacy}", "followers_url": "https://api.github.com/users/lhoestq/followers", "following_url": "https://api.github.com/users/lhoestq/following{/other_user}", "gists...
null
reopened
CONTRIBUTOR
null
null
I_kwDODunzps5QWk7G
[ "Hi ! Your HF_ENDPOINT seems wrong because of the extra \"/\"\r\n```diff\r\n- os.environ[\"HF_ENDPOINT\"] = \"https://hub-ci.huggingface.co/\"\r\n+ os.environ[\"HF_ENDPOINT\"] = \"https://hub-ci.huggingface.co\"\r\n```\r\n\r\ncan you try again without the extra \"/\" ?", "Oh, yes, sorry, but it's not the issue.\r...
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/4875/reactions" }
open
false
https://api.github.com/repos/huggingface/datasets/issues/4875
https://github.com/huggingface/datasets/issues/4875
false
1,347,618,197
https://api.github.com/repos/huggingface/datasets/issues/4874/labels{/name}
null
2022-08-24T17:27:57Z
4,874
null
https://api.github.com/repos/huggingface/datasets
false
[]
2022-08-23T09:19:40Z
https://api.github.com/repos/huggingface/datasets/issues/4874/comments
null
https://api.github.com/repos/huggingface/datasets/issues/4874/timeline
[docs] Some tiny doc tweaks
https://api.github.com/repos/huggingface/datasets/issues/4874/events
null
{ "avatar_url": "https://avatars.githubusercontent.com/u/326577?v=4", "events_url": "https://api.github.com/users/julien-c/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/julien-c", "id": 326577, "login": "julien-c", "node_id": "MDQ6VXNlcjMyNjU3Nw==", "organizations_url": "https://api.github.com/users/julien-c/orgs", "received_events_url": "https://api.github.com/users/julien-c/received_events", "repos_url": "https://api.github.com/users/julien-c/repos", "site_admin": false, "starred_url": "https://api.github.com/users/julien-c/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/julien-c/subscriptions", "type": "User", "url": "https://api.github.com/users/julien-c" }
[]
null
null
MEMBER
2022-08-24T17:27:56Z
{ "diff_url": "https://github.com/huggingface/datasets/pull/4874.diff", "html_url": "https://github.com/huggingface/datasets/pull/4874", "merged_at": "2022-08-24T17:27:56Z", "patch_url": "https://github.com/huggingface/datasets/pull/4874.patch", "url": "https://api.github.com/repos/huggingface/datasets/pulls/4874" }
PR_kwDODunzps49n_nI
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_4874). All of your documentation changes will be reflected on that endpoint." ]
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/4874/reactions" }
closed
false
https://api.github.com/repos/huggingface/datasets/issues/4874
https://github.com/huggingface/datasets/pull/4874
true
1,347,592,022
https://api.github.com/repos/huggingface/datasets/issues/4873/labels{/name}
For the use of multiple datasets and tasks, we use around more than 200+ dataloaders, then pass it into `dataloader1, dataloader2, ..., dataloader200=accelerate.prepare(dataloader1, dataloader2, ..., dataloader200)` It causes the memory error when generating batches. Any solutions to it? ```bash File "/home/xxx/my_code/src/utils/data_utils.py", line 54, in generate_batch x = next(iterator) File "/home/xxx/anaconda3/envs/pt1.7/lib/python3.7/site-packages/accelerate/data_loader.py", line 301, in __iter__ for batch in super().__iter__(): File "/home/xxx/anaconda3/envs/pt1.7/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 435, in __next__ data = self._next_data() File "/home/xxx/anaconda3/envs/pt1.7/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 475, in _next_data data = self._dataset_fetcher.fetch(index) # may raise StopIteration File "/home/xxx/anaconda3/envs/pt1.7/lib/python3.7/site-packages/torch/utils/data/_utils/fetch.py", line 28, in fetch data.append(next(self.dataset_iter)) File "/home/xxx/anaconda3/envs/pt1.7/lib/python3.7/site-packages/accelerate/data_loader.py", line 249, in __iter__ for element in self.dataset: File "/home/xxx/anaconda3/envs/pt1.7/lib/python3.7/site-packages/datasets/iterable_dataset.py", line 503, in __iter__ for key, example in self._iter(): File "/home/xxx/anaconda3/envs/pt1.7/lib/python3.7/site-packages/datasets/iterable_dataset.py", line 500, in _iter yield from ex_iterable File "/home/xxx/anaconda3/envs/pt1.7/lib/python3.7/site-packages/datasets/iterable_dataset.py", line 231, in __iter__ new_key = "_".join(str(key) for key in keys) MemoryError ```
2023-01-26T02:01:11Z
4,873
null
https://api.github.com/repos/huggingface/datasets
null
[ { "color": "d73a4a", "default": true, "description": "Something isn't working", "id": 1935892857, "name": "bug", "node_id": "MDU6TGFiZWwxOTM1ODkyODU3", "url": "https://api.github.com/repos/huggingface/datasets/labels/bug" } ]
2022-08-23T08:59:50Z
https://api.github.com/repos/huggingface/datasets/issues/4873/comments
null
https://api.github.com/repos/huggingface/datasets/issues/4873/timeline
Multiple dataloader memory error
https://api.github.com/repos/huggingface/datasets/issues/4873/events
null
{ "avatar_url": "https://avatars.githubusercontent.com/u/13767887?v=4", "events_url": "https://api.github.com/users/cyk1337/events{/privacy}", "followers_url": "https://api.github.com/users/cyk1337/followers", "following_url": "https://api.github.com/users/cyk1337/following{/other_user}", "gists_url": "https://api.github.com/users/cyk1337/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/cyk1337", "id": 13767887, "login": "cyk1337", "node_id": "MDQ6VXNlcjEzNzY3ODg3", "organizations_url": "https://api.github.com/users/cyk1337/orgs", "received_events_url": "https://api.github.com/users/cyk1337/received_events", "repos_url": "https://api.github.com/users/cyk1337/repos", "site_admin": false, "starred_url": "https://api.github.com/users/cyk1337/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/cyk1337/subscriptions", "type": "User", "url": "https://api.github.com/users/cyk1337" }
[]
null
null
NONE
null
null
I_kwDODunzps5QUp9W
[ "Hi!\r\n\r\n200+ data loaders is a lot. Have you tried to reduce the number of datasets by concatenating/interleaving the ones with the same structure/task (the API is `{concatenate_datasets/interleave_datasets}([dset1, ..., dset_N])`)?", "Hi @mariosasko, thank you for your reply. I tried pre-concatenating differ...
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/4873/reactions" }
open
false
https://api.github.com/repos/huggingface/datasets/issues/4873
https://github.com/huggingface/datasets/issues/4873
false
1,347,180,765
https://api.github.com/repos/huggingface/datasets/issues/4872/labels{/name}
This PR is a first draft of how to create audio datasets (`AudioFolder` and loading script). Feel free to let me know if there are any specificities I'm missing for this. 🙂
2022-09-22T17:19:13Z
4,872
null
https://api.github.com/repos/huggingface/datasets
false
[ { "color": "0075ca", "default": true, "description": "Improvements or additions to documentation", "id": 1935892861, "name": "documentation", "node_id": "MDU6TGFiZWwxOTM1ODkyODYx", "url": "https://api.github.com/repos/huggingface/datasets/labels/documentation" } ]
2022-08-23T01:07:09Z
https://api.github.com/repos/huggingface/datasets/issues/4872/comments
null
https://api.github.com/repos/huggingface/datasets/issues/4872/timeline
Docs for creating an audio dataset
https://api.github.com/repos/huggingface/datasets/issues/4872/events
null
{ "avatar_url": "https://avatars.githubusercontent.com/u/59462357?v=4", "events_url": "https://api.github.com/users/stevhliu/events{/privacy}", "followers_url": "https://api.github.com/users/stevhliu/followers", "following_url": "https://api.github.com/users/stevhliu/following{/other_user}", "gists_url": "https://api.github.com/users/stevhliu/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/stevhliu", "id": 59462357, "login": "stevhliu", "node_id": "MDQ6VXNlcjU5NDYyMzU3", "organizations_url": "https://api.github.com/users/stevhliu/orgs", "received_events_url": "https://api.github.com/users/stevhliu/received_events", "repos_url": "https://api.github.com/users/stevhliu/repos", "site_admin": false, "starred_url": "https://api.github.com/users/stevhliu/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/stevhliu/subscriptions", "type": "User", "url": "https://api.github.com/users/stevhliu" }
[]
null
null
MEMBER
2022-09-21T10:27:04Z
{ "diff_url": "https://github.com/huggingface/datasets/pull/4872.diff", "html_url": "https://github.com/huggingface/datasets/pull/4872", "merged_at": "2022-09-21T10:27:04Z", "patch_url": "https://github.com/huggingface/datasets/pull/4872.patch", "url": "https://api.github.com/repos/huggingface/datasets/pulls/4872" }
PR_kwDODunzps49mjU9
[ "_The documentation is not available anymore as the PR was closed or merged._", "Awesome thanks ! I think we can also encourage TAR archives as for image dataset scripts (feel free to copy paste some parts from there lol)", "Thanks for all the great feedback @polinaeterna and @lhoestq! 🥰\r\n\r\nI added all the...
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/4872/reactions" }
closed
false
https://api.github.com/repos/huggingface/datasets/issues/4872
https://github.com/huggingface/datasets/pull/4872
true
1,346,703,568
https://api.github.com/repos/huggingface/datasets/issues/4871/labels{/name}
Fix https://github.com/huggingface/datasets/issues/4575 TODO: run `datasets-cli test`: - [x] wmt17 - [x] wmt18 - [x] wmt19
2022-08-23T10:00:20Z
4,871
null
https://api.github.com/repos/huggingface/datasets
false
[]
2022-08-22T16:42:09Z
https://api.github.com/repos/huggingface/datasets/issues/4871/comments
null
https://api.github.com/repos/huggingface/datasets/issues/4871/timeline
Fix: wmt datasets - fix CWMT zh subsets
https://api.github.com/repos/huggingface/datasets/issues/4871/events
null
{ "avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4", "events_url": "https://api.github.com/users/lhoestq/events{/privacy}", "followers_url": "https://api.github.com/users/lhoestq/followers", "following_url": "https://api.github.com/users/lhoestq/following{/other_user}", "gists_url": "https://api.github.com/users/lhoestq/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/lhoestq", "id": 42851186, "login": "lhoestq", "node_id": "MDQ6VXNlcjQyODUxMTg2", "organizations_url": "https://api.github.com/users/lhoestq/orgs", "received_events_url": "https://api.github.com/users/lhoestq/received_events", "repos_url": "https://api.github.com/users/lhoestq/repos", "site_admin": false, "starred_url": "https://api.github.com/users/lhoestq/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lhoestq/subscriptions", "type": "User", "url": "https://api.github.com/users/lhoestq" }
[]
null
null
MEMBER
2022-08-23T10:00:19Z
{ "diff_url": "https://github.com/huggingface/datasets/pull/4871.diff", "html_url": "https://github.com/huggingface/datasets/pull/4871", "merged_at": "2022-08-23T10:00:19Z", "patch_url": "https://github.com/huggingface/datasets/pull/4871.patch", "url": "https://api.github.com/repos/huggingface/datasets/pulls/4871" }
PR_kwDODunzps49k9Rm
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_4871). All of your documentation changes will be reflected on that endpoint." ]
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/4871/reactions" }
closed
false
https://api.github.com/repos/huggingface/datasets/issues/4871
https://github.com/huggingface/datasets/pull/4871
true
1,346,160,498
https://api.github.com/repos/huggingface/datasets/issues/4870/labels{/name}
null
2022-11-02T11:54:35Z
4,870
null
https://api.github.com/repos/huggingface/datasets
true
[]
2022-08-22T10:15:53Z
https://api.github.com/repos/huggingface/datasets/issues/4870/comments
null
https://api.github.com/repos/huggingface/datasets/issues/4870/timeline
audio folder check CI
https://api.github.com/repos/huggingface/datasets/issues/4870/events
null
{ "avatar_url": "https://avatars.githubusercontent.com/u/16348744?v=4", "events_url": "https://api.github.com/users/polinaeterna/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/polinaeterna", "id": 16348744, "login": "polinaeterna", "node_id": "MDQ6VXNlcjE2MzQ4NzQ0", "organizations_url": "https://api.github.com/users/polinaeterna/orgs", "received_events_url": "https://api.github.com/users/polinaeterna/received_events", "repos_url": "https://api.github.com/users/polinaeterna/repos", "site_admin": false, "starred_url": "https://api.github.com/users/polinaeterna/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/polinaeterna/subscriptions", "type": "User", "url": "https://api.github.com/users/polinaeterna" }
[]
null
null
CONTRIBUTOR
2022-08-22T12:19:40Z
{ "diff_url": "https://github.com/huggingface/datasets/pull/4870.diff", "html_url": "https://github.com/huggingface/datasets/pull/4870", "merged_at": null, "patch_url": "https://github.com/huggingface/datasets/pull/4870.patch", "url": "https://api.github.com/repos/huggingface/datasets/pulls/4870" }
PR_kwDODunzps49jGxD
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/4870/reactions" }
closed
false
https://api.github.com/repos/huggingface/datasets/issues/4870
https://github.com/huggingface/datasets/pull/4870
true
1,345,513,758
https://api.github.com/repos/huggingface/datasets/issues/4869/labels{/name}
null
2022-08-22T09:25:39Z
4,869
null
https://api.github.com/repos/huggingface/datasets
false
[]
2022-08-21T15:10:03Z
https://api.github.com/repos/huggingface/datasets/issues/4869/comments
null
https://api.github.com/repos/huggingface/datasets/issues/4869/timeline
Fix typos in documentation
https://api.github.com/repos/huggingface/datasets/issues/4869/events
null
{ "avatar_url": "https://avatars.githubusercontent.com/u/85993954?v=4", "events_url": "https://api.github.com/users/fl-lo/events{/privacy}", "followers_url": "https://api.github.com/users/fl-lo/followers", "following_url": "https://api.github.com/users/fl-lo/following{/other_user}", "gists_url": "https://api.github.com/users/fl-lo/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/fl-lo", "id": 85993954, "login": "fl-lo", "node_id": "MDQ6VXNlcjg1OTkzOTU0", "organizations_url": "https://api.github.com/users/fl-lo/orgs", "received_events_url": "https://api.github.com/users/fl-lo/received_events", "repos_url": "https://api.github.com/users/fl-lo/repos", "site_admin": false, "starred_url": "https://api.github.com/users/fl-lo/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/fl-lo/subscriptions", "type": "User", "url": "https://api.github.com/users/fl-lo" }
[]
null
null
CONTRIBUTOR
2022-08-22T09:09:58Z
{ "diff_url": "https://github.com/huggingface/datasets/pull/4869.diff", "html_url": "https://github.com/huggingface/datasets/pull/4869", "merged_at": "2022-08-22T09:09:58Z", "patch_url": "https://github.com/huggingface/datasets/pull/4869.patch", "url": "https://api.github.com/repos/huggingface/datasets/pulls/4869" }
PR_kwDODunzps49hBGY
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/4869/reactions" }
closed
false
https://api.github.com/repos/huggingface/datasets/issues/4869
https://github.com/huggingface/datasets/pull/4869
true
1,345,191,322
https://api.github.com/repos/huggingface/datasets/issues/4868/labels{/name}
I'm addding the MAFAND dataset by Masakhane based on the paper/repository below: Paper: https://aclanthology.org/2022.naacl-main.223/ Code: https://github.com/masakhane-io/lafand-mt Please, help merge this Everything works except for creating dummy data file
2022-08-22T11:00:50Z
4,868
null
https://api.github.com/repos/huggingface/datasets
false
[ { "color": "ffffff", "default": true, "description": "This will not be worked on", "id": 1935892913, "name": "wontfix", "node_id": "MDU6TGFiZWwxOTM1ODkyOTEz", "url": "https://api.github.com/repos/huggingface/datasets/labels/wontfix" } ]
2022-08-20T15:26:14Z
https://api.github.com/repos/huggingface/datasets/issues/4868/comments
null
https://api.github.com/repos/huggingface/datasets/issues/4868/timeline
adding mafand to datasets
https://api.github.com/repos/huggingface/datasets/issues/4868/events
null
{ "avatar_url": "https://avatars.githubusercontent.com/u/23586676?v=4", "events_url": "https://api.github.com/users/dadelani/events{/privacy}", "followers_url": "https://api.github.com/users/dadelani/followers", "following_url": "https://api.github.com/users/dadelani/following{/other_user}", "gists_url": "https://api.github.com/users/dadelani/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/dadelani", "id": 23586676, "login": "dadelani", "node_id": "MDQ6VXNlcjIzNTg2Njc2", "organizations_url": "https://api.github.com/users/dadelani/orgs", "received_events_url": "https://api.github.com/users/dadelani/received_events", "repos_url": "https://api.github.com/users/dadelani/repos", "site_admin": false, "starred_url": "https://api.github.com/users/dadelani/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/dadelani/subscriptions", "type": "User", "url": "https://api.github.com/users/dadelani" }
[]
null
null
CONTRIBUTOR
2022-08-22T08:52:23Z
{ "diff_url": "https://github.com/huggingface/datasets/pull/4868.diff", "html_url": "https://github.com/huggingface/datasets/pull/4868", "merged_at": null, "patch_url": "https://github.com/huggingface/datasets/pull/4868.patch", "url": "https://api.github.com/repos/huggingface/datasets/pulls/4868" }
PR_kwDODunzps49gBk0
[ "_The documentation is not available anymore as the PR was closed or merged._", "Hi @dadelani, thanks for your awesome contribution!!! :heart: \r\n\r\nHowever, now we are using the Hub to add new datasets, instead of this GitHub repo. \r\n\r\nYou could share this dataset under your Hub organization namespace: [Ma...
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/4868/reactions" }
closed
false
https://api.github.com/repos/huggingface/datasets/issues/4868
https://github.com/huggingface/datasets/pull/4868
true
1,344,982,646
https://api.github.com/repos/huggingface/datasets/issues/4867/labels{/name}
Related to #4479 .
2022-08-22T09:14:03Z
4,867
null
https://api.github.com/repos/huggingface/datasets
false
[]
2022-08-19T23:44:39Z
https://api.github.com/repos/huggingface/datasets/issues/4867/comments
null
https://api.github.com/repos/huggingface/datasets/issues/4867/timeline
Complete tags of superglue dataset card
https://api.github.com/repos/huggingface/datasets/issues/4867/events
null
{ "avatar_url": "https://avatars.githubusercontent.com/u/17963619?v=4", "events_url": "https://api.github.com/users/richarddwang/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/richarddwang", "id": 17963619, "login": "richarddwang", "node_id": "MDQ6VXNlcjE3OTYzNjE5", "organizations_url": "https://api.github.com/users/richarddwang/orgs", "received_events_url": "https://api.github.com/users/richarddwang/received_events", "repos_url": "https://api.github.com/users/richarddwang/repos", "site_admin": false, "starred_url": "https://api.github.com/users/richarddwang/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/richarddwang/subscriptions", "type": "User", "url": "https://api.github.com/users/richarddwang" }
[]
null
null
CONTRIBUTOR
2022-08-22T08:58:31Z
{ "diff_url": "https://github.com/huggingface/datasets/pull/4867.diff", "html_url": "https://github.com/huggingface/datasets/pull/4867", "merged_at": "2022-08-22T08:58:31Z", "patch_url": "https://github.com/huggingface/datasets/pull/4867.patch", "url": "https://api.github.com/repos/huggingface/datasets/pulls/4867" }
PR_kwDODunzps49fZle
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/4867/reactions" }
closed
false
https://api.github.com/repos/huggingface/datasets/issues/4867
https://github.com/huggingface/datasets/pull/4867
true
1,344,809,132
https://api.github.com/repos/huggingface/datasets/issues/4866/labels{/name}
display dunder method in docsting with underlines an not bold markdown.
2022-09-09T16:33:11Z
4,866
null
https://api.github.com/repos/huggingface/datasets
false
[]
2022-08-19T19:09:15Z
https://api.github.com/repos/huggingface/datasets/issues/4866/comments
null
https://api.github.com/repos/huggingface/datasets/issues/4866/timeline
amend docstring for dunder
https://api.github.com/repos/huggingface/datasets/issues/4866/events
null
{ "avatar_url": "https://avatars.githubusercontent.com/u/37704298?v=4", "events_url": "https://api.github.com/users/schafsam/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/schafsam", "id": 37704298, "login": "schafsam", "node_id": "MDQ6VXNlcjM3NzA0Mjk4", "organizations_url": "https://api.github.com/users/schafsam/orgs", "received_events_url": "https://api.github.com/users/schafsam/received_events", "repos_url": "https://api.github.com/users/schafsam/repos", "site_admin": false, "starred_url": "https://api.github.com/users/schafsam/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/schafsam/subscriptions", "type": "User", "url": "https://api.github.com/users/schafsam" }
[]
null
null
NONE
null
{ "diff_url": "https://github.com/huggingface/datasets/pull/4866.diff", "html_url": "https://github.com/huggingface/datasets/pull/4866", "merged_at": null, "patch_url": "https://github.com/huggingface/datasets/pull/4866.patch", "url": "https://api.github.com/repos/huggingface/datasets/pulls/4866" }
PR_kwDODunzps49e1CP
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_4866). All of your documentation changes will be reflected on that endpoint." ]
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/4866/reactions" }
open
false
https://api.github.com/repos/huggingface/datasets/issues/4866
https://github.com/huggingface/datasets/pull/4866
true
1,344,552,626
https://api.github.com/repos/huggingface/datasets/issues/4865/labels{/name}
### 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_
2022-08-22T14:47:14Z
4,865
null
https://api.github.com/repos/huggingface/datasets
null
[ { "color": "E5583E", "default": false, "description": "Related to the dataset viewer on huggingface.co", "id": 3470211881, "name": "dataset-viewer", "node_id": "LA_kwDODunzps7O1zsp", "url": "https://api.github.com/repos/huggingface/datasets/labels/dataset-viewer" } ]
2022-08-19T14:55:20Z
https://api.github.com/repos/huggingface/datasets/issues/4865/comments
{ "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "events_url": "https://api.github.com/users/albertvillanova/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/albertvillanova", "id": 8515462, "login": "albertvillanova", "node_id": "MDQ6VXNlcjg1MTU0NjI=", "organizations_url": "https://api.github.com/users/albertvillanova/orgs", "received_events_url": "https://api.github.com/users/albertvillanova/received_events", "repos_url": "https://api.github.com/users/albertvillanova/repos", "site_admin": false, "starred_url": "https://api.github.com/users/albertvillanova/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/albertvillanova/subscriptions", "type": "User", "url": "https://api.github.com/users/albertvillanova" }
https://api.github.com/repos/huggingface/datasets/issues/4865/timeline
Dataset Viewer issue for MoritzLaurer/multilingual_nli
https://api.github.com/repos/huggingface/datasets/issues/4865/events
null
{ "avatar_url": "https://avatars.githubusercontent.com/u/41862082?v=4", "events_url": "https://api.github.com/users/MoritzLaurer/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/MoritzLaurer", "id": 41862082, "login": "MoritzLaurer", "node_id": "MDQ6VXNlcjQxODYyMDgy", "organizations_url": "https://api.github.com/users/MoritzLaurer/orgs", "received_events_url": "https://api.github.com/users/MoritzLaurer/received_events", "repos_url": "https://api.github.com/users/MoritzLaurer/repos", "site_admin": false, "starred_url": "https://api.github.com/users/MoritzLaurer/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/MoritzLaurer/subscriptions", "type": "User", "url": "https://api.github.com/users/MoritzLaurer" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "events_url": "https://api.github.com/users/albertvillanova/events{/privacy}", "followers_url": "https://api.github.com/users/albertvillanova/followers", "following_url": "https://api.github.com/users/albertvillanova/following{/o...
null
completed
NONE
2022-08-22T06:13:20Z
null
I_kwDODunzps5QJD6y
[ "Thanks for reporting @MoritzLaurer.\r\n\r\nCurrently, the dataset preview is working properly: https://huggingface.co/datasets/MoritzLaurer/multilingual_nli\r\n\r\nPlease note that when a dataset is modified, it might take some time until the preview is completely updated.\r\n\r\n@severo might it be worth adding ...
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/4865/reactions" }
closed
false
https://api.github.com/repos/huggingface/datasets/issues/4865
https://github.com/huggingface/datasets/issues/4865
false
1,344,410,043
https://api.github.com/repos/huggingface/datasets/issues/4864/labels{/name}
**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.
2023-03-12T11:25:49Z
4,864
null
https://api.github.com/repos/huggingface/datasets
null
[ { "color": "a2eeef", "default": true, "description": "New feature or request", "id": 1935892871, "name": "enhancement", "node_id": "MDU6TGFiZWwxOTM1ODkyODcx", "url": "https://api.github.com/repos/huggingface/datasets/labels/enhancement" } ]
2022-08-19T12:59:17Z
https://api.github.com/repos/huggingface/datasets/issues/4864/comments
null
https://api.github.com/repos/huggingface/datasets/issues/4864/timeline
Allow pathlib PoxisPath in Dataset.read_json
https://api.github.com/repos/huggingface/datasets/issues/4864/events
null
{ "avatar_url": "https://avatars.githubusercontent.com/u/31893406?v=4", "events_url": "https://api.github.com/users/cccntu/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/cccntu", "id": 31893406, "login": "cccntu", "node_id": "MDQ6VXNlcjMxODkzNDA2", "organizations_url": "https://api.github.com/users/cccntu/orgs", "received_events_url": "https://api.github.com/users/cccntu/received_events", "repos_url": "https://api.github.com/users/cccntu/repos", "site_admin": false, "starred_url": "https://api.github.com/users/cccntu/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/cccntu/subscriptions", "type": "User", "url": "https://api.github.com/users/cccntu" }
[]
null
null
CONTRIBUTOR
null
null
I_kwDODunzps5QIhG7
[ "This same error will occur using `ds = datasets.load_dataset('json', data_files=['test.jsonl'])`", "@cccntu I want to make a quick fix for this, but I am struggling to find where the json dataset builder is. Do you know?", "@vvvm23 I think you mean think:\r\n```python\r\nds = datasets.load_dataset('json', data...
{ "+1": 3, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 3, "url": "https://api.github.com/repos/huggingface/datasets/issues/4864/reactions" }
open
false
https://api.github.com/repos/huggingface/datasets/issues/4864
https://github.com/huggingface/datasets/issues/4864
false
1,343,737,668
https://api.github.com/repos/huggingface/datasets/issues/4863/labels{/name}
## 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).
2022-08-22T09:41:45Z
4,863
null
https://api.github.com/repos/huggingface/datasets
null
[ { "color": "e99695", "default": false, "description": "Requesting to add a new dataset", "id": 2067376369, "name": "dataset request", "node_id": "MDU6TGFiZWwyMDY3Mzc2MzY5", "url": "https://api.github.com/repos/huggingface/datasets/labels/dataset%20request" } ]
2022-08-18T23:06:30Z
https://api.github.com/repos/huggingface/datasets/issues/4863/comments
null
https://api.github.com/repos/huggingface/datasets/issues/4863/timeline
TFDS wiki_dialog dataset to Huggingface dataset
https://api.github.com/repos/huggingface/datasets/issues/4863/events
null
{ "avatar_url": "https://avatars.githubusercontent.com/u/12378820?v=4", "events_url": "https://api.github.com/users/djaym7/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/djaym7", "id": 12378820, "login": "djaym7", "node_id": "MDQ6VXNlcjEyMzc4ODIw", "organizations_url": "https://api.github.com/users/djaym7/orgs", "received_events_url": "https://api.github.com/users/djaym7/received_events", "repos_url": "https://api.github.com/users/djaym7/repos", "site_admin": false, "starred_url": "https://api.github.com/users/djaym7/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/djaym7/subscriptions", "type": "User", "url": "https://api.github.com/users/djaym7" }
[]
null
completed
NONE
2022-08-22T05:18:53Z
null
I_kwDODunzps5QF89E
[ "@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", "Thanks for the addition, @djay...
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/4863/reactions" }
closed
false
https://api.github.com/repos/huggingface/datasets/issues/4863
https://github.com/huggingface/datasets/issues/4863
false
1,343,464,699
https://api.github.com/repos/huggingface/datasets/issues/4862/labels{/name}
## 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
2022-08-31T09:25:08Z
4,862
null
https://api.github.com/repos/huggingface/datasets
null
[ { "color": "d73a4a", "default": true, "description": "Something isn't working", "id": 1935892857, "name": "bug", "node_id": "MDU6TGFiZWwxOTM1ODkyODU3", "url": "https://api.github.com/repos/huggingface/datasets/labels/bug" } ]
2022-08-18T18:36:14Z
https://api.github.com/repos/huggingface/datasets/issues/4862/comments
{ "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "events_url": "https://api.github.com/users/albertvillanova/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/albertvillanova", "id": 8515462, "login": "albertvillanova", "node_id": "MDQ6VXNlcjg1MTU0NjI=", "organizations_url": "https://api.github.com/users/albertvillanova/orgs", "received_events_url": "https://api.github.com/users/albertvillanova/received_events", "repos_url": "https://api.github.com/users/albertvillanova/repos", "site_admin": false, "starred_url": "https://api.github.com/users/albertvillanova/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/albertvillanova/subscriptions", "type": "User", "url": "https://api.github.com/users/albertvillanova" }
https://api.github.com/repos/huggingface/datasets/issues/4862/timeline
Got "AttributeError: 'xPath' object has no attribute 'read'" when loading an excel dataset with my own code
https://api.github.com/repos/huggingface/datasets/issues/4862/events
null
{ "avatar_url": "https://avatars.githubusercontent.com/u/38536635?v=4", "events_url": "https://api.github.com/users/yana-xuyan/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/yana-xuyan", "id": 38536635, "login": "yana-xuyan", "node_id": "MDQ6VXNlcjM4NTM2NjM1", "organizations_url": "https://api.github.com/users/yana-xuyan/orgs", "received_events_url": "https://api.github.com/users/yana-xuyan/received_events", "repos_url": "https://api.github.com/users/yana-xuyan/repos", "site_admin": false, "starred_url": "https://api.github.com/users/yana-xuyan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/yana-xuyan/subscriptions", "type": "User", "url": "https://api.github.com/users/yana-xuyan" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "events_url": "https://api.github.com/users/albertvillanova/events{/privacy}", "followers_url": "https://api.github.com/users/albertvillanova/followers", "following_url": "https://api.github.com/users/albertvillanova/following{/o...
null
completed
NONE
2022-08-31T09:25:08Z
null
I_kwDODunzps5QE6T7
[ "What's more, the downloaded data is actually a folder instead of an excel file.", "Hi hi, instead of using `download_and_extract` function, I only use `download` function: `base_dir = Path(dl_manager.download(urls))`. It turns out that the code works for `datasets==2.2.2`, however, it doesn't work with `datasets...
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/4862/reactions" }
closed
false
https://api.github.com/repos/huggingface/datasets/issues/4862
https://github.com/huggingface/datasets/issues/4862
false
1,343,260,220
https://api.github.com/repos/huggingface/datasets/issues/4861/labels{/name}
**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.
2023-01-26T18:36:28Z
4,861
null
https://api.github.com/repos/huggingface/datasets
null
[ { "color": "a2eeef", "default": true, "description": "New feature or request", "id": 1935892871, "name": "enhancement", "node_id": "MDU6TGFiZWwxOTM1ODkyODcx", "url": "https://api.github.com/repos/huggingface/datasets/labels/enhancement" } ]
2022-08-18T15:18:18Z
https://api.github.com/repos/huggingface/datasets/issues/4861/comments
null
https://api.github.com/repos/huggingface/datasets/issues/4861/timeline
Using disk for memory with the method `from_dict`
https://api.github.com/repos/huggingface/datasets/issues/4861/events
null
{ "avatar_url": "https://avatars.githubusercontent.com/u/44556846?v=4", "events_url": "https://api.github.com/users/HugoLaurencon/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/HugoLaurencon", "id": 44556846, "login": "HugoLaurencon", "node_id": "MDQ6VXNlcjQ0NTU2ODQ2", "organizations_url": "https://api.github.com/users/HugoLaurencon/orgs", "received_events_url": "https://api.github.com/users/HugoLaurencon/received_events", "repos_url": "https://api.github.com/users/HugoLaurencon/repos", "site_admin": false, "starred_url": "https://api.github.com/users/HugoLaurencon/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/HugoLaurencon/subscriptions", "type": "User", "url": "https://api.github.com/users/HugoLaurencon" }
[]
null
null
MEMBER
null
null
I_kwDODunzps5QEIY8
[ "This issue was also causing an OOM in @nateraw 's workflow and shows again that behavior is confusing - we should definitely switch to using the disk IMO" ]
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/4861/reactions" }
open
false
https://api.github.com/repos/huggingface/datasets/issues/4861
https://github.com/huggingface/datasets/issues/4861
false
1,342,311,540
https://api.github.com/repos/huggingface/datasets/issues/4860/labels{/name}
null
2022-08-23T20:02:45Z
4,860
null
https://api.github.com/repos/huggingface/datasets
false
[ { "color": "ffffff", "default": true, "description": "This will not be worked on", "id": 1935892913, "name": "wontfix", "node_id": "MDU6TGFiZWwxOTM1ODkyOTEz", "url": "https://api.github.com/repos/huggingface/datasets/labels/wontfix" } ]
2022-08-17T21:31:42Z
https://api.github.com/repos/huggingface/datasets/issues/4860/comments
null
https://api.github.com/repos/huggingface/datasets/issues/4860/timeline
Add collection3 dataset
https://api.github.com/repos/huggingface/datasets/issues/4860/events
null
{ "avatar_url": "https://avatars.githubusercontent.com/u/16446994?v=4", "events_url": "https://api.github.com/users/pefimov/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/pefimov", "id": 16446994, "login": "pefimov", "node_id": "MDQ6VXNlcjE2NDQ2OTk0", "organizations_url": "https://api.github.com/users/pefimov/orgs", "received_events_url": "https://api.github.com/users/pefimov/received_events", "repos_url": "https://api.github.com/users/pefimov/repos", "site_admin": false, "starred_url": "https://api.github.com/users/pefimov/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/pefimov/subscriptions", "type": "User", "url": "https://api.github.com/users/pefimov" }
[]
null
null
NONE
2022-08-22T09:08:59Z
{ "diff_url": "https://github.com/huggingface/datasets/pull/4860.diff", "html_url": "https://github.com/huggingface/datasets/pull/4860", "merged_at": null, "patch_url": "https://github.com/huggingface/datasets/pull/4860.patch", "url": "https://api.github.com/repos/huggingface/datasets/pulls/4860" }
PR_kwDODunzps49WjEu
[ "Hi @pefimov. Thanks for you awesome work on this dataset contribution.\r\n\r\nHowever, now we are using the Hub to add new datasets, instead of this GitHub repo. \r\n\r\nYou could share this dataset under the appropriate Hub organization namespace. This way the dataset will be accessible using:\r\n```python\r\nds ...
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/4860/reactions" }
closed
false
https://api.github.com/repos/huggingface/datasets/issues/4860
https://github.com/huggingface/datasets/pull/4860
true
1,342,231,016
https://api.github.com/repos/huggingface/datasets/issues/4859/labels{/name}
## 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
2022-08-17T19:57:37Z
4,859
null
https://api.github.com/repos/huggingface/datasets
null
[ { "color": "d73a4a", "default": true, "description": "Something isn't working", "id": 1935892857, "name": "bug", "node_id": "MDU6TGFiZWwxOTM1ODkyODU3", "url": "https://api.github.com/repos/huggingface/datasets/labels/bug" } ]
2022-08-17T19:57:37Z
https://api.github.com/repos/huggingface/datasets/issues/4859/comments
null
https://api.github.com/repos/huggingface/datasets/issues/4859/timeline
can't install using conda on Windows 10
https://api.github.com/repos/huggingface/datasets/issues/4859/events
null
{ "avatar_url": "https://avatars.githubusercontent.com/u/22627691?v=4", "events_url": "https://api.github.com/users/xoffey/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/xoffey", "id": 22627691, "login": "xoffey", "node_id": "MDQ6VXNlcjIyNjI3Njkx", "organizations_url": "https://api.github.com/users/xoffey/orgs", "received_events_url": "https://api.github.com/users/xoffey/received_events", "repos_url": "https://api.github.com/users/xoffey/repos", "site_admin": false, "starred_url": "https://api.github.com/users/xoffey/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/xoffey/subscriptions", "type": "User", "url": "https://api.github.com/users/xoffey" }
[]
null
null
NONE
null
null
I_kwDODunzps5QANHo
[]
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/4859/reactions" }
open
false
https://api.github.com/repos/huggingface/datasets/issues/4859
https://github.com/huggingface/datasets/issues/4859
false
1,340,859,853
https://api.github.com/repos/huggingface/datasets/issues/4858/labels{/name}
## 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
2022-09-22T13:55:24Z
4,858
null
https://api.github.com/repos/huggingface/datasets
null
[ { "color": "d73a4a", "default": true, "description": "Something isn't working", "id": 1935892857, "name": "bug", "node_id": "MDU6TGFiZWwxOTM1ODkyODU3", "url": "https://api.github.com/repos/huggingface/datasets/labels/bug" } ]
2022-08-16T20:42:30Z
https://api.github.com/repos/huggingface/datasets/issues/4858/comments
null
https://api.github.com/repos/huggingface/datasets/issues/4858/timeline
map() function removes columns when input_columns is not None
https://api.github.com/repos/huggingface/datasets/issues/4858/events
null
{ "avatar_url": "https://avatars.githubusercontent.com/u/16939722?v=4", "events_url": "https://api.github.com/users/pramodith/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/pramodith", "id": 16939722, "login": "pramodith", "node_id": "MDQ6VXNlcjE2OTM5NzIy", "organizations_url": "https://api.github.com/users/pramodith/orgs", "received_events_url": "https://api.github.com/users/pramodith/received_events", "repos_url": "https://api.github.com/users/pramodith/repos", "site_admin": false, "starred_url": "https://api.github.com/users/pramodith/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/pramodith/subscriptions", "type": "User", "url": "https://api.github.com/users/pramodith" }
[]
null
completed
NONE
2022-09-22T13:55:24Z
null
I_kwDODunzps5P6-XN
[ "Hi! Thanks for reporting! This looks like a bug. I've just opened a PR with the fix.", "Awesome! Thank you. I'll close the issue once the PR gets merged. :-)", "I guess we should reopen after the revert by:\r\n- #5006" ]
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/4858/reactions" }
closed
false
https://api.github.com/repos/huggingface/datasets/issues/4858
https://github.com/huggingface/datasets/issues/4858
false
1,340,397,153
https://api.github.com/repos/huggingface/datasets/issues/4857/labels{/name}
## 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/
2022-08-17T13:35:08Z
4,857
null
https://api.github.com/repos/huggingface/datasets
null
[ { "color": "d73a4a", "default": true, "description": "Something isn't working", "id": 1935892857, "name": "bug", "node_id": "MDU6TGFiZWwxOTM1ODkyODU3", "url": "https://api.github.com/repos/huggingface/datasets/labels/bug" } ]
2022-08-16T13:55:33Z
https://api.github.com/repos/huggingface/datasets/issues/4857/comments
null
https://api.github.com/repos/huggingface/datasets/issues/4857/timeline
No preprocessed wikipedia is working on huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/4857/events
null
{ "avatar_url": "https://avatars.githubusercontent.com/u/30733039?v=4", "events_url": "https://api.github.com/users/aninrusimha/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/aninrusimha", "id": 30733039, "login": "aninrusimha", "node_id": "MDQ6VXNlcjMwNzMzMDM5", "organizations_url": "https://api.github.com/users/aninrusimha/orgs", "received_events_url": "https://api.github.com/users/aninrusimha/received_events", "repos_url": "https://api.github.com/users/aninrusimha/repos", "site_admin": false, "starred_url": "https://api.github.com/users/aninrusimha/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/aninrusimha/subscriptions", "type": "User", "url": "https://api.github.com/users/aninrusimha" }
[]
null
completed
NONE
2022-08-17T13:35:08Z
null
I_kwDODunzps5P5NZh
[ "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...
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/4857/reactions" }
closed
false
https://api.github.com/repos/huggingface/datasets/issues/4857
https://github.com/huggingface/datasets/issues/4857
false
1,339,779,957
https://api.github.com/repos/huggingface/datasets/issues/4856/labels{/name}
## 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
2023-01-04T03:39:12Z
4,856
null
https://api.github.com/repos/huggingface/datasets
null
[ { "color": "d73a4a", "default": true, "description": "Something isn't working", "id": 1935892857, "name": "bug", "node_id": "MDU6TGFiZWwxOTM1ODkyODU3", "url": "https://api.github.com/repos/huggingface/datasets/labels/bug" } ]
2022-08-16T04:04:22Z
https://api.github.com/repos/huggingface/datasets/issues/4856/comments
null
https://api.github.com/repos/huggingface/datasets/issues/4856/timeline
file missing when load_dataset with openwebtext on windows
https://api.github.com/repos/huggingface/datasets/issues/4856/events
null
{ "avatar_url": "https://avatars.githubusercontent.com/u/10361976?v=4", "events_url": "https://api.github.com/users/kingstarcraft/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/kingstarcraft", "id": 10361976, "login": "kingstarcraft", "node_id": "MDQ6VXNlcjEwMzYxOTc2", "organizations_url": "https://api.github.com/users/kingstarcraft/orgs", "received_events_url": "https://api.github.com/users/kingstarcraft/received_events", "repos_url": "https://api.github.com/users/kingstarcraft/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kingstarcraft/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kingstarcraft/subscriptions", "type": "User", "url": "https://api.github.com/users/kingstarcraft" }
[]
null
completed
NONE
2023-01-04T03:39:12Z
null
I_kwDODunzps5P22t1
[ "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/0901d27f43b7e9ac0577da0d0061c8c632ba0b70ecd...
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/4856/reactions" }
closed
false
https://api.github.com/repos/huggingface/datasets/issues/4856
https://github.com/huggingface/datasets/issues/4856
false
1,339,699,975
https://api.github.com/repos/huggingface/datasets/issues/4855/labels{/name}
### Link https://huggingface.co/datasets/super_glue ### Description can't view super_glue dataset on the web page ### Owner _No response_
2022-08-22T10:08:01Z
4,855
null
https://api.github.com/repos/huggingface/datasets
null
[ { "color": "E5583E", "default": false, "description": "Related to the dataset viewer on huggingface.co", "id": 3470211881, "name": "dataset-viewer", "node_id": "LA_kwDODunzps7O1zsp", "url": "https://api.github.com/repos/huggingface/datasets/labels/dataset-viewer" } ]
2022-08-16T01:34:56Z
https://api.github.com/repos/huggingface/datasets/issues/4855/comments
null
https://api.github.com/repos/huggingface/datasets/issues/4855/timeline
Dataset Viewer issue for super_glue
https://api.github.com/repos/huggingface/datasets/issues/4855/events
null
{ "avatar_url": "https://avatars.githubusercontent.com/u/54366859?v=4", "events_url": "https://api.github.com/users/wzsxxa/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/wzsxxa", "id": 54366859, "login": "wzsxxa", "node_id": "MDQ6VXNlcjU0MzY2ODU5", "organizations_url": "https://api.github.com/users/wzsxxa/orgs", "received_events_url": "https://api.github.com/users/wzsxxa/received_events", "repos_url": "https://api.github.com/users/wzsxxa/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wzsxxa/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wzsxxa/subscriptions", "type": "User", "url": "https://api.github.com/users/wzsxxa" }
[]
null
completed
NONE
2022-08-22T10:07:45Z
null
I_kwDODunzps5P2jMH
[ "Thanks for reporting @wzsxxa.\r\n\r\nHowever the \"super_glue\" dataset is rendered properly by the Dataset preview: https://huggingface.co/datasets/super_glue" ]
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/4855/reactions" }
closed
false
https://api.github.com/repos/huggingface/datasets/issues/4855
https://github.com/huggingface/datasets/issues/4855
false
1,339,456,490
https://api.github.com/repos/huggingface/datasets/issues/4853/labels{/name}
Fix #4852.
2022-08-16T06:43:57Z
4,853
null
https://api.github.com/repos/huggingface/datasets
false
[]
2022-08-15T20:17:57Z
https://api.github.com/repos/huggingface/datasets/issues/4853/comments
null
https://api.github.com/repos/huggingface/datasets/issues/4853/timeline
Fix bug and checksums in exams dataset
https://api.github.com/repos/huggingface/datasets/issues/4853/events
null
{ "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "events_url": "https://api.github.com/users/albertvillanova/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/albertvillanova", "id": 8515462, "login": "albertvillanova", "node_id": "MDQ6VXNlcjg1MTU0NjI=", "organizations_url": "https://api.github.com/users/albertvillanova/orgs", "received_events_url": "https://api.github.com/users/albertvillanova/received_events", "repos_url": "https://api.github.com/users/albertvillanova/repos", "site_admin": false, "starred_url": "https://api.github.com/users/albertvillanova/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/albertvillanova/subscriptions", "type": "User", "url": "https://api.github.com/users/albertvillanova" }
[]
null
null
MEMBER
2022-08-16T06:29:06Z
{ "diff_url": "https://github.com/huggingface/datasets/pull/4853.diff", "html_url": "https://github.com/huggingface/datasets/pull/4853", "merged_at": "2022-08-16T06:29:06Z", "patch_url": "https://github.com/huggingface/datasets/pull/4853.patch", "url": "https://api.github.com/repos/huggingface/datasets/pulls/4853" }
PR_kwDODunzps49NFNL
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 1, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 1, "url": "https://api.github.com/repos/huggingface/datasets/issues/4853/reactions" }
closed
false
https://api.github.com/repos/huggingface/datasets/issues/4853
https://github.com/huggingface/datasets/pull/4853
true
1,339,450,991
https://api.github.com/repos/huggingface/datasets/issues/4852/labels{/name}
## 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
2022-09-16T09:50:55Z
4,852
null
https://api.github.com/repos/huggingface/datasets
null
[ { "color": "d73a4a", "default": true, "description": "Something isn't working", "id": 1935892857, "name": "bug", "node_id": "MDU6TGFiZWwxOTM1ODkyODU3", "url": "https://api.github.com/repos/huggingface/datasets/labels/bug" } ]
2022-08-15T20:14:52Z
https://api.github.com/repos/huggingface/datasets/issues/4852/comments
{ "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "events_url": "https://api.github.com/users/albertvillanova/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/albertvillanova", "id": 8515462, "login": "albertvillanova", "node_id": "MDQ6VXNlcjg1MTU0NjI=", "organizations_url": "https://api.github.com/users/albertvillanova/orgs", "received_events_url": "https://api.github.com/users/albertvillanova/received_events", "repos_url": "https://api.github.com/users/albertvillanova/repos", "site_admin": false, "starred_url": "https://api.github.com/users/albertvillanova/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/albertvillanova/subscriptions", "type": "User", "url": "https://api.github.com/users/albertvillanova" }
https://api.github.com/repos/huggingface/datasets/issues/4852/timeline
Bug in multilingual_with_para config of exams dataset and checksums error
https://api.github.com/repos/huggingface/datasets/issues/4852/events
null
{ "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "events_url": "https://api.github.com/users/albertvillanova/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/albertvillanova", "id": 8515462, "login": "albertvillanova", "node_id": "MDQ6VXNlcjg1MTU0NjI=", "organizations_url": "https://api.github.com/users/albertvillanova/orgs", "received_events_url": "https://api.github.com/users/albertvillanova/received_events", "repos_url": "https://api.github.com/users/albertvillanova/repos", "site_admin": false, "starred_url": "https://api.github.com/users/albertvillanova/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/albertvillanova/subscriptions", "type": "User", "url": "https://api.github.com/users/albertvillanova" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "events_url": "https://api.github.com/users/albertvillanova/events{/privacy}", "followers_url": "https://api.github.com/users/albertvillanova/followers", "following_url": "https://api.github.com/users/albertvillanova/following{/o...
null
completed
MEMBER
2022-08-16T06:29:07Z
null
I_kwDODunzps5P1mZv
[ "Hi @albertvillanova. Unfortunately I still get this error. Is this because the merge has yet to be released? Is there a way to track the release?", "Hi @thesofakillers, yes you are right: the fix will be available after next release (it was planned for today; Monday at the latest).\r\n\r\nIn the meantime, you ca...
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 1, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 1, "url": "https://api.github.com/repos/huggingface/datasets/issues/4852/reactions" }
closed
false
https://api.github.com/repos/huggingface/datasets/issues/4852
https://github.com/huggingface/datasets/issues/4852
false
1,339,085,917
https://api.github.com/repos/huggingface/datasets/issues/4851/labels{/name}
Fixed the data source and license fields
2022-08-22T13:56:24Z
4,851
null
https://api.github.com/repos/huggingface/datasets
false
[]
2022-08-15T14:37:00Z
https://api.github.com/repos/huggingface/datasets/issues/4851/comments
null
https://api.github.com/repos/huggingface/datasets/issues/4851/timeline
Fix license tag and Source Data section in billsum dataset card
https://api.github.com/repos/huggingface/datasets/issues/4851/events
null
{ "avatar_url": "https://avatars.githubusercontent.com/u/8100?v=4", "events_url": "https://api.github.com/users/kashif/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/kashif", "id": 8100, "login": "kashif", "node_id": "MDQ6VXNlcjgxMDA=", "organizations_url": "https://api.github.com/users/kashif/orgs", "received_events_url": "https://api.github.com/users/kashif/received_events", "repos_url": "https://api.github.com/users/kashif/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kashif/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kashif/subscriptions", "type": "User", "url": "https://api.github.com/users/kashif" }
[]
null
null
CONTRIBUTOR
2022-08-22T13:40:59Z
{ "diff_url": "https://github.com/huggingface/datasets/pull/4851.diff", "html_url": "https://github.com/huggingface/datasets/pull/4851", "merged_at": "2022-08-22T13:40:59Z", "patch_url": "https://github.com/huggingface/datasets/pull/4851.patch", "url": "https://api.github.com/repos/huggingface/datasets/pulls/4851" }
PR_kwDODunzps49L6ee
[ "_The documentation is not available anymore as the PR was closed or merged._", "thanks @albertvillanova done thank you!" ]
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/4851/reactions" }
closed
false
https://api.github.com/repos/huggingface/datasets/issues/4851
https://github.com/huggingface/datasets/pull/4851
true
1,338,702,306
https://api.github.com/repos/huggingface/datasets/issues/4850/labels{/name}
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`
2022-08-15T09:42:56Z
4,850
null
https://api.github.com/repos/huggingface/datasets
false
[]
2022-08-15T08:37:58Z
https://api.github.com/repos/huggingface/datasets/issues/4850/comments
null
https://api.github.com/repos/huggingface/datasets/issues/4850/timeline
Fix test of _get_extraction_protocol for TAR files
https://api.github.com/repos/huggingface/datasets/issues/4850/events
null
{ "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "events_url": "https://api.github.com/users/albertvillanova/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/albertvillanova", "id": 8515462, "login": "albertvillanova", "node_id": "MDQ6VXNlcjg1MTU0NjI=", "organizations_url": "https://api.github.com/users/albertvillanova/orgs", "received_events_url": "https://api.github.com/users/albertvillanova/received_events", "repos_url": "https://api.github.com/users/albertvillanova/repos", "site_admin": false, "starred_url": "https://api.github.com/users/albertvillanova/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/albertvillanova/subscriptions", "type": "User", "url": "https://api.github.com/users/albertvillanova" }
[]
null
null
MEMBER
2022-08-15T09:28:46Z
{ "diff_url": "https://github.com/huggingface/datasets/pull/4850.diff", "html_url": "https://github.com/huggingface/datasets/pull/4850", "merged_at": "2022-08-15T09:28:46Z", "patch_url": "https://github.com/huggingface/datasets/pull/4850.patch", "url": "https://api.github.com/repos/huggingface/datasets/pulls/4850" }
PR_kwDODunzps49KnZ8
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/4850/reactions" }
closed
false
https://api.github.com/repos/huggingface/datasets/issues/4850
https://github.com/huggingface/datasets/pull/4850
true
1,338,273,900
https://api.github.com/repos/huggingface/datasets/issues/4849/labels{/name}
null
2022-08-14T15:10:02Z
4,849
null
https://api.github.com/repos/huggingface/datasets
false
[]
2022-08-14T15:09:19Z
https://api.github.com/repos/huggingface/datasets/issues/4849/comments
null
https://api.github.com/repos/huggingface/datasets/issues/4849/timeline
1.18.x
https://api.github.com/repos/huggingface/datasets/issues/4849/events
null
{ "avatar_url": "https://avatars.githubusercontent.com/u/49282718?v=4", "events_url": "https://api.github.com/users/Mr-Robot-001/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/Mr-Robot-001", "id": 49282718, "login": "Mr-Robot-001", "node_id": "MDQ6VXNlcjQ5MjgyNzE4", "organizations_url": "https://api.github.com/users/Mr-Robot-001/orgs", "received_events_url": "https://api.github.com/users/Mr-Robot-001/received_events", "repos_url": "https://api.github.com/users/Mr-Robot-001/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Mr-Robot-001/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Mr-Robot-001/subscriptions", "type": "User", "url": "https://api.github.com/users/Mr-Robot-001" }
[]
null
null
NONE
2022-08-14T15:10:02Z
{ "diff_url": "https://github.com/huggingface/datasets/pull/4849.diff", "html_url": "https://github.com/huggingface/datasets/pull/4849", "merged_at": null, "patch_url": "https://github.com/huggingface/datasets/pull/4849.patch", "url": "https://api.github.com/repos/huggingface/datasets/pulls/4849" }
PR_kwDODunzps49JN8d
[]
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/4849/reactions" }
closed
false
https://api.github.com/repos/huggingface/datasets/issues/4849
https://github.com/huggingface/datasets/pull/4849
true
1,338,271,833
https://api.github.com/repos/huggingface/datasets/issues/4848/labels{/name}
null
2022-08-14T15:09:59Z
4,848
null
https://api.github.com/repos/huggingface/datasets
false
[]
2022-08-14T15:01:16Z
https://api.github.com/repos/huggingface/datasets/issues/4848/comments
null
https://api.github.com/repos/huggingface/datasets/issues/4848/timeline
a
https://api.github.com/repos/huggingface/datasets/issues/4848/events
null
{ "avatar_url": "https://avatars.githubusercontent.com/u/49282718?v=4", "events_url": "https://api.github.com/users/Mr-Robot-001/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/Mr-Robot-001", "id": 49282718, "login": "Mr-Robot-001", "node_id": "MDQ6VXNlcjQ5MjgyNzE4", "organizations_url": "https://api.github.com/users/Mr-Robot-001/orgs", "received_events_url": "https://api.github.com/users/Mr-Robot-001/received_events", "repos_url": "https://api.github.com/users/Mr-Robot-001/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Mr-Robot-001/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Mr-Robot-001/subscriptions", "type": "User", "url": "https://api.github.com/users/Mr-Robot-001" }
[]
null
null
NONE
2022-08-14T15:09:59Z
{ "diff_url": "https://github.com/huggingface/datasets/pull/4848.diff", "html_url": "https://github.com/huggingface/datasets/pull/4848", "merged_at": null, "patch_url": "https://github.com/huggingface/datasets/pull/4848.patch", "url": "https://api.github.com/repos/huggingface/datasets/pulls/4848" }
PR_kwDODunzps49JNj_
[]
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/4848/reactions" }
closed
false
https://api.github.com/repos/huggingface/datasets/issues/4848
https://github.com/huggingface/datasets/pull/4848
true
1,338,270,636
https://api.github.com/repos/huggingface/datasets/issues/4847/labels{/name}
aa
2023-09-24T10:04:13Z
4,847
null
https://api.github.com/repos/huggingface/datasets
false
[]
2022-08-14T14:57:00Z
https://api.github.com/repos/huggingface/datasets/issues/4847/comments
null
https://api.github.com/repos/huggingface/datasets/issues/4847/timeline
Test win ci
https://api.github.com/repos/huggingface/datasets/issues/4847/events
null
{ "avatar_url": "https://avatars.githubusercontent.com/u/49282718?v=4", "events_url": "https://api.github.com/users/Mr-Robot-001/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/Mr-Robot-001", "id": 49282718, "login": "Mr-Robot-001", "node_id": "MDQ6VXNlcjQ5MjgyNzE4", "organizations_url": "https://api.github.com/users/Mr-Robot-001/orgs", "received_events_url": "https://api.github.com/users/Mr-Robot-001/received_events", "repos_url": "https://api.github.com/users/Mr-Robot-001/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Mr-Robot-001/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Mr-Robot-001/subscriptions", "type": "User", "url": "https://api.github.com/users/Mr-Robot-001" }
[]
null
null
NONE
2022-08-14T14:57:45Z
{ "diff_url": "https://github.com/huggingface/datasets/pull/4847.diff", "html_url": "https://github.com/huggingface/datasets/pull/4847", "merged_at": null, "patch_url": "https://github.com/huggingface/datasets/pull/4847.patch", "url": "https://api.github.com/repos/huggingface/datasets/pulls/4847" }
PR_kwDODunzps49JNWX
[]
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/4847/reactions" }
closed
false
https://api.github.com/repos/huggingface/datasets/issues/4847
https://github.com/huggingface/datasets/pull/4847
true
1,337,979,897
https://api.github.com/repos/huggingface/datasets/issues/4846/labels{/name}
Hi ! Paper has been published at EMNLP.
2022-08-17T00:50:04Z
4,846
null
https://api.github.com/repos/huggingface/datasets
false
[]
2022-08-13T14:38:55Z
https://api.github.com/repos/huggingface/datasets/issues/4846/comments
null
https://api.github.com/repos/huggingface/datasets/issues/4846/timeline
Update documentation card of miam dataset
https://api.github.com/repos/huggingface/datasets/issues/4846/events
null
{ "avatar_url": "https://avatars.githubusercontent.com/u/22492839?v=4", "events_url": "https://api.github.com/users/PierreColombo/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/PierreColombo", "id": 22492839, "login": "PierreColombo", "node_id": "MDQ6VXNlcjIyNDkyODM5", "organizations_url": "https://api.github.com/users/PierreColombo/orgs", "received_events_url": "https://api.github.com/users/PierreColombo/received_events", "repos_url": "https://api.github.com/users/PierreColombo/repos", "site_admin": false, "starred_url": "https://api.github.com/users/PierreColombo/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/PierreColombo/subscriptions", "type": "User", "url": "https://api.github.com/users/PierreColombo" }
[]
null
null
CONTRIBUTOR
2022-08-14T10:26:08Z
{ "diff_url": "https://github.com/huggingface/datasets/pull/4846.diff", "html_url": "https://github.com/huggingface/datasets/pull/4846", "merged_at": "2022-08-14T10:26:08Z", "patch_url": "https://github.com/huggingface/datasets/pull/4846.patch", "url": "https://api.github.com/repos/huggingface/datasets/pulls/4846" }
PR_kwDODunzps49IYSC
[ "_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 progre...
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/4846/reactions" }
closed
false
https://api.github.com/repos/huggingface/datasets/issues/4846
https://github.com/huggingface/datasets/pull/4846
true
1,337,928,283
https://api.github.com/repos/huggingface/datasets/issues/4845/labels{/name}
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)`
2022-08-23T04:57:12Z
4,845
null
https://api.github.com/repos/huggingface/datasets
false
[]
2022-08-13T10:45:11Z
https://api.github.com/repos/huggingface/datasets/issues/4845/comments
null
https://api.github.com/repos/huggingface/datasets/issues/4845/timeline
Mark CI tests as xfail if Hub HTTP error
https://api.github.com/repos/huggingface/datasets/issues/4845/events
null
{ "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "events_url": "https://api.github.com/users/albertvillanova/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/albertvillanova", "id": 8515462, "login": "albertvillanova", "node_id": "MDQ6VXNlcjg1MTU0NjI=", "organizations_url": "https://api.github.com/users/albertvillanova/orgs", "received_events_url": "https://api.github.com/users/albertvillanova/received_events", "repos_url": "https://api.github.com/users/albertvillanova/repos", "site_admin": false, "starred_url": "https://api.github.com/users/albertvillanova/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/albertvillanova/subscriptions", "type": "User", "url": "https://api.github.com/users/albertvillanova" }
[]
null
null
MEMBER
2022-08-23T04:42:26Z
{ "diff_url": "https://github.com/huggingface/datasets/pull/4845.diff", "html_url": "https://github.com/huggingface/datasets/pull/4845", "merged_at": "2022-08-23T04:42:26Z", "patch_url": "https://github.com/huggingface/datasets/pull/4845.patch", "url": "https://api.github.com/repos/huggingface/datasets/pulls/4845" }
PR_kwDODunzps49IOjf
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/4845/reactions" }
closed
false
https://api.github.com/repos/huggingface/datasets/issues/4845
https://github.com/huggingface/datasets/pull/4845
true
1,337,878,249
https://api.github.com/repos/huggingface/datasets/issues/4844/labels{/name}
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.
2022-08-30T10:17:35Z
4,844
null
https://api.github.com/repos/huggingface/datasets
false
[]
2022-08-13T06:49:41Z
https://api.github.com/repos/huggingface/datasets/issues/4844/comments
null
https://api.github.com/repos/huggingface/datasets/issues/4844/timeline
Add 'val' to VALIDATION_KEYWORDS.
https://api.github.com/repos/huggingface/datasets/issues/4844/events
null
{ "avatar_url": "https://avatars.githubusercontent.com/u/98386959?v=4", "events_url": "https://api.github.com/users/akt42/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/akt42", "id": 98386959, "login": "akt42", "node_id": "U_kgDOBd1EDw", "organizations_url": "https://api.github.com/users/akt42/orgs", "received_events_url": "https://api.github.com/users/akt42/received_events", "repos_url": "https://api.github.com/users/akt42/repos", "site_admin": false, "starred_url": "https://api.github.com/users/akt42/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/akt42/subscriptions", "type": "User", "url": "https://api.github.com/users/akt42" }
[]
null
null
CONTRIBUTOR
2022-08-30T10:14:54Z
{ "diff_url": "https://github.com/huggingface/datasets/pull/4844.diff", "html_url": "https://github.com/huggingface/datasets/pull/4844", "merged_at": "2022-08-30T10:14:54Z", "patch_url": "https://github.com/huggingface/datasets/pull/4844.patch", "url": "https://api.github.com/repos/huggingface/datasets/pulls/4844" }
PR_kwDODunzps49IFLa
[ "@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...
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/4844/reactions" }
closed
false
https://api.github.com/repos/huggingface/datasets/issues/4844
https://github.com/huggingface/datasets/pull/4844
true
1,337,668,699
https://api.github.com/repos/huggingface/datasets/issues/4843/labels{/name}
null
2022-08-14T11:43:30Z
4,843
null
https://api.github.com/repos/huggingface/datasets
false
[]
2022-08-12T20:18:21Z
https://api.github.com/repos/huggingface/datasets/issues/4843/comments
null
https://api.github.com/repos/huggingface/datasets/issues/4843/timeline
Fix typo in streaming docs
https://api.github.com/repos/huggingface/datasets/issues/4843/events
null
{ "avatar_url": "https://avatars.githubusercontent.com/u/47894090?v=4", "events_url": "https://api.github.com/users/flozi00/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/flozi00", "id": 47894090, "login": "flozi00", "node_id": "MDQ6VXNlcjQ3ODk0MDkw", "organizations_url": "https://api.github.com/users/flozi00/orgs", "received_events_url": "https://api.github.com/users/flozi00/received_events", "repos_url": "https://api.github.com/users/flozi00/repos", "site_admin": false, "starred_url": "https://api.github.com/users/flozi00/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/flozi00/subscriptions", "type": "User", "url": "https://api.github.com/users/flozi00" }
[]
null
null
CONTRIBUTOR
2022-08-14T11:02:09Z
{ "diff_url": "https://github.com/huggingface/datasets/pull/4843.diff", "html_url": "https://github.com/huggingface/datasets/pull/4843", "merged_at": "2022-08-14T11:02:09Z", "patch_url": "https://github.com/huggingface/datasets/pull/4843.patch", "url": "https://api.github.com/repos/huggingface/datasets/pulls/4843" }
PR_kwDODunzps49HaWT
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/4843/reactions" }
closed
false
https://api.github.com/repos/huggingface/datasets/issues/4843
https://github.com/huggingface/datasets/pull/4843
true
1,337,527,764
https://api.github.com/repos/huggingface/datasets/issues/4842/labels{/name}
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
2022-08-14T10:43:18Z
4,842
null
https://api.github.com/repos/huggingface/datasets
false
[]
2022-08-12T17:39:06Z
https://api.github.com/repos/huggingface/datasets/issues/4842/comments
null
https://api.github.com/repos/huggingface/datasets/issues/4842/timeline
Update stackexchange license
https://api.github.com/repos/huggingface/datasets/issues/4842/events
null
{ "avatar_url": "https://avatars.githubusercontent.com/u/3664563?v=4", "events_url": "https://api.github.com/users/cakiki/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/cakiki", "id": 3664563, "login": "cakiki", "node_id": "MDQ6VXNlcjM2NjQ1NjM=", "organizations_url": "https://api.github.com/users/cakiki/orgs", "received_events_url": "https://api.github.com/users/cakiki/received_events", "repos_url": "https://api.github.com/users/cakiki/repos", "site_admin": false, "starred_url": "https://api.github.com/users/cakiki/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/cakiki/subscriptions", "type": "User", "url": "https://api.github.com/users/cakiki" }
[]
null
null
CONTRIBUTOR
2022-08-14T10:28:49Z
{ "diff_url": "https://github.com/huggingface/datasets/pull/4842.diff", "html_url": "https://github.com/huggingface/datasets/pull/4842", "merged_at": "2022-08-14T10:28:49Z", "patch_url": "https://github.com/huggingface/datasets/pull/4842.patch", "url": "https://api.github.com/repos/huggingface/datasets/pulls/4842" }
PR_kwDODunzps49G8CC
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/4842/reactions" }
closed
false
https://api.github.com/repos/huggingface/datasets/issues/4842
https://github.com/huggingface/datasets/pull/4842
true
1,337,401,243
https://api.github.com/repos/huggingface/datasets/issues/4841/labels{/name}
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"
2022-08-14T11:15:22Z
4,841
null
https://api.github.com/repos/huggingface/datasets
false
[]
2022-08-12T16:14:52Z
https://api.github.com/repos/huggingface/datasets/issues/4841/comments
null
https://api.github.com/repos/huggingface/datasets/issues/4841/timeline
Update ted_talks_iwslt license to include ND
https://api.github.com/repos/huggingface/datasets/issues/4841/events
null
{ "avatar_url": "https://avatars.githubusercontent.com/u/3664563?v=4", "events_url": "https://api.github.com/users/cakiki/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/cakiki", "id": 3664563, "login": "cakiki", "node_id": "MDQ6VXNlcjM2NjQ1NjM=", "organizations_url": "https://api.github.com/users/cakiki/orgs", "received_events_url": "https://api.github.com/users/cakiki/received_events", "repos_url": "https://api.github.com/users/cakiki/repos", "site_admin": false, "starred_url": "https://api.github.com/users/cakiki/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/cakiki/subscriptions", "type": "User", "url": "https://api.github.com/users/cakiki" }
[]
null
null
CONTRIBUTOR
2022-08-14T11:00:22Z
{ "diff_url": "https://github.com/huggingface/datasets/pull/4841.diff", "html_url": "https://github.com/huggingface/datasets/pull/4841", "merged_at": "2022-08-14T11:00:22Z", "patch_url": "https://github.com/huggingface/datasets/pull/4841.patch", "url": "https://api.github.com/repos/huggingface/datasets/pulls/4841" }
PR_kwDODunzps49Gf0I
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/4841/reactions" }
closed
false
https://api.github.com/repos/huggingface/datasets/issues/4841
https://github.com/huggingface/datasets/pull/4841
true
1,337,342,672
https://api.github.com/repos/huggingface/datasets/issues/4840/labels{/name}
### 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
2022-09-08T07:55:44Z
4,840
null
https://api.github.com/repos/huggingface/datasets
null
[]
2022-08-12T15:22:58Z
https://api.github.com/repos/huggingface/datasets/issues/4840/comments
null
https://api.github.com/repos/huggingface/datasets/issues/4840/timeline
Dataset Viewer issue for darragh/demo_data_raw3
https://api.github.com/repos/huggingface/datasets/issues/4840/events
null
{ "avatar_url": "https://avatars.githubusercontent.com/u/1676121?v=4", "events_url": "https://api.github.com/users/severo/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/severo", "id": 1676121, "login": "severo", "node_id": "MDQ6VXNlcjE2NzYxMjE=", "organizations_url": "https://api.github.com/users/severo/orgs", "received_events_url": "https://api.github.com/users/severo/received_events", "repos_url": "https://api.github.com/users/severo/repos", "site_admin": false, "starred_url": "https://api.github.com/users/severo/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/severo/subscriptions", "type": "User", "url": "https://api.github.com/users/severo" }
[]
null
null
CONTRIBUTOR
null
null
I_kwDODunzps5PtjrQ
[ "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\...
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/4840/reactions" }
open
false
https://api.github.com/repos/huggingface/datasets/issues/4840
https://github.com/huggingface/datasets/issues/4840
false
1,337,206,377
https://api.github.com/repos/huggingface/datasets/issues/4839/labels{/name}
**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)
2022-08-30T10:14:55Z
4,839
null
https://api.github.com/repos/huggingface/datasets
null
[ { "color": "a2eeef", "default": true, "description": "New feature or request", "id": 1935892871, "name": "enhancement", "node_id": "MDU6TGFiZWwxOTM1ODkyODcx", "url": "https://api.github.com/repos/huggingface/datasets/labels/enhancement" } ]
2022-08-12T13:26:00Z
https://api.github.com/repos/huggingface/datasets/issues/4839/comments
{ "avatar_url": "https://avatars.githubusercontent.com/u/98386959?v=4", "events_url": "https://api.github.com/users/akt42/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/akt42", "id": 98386959, "login": "akt42", "node_id": "U_kgDOBd1EDw", "organizations_url": "https://api.github.com/users/akt42/orgs", "received_events_url": "https://api.github.com/users/akt42/received_events", "repos_url": "https://api.github.com/users/akt42/repos", "site_admin": false, "starred_url": "https://api.github.com/users/akt42/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/akt42/subscriptions", "type": "User", "url": "https://api.github.com/users/akt42" }
https://api.github.com/repos/huggingface/datasets/issues/4839/timeline
ImageFolder dataset builder does not read the validation data set if it is named as "val"
https://api.github.com/repos/huggingface/datasets/issues/4839/events
null
{ "avatar_url": "https://avatars.githubusercontent.com/u/98386959?v=4", "events_url": "https://api.github.com/users/akt42/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/akt42", "id": 98386959, "login": "akt42", "node_id": "U_kgDOBd1EDw", "organizations_url": "https://api.github.com/users/akt42/orgs", "received_events_url": "https://api.github.com/users/akt42/received_events", "repos_url": "https://api.github.com/users/akt42/repos", "site_admin": false, "starred_url": "https://api.github.com/users/akt42/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/akt42/subscriptions", "type": "User", "url": "https://api.github.com/users/akt42" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/98386959?v=4", "events_url": "https://api.github.com/users/akt42/events{/privacy}", "followers_url": "https://api.github.com/users/akt42/followers", "following_url": "https://api.github.com/users/akt42/following{/other_user}", "gists_url":...
null
completed
CONTRIBUTOR
2022-08-30T10:14:55Z
null
I_kwDODunzps5PtCZp
[ "#take" ]
{ "+1": 1, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 1, "url": "https://api.github.com/repos/huggingface/datasets/issues/4839/reactions" }
closed
false
https://api.github.com/repos/huggingface/datasets/issues/4839
https://github.com/huggingface/datasets/issues/4839
false
1,337,194,918
https://api.github.com/repos/huggingface/datasets/issues/4838/labels{/name}
Fix documentation card of adv_glue dataset.
2022-08-15T10:17:14Z
4,838
null
https://api.github.com/repos/huggingface/datasets
false
[]
2022-08-12T13:15:26Z
https://api.github.com/repos/huggingface/datasets/issues/4838/comments
null
https://api.github.com/repos/huggingface/datasets/issues/4838/timeline
Fix documentation card of adv_glue dataset
https://api.github.com/repos/huggingface/datasets/issues/4838/events
null
{ "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "events_url": "https://api.github.com/users/albertvillanova/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/albertvillanova", "id": 8515462, "login": "albertvillanova", "node_id": "MDQ6VXNlcjg1MTU0NjI=", "organizations_url": "https://api.github.com/users/albertvillanova/orgs", "received_events_url": "https://api.github.com/users/albertvillanova/received_events", "repos_url": "https://api.github.com/users/albertvillanova/repos", "site_admin": false, "starred_url": "https://api.github.com/users/albertvillanova/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/albertvillanova/subscriptions", "type": "User", "url": "https://api.github.com/users/albertvillanova" }
[]
null
null
MEMBER
2022-08-15T10:02:11Z
{ "diff_url": "https://github.com/huggingface/datasets/pull/4838.diff", "html_url": "https://github.com/huggingface/datasets/pull/4838", "merged_at": "2022-08-15T10:02:11Z", "patch_url": "https://github.com/huggingface/datasets/pull/4838.patch", "url": "https://api.github.com/repos/huggingface/datasets/pulls/4838" }
PR_kwDODunzps49F08R
[ "_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```" ]
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/4838/reactions" }
closed
false
https://api.github.com/repos/huggingface/datasets/issues/4838
https://github.com/huggingface/datasets/pull/4838
true
1,337,079,723
https://api.github.com/repos/huggingface/datasets/issues/4837/labels{/name}
Fix #4814
2022-08-31T12:01:27Z
4,837
null
https://api.github.com/repos/huggingface/datasets
false
[]
2022-08-12T11:19:18Z
https://api.github.com/repos/huggingface/datasets/issues/4837/comments
null
https://api.github.com/repos/huggingface/datasets/issues/4837/timeline
Add support for CSV metadata files to ImageFolder
https://api.github.com/repos/huggingface/datasets/issues/4837/events
null
{ "avatar_url": "https://avatars.githubusercontent.com/u/47462742?v=4", "events_url": "https://api.github.com/users/mariosasko/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/mariosasko", "id": 47462742, "login": "mariosasko", "node_id": "MDQ6VXNlcjQ3NDYyNzQy", "organizations_url": "https://api.github.com/users/mariosasko/orgs", "received_events_url": "https://api.github.com/users/mariosasko/received_events", "repos_url": "https://api.github.com/users/mariosasko/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mariosasko/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mariosasko/subscriptions", "type": "User", "url": "https://api.github.com/users/mariosasko" }
[]
null
null
CONTRIBUTOR
2022-08-31T11:59:07Z
{ "diff_url": "https://github.com/huggingface/datasets/pull/4837.diff", "html_url": "https://github.com/huggingface/datasets/pull/4837", "merged_at": "2022-08-31T11:59:07Z", "patch_url": "https://github.com/huggingface/datasets/pull/4837.patch", "url": "https://api.github.com/repos/huggingface/datasets/pulls/4837" }
PR_kwDODunzps49Fb6l
[ "_The documentation is not available anymore as the PR was closed or merged._", "Cool thanks ! Maybe let's include this change after the refactoring from FolderBasedBuilder in #3963 to avoid dealing with too many unpleasant conflicts ?", "@lhoestq I resolved the conflicts (AudioFolder also supports CSV metadata...
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/4837/reactions" }
closed
false
https://api.github.com/repos/huggingface/datasets/issues/4837
https://github.com/huggingface/datasets/pull/4837
true
1,337,067,632
https://api.github.com/repos/huggingface/datasets/issues/4836/labels{/name}
**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", ...`.
2022-08-12T11:06:11Z
4,836
null
https://api.github.com/repos/huggingface/datasets
null
[ { "color": "a2eeef", "default": true, "description": "New feature or request", "id": 1935892871, "name": "enhancement", "node_id": "MDU6TGFiZWwxOTM1ODkyODcx", "url": "https://api.github.com/repos/huggingface/datasets/labels/enhancement" } ]
2022-08-12T11:06:11Z
https://api.github.com/repos/huggingface/datasets/issues/4836/comments
null
https://api.github.com/repos/huggingface/datasets/issues/4836/timeline
Is it possible to pass multiple links to a split in load script?
https://api.github.com/repos/huggingface/datasets/issues/4836/events
null
{ "avatar_url": "https://avatars.githubusercontent.com/u/43045767?v=4", "events_url": "https://api.github.com/users/sadrasabouri/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/sadrasabouri", "id": 43045767, "login": "sadrasabouri", "node_id": "MDQ6VXNlcjQzMDQ1NzY3", "organizations_url": "https://api.github.com/users/sadrasabouri/orgs", "received_events_url": "https://api.github.com/users/sadrasabouri/received_events", "repos_url": "https://api.github.com/users/sadrasabouri/repos", "site_admin": false, "starred_url": "https://api.github.com/users/sadrasabouri/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sadrasabouri/subscriptions", "type": "User", "url": "https://api.github.com/users/sadrasabouri" }
[]
null
null
NONE
null
null
I_kwDODunzps5Psghw
[]
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/4836/reactions" }
open
false
https://api.github.com/repos/huggingface/datasets/issues/4836
https://github.com/huggingface/datasets/issues/4836
false
1,336,994,835
https://api.github.com/repos/huggingface/datasets/issues/4835/labels{/name}
Fix documentation card of ethos dataset.
2022-08-12T13:13:55Z
4,835
null
https://api.github.com/repos/huggingface/datasets
false
[]
2022-08-12T09:51:06Z
https://api.github.com/repos/huggingface/datasets/issues/4835/comments
null
https://api.github.com/repos/huggingface/datasets/issues/4835/timeline
Fix documentation card of ethos dataset
https://api.github.com/repos/huggingface/datasets/issues/4835/events
null
{ "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "events_url": "https://api.github.com/users/albertvillanova/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/albertvillanova", "id": 8515462, "login": "albertvillanova", "node_id": "MDQ6VXNlcjg1MTU0NjI=", "organizations_url": "https://api.github.com/users/albertvillanova/orgs", "received_events_url": "https://api.github.com/users/albertvillanova/received_events", "repos_url": "https://api.github.com/users/albertvillanova/repos", "site_admin": false, "starred_url": "https://api.github.com/users/albertvillanova/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/albertvillanova/subscriptions", "type": "User", "url": "https://api.github.com/users/albertvillanova" }
[]
null
null
MEMBER
2022-08-12T12:59:39Z
{ "diff_url": "https://github.com/huggingface/datasets/pull/4835.diff", "html_url": "https://github.com/huggingface/datasets/pull/4835", "merged_at": "2022-08-12T12:59:39Z", "patch_url": "https://github.com/huggingface/datasets/pull/4835.patch", "url": "https://api.github.com/repos/huggingface/datasets/pulls/4835" }
PR_kwDODunzps49FJg9
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/4835/reactions" }
closed
false
https://api.github.com/repos/huggingface/datasets/issues/4835
https://github.com/huggingface/datasets/pull/4835
true
1,336,993,511
https://api.github.com/repos/huggingface/datasets/issues/4834/labels{/name}
Fix documentation card of recipe_nlg dataset
2022-08-12T11:28:18Z
4,834
null
https://api.github.com/repos/huggingface/datasets
false
[]
2022-08-12T09:49:39Z
https://api.github.com/repos/huggingface/datasets/issues/4834/comments
null
https://api.github.com/repos/huggingface/datasets/issues/4834/timeline
Fix documentation card of recipe_nlg dataset
https://api.github.com/repos/huggingface/datasets/issues/4834/events
null
{ "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "events_url": "https://api.github.com/users/albertvillanova/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/albertvillanova", "id": 8515462, "login": "albertvillanova", "node_id": "MDQ6VXNlcjg1MTU0NjI=", "organizations_url": "https://api.github.com/users/albertvillanova/orgs", "received_events_url": "https://api.github.com/users/albertvillanova/received_events", "repos_url": "https://api.github.com/users/albertvillanova/repos", "site_admin": false, "starred_url": "https://api.github.com/users/albertvillanova/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/albertvillanova/subscriptions", "type": "User", "url": "https://api.github.com/users/albertvillanova" }
[]
null
null
MEMBER
2022-08-12T11:13:40Z
{ "diff_url": "https://github.com/huggingface/datasets/pull/4834.diff", "html_url": "https://github.com/huggingface/datasets/pull/4834", "merged_at": "2022-08-12T11:13:40Z", "patch_url": "https://github.com/huggingface/datasets/pull/4834.patch", "url": "https://api.github.com/repos/huggingface/datasets/pulls/4834" }
PR_kwDODunzps49FJOu
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/4834/reactions" }
closed
false
https://api.github.com/repos/huggingface/datasets/issues/4834
https://github.com/huggingface/datasets/pull/4834
true
1,336,946,965
https://api.github.com/repos/huggingface/datasets/issues/4833/labels{/name}
Fix missing tags in dataset cards: - boolq - break_data - definite_pronoun_resolution - emo - kor_nli - pg19 - quartz - sciq - squad_es - wmt14 - wmt15 - wmt16 - wmt17 - wmt18 - wmt19 - wmt_t2t This PR partially fixes the missing tags in dataset cards. Subsequent PRs will follow to complete this task.
2022-09-22T14:41:23Z
4,833
null
https://api.github.com/repos/huggingface/datasets
false
[]
2022-08-12T09:04:52Z
https://api.github.com/repos/huggingface/datasets/issues/4833/comments
null
https://api.github.com/repos/huggingface/datasets/issues/4833/timeline
Fix missing tags in dataset cards
https://api.github.com/repos/huggingface/datasets/issues/4833/events
null
{ "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "events_url": "https://api.github.com/users/albertvillanova/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/albertvillanova", "id": 8515462, "login": "albertvillanova", "node_id": "MDQ6VXNlcjg1MTU0NjI=", "organizations_url": "https://api.github.com/users/albertvillanova/orgs", "received_events_url": "https://api.github.com/users/albertvillanova/received_events", "repos_url": "https://api.github.com/users/albertvillanova/repos", "site_admin": false, "starred_url": "https://api.github.com/users/albertvillanova/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/albertvillanova/subscriptions", "type": "User", "url": "https://api.github.com/users/albertvillanova" }
[]
null
null
MEMBER
2022-08-12T09:45:55Z
{ "diff_url": "https://github.com/huggingface/datasets/pull/4833.diff", "html_url": "https://github.com/huggingface/datasets/pull/4833", "merged_at": "2022-08-12T09:45:55Z", "patch_url": "https://github.com/huggingface/datasets/pull/4833.patch", "url": "https://api.github.com/repos/huggingface/datasets/pulls/4833" }
PR_kwDODunzps49E_Nk
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/4833/reactions" }
closed
false
https://api.github.com/repos/huggingface/datasets/issues/4833
https://github.com/huggingface/datasets/pull/4833
true
1,336,727,389
https://api.github.com/repos/huggingface/datasets/issues/4832/labels{/name}
Fix wrong tags in dataset cards.
2022-08-12T04:41:55Z
4,832
null
https://api.github.com/repos/huggingface/datasets
false
[]
2022-08-12T04:11:23Z
https://api.github.com/repos/huggingface/datasets/issues/4832/comments
null
https://api.github.com/repos/huggingface/datasets/issues/4832/timeline
Fix tags in dataset cards
https://api.github.com/repos/huggingface/datasets/issues/4832/events
null
{ "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "events_url": "https://api.github.com/users/albertvillanova/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/albertvillanova", "id": 8515462, "login": "albertvillanova", "node_id": "MDQ6VXNlcjg1MTU0NjI=", "organizations_url": "https://api.github.com/users/albertvillanova/orgs", "received_events_url": "https://api.github.com/users/albertvillanova/received_events", "repos_url": "https://api.github.com/users/albertvillanova/repos", "site_admin": false, "starred_url": "https://api.github.com/users/albertvillanova/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/albertvillanova/subscriptions", "type": "User", "url": "https://api.github.com/users/albertvillanova" }
[]
null
null
MEMBER
2022-08-12T04:27:24Z
{ "diff_url": "https://github.com/huggingface/datasets/pull/4832.diff", "html_url": "https://github.com/huggingface/datasets/pull/4832", "merged_at": "2022-08-12T04:27:24Z", "patch_url": "https://github.com/huggingface/datasets/pull/4832.patch", "url": "https://api.github.com/repos/huggingface/datasets/pulls/4832" }
PR_kwDODunzps49EQav
[ "_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." ]
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/4832/reactions" }
closed
false
https://api.github.com/repos/huggingface/datasets/issues/4832
https://github.com/huggingface/datasets/pull/4832
true
1,336,199,643
https://api.github.com/repos/huggingface/datasets/issues/4831/labels{/name}
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.
2023-07-11T15:57:48Z
4,831
null
https://api.github.com/repos/huggingface/datasets
false
[]
2022-08-11T16:24:51Z
https://api.github.com/repos/huggingface/datasets/issues/4831/comments
null
https://api.github.com/repos/huggingface/datasets/issues/4831/timeline
Add oversampling strategies to interleave datasets
https://api.github.com/repos/huggingface/datasets/issues/4831/events
null
{ "avatar_url": "https://avatars.githubusercontent.com/u/52246514?v=4", "events_url": "https://api.github.com/users/ylacombe/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/ylacombe", "id": 52246514, "login": "ylacombe", "node_id": "MDQ6VXNlcjUyMjQ2NTE0", "organizations_url": "https://api.github.com/users/ylacombe/orgs", "received_events_url": "https://api.github.com/users/ylacombe/received_events", "repos_url": "https://api.github.com/users/ylacombe/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ylacombe/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ylacombe/subscriptions", "type": "User", "url": "https://api.github.com/users/ylacombe" }
[]
null
null
CONTRIBUTOR
2022-08-24T16:46:07Z
{ "diff_url": "https://github.com/huggingface/datasets/pull/4831.diff", "html_url": "https://github.com/huggingface/datasets/pull/4831", "merged_at": "2022-08-24T16:46:07Z", "patch_url": "https://github.com/huggingface/datasets/pull/4831.patch", "url": "https://api.github.com/repos/huggingface/datasets/pulls/4831" }
PR_kwDODunzps49Cibf
[ "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.", "Hi @lhoestq, \r\nThanks for your review! I've added the requested mention in the documentation and corrected the Error type in `interleave_datasets...
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 1, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 1, "url": "https://api.github.com/repos/huggingface/datasets/issues/4831/reactions" }
closed
false
https://api.github.com/repos/huggingface/datasets/issues/4831
https://github.com/huggingface/datasets/pull/4831
true
1,336,177,937
https://api.github.com/repos/huggingface/datasets/issues/4830/labels{/name}
null
2022-08-11T16:37:27Z
4,830
null
https://api.github.com/repos/huggingface/datasets
false
[]
2022-08-11T16:06:06Z
https://api.github.com/repos/huggingface/datasets/issues/4830/comments
null
https://api.github.com/repos/huggingface/datasets/issues/4830/timeline
Fix task tags in dataset cards
https://api.github.com/repos/huggingface/datasets/issues/4830/events
null
{ "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "events_url": "https://api.github.com/users/albertvillanova/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/albertvillanova", "id": 8515462, "login": "albertvillanova", "node_id": "MDQ6VXNlcjg1MTU0NjI=", "organizations_url": "https://api.github.com/users/albertvillanova/orgs", "received_events_url": "https://api.github.com/users/albertvillanova/received_events", "repos_url": "https://api.github.com/users/albertvillanova/repos", "site_admin": false, "starred_url": "https://api.github.com/users/albertvillanova/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/albertvillanova/subscriptions", "type": "User", "url": "https://api.github.com/users/albertvillanova" }
[]
null
null
MEMBER
2022-08-11T16:23:00Z
{ "diff_url": "https://github.com/huggingface/datasets/pull/4830.diff", "html_url": "https://github.com/huggingface/datasets/pull/4830", "merged_at": "2022-08-11T16:23:00Z", "patch_url": "https://github.com/huggingface/datasets/pull/4830.patch", "url": "https://api.github.com/repos/huggingface/datasets/pulls/4830" }
PR_kwDODunzps49Cdro
[ "_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." ]
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/4830/reactions" }
closed
false
https://api.github.com/repos/huggingface/datasets/issues/4830
https://github.com/huggingface/datasets/pull/4830
true
1,336,068,068
https://api.github.com/repos/huggingface/datasets/issues/4829/labels{/name}
## 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
2023-07-21T15:38:02Z
4,829
null
https://api.github.com/repos/huggingface/datasets
null
[ { "color": "d73a4a", "default": true, "description": "Something isn't working", "id": 1935892857, "name": "bug", "node_id": "MDU6TGFiZWwxOTM1ODkyODU3", "url": "https://api.github.com/repos/huggingface/datasets/labels/bug" } ]
2022-08-11T14:44:45Z
https://api.github.com/repos/huggingface/datasets/issues/4829/comments
null
https://api.github.com/repos/huggingface/datasets/issues/4829/timeline
Misalignment between card tag validation and docs
https://api.github.com/repos/huggingface/datasets/issues/4829/events
null
{ "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "events_url": "https://api.github.com/users/albertvillanova/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/albertvillanova", "id": 8515462, "login": "albertvillanova", "node_id": "MDQ6VXNlcjg1MTU0NjI=", "organizations_url": "https://api.github.com/users/albertvillanova/orgs", "received_events_url": "https://api.github.com/users/albertvillanova/received_events", "repos_url": "https://api.github.com/users/albertvillanova/repos", "site_admin": false, "starred_url": "https://api.github.com/users/albertvillanova/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/albertvillanova/subscriptions", "type": "User", "url": "https://api.github.com/users/albertvillanova" }
[]
null
null
MEMBER
null
null
I_kwDODunzps5Posfk
[ "(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)", "Instead of our own implementation, we now use `huggingface_hub`'s `DatasetCardData`, which has the correct type hint, so I think...
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/4829/reactions" }
open
false
https://api.github.com/repos/huggingface/datasets/issues/4829
https://github.com/huggingface/datasets/issues/4829
false
1,336,040,168
https://api.github.com/repos/huggingface/datasets/issues/4828/labels{/name}
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.
2023-09-24T10:15:33Z
4,828
null
https://api.github.com/repos/huggingface/datasets
false
[]
2022-08-11T14:25:45Z
https://api.github.com/repos/huggingface/datasets/issues/4828/comments
null
https://api.github.com/repos/huggingface/datasets/issues/4828/timeline
Support PIL Image objects in `add_item`/`add_column`
https://api.github.com/repos/huggingface/datasets/issues/4828/events
null
{ "avatar_url": "https://avatars.githubusercontent.com/u/47462742?v=4", "events_url": "https://api.github.com/users/mariosasko/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/mariosasko", "id": 47462742, "login": "mariosasko", "node_id": "MDQ6VXNlcjQ3NDYyNzQy", "organizations_url": "https://api.github.com/users/mariosasko/orgs", "received_events_url": "https://api.github.com/users/mariosasko/received_events", "repos_url": "https://api.github.com/users/mariosasko/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mariosasko/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mariosasko/subscriptions", "type": "User", "url": "https://api.github.com/users/mariosasko" }
[]
null
null
CONTRIBUTOR
null
{ "diff_url": "https://github.com/huggingface/datasets/pull/4828.diff", "html_url": "https://github.com/huggingface/datasets/pull/4828", "merged_at": null, "patch_url": "https://github.com/huggingface/datasets/pull/4828.patch", "url": "https://api.github.com/repos/huggingface/datasets/pulls/4828" }
PR_kwDODunzps49B_vb
[ "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.", "Hey @mariosasko could we please merge this? I'm still getting the original error at #4796 .", "Are you planning to continue working on this?" ]
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/4828/reactions" }
open
false
https://api.github.com/repos/huggingface/datasets/issues/4828
https://github.com/huggingface/datasets/pull/4828
true
1,335,994,312
https://api.github.com/repos/huggingface/datasets/issues/4827/labels{/name}
As reported over email by Roy Rijkers
2022-08-11T15:01:03Z
4,827
null
https://api.github.com/repos/huggingface/datasets
false
[]
2022-08-11T13:52:20Z
https://api.github.com/repos/huggingface/datasets/issues/4827/comments
null
https://api.github.com/repos/huggingface/datasets/issues/4827/timeline
Add license metadata to pg19
https://api.github.com/repos/huggingface/datasets/issues/4827/events
null
{ "avatar_url": "https://avatars.githubusercontent.com/u/326577?v=4", "events_url": "https://api.github.com/users/julien-c/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/julien-c", "id": 326577, "login": "julien-c", "node_id": "MDQ6VXNlcjMyNjU3Nw==", "organizations_url": "https://api.github.com/users/julien-c/orgs", "received_events_url": "https://api.github.com/users/julien-c/received_events", "repos_url": "https://api.github.com/users/julien-c/repos", "site_admin": false, "starred_url": "https://api.github.com/users/julien-c/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/julien-c/subscriptions", "type": "User", "url": "https://api.github.com/users/julien-c" }
[]
null
null
MEMBER
2022-08-11T14:46:38Z
{ "diff_url": "https://github.com/huggingface/datasets/pull/4827.diff", "html_url": "https://github.com/huggingface/datasets/pull/4827", "merged_at": "2022-08-11T14:46:38Z", "patch_url": "https://github.com/huggingface/datasets/pull/4827.patch", "url": "https://api.github.com/repos/huggingface/datasets/pulls/4827" }
PR_kwDODunzps49B1zi
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/4827/reactions" }
closed
false
https://api.github.com/repos/huggingface/datasets/issues/4827
https://github.com/huggingface/datasets/pull/4827
true
1,335,987,583
https://api.github.com/repos/huggingface/datasets/issues/4826/labels{/name}
Fix language tags in all dataset cards, so that they are validated (aligned with our `languages.json` resource).
2022-08-11T14:17:48Z
4,826
null
https://api.github.com/repos/huggingface/datasets
false
[]
2022-08-11T13:47:14Z
https://api.github.com/repos/huggingface/datasets/issues/4826/comments
null
https://api.github.com/repos/huggingface/datasets/issues/4826/timeline
Fix language tags in dataset cards
https://api.github.com/repos/huggingface/datasets/issues/4826/events
null
{ "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "events_url": "https://api.github.com/users/albertvillanova/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/albertvillanova", "id": 8515462, "login": "albertvillanova", "node_id": "MDQ6VXNlcjg1MTU0NjI=", "organizations_url": "https://api.github.com/users/albertvillanova/orgs", "received_events_url": "https://api.github.com/users/albertvillanova/received_events", "repos_url": "https://api.github.com/users/albertvillanova/repos", "site_admin": false, "starred_url": "https://api.github.com/users/albertvillanova/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/albertvillanova/subscriptions", "type": "User", "url": "https://api.github.com/users/albertvillanova" }
[]
null
null
MEMBER
2022-08-11T14:03:12Z
{ "diff_url": "https://github.com/huggingface/datasets/pull/4826.diff", "html_url": "https://github.com/huggingface/datasets/pull/4826", "merged_at": "2022-08-11T14:03:12Z", "patch_url": "https://github.com/huggingface/datasets/pull/4826.patch", "url": "https://api.github.com/repos/huggingface/datasets/pulls/4826" }
PR_kwDODunzps49B0V3
[ "_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." ]
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/4826/reactions" }
closed
false
https://api.github.com/repos/huggingface/datasets/issues/4826
https://github.com/huggingface/datasets/pull/4826
true
1,335,856,882
https://api.github.com/repos/huggingface/datasets/issues/4825/labels{/name}
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
2022-08-24T13:09:07Z
4,825
null
https://api.github.com/repos/huggingface/datasets
false
[]
2022-08-11T11:57:15Z
https://api.github.com/repos/huggingface/datasets/issues/4825/comments
null
https://api.github.com/repos/huggingface/datasets/issues/4825/timeline
[Windows] Fix Access Denied when using os.rename()
https://api.github.com/repos/huggingface/datasets/issues/4825/events
null
{ "avatar_url": "https://avatars.githubusercontent.com/u/8703022?v=4", "events_url": "https://api.github.com/users/DougTrajano/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/DougTrajano", "id": 8703022, "login": "DougTrajano", "node_id": "MDQ6VXNlcjg3MDMwMjI=", "organizations_url": "https://api.github.com/users/DougTrajano/orgs", "received_events_url": "https://api.github.com/users/DougTrajano/received_events", "repos_url": "https://api.github.com/users/DougTrajano/repos", "site_admin": false, "starred_url": "https://api.github.com/users/DougTrajano/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/DougTrajano/subscriptions", "type": "User", "url": "https://api.github.com/users/DougTrajano" }
[]
null
null
CONTRIBUTOR
2022-08-24T13:09:07Z
{ "diff_url": "https://github.com/huggingface/datasets/pull/4825.diff", "html_url": "https://github.com/huggingface/datasets/pull/4825", "merged_at": "2022-08-24T13:09:07Z", "patch_url": "https://github.com/huggingface/datasets/pull/4825.patch", "url": "https://api.github.com/repos/huggingface/datasets/pulls/4825" }
PR_kwDODunzps49BYWL
[ "Cool thank you ! Maybe we can just replace `os.rename` by `shutil.move` instead ?", "> Cool thank you ! Maybe we can just replace `os.rename` by `shutil.move` instead ?\r\n\r\nYes, I think that could be a better solution, but I didn't test it in Linux (e.g. Ubuntu) to guarantee that `os.rename()` could be comple...
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/4825/reactions" }
closed
false
https://api.github.com/repos/huggingface/datasets/issues/4825
https://github.com/huggingface/datasets/pull/4825
true
1,335,826,639
https://api.github.com/repos/huggingface/datasets/issues/4824/labels{/name}
Fix all the titles in the dataset cards, so that they conform to the required format.
2022-08-11T13:46:11Z
4,824
null
https://api.github.com/repos/huggingface/datasets
false
[]
2022-08-11T11:27:48Z
https://api.github.com/repos/huggingface/datasets/issues/4824/comments
null
https://api.github.com/repos/huggingface/datasets/issues/4824/timeline
Fix titles in dataset cards
https://api.github.com/repos/huggingface/datasets/issues/4824/events
null
{ "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "events_url": "https://api.github.com/users/albertvillanova/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/albertvillanova", "id": 8515462, "login": "albertvillanova", "node_id": "MDQ6VXNlcjg1MTU0NjI=", "organizations_url": "https://api.github.com/users/albertvillanova/orgs", "received_events_url": "https://api.github.com/users/albertvillanova/received_events", "repos_url": "https://api.github.com/users/albertvillanova/repos", "site_admin": false, "starred_url": "https://api.github.com/users/albertvillanova/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/albertvillanova/subscriptions", "type": "User", "url": "https://api.github.com/users/albertvillanova" }
[]
null
null
MEMBER
2022-08-11T12:56:49Z
{ "diff_url": "https://github.com/huggingface/datasets/pull/4824.diff", "html_url": "https://github.com/huggingface/datasets/pull/4824", "merged_at": "2022-08-11T12:56:49Z", "patch_url": "https://github.com/huggingface/datasets/pull/4824.patch", "url": "https://api.github.com/repos/huggingface/datasets/pulls/4824" }
PR_kwDODunzps49BR5H
[ "_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." ]
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/4824/reactions" }
closed
false
https://api.github.com/repos/huggingface/datasets/issues/4824
https://github.com/huggingface/datasets/pull/4824
true
1,335,687,033
https://api.github.com/repos/huggingface/datasets/issues/4823/labels{/name}
Update data URL in mkqa dataset. Fix #4817.
2022-08-11T09:51:50Z
4,823
null
https://api.github.com/repos/huggingface/datasets
false
[]
2022-08-11T09:16:13Z
https://api.github.com/repos/huggingface/datasets/issues/4823/comments
null
https://api.github.com/repos/huggingface/datasets/issues/4823/timeline
Update data URL in mkqa dataset
https://api.github.com/repos/huggingface/datasets/issues/4823/events
null
{ "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "events_url": "https://api.github.com/users/albertvillanova/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/albertvillanova", "id": 8515462, "login": "albertvillanova", "node_id": "MDQ6VXNlcjg1MTU0NjI=", "organizations_url": "https://api.github.com/users/albertvillanova/orgs", "received_events_url": "https://api.github.com/users/albertvillanova/received_events", "repos_url": "https://api.github.com/users/albertvillanova/repos", "site_admin": false, "starred_url": "https://api.github.com/users/albertvillanova/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/albertvillanova/subscriptions", "type": "User", "url": "https://api.github.com/users/albertvillanova" }
[]
null
null
MEMBER
2022-08-11T09:37:52Z
{ "diff_url": "https://github.com/huggingface/datasets/pull/4823.diff", "html_url": "https://github.com/huggingface/datasets/pull/4823", "merged_at": "2022-08-11T09:37:51Z", "patch_url": "https://github.com/huggingface/datasets/pull/4823.patch", "url": "https://api.github.com/repos/huggingface/datasets/pulls/4823" }
PR_kwDODunzps49A0O_
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/4823/reactions" }
closed
false
https://api.github.com/repos/huggingface/datasets/issues/4823
https://github.com/huggingface/datasets/pull/4823
true
1,335,664,588
https://api.github.com/repos/huggingface/datasets/issues/4821/labels{/name}
I saw that `stratify` is added to the `train_test_split` method as per #4322, hence the docs can be updated.
2022-08-11T09:59:29Z
4,821
null
https://api.github.com/repos/huggingface/datasets
false
[]
2022-08-11T08:55:45Z
https://api.github.com/repos/huggingface/datasets/issues/4821/comments
null
https://api.github.com/repos/huggingface/datasets/issues/4821/timeline
Fix train_test_split docs
https://api.github.com/repos/huggingface/datasets/issues/4821/events
null
{ "avatar_url": "https://avatars.githubusercontent.com/u/48327001?v=4", "events_url": "https://api.github.com/users/NielsRogge/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/NielsRogge", "id": 48327001, "login": "NielsRogge", "node_id": "MDQ6VXNlcjQ4MzI3MDAx", "organizations_url": "https://api.github.com/users/NielsRogge/orgs", "received_events_url": "https://api.github.com/users/NielsRogge/received_events", "repos_url": "https://api.github.com/users/NielsRogge/repos", "site_admin": false, "starred_url": "https://api.github.com/users/NielsRogge/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/NielsRogge/subscriptions", "type": "User", "url": "https://api.github.com/users/NielsRogge" }
[]
null
null
CONTRIBUTOR
2022-08-11T09:45:40Z
{ "diff_url": "https://github.com/huggingface/datasets/pull/4821.diff", "html_url": "https://github.com/huggingface/datasets/pull/4821", "merged_at": "2022-08-11T09:45:40Z", "patch_url": "https://github.com/huggingface/datasets/pull/4821.patch", "url": "https://api.github.com/repos/huggingface/datasets/pulls/4821" }
PR_kwDODunzps49AvaE
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/4821/reactions" }
closed
false
https://api.github.com/repos/huggingface/datasets/issues/4821
https://github.com/huggingface/datasets/pull/4821
true
1,335,117,132
https://api.github.com/repos/huggingface/datasets/issues/4820/labels{/name}
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
2022-08-10T19:53:10Z
4,820
null
https://api.github.com/repos/huggingface/datasets
null
[ { "color": "d73a4a", "default": true, "description": "Something isn't working", "id": 1935892857, "name": "bug", "node_id": "MDU6TGFiZWwxOTM1ODkyODU3", "url": "https://api.github.com/repos/huggingface/datasets/labels/bug" } ]
2022-08-10T19:42:33Z
https://api.github.com/repos/huggingface/datasets/issues/4820/comments
null
https://api.github.com/repos/huggingface/datasets/issues/4820/timeline
Terminating: fork() called from a process already using GNU OpenMP, this is unsafe.
https://api.github.com/repos/huggingface/datasets/issues/4820/events
null
{ "avatar_url": "https://avatars.githubusercontent.com/u/37379131?v=4", "events_url": "https://api.github.com/users/talhaanwarch/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/talhaanwarch", "id": 37379131, "login": "talhaanwarch", "node_id": "MDQ6VXNlcjM3Mzc5MTMx", "organizations_url": "https://api.github.com/users/talhaanwarch/orgs", "received_events_url": "https://api.github.com/users/talhaanwarch/received_events", "repos_url": "https://api.github.com/users/talhaanwarch/repos", "site_admin": false, "starred_url": "https://api.github.com/users/talhaanwarch/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/talhaanwarch/subscriptions", "type": "User", "url": "https://api.github.com/users/talhaanwarch" }
[]
null
completed
NONE
2022-08-10T19:53:10Z
null
I_kwDODunzps5PlEVM
[ "Fixed by installing either resampy<3 or resampy>=4" ]
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/4820/reactions" }
closed
false
https://api.github.com/repos/huggingface/datasets/issues/4820
https://github.com/huggingface/datasets/issues/4820
false
1,335,064,449
https://api.github.com/repos/huggingface/datasets/issues/4819/labels{/name}
Add missing language tags to resources, required by existing datasets on GitHub.
2022-08-10T19:45:49Z
4,819
null
https://api.github.com/repos/huggingface/datasets
false
[]
2022-08-10T19:06:42Z
https://api.github.com/repos/huggingface/datasets/issues/4819/comments
null
https://api.github.com/repos/huggingface/datasets/issues/4819/timeline
Add missing language tags to resources
https://api.github.com/repos/huggingface/datasets/issues/4819/events
null
{ "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "events_url": "https://api.github.com/users/albertvillanova/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/albertvillanova", "id": 8515462, "login": "albertvillanova", "node_id": "MDQ6VXNlcjg1MTU0NjI=", "organizations_url": "https://api.github.com/users/albertvillanova/orgs", "received_events_url": "https://api.github.com/users/albertvillanova/received_events", "repos_url": "https://api.github.com/users/albertvillanova/repos", "site_admin": false, "starred_url": "https://api.github.com/users/albertvillanova/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/albertvillanova/subscriptions", "type": "User", "url": "https://api.github.com/users/albertvillanova" }
[]
null
null
MEMBER
2022-08-10T19:32:15Z
{ "diff_url": "https://github.com/huggingface/datasets/pull/4819.diff", "html_url": "https://github.com/huggingface/datasets/pull/4819", "merged_at": "2022-08-10T19:32:15Z", "patch_url": "https://github.com/huggingface/datasets/pull/4819.patch", "url": "https://api.github.com/repos/huggingface/datasets/pulls/4819" }
PR_kwDODunzps48-xc6
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/4819/reactions" }
closed
false
https://api.github.com/repos/huggingface/datasets/issues/4819
https://github.com/huggingface/datasets/pull/4819
true
1,334,941,810
https://api.github.com/repos/huggingface/datasets/issues/4818/labels{/name}
- [ ] add it to moon-landing - [ ] add it to hub-docs
2022-10-04T13:47:24Z
4,818
null
https://api.github.com/repos/huggingface/datasets
true
[]
2022-08-10T17:18:39Z
https://api.github.com/repos/huggingface/datasets/issues/4818/comments
null
https://api.github.com/repos/huggingface/datasets/issues/4818/timeline
Add add cc-by-sa-2.5 license tag
https://api.github.com/repos/huggingface/datasets/issues/4818/events
null
{ "avatar_url": "https://avatars.githubusercontent.com/u/16348744?v=4", "events_url": "https://api.github.com/users/polinaeterna/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/polinaeterna", "id": 16348744, "login": "polinaeterna", "node_id": "MDQ6VXNlcjE2MzQ4NzQ0", "organizations_url": "https://api.github.com/users/polinaeterna/orgs", "received_events_url": "https://api.github.com/users/polinaeterna/received_events", "repos_url": "https://api.github.com/users/polinaeterna/repos", "site_admin": false, "starred_url": "https://api.github.com/users/polinaeterna/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/polinaeterna/subscriptions", "type": "User", "url": "https://api.github.com/users/polinaeterna" }
[]
null
null
CONTRIBUTOR
2022-10-04T13:47:24Z
{ "diff_url": "https://github.com/huggingface/datasets/pull/4818.diff", "html_url": "https://github.com/huggingface/datasets/pull/4818", "merged_at": null, "patch_url": "https://github.com/huggingface/datasets/pull/4818.patch", "url": "https://api.github.com/repos/huggingface/datasets/pulls/4818" }
PR_kwDODunzps48-W7a
[ "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.", "I think we can close this PR because the `standard_licenses.tsv` file was removed from this repo and we no longer perform any dataset card validati...
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/4818/reactions" }
closed
false
https://api.github.com/repos/huggingface/datasets/issues/4818
https://github.com/huggingface/datasets/pull/4818
true
1,334,572,163
https://api.github.com/repos/huggingface/datasets/issues/4817/labels{/name}
## 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
2022-08-11T09:37:52Z
4,817
null
https://api.github.com/repos/huggingface/datasets
null
[ { "color": "d73a4a", "default": true, "description": "Something isn't working", "id": 1935892857, "name": "bug", "node_id": "MDU6TGFiZWwxOTM1ODkyODU3", "url": "https://api.github.com/repos/huggingface/datasets/labels/bug" } ]
2022-08-10T12:45:45Z
https://api.github.com/repos/huggingface/datasets/issues/4817/comments
{ "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "events_url": "https://api.github.com/users/albertvillanova/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/albertvillanova", "id": 8515462, "login": "albertvillanova", "node_id": "MDQ6VXNlcjg1MTU0NjI=", "organizations_url": "https://api.github.com/users/albertvillanova/orgs", "received_events_url": "https://api.github.com/users/albertvillanova/received_events", "repos_url": "https://api.github.com/users/albertvillanova/repos", "site_admin": false, "starred_url": "https://api.github.com/users/albertvillanova/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/albertvillanova/subscriptions", "type": "User", "url": "https://api.github.com/users/albertvillanova" }
https://api.github.com/repos/huggingface/datasets/issues/4817/timeline
Outdated Link for mkqa Dataset
https://api.github.com/repos/huggingface/datasets/issues/4817/events
null
{ "avatar_url": "https://avatars.githubusercontent.com/u/52380283?v=4", "events_url": "https://api.github.com/users/liaeh/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/liaeh", "id": 52380283, "login": "liaeh", "node_id": "MDQ6VXNlcjUyMzgwMjgz", "organizations_url": "https://api.github.com/users/liaeh/orgs", "received_events_url": "https://api.github.com/users/liaeh/received_events", "repos_url": "https://api.github.com/users/liaeh/repos", "site_admin": false, "starred_url": "https://api.github.com/users/liaeh/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/liaeh/subscriptions", "type": "User", "url": "https://api.github.com/users/liaeh" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "events_url": "https://api.github.com/users/albertvillanova/events{/privacy}", "followers_url": "https://api.github.com/users/albertvillanova/followers", "following_url": "https://api.github.com/users/albertvillanova/following{/o...
null
completed
NONE
2022-08-11T09:37:52Z
null
I_kwDODunzps5Pi_SD
[ "Thanks for reporting @liaeh, we are investigating this. " ]
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/4817/reactions" }
closed
false
https://api.github.com/repos/huggingface/datasets/issues/4817
https://github.com/huggingface/datasets/issues/4817
false
1,334,099,454
https://api.github.com/repos/huggingface/datasets/issues/4816/labels{/name}
This PR updates OPUS ParaCrawl from 7.1 to 9 version. Fix #4815.
2022-08-12T14:32:29Z
4,816
null
https://api.github.com/repos/huggingface/datasets
false
[]
2022-08-10T05:39:44Z
https://api.github.com/repos/huggingface/datasets/issues/4816/comments
null
https://api.github.com/repos/huggingface/datasets/issues/4816/timeline
Update version of opus_paracrawl dataset
https://api.github.com/repos/huggingface/datasets/issues/4816/events
null
{ "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "events_url": "https://api.github.com/users/albertvillanova/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/albertvillanova", "id": 8515462, "login": "albertvillanova", "node_id": "MDQ6VXNlcjg1MTU0NjI=", "organizations_url": "https://api.github.com/users/albertvillanova/orgs", "received_events_url": "https://api.github.com/users/albertvillanova/received_events", "repos_url": "https://api.github.com/users/albertvillanova/repos", "site_admin": false, "starred_url": "https://api.github.com/users/albertvillanova/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/albertvillanova/subscriptions", "type": "User", "url": "https://api.github.com/users/albertvillanova" }
[]
null
null
MEMBER
2022-08-12T14:17:56Z
{ "diff_url": "https://github.com/huggingface/datasets/pull/4816.diff", "html_url": "https://github.com/huggingface/datasets/pull/4816", "merged_at": "2022-08-12T14:17:56Z", "patch_url": "https://github.com/huggingface/datasets/pull/4816.patch", "url": "https://api.github.com/repos/huggingface/datasets/pulls/4816" }
PR_kwDODunzps487kpq
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/4816/reactions" }
closed
false
https://api.github.com/repos/huggingface/datasets/issues/4816
https://github.com/huggingface/datasets/pull/4816
true
1,334,078,303
https://api.github.com/repos/huggingface/datasets/issues/4815/labels{/name}
## Describe the bug Our loading script for OPUS ParaCrawl loads its 7.1 version. Current existing version is 9.
2022-08-12T14:17:57Z
4,815
null
https://api.github.com/repos/huggingface/datasets
null
[ { "color": "2edb81", "default": false, "description": "A bug in a dataset script provided in the library", "id": 2067388877, "name": "dataset bug", "node_id": "MDU6TGFiZWwyMDY3Mzg4ODc3", "url": "https://api.github.com/repos/huggingface/datasets/labels/dataset%20bug" } ]
2022-08-10T05:12:34Z
https://api.github.com/repos/huggingface/datasets/issues/4815/comments
{ "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "events_url": "https://api.github.com/users/albertvillanova/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/albertvillanova", "id": 8515462, "login": "albertvillanova", "node_id": "MDQ6VXNlcjg1MTU0NjI=", "organizations_url": "https://api.github.com/users/albertvillanova/orgs", "received_events_url": "https://api.github.com/users/albertvillanova/received_events", "repos_url": "https://api.github.com/users/albertvillanova/repos", "site_admin": false, "starred_url": "https://api.github.com/users/albertvillanova/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/albertvillanova/subscriptions", "type": "User", "url": "https://api.github.com/users/albertvillanova" }
https://api.github.com/repos/huggingface/datasets/issues/4815/timeline
Outdated loading script for OPUS ParaCrawl dataset
https://api.github.com/repos/huggingface/datasets/issues/4815/events
null
{ "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "events_url": "https://api.github.com/users/albertvillanova/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/albertvillanova", "id": 8515462, "login": "albertvillanova", "node_id": "MDQ6VXNlcjg1MTU0NjI=", "organizations_url": "https://api.github.com/users/albertvillanova/orgs", "received_events_url": "https://api.github.com/users/albertvillanova/received_events", "repos_url": "https://api.github.com/users/albertvillanova/repos", "site_admin": false, "starred_url": "https://api.github.com/users/albertvillanova/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/albertvillanova/subscriptions", "type": "User", "url": "https://api.github.com/users/albertvillanova" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "events_url": "https://api.github.com/users/albertvillanova/events{/privacy}", "followers_url": "https://api.github.com/users/albertvillanova/followers", "following_url": "https://api.github.com/users/albertvillanova/following{/o...
null
completed
MEMBER
2022-08-12T14:17:57Z
null
I_kwDODunzps5PhGtf
[]
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/4815/reactions" }
closed
false
https://api.github.com/repos/huggingface/datasets/issues/4815
https://github.com/huggingface/datasets/issues/4815
false
1,333,356,230
https://api.github.com/repos/huggingface/datasets/issues/4814/labels{/name}
Requested here: https://discuss.huggingface.co/t/how-to-structure-an-image-dataset-repo-using-the-image-folder-approach/21004. CSV is also used in AutoTrain for specifying metadata in image datasets.
2022-08-31T11:59:08Z
4,814
null
https://api.github.com/repos/huggingface/datasets
null
[ { "color": "a2eeef", "default": true, "description": "New feature or request", "id": 1935892871, "name": "enhancement", "node_id": "MDU6TGFiZWwxOTM1ODkyODcx", "url": "https://api.github.com/repos/huggingface/datasets/labels/enhancement" } ]
2022-08-09T14:36:49Z
https://api.github.com/repos/huggingface/datasets/issues/4814/comments
{ "avatar_url": "https://avatars.githubusercontent.com/u/47462742?v=4", "events_url": "https://api.github.com/users/mariosasko/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/mariosasko", "id": 47462742, "login": "mariosasko", "node_id": "MDQ6VXNlcjQ3NDYyNzQy", "organizations_url": "https://api.github.com/users/mariosasko/orgs", "received_events_url": "https://api.github.com/users/mariosasko/received_events", "repos_url": "https://api.github.com/users/mariosasko/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mariosasko/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mariosasko/subscriptions", "type": "User", "url": "https://api.github.com/users/mariosasko" }
https://api.github.com/repos/huggingface/datasets/issues/4814/timeline
Support CSV as metadata file format in AudioFolder/ImageFolder
https://api.github.com/repos/huggingface/datasets/issues/4814/events
null
{ "avatar_url": "https://avatars.githubusercontent.com/u/47462742?v=4", "events_url": "https://api.github.com/users/mariosasko/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/mariosasko", "id": 47462742, "login": "mariosasko", "node_id": "MDQ6VXNlcjQ3NDYyNzQy", "organizations_url": "https://api.github.com/users/mariosasko/orgs", "received_events_url": "https://api.github.com/users/mariosasko/received_events", "repos_url": "https://api.github.com/users/mariosasko/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mariosasko/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mariosasko/subscriptions", "type": "User", "url": "https://api.github.com/users/mariosasko" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/47462742?v=4", "events_url": "https://api.github.com/users/mariosasko/events{/privacy}", "followers_url": "https://api.github.com/users/mariosasko/followers", "following_url": "https://api.github.com/users/mariosasko/following{/other_user}", ...
null
completed
CONTRIBUTOR
2022-08-31T11:59:08Z
null
I_kwDODunzps5PeWbG
[]
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/4814/reactions" }
closed
false
https://api.github.com/repos/huggingface/datasets/issues/4814
https://github.com/huggingface/datasets/issues/4814
false
1,333,287,756
https://api.github.com/repos/huggingface/datasets/issues/4813/labels{/name}
This PR: - fixes the examples to load the datasets, with the corrected dataset name, in their dataset cards for: - opus_dgt - opus_paracrawl - opus_wikipedia - fixes their dataset cards with the missing required information: title, data instances/fields/splits - enumerates the supported languages - adds a missing citation reference for opus_wikipedia Related to: - #4806
2022-08-09T17:52:15Z
4,813
null
https://api.github.com/repos/huggingface/datasets
false
[]
2022-08-09T13:47:38Z
https://api.github.com/repos/huggingface/datasets/issues/4813/comments
null
https://api.github.com/repos/huggingface/datasets/issues/4813/timeline
Fix loading example in opus dataset cards
https://api.github.com/repos/huggingface/datasets/issues/4813/events
null
{ "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "events_url": "https://api.github.com/users/albertvillanova/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/albertvillanova", "id": 8515462, "login": "albertvillanova", "node_id": "MDQ6VXNlcjg1MTU0NjI=", "organizations_url": "https://api.github.com/users/albertvillanova/orgs", "received_events_url": "https://api.github.com/users/albertvillanova/received_events", "repos_url": "https://api.github.com/users/albertvillanova/repos", "site_admin": false, "starred_url": "https://api.github.com/users/albertvillanova/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/albertvillanova/subscriptions", "type": "User", "url": "https://api.github.com/users/albertvillanova" }
[]
null
null
MEMBER
2022-08-09T17:38:18Z
{ "diff_url": "https://github.com/huggingface/datasets/pull/4813.diff", "html_url": "https://github.com/huggingface/datasets/pull/4813", "merged_at": "2022-08-09T17:38:18Z", "patch_url": "https://github.com/huggingface/datasets/pull/4813.patch", "url": "https://api.github.com/repos/huggingface/datasets/pulls/4813" }
PR_kwDODunzps48446r
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/4813/reactions" }
closed
false
https://api.github.com/repos/huggingface/datasets/issues/4813
https://github.com/huggingface/datasets/pull/4813
true
1,333,051,730
https://api.github.com/repos/huggingface/datasets/issues/4812/labels{/name}
Fix `validate_type` function, so that it uses `get_origin` instead. This makes the function forward compatible. This fixes #4811 because: ```python In [4]: typing.Optional[str] Out[4]: typing.Optional[str] In [5]: get_origin(typing.Optional[str]) Out[5]: typing.Union ``` Fix #4811.
2022-08-12T13:41:23Z
4,812
null
https://api.github.com/repos/huggingface/datasets
false
[]
2022-08-09T10:32:42Z
https://api.github.com/repos/huggingface/datasets/issues/4812/comments
null
https://api.github.com/repos/huggingface/datasets/issues/4812/timeline
Fix bug in function validate_type for Python >= 3.9
https://api.github.com/repos/huggingface/datasets/issues/4812/events
null
{ "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "events_url": "https://api.github.com/users/albertvillanova/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/albertvillanova", "id": 8515462, "login": "albertvillanova", "node_id": "MDQ6VXNlcjg1MTU0NjI=", "organizations_url": "https://api.github.com/users/albertvillanova/orgs", "received_events_url": "https://api.github.com/users/albertvillanova/received_events", "repos_url": "https://api.github.com/users/albertvillanova/repos", "site_admin": false, "starred_url": "https://api.github.com/users/albertvillanova/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/albertvillanova/subscriptions", "type": "User", "url": "https://api.github.com/users/albertvillanova" }
[]
null
null
MEMBER
2022-08-12T13:27:04Z
{ "diff_url": "https://github.com/huggingface/datasets/pull/4812.diff", "html_url": "https://github.com/huggingface/datasets/pull/4812", "merged_at": "2022-08-12T13:27:04Z", "patch_url": "https://github.com/huggingface/datasets/pull/4812.patch", "url": "https://api.github.com/repos/huggingface/datasets/pulls/4812" }
PR_kwDODunzps484Fzq
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/4812/reactions" }
closed
false
https://api.github.com/repos/huggingface/datasets/issues/4812
https://github.com/huggingface/datasets/pull/4812
true
1,333,043,421
https://api.github.com/repos/huggingface/datasets/issues/4811/labels{/name}
## Describe the bug The function `validate_type` assumes that the type `typing.Optional[str]` is automatically transformed to `typing.Union[str, NoneType]`. ```python In [4]: typing.Optional[str] Out[4]: typing.Union[str, NoneType] ``` However, this is not the case for Python 3.9: ```python In [3]: typing.Optional[str] Out[3]: typing.Optional[str] ```
2022-08-12T13:27:05Z
4,811
null
https://api.github.com/repos/huggingface/datasets
null
[ { "color": "d73a4a", "default": true, "description": "Something isn't working", "id": 1935892857, "name": "bug", "node_id": "MDU6TGFiZWwxOTM1ODkyODU3", "url": "https://api.github.com/repos/huggingface/datasets/labels/bug" } ]
2022-08-09T10:25:21Z
https://api.github.com/repos/huggingface/datasets/issues/4811/comments
{ "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "events_url": "https://api.github.com/users/albertvillanova/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/albertvillanova", "id": 8515462, "login": "albertvillanova", "node_id": "MDQ6VXNlcjg1MTU0NjI=", "organizations_url": "https://api.github.com/users/albertvillanova/orgs", "received_events_url": "https://api.github.com/users/albertvillanova/received_events", "repos_url": "https://api.github.com/users/albertvillanova/repos", "site_admin": false, "starred_url": "https://api.github.com/users/albertvillanova/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/albertvillanova/subscriptions", "type": "User", "url": "https://api.github.com/users/albertvillanova" }
https://api.github.com/repos/huggingface/datasets/issues/4811/timeline
Bug in function validate_type for Python >= 3.9
https://api.github.com/repos/huggingface/datasets/issues/4811/events
null
{ "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "events_url": "https://api.github.com/users/albertvillanova/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/albertvillanova", "id": 8515462, "login": "albertvillanova", "node_id": "MDQ6VXNlcjg1MTU0NjI=", "organizations_url": "https://api.github.com/users/albertvillanova/orgs", "received_events_url": "https://api.github.com/users/albertvillanova/received_events", "repos_url": "https://api.github.com/users/albertvillanova/repos", "site_admin": false, "starred_url": "https://api.github.com/users/albertvillanova/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/albertvillanova/subscriptions", "type": "User", "url": "https://api.github.com/users/albertvillanova" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "events_url": "https://api.github.com/users/albertvillanova/events{/privacy}", "followers_url": "https://api.github.com/users/albertvillanova/followers", "following_url": "https://api.github.com/users/albertvillanova/following{/o...
null
completed
MEMBER
2022-08-12T13:27:05Z
null
I_kwDODunzps5PdKDd
[]
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/4811/reactions" }
closed
false
https://api.github.com/repos/huggingface/datasets/issues/4811
https://github.com/huggingface/datasets/issues/4811
false
1,333,038,702
https://api.github.com/repos/huggingface/datasets/issues/4810/labels{/name}
null
2022-09-23T11:35:38Z
4,810
null
https://api.github.com/repos/huggingface/datasets
false
[ { "color": "0e8a16", "default": false, "description": "Contribution to a dataset script", "id": 4564477500, "name": "dataset contribution", "node_id": "LA_kwDODunzps8AAAABEBBmPA", "url": "https://api.github.com/repos/huggingface/datasets/labels/dataset%20contribution" } ]
2022-08-09T10:21:14Z
https://api.github.com/repos/huggingface/datasets/issues/4810/comments
null
https://api.github.com/repos/huggingface/datasets/issues/4810/timeline
Add description to hellaswag dataset
https://api.github.com/repos/huggingface/datasets/issues/4810/events
null
{ "avatar_url": "https://avatars.githubusercontent.com/u/326577?v=4", "events_url": "https://api.github.com/users/julien-c/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/julien-c", "id": 326577, "login": "julien-c", "node_id": "MDQ6VXNlcjMyNjU3Nw==", "organizations_url": "https://api.github.com/users/julien-c/orgs", "received_events_url": "https://api.github.com/users/julien-c/received_events", "repos_url": "https://api.github.com/users/julien-c/repos", "site_admin": false, "starred_url": "https://api.github.com/users/julien-c/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/julien-c/subscriptions", "type": "User", "url": "https://api.github.com/users/julien-c" }
[]
null
null
MEMBER
2022-09-23T11:33:44Z
{ "diff_url": "https://github.com/huggingface/datasets/pull/4810.diff", "html_url": "https://github.com/huggingface/datasets/pull/4810", "merged_at": "2022-09-23T11:33:44Z", "patch_url": "https://github.com/huggingface/datasets/pull/4810.patch", "url": "https://api.github.com/repos/huggingface/datasets/pulls/4810" }
PR_kwDODunzps484C9l
[ "_The documentation is not available anymore as the PR was closed or merged._", "Are the `metadata JSON file` not on their way to deprecation? 😆😇\r\n\r\nIMO, more generally than this particular PR, the contribution process should be simplified now that many validation checks happen on the hub side.\r\n\r\nKeepi...
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/4810/reactions" }
closed
false
https://api.github.com/repos/huggingface/datasets/issues/4810
https://github.com/huggingface/datasets/pull/4810
true
1,332,842,747
https://api.github.com/repos/huggingface/datasets/issues/4809/labels{/name}
I fixed the issue #4808 Details of PR: - Added languages included in the dataset. - Added task id and task category. - Updated the citation information. Fix #4808.
2022-08-09T16:26:21Z
4,809
null
https://api.github.com/repos/huggingface/datasets
false
[]
2022-08-09T07:38:06Z
https://api.github.com/repos/huggingface/datasets/issues/4809/comments
null
https://api.github.com/repos/huggingface/datasets/issues/4809/timeline
Complete the mlqa dataset card
https://api.github.com/repos/huggingface/datasets/issues/4809/events
null
{ "avatar_url": "https://avatars.githubusercontent.com/u/7940237?v=4", "events_url": "https://api.github.com/users/el2e10/events{/privacy}", "followers_url": "https://api.github.com/users/el2e10/followers", "following_url": "https://api.github.com/users/el2e10/following{/other_user}", "gists_url": "https://api.github.com/users/el2e10/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/el2e10", "id": 7940237, "login": "el2e10", "node_id": "MDQ6VXNlcjc5NDAyMzc=", "organizations_url": "https://api.github.com/users/el2e10/orgs", "received_events_url": "https://api.github.com/users/el2e10/received_events", "repos_url": "https://api.github.com/users/el2e10/repos", "site_admin": false, "starred_url": "https://api.github.com/users/el2e10/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/el2e10/subscriptions", "type": "User", "url": "https://api.github.com/users/el2e10" }
[]
null
null
CONTRIBUTOR
2022-08-09T13:26:43Z
{ "diff_url": "https://github.com/huggingface/datasets/pull/4809.diff", "html_url": "https://github.com/huggingface/datasets/pull/4809", "merged_at": "2022-08-09T13:26:43Z", "patch_url": "https://github.com/huggingface/datasets/pull/4809.patch", "url": "https://api.github.com/repos/huggingface/datasets/pulls/4809" }
PR_kwDODunzps483Y4h
[ "_The documentation is not available anymore as the PR was closed or merged._", "> Thanks for your contribution, @eldhoittangeorge.\r\n> \r\n> The CI error message: https://github.com/huggingface/datasets/runs/7743526624?check_suite_focus=true\r\n> \r\n> ```\r\n> E ValueError: The following issues have ...
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/4809/reactions" }
closed
false
https://api.github.com/repos/huggingface/datasets/issues/4809
https://github.com/huggingface/datasets/pull/4809
true
1,332,840,217
https://api.github.com/repos/huggingface/datasets/issues/4808/labels{/name}
null
2022-08-09T13:33:23Z
4,808
null
https://api.github.com/repos/huggingface/datasets
null
[]
2022-08-09T07:35:42Z
https://api.github.com/repos/huggingface/datasets/issues/4808/comments
{ "avatar_url": "https://avatars.githubusercontent.com/u/7940237?v=4", "events_url": "https://api.github.com/users/el2e10/events{/privacy}", "followers_url": "https://api.github.com/users/el2e10/followers", "following_url": "https://api.github.com/users/el2e10/following{/other_user}", "gists_url": "https://api.github.com/users/el2e10/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/el2e10", "id": 7940237, "login": "el2e10", "node_id": "MDQ6VXNlcjc5NDAyMzc=", "organizations_url": "https://api.github.com/users/el2e10/orgs", "received_events_url": "https://api.github.com/users/el2e10/received_events", "repos_url": "https://api.github.com/users/el2e10/repos", "site_admin": false, "starred_url": "https://api.github.com/users/el2e10/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/el2e10/subscriptions", "type": "User", "url": "https://api.github.com/users/el2e10" }
https://api.github.com/repos/huggingface/datasets/issues/4808/timeline
Add more information to the dataset card of mlqa dataset
https://api.github.com/repos/huggingface/datasets/issues/4808/events
null
{ "avatar_url": "https://avatars.githubusercontent.com/u/7940237?v=4", "events_url": "https://api.github.com/users/el2e10/events{/privacy}", "followers_url": "https://api.github.com/users/el2e10/followers", "following_url": "https://api.github.com/users/el2e10/following{/other_user}", "gists_url": "https://api.github.com/users/el2e10/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/el2e10", "id": 7940237, "login": "el2e10", "node_id": "MDQ6VXNlcjc5NDAyMzc=", "organizations_url": "https://api.github.com/users/el2e10/orgs", "received_events_url": "https://api.github.com/users/el2e10/received_events", "repos_url": "https://api.github.com/users/el2e10/repos", "site_admin": false, "starred_url": "https://api.github.com/users/el2e10/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/el2e10/subscriptions", "type": "User", "url": "https://api.github.com/users/el2e10" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/7940237?v=4", "events_url": "https://api.github.com/users/el2e10/events{/privacy}", "followers_url": "https://api.github.com/users/el2e10/followers", "following_url": "https://api.github.com/users/el2e10/following{/other_user}", "gists_url...
null
completed
CONTRIBUTOR
2022-08-09T13:33:23Z
null
I_kwDODunzps5PcYcZ
[ "#self-assign", "Fixed by:\r\n- #4809" ]
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/4808/reactions" }
closed
false
https://api.github.com/repos/huggingface/datasets/issues/4808
https://github.com/huggingface/datasets/issues/4808
false
1,332,784,110
https://api.github.com/repos/huggingface/datasets/issues/4807/labels{/name}
I fixed a issue #4805. I changed `"gnome"` to `"opus_gnome"` in[ README.md](https://github.com/huggingface/datasets/tree/main/datasets/opus_gnome#dataset-summary).
2022-08-09T07:28:03Z
4,807
null
https://api.github.com/repos/huggingface/datasets
false
[]
2022-08-09T06:38:13Z
https://api.github.com/repos/huggingface/datasets/issues/4807/comments
null
https://api.github.com/repos/huggingface/datasets/issues/4807/timeline
document fix in opus_gnome dataset
https://api.github.com/repos/huggingface/datasets/issues/4807/events
null
{ "avatar_url": "https://avatars.githubusercontent.com/u/38291975?v=4", "events_url": "https://api.github.com/users/gojiteji/events{/privacy}", "followers_url": "https://api.github.com/users/gojiteji/followers", "following_url": "https://api.github.com/users/gojiteji/following{/other_user}", "gists_url": "https://api.github.com/users/gojiteji/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/gojiteji", "id": 38291975, "login": "gojiteji", "node_id": "MDQ6VXNlcjM4MjkxOTc1", "organizations_url": "https://api.github.com/users/gojiteji/orgs", "received_events_url": "https://api.github.com/users/gojiteji/received_events", "repos_url": "https://api.github.com/users/gojiteji/repos", "site_admin": false, "starred_url": "https://api.github.com/users/gojiteji/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gojiteji/subscriptions", "type": "User", "url": "https://api.github.com/users/gojiteji" }
[]
null
null
CONTRIBUTOR
2022-08-09T07:28:03Z
{ "diff_url": "https://github.com/huggingface/datasets/pull/4807.diff", "html_url": "https://github.com/huggingface/datasets/pull/4807", "merged_at": null, "patch_url": "https://github.com/huggingface/datasets/pull/4807.patch", "url": "https://api.github.com/repos/huggingface/datasets/pulls/4807" }
PR_kwDODunzps483MSH
[ "Duplicate:\r\n- #4806 " ]
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/4807/reactions" }
closed
false
https://api.github.com/repos/huggingface/datasets/issues/4807
https://github.com/huggingface/datasets/pull/4807
true
1,332,664,038
https://api.github.com/repos/huggingface/datasets/issues/4806/labels{/name}
I fixed a issue #4805. I changed `"gnome"` to `"opus_gnome"` in[ README.md](https://github.com/huggingface/datasets/tree/main/datasets/opus_gnome#dataset-summary). Fix #4805
2022-08-09T12:06:46Z
4,806
null
https://api.github.com/repos/huggingface/datasets
false
[]
2022-08-09T03:40:15Z
https://api.github.com/repos/huggingface/datasets/issues/4806/comments
null
https://api.github.com/repos/huggingface/datasets/issues/4806/timeline
Fix opus_gnome dataset card
https://api.github.com/repos/huggingface/datasets/issues/4806/events
null
{ "avatar_url": "https://avatars.githubusercontent.com/u/38291975?v=4", "events_url": "https://api.github.com/users/gojiteji/events{/privacy}", "followers_url": "https://api.github.com/users/gojiteji/followers", "following_url": "https://api.github.com/users/gojiteji/following{/other_user}", "gists_url": "https://api.github.com/users/gojiteji/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/gojiteji", "id": 38291975, "login": "gojiteji", "node_id": "MDQ6VXNlcjM4MjkxOTc1", "organizations_url": "https://api.github.com/users/gojiteji/orgs", "received_events_url": "https://api.github.com/users/gojiteji/received_events", "repos_url": "https://api.github.com/users/gojiteji/repos", "site_admin": false, "starred_url": "https://api.github.com/users/gojiteji/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gojiteji/subscriptions", "type": "User", "url": "https://api.github.com/users/gojiteji" }
[]
null
null
CONTRIBUTOR
2022-08-09T11:52:04Z
{ "diff_url": "https://github.com/huggingface/datasets/pull/4806.diff", "html_url": "https://github.com/huggingface/datasets/pull/4806", "merged_at": "2022-08-09T11:52:04Z", "patch_url": "https://github.com/huggingface/datasets/pull/4806.patch", "url": "https://api.github.com/repos/huggingface/datasets/pulls/4806" }
PR_kwDODunzps482yiS
[ "_The documentation is not available anymore as the PR was closed or merged._", "@gojiteji why have you closed this PR and created an identical one?\r\n- #4807 ", "@albertvillanova \r\nI forgot to follow \"How to create a Pull\" in CONTRIBUTING.md in this branch.", "Both are identical. And you can push additi...
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 2, "laugh": 0, "rocket": 0, "total_count": 2, "url": "https://api.github.com/repos/huggingface/datasets/issues/4806/reactions" }
closed
false
https://api.github.com/repos/huggingface/datasets/issues/4806
https://github.com/huggingface/datasets/pull/4806
true
1,332,653,531
https://api.github.com/repos/huggingface/datasets/issues/4805/labels{/name}
## Describe the bug I found that [the example on opus_gone dataset ](https://github.com/huggingface/datasets/tree/main/datasets/opus_gnome#dataset-summary) doesn't work. ## Steps to reproduce the bug ```python load_dataset("gnome", lang1="it", lang2="pl") ``` `"gnome"` should be `"opus_gnome"` ## Expected results ```bash 100% 1/1 [00:00<00:00, 42.09it/s] DatasetDict({ train: Dataset({ features: ['id', 'translation'], num_rows: 8368 }) }) ``` ## Actual results ```bash Couldn't find 'gnome' on the Hugging Face Hub either: FileNotFoundError: Couldn't find file at https://raw.githubusercontent.com/huggingface/datasets/main/datasets/gnome/gnome.py ``` ## Environment info - `datasets` version: 2.4.0 - Platform: Linux-5.4.0-120-generic-x86_64-with-glibc2.27 - Python version: 3.9.13 - PyArrow version: 9.0.0 - Pandas version: 1.4.3
2022-08-09T11:52:05Z
4,805
null
https://api.github.com/repos/huggingface/datasets
null
[ { "color": "d73a4a", "default": true, "description": "Something isn't working", "id": 1935892857, "name": "bug", "node_id": "MDU6TGFiZWwxOTM1ODkyODU3", "url": "https://api.github.com/repos/huggingface/datasets/labels/bug" } ]
2022-08-09T03:21:27Z
https://api.github.com/repos/huggingface/datasets/issues/4805/comments
null
https://api.github.com/repos/huggingface/datasets/issues/4805/timeline
Wrong example in opus_gnome dataset card
https://api.github.com/repos/huggingface/datasets/issues/4805/events
null
{ "avatar_url": "https://avatars.githubusercontent.com/u/38291975?v=4", "events_url": "https://api.github.com/users/gojiteji/events{/privacy}", "followers_url": "https://api.github.com/users/gojiteji/followers", "following_url": "https://api.github.com/users/gojiteji/following{/other_user}", "gists_url": "https://api.github.com/users/gojiteji/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/gojiteji", "id": 38291975, "login": "gojiteji", "node_id": "MDQ6VXNlcjM4MjkxOTc1", "organizations_url": "https://api.github.com/users/gojiteji/orgs", "received_events_url": "https://api.github.com/users/gojiteji/received_events", "repos_url": "https://api.github.com/users/gojiteji/repos", "site_admin": false, "starred_url": "https://api.github.com/users/gojiteji/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gojiteji/subscriptions", "type": "User", "url": "https://api.github.com/users/gojiteji" }
[]
null
completed
CONTRIBUTOR
2022-08-09T11:52:05Z
null
I_kwDODunzps5Pbq3b
[]
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/4805/reactions" }
closed
false
https://api.github.com/repos/huggingface/datasets/issues/4805
https://github.com/huggingface/datasets/issues/4805
false
1,332,630,358
https://api.github.com/repos/huggingface/datasets/issues/4804/labels{/name}
## Describe the bug streaming dataset with concatenating splits raises an error ## Steps to reproduce the bug ```python from datasets import load_dataset # no error repo = "nateraw/ade20k-tiny" dataset = load_dataset(repo, split="train+validation") ``` ```python from datasets import load_dataset # error repo = "nateraw/ade20k-tiny" dataset = load_dataset(repo, split="train+validation", streaming=True) ``` ```sh --------------------------------------------------------------------------- ValueError Traceback (most recent call last) [<ipython-input-4-a6ae02d63899>](https://localhost:8080/#) in <module>() 3 # error 4 repo = "nateraw/ade20k-tiny" ----> 5 dataset = load_dataset(repo, split="train+validation", streaming=True) 1 frames [/usr/local/lib/python3.7/dist-packages/datasets/builder.py](https://localhost:8080/#) in as_streaming_dataset(self, split, base_path) 1030 splits_generator = splits_generators[split] 1031 else: -> 1032 raise ValueError(f"Bad split: {split}. Available splits: {list(splits_generators)}") 1033 1034 # Create a dataset for each of the given splits ValueError: Bad split: train+validation. Available splits: ['validation', 'train'] ``` [Colab](https://colab.research.google.com/drive/1wMj08_0bym9jnGgByib4lsBPu8NCZBG9?usp=sharing) ## Expected results load successfully or throws an error saying it is not supported. ## Actual results above ## Environment info - `datasets` version: 2.4.0 - Platform: Windows-10-10.0.22000-SP0 (windows11 x64) - Python version: 3.9.13 - PyArrow version: 8.0.0 - Pandas version: 1.4.3
2023-11-25T14:52:09Z
4,804
null
https://api.github.com/repos/huggingface/datasets
null
[ { "color": "d73a4a", "default": true, "description": "Something isn't working", "id": 1935892857, "name": "bug", "node_id": "MDU6TGFiZWwxOTM1ODkyODU3", "url": "https://api.github.com/repos/huggingface/datasets/labels/bug" } ]
2022-08-09T02:41:56Z
https://api.github.com/repos/huggingface/datasets/issues/4804/comments
null
https://api.github.com/repos/huggingface/datasets/issues/4804/timeline
streaming dataset with concatenating splits raises an error
https://api.github.com/repos/huggingface/datasets/issues/4804/events
null
{ "avatar_url": "https://avatars.githubusercontent.com/u/37621276?v=4", "events_url": "https://api.github.com/users/Bing-su/events{/privacy}", "followers_url": "https://api.github.com/users/Bing-su/followers", "following_url": "https://api.github.com/users/Bing-su/following{/other_user}", "gists_url": "https://api.github.com/users/Bing-su/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Bing-su", "id": 37621276, "login": "Bing-su", "node_id": "MDQ6VXNlcjM3NjIxMjc2", "organizations_url": "https://api.github.com/users/Bing-su/orgs", "received_events_url": "https://api.github.com/users/Bing-su/received_events", "repos_url": "https://api.github.com/users/Bing-su/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Bing-su/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Bing-su/subscriptions", "type": "User", "url": "https://api.github.com/users/Bing-su" }
[]
null
null
NONE
null
null
I_kwDODunzps5PblNW
[ "Hi! Only the name of a particular split (\"train\", \"test\", ...) is supported as a split pattern if `streaming=True`. We plan to address this limitation soon.", "Hi, have you addressed this yet?", "yes, same error occurs.\r\n```python\r\nfrom datasets import load_dataset\r\n\r\n# error\r\nrepo = \"nateraw/ad...
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/4804/reactions" }
open
false
https://api.github.com/repos/huggingface/datasets/issues/4804
https://github.com/huggingface/datasets/issues/4804
false
1,332,079,562
https://api.github.com/repos/huggingface/datasets/issues/4803/labels{/name}
**Is your feature request related to a problem? Please describe.** The `wikipedia` dataset requires a `pipeline` argument to build the list of splits: https://huggingface.co/datasets/wikipedia/blob/main/wikipedia.py#L937 But this is currently not supported in `get_dataset_config_info`: https://github.com/huggingface/datasets/blob/main/src/datasets/inspect.py#L373-L375 which is called by other functions, e.g. `get_dataset_split_names`. **Additional context** The dataset viewer is not working out-of-the-box on `wikipedia` for this reason: https://huggingface.co/datasets/wikipedia/viewer <img width="637" alt="Capture d’écran 2022-08-08 à 12 01 16" src="https://user-images.githubusercontent.com/1676121/183461838-5330783b-0269-4ba7-a999-314cde2023d8.png">
2023-09-25T12:21:35Z
4,803
null
https://api.github.com/repos/huggingface/datasets
null
[ { "color": "a2eeef", "default": true, "description": "New feature or request", "id": 1935892871, "name": "enhancement", "node_id": "MDU6TGFiZWwxOTM1ODkyODcx", "url": "https://api.github.com/repos/huggingface/datasets/labels/enhancement" } ]
2022-08-08T16:01:24Z
https://api.github.com/repos/huggingface/datasets/issues/4803/comments
null
https://api.github.com/repos/huggingface/datasets/issues/4803/timeline
Support `pipeline` argument in inspect.py functions
https://api.github.com/repos/huggingface/datasets/issues/4803/events
null
{ "avatar_url": "https://avatars.githubusercontent.com/u/1676121?v=4", "events_url": "https://api.github.com/users/severo/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/severo", "id": 1676121, "login": "severo", "node_id": "MDQ6VXNlcjE2NzYxMjE=", "organizations_url": "https://api.github.com/users/severo/orgs", "received_events_url": "https://api.github.com/users/severo/received_events", "repos_url": "https://api.github.com/users/severo/repos", "site_admin": false, "starred_url": "https://api.github.com/users/severo/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/severo/subscriptions", "type": "User", "url": "https://api.github.com/users/severo" }
[]
null
null
CONTRIBUTOR
null
null
I_kwDODunzps5PZevK
[ "Now: the preview (first-rows) works, but not the conversion to parquet. See https://huggingface.co/datasets/wikipedia/viewer/20220301.de/train\r\n\r\n```\r\n_split_generators() missing 1 required positional argument: 'pipeline'\r\n\r\nError code: UnexpectedError\r\n```" ]
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/4803/reactions" }
open
false
https://api.github.com/repos/huggingface/datasets/issues/4803
https://github.com/huggingface/datasets/issues/4803
false
1,331,676,691
https://api.github.com/repos/huggingface/datasets/issues/4802/labels{/name}
## Describe the bug I found a case where `with_format` does not transform the dataset to the requested format. ## Steps to reproduce the bug Run: ```python from transformers import AutoTokenizer, AutoFeatureExtractor from datasets import load_dataset raw = load_dataset("glue", "sst2", split="train") raw = raw.select(range(100)) tokenizer = AutoTokenizer.from_pretrained("philschmid/tiny-bert-sst2-distilled") def preprocess_func(examples): return tokenizer(examples["sentence"], padding=True, max_length=256, truncation=True) data = raw.map(preprocess_func, batched=True) print(type(data[0]["input_ids"])) data = data.with_format("torch", columns=["input_ids"]) print(type(data[0]["input_ids"])) ``` printing as expected: ```python <class 'list'> <class 'torch.Tensor'> ``` Then run: ```python raw = load_dataset("beans", split="train") raw = raw.select(range(100)) preprocessor = AutoFeatureExtractor.from_pretrained("nateraw/vit-base-beans") def preprocess_func(examples): imgs = [img.convert("RGB") for img in examples["image"]] return preprocessor(imgs) data = raw.map(preprocess_func, batched=True) print(type(data[0]["pixel_values"])) data = data.with_format("torch", columns=["pixel_values"]) print(type(data[0]["pixel_values"])) ``` Printing, unexpectedly ```python <class 'list'> <class 'list'> ``` ## Expected results `with_format` should transform into the requested format; it's not the case. ## Actual results `type(data[0]["pixel_values"])` should be `torch.Tensor` in the example above ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: dev version, commit 44af3fafb527302282f6b6507b952de7435f0979 - Platform: Linux - Python version: 3.9.12 - PyArrow version: 7.0.0
2022-08-09T16:49:09Z
4,802
null
https://api.github.com/repos/huggingface/datasets
null
[ { "color": "d73a4a", "default": true, "description": "Something isn't working", "id": 1935892857, "name": "bug", "node_id": "MDU6TGFiZWwxOTM1ODkyODU3", "url": "https://api.github.com/repos/huggingface/datasets/labels/bug" } ]
2022-08-08T10:41:34Z
https://api.github.com/repos/huggingface/datasets/issues/4802/comments
null
https://api.github.com/repos/huggingface/datasets/issues/4802/timeline
`with_format` behavior is inconsistent on different datasets
https://api.github.com/repos/huggingface/datasets/issues/4802/events
null
{ "avatar_url": "https://avatars.githubusercontent.com/u/9808326?v=4", "events_url": "https://api.github.com/users/fxmarty/events{/privacy}", "followers_url": "https://api.github.com/users/fxmarty/followers", "following_url": "https://api.github.com/users/fxmarty/following{/other_user}", "gists_url": "https://api.github.com/users/fxmarty/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/fxmarty", "id": 9808326, "login": "fxmarty", "node_id": "MDQ6VXNlcjk4MDgzMjY=", "organizations_url": "https://api.github.com/users/fxmarty/orgs", "received_events_url": "https://api.github.com/users/fxmarty/received_events", "repos_url": "https://api.github.com/users/fxmarty/repos", "site_admin": false, "starred_url": "https://api.github.com/users/fxmarty/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/fxmarty/subscriptions", "type": "User", "url": "https://api.github.com/users/fxmarty" }
[]
null
null
CONTRIBUTOR
null
null
I_kwDODunzps5PX8YT
[ "Hi! You can get a `torch.Tensor` if you do the following:\r\n```python\r\nraw = load_dataset(\"beans\", split=\"train\")\r\nraw = raw.select(range(100))\r\n\r\npreprocessor = AutoFeatureExtractor.from_pretrained(\"nateraw/vit-base-beans\")\r\n\r\nfrom datasets import Array3D\r\nfeatures = raw.features.copy()\r\nfe...
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/4802/reactions" }
open
false
https://api.github.com/repos/huggingface/datasets/issues/4802
https://github.com/huggingface/datasets/issues/4802
false
1,331,337,418
https://api.github.com/repos/huggingface/datasets/issues/4801/labels{/name}
This PR: - replaces the fine labels, so that there are 50 instead of 47 - once more labels are added, all they (fine and coarse) have been re-ordered, so that they align with the order in: https://cogcomp.seas.upenn.edu/Data/QA/QC/definition.html - the feature names have been fixed: `fine_label` instead of `label-fine` - to sneak-case (underscores instead of hyphens) - words have been reordered Fix #4790.
2022-08-22T16:29:14Z
4,801
null
https://api.github.com/repos/huggingface/datasets
false
[]
2022-08-08T05:11:02Z
https://api.github.com/repos/huggingface/datasets/issues/4801/comments
null
https://api.github.com/repos/huggingface/datasets/issues/4801/timeline
Fix fine classes in trec dataset
https://api.github.com/repos/huggingface/datasets/issues/4801/events
null
{ "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "events_url": "https://api.github.com/users/albertvillanova/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/albertvillanova", "id": 8515462, "login": "albertvillanova", "node_id": "MDQ6VXNlcjg1MTU0NjI=", "organizations_url": "https://api.github.com/users/albertvillanova/orgs", "received_events_url": "https://api.github.com/users/albertvillanova/received_events", "repos_url": "https://api.github.com/users/albertvillanova/repos", "site_admin": false, "starred_url": "https://api.github.com/users/albertvillanova/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/albertvillanova/subscriptions", "type": "User", "url": "https://api.github.com/users/albertvillanova" }
[]
null
null
MEMBER
2022-08-22T16:14:15Z
{ "diff_url": "https://github.com/huggingface/datasets/pull/4801.diff", "html_url": "https://github.com/huggingface/datasets/pull/4801", "merged_at": "2022-08-22T16:14:15Z", "patch_url": "https://github.com/huggingface/datasets/pull/4801.patch", "url": "https://api.github.com/repos/huggingface/datasets/pulls/4801" }
PR_kwDODunzps48yTYu
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/4801/reactions" }
closed
false
https://api.github.com/repos/huggingface/datasets/issues/4801
https://github.com/huggingface/datasets/pull/4801
true
1,331,288,128
https://api.github.com/repos/huggingface/datasets/issues/4800/labels{/name}
```python import numpy as np import datasets a = np.zeros((5000000, 768)) res = datasets.Dataset.from_dict({'embedding': a}) ''' File '/home/wenjiaxin/anaconda3/envs/data/lib/python3.8/site-packages/datasets/arrow_writer.py', line 178, in __arrow_array__ out = numpy_to_pyarrow_listarray(data) File "/home/wenjiaxin/anaconda3/envs/data/lib/python3.8/site-packages/datasets/features/features.py", line 1173, in numpy_to_pyarrow_listarray offsets = pa.array(np.arange(n_offsets + 1) * step_offsets, type=pa.int32()) File "pyarrow/array.pxi", line 312, in pyarrow.lib.array File "pyarrow/array.pxi", line 83, in pyarrow.lib._ndarray_to_array File "pyarrow/error.pxi", line 100, in pyarrow.lib.check_status pyarrow.lib.ArrowInvalid: Integer value 2147483904 not in range: -2147483648 to 2147483647 ''' ``` Loading a large numpy array currently raises the error above as the type of offsets is `int32`. And pyarrow has supported [LargeListArray](https://arrow.apache.org/docs/python/generated/pyarrow.LargeListArray.html) for this case.
2023-08-17T02:34:11Z
4,800
null
https://api.github.com/repos/huggingface/datasets
false
[]
2022-08-08T03:58:46Z
https://api.github.com/repos/huggingface/datasets/issues/4800/comments
null
https://api.github.com/repos/huggingface/datasets/issues/4800/timeline
support LargeListArray in pyarrow
https://api.github.com/repos/huggingface/datasets/issues/4800/events
null
{ "avatar_url": "https://avatars.githubusercontent.com/u/48146603?v=4", "events_url": "https://api.github.com/users/Jiaxin-Wen/events{/privacy}", "followers_url": "https://api.github.com/users/Jiaxin-Wen/followers", "following_url": "https://api.github.com/users/Jiaxin-Wen/following{/other_user}", "gists_url": "https://api.github.com/users/Jiaxin-Wen/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Jiaxin-Wen", "id": 48146603, "login": "Jiaxin-Wen", "node_id": "MDQ6VXNlcjQ4MTQ2NjAz", "organizations_url": "https://api.github.com/users/Jiaxin-Wen/orgs", "received_events_url": "https://api.github.com/users/Jiaxin-Wen/received_events", "repos_url": "https://api.github.com/users/Jiaxin-Wen/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Jiaxin-Wen/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Jiaxin-Wen/subscriptions", "type": "User", "url": "https://api.github.com/users/Jiaxin-Wen" }
[]
null
null
CONTRIBUTOR
null
{ "diff_url": "https://github.com/huggingface/datasets/pull/4800.diff", "html_url": "https://github.com/huggingface/datasets/pull/4800", "merged_at": null, "patch_url": "https://github.com/huggingface/datasets/pull/4800.patch", "url": "https://api.github.com/repos/huggingface/datasets/pulls/4800" }
PR_kwDODunzps48yIss
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_4800). All of your documentation changes will be reflected on that endpoint.", "Hi, thanks for working on this! Can you run `make style` at the repo root to fix the code quality error in CI and add a test?", "Hi, I have fixed...
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/4800/reactions" }
open
false
https://api.github.com/repos/huggingface/datasets/issues/4800
https://github.com/huggingface/datasets/pull/4800
true
1,330,889,854
https://api.github.com/repos/huggingface/datasets/issues/4799/labels{/name}
you know how you can [use `load_dataset` with any arbitrary csv file](https://huggingface.co/docs/datasets/loading#csv)? and you can also [use it to load a local image dataset](https://huggingface.co/docs/datasets/image_load#local-files)? could you please add functionality to load a video dataset? it would be really cool if i could point it to a bunch of video files and use pytorch to start looping through batches of videos. like if my batch size is 16, each sample in the batch is a frame from a video. i'm competing in the [minerl challenge](https://www.aicrowd.com/challenges/neurips-2022-minerl-basalt-competition), and it would be awesome to use the HF ecosystem.
2023-10-01T00:08:31Z
4,799
null
https://api.github.com/repos/huggingface/datasets
null
[ { "color": "a2eeef", "default": true, "description": "New feature or request", "id": 1935892871, "name": "enhancement", "node_id": "MDU6TGFiZWwxOTM1ODkyODcx", "url": "https://api.github.com/repos/huggingface/datasets/labels/enhancement" } ]
2022-08-07T01:54:12Z
https://api.github.com/repos/huggingface/datasets/issues/4799/comments
null
https://api.github.com/repos/huggingface/datasets/issues/4799/timeline
video dataset loader/parser
https://api.github.com/repos/huggingface/datasets/issues/4799/events
null
{ "avatar_url": "https://avatars.githubusercontent.com/u/26421036?v=4", "events_url": "https://api.github.com/users/verbose-void/events{/privacy}", "followers_url": "https://api.github.com/users/verbose-void/followers", "following_url": "https://api.github.com/users/verbose-void/following{/other_user}", "gists_url": "https://api.github.com/users/verbose-void/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/verbose-void", "id": 26421036, "login": "verbose-void", "node_id": "MDQ6VXNlcjI2NDIxMDM2", "organizations_url": "https://api.github.com/users/verbose-void/orgs", "received_events_url": "https://api.github.com/users/verbose-void/received_events", "repos_url": "https://api.github.com/users/verbose-void/repos", "site_admin": false, "starred_url": "https://api.github.com/users/verbose-void/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/verbose-void/subscriptions", "type": "User", "url": "https://api.github.com/users/verbose-void" }
[]
null
completed
CONTRIBUTOR
2022-08-09T16:42:51Z
null
I_kwDODunzps5PU8R-
[ "Hi! We've just started discussing the video support in `datasets` (decoding backends, video feature type, etc.), so I believe we should have something tangible by the end of this year.\r\n\r\nAlso, if you have additional video features in mind that you would like to see, feel free to let us know", "Coool thanks ...
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/4799/reactions" }
closed
false
https://api.github.com/repos/huggingface/datasets/issues/4799
https://github.com/huggingface/datasets/issues/4799
false
1,330,699,942
https://api.github.com/repos/huggingface/datasets/issues/4798/labels{/name}
Hi everyone! I was using Hugging Face datasets to process some very large datasets and found that it would be quite handy to have a feature that will allow to "split" these large datasets into chunks with equal size. Even better - be able to run through these chunks one by one in simple and convenient way. So I decided to add the method called shard_generator() to the main Dataset class. It works similar to shard method but it returns a generator of datasets with equal size (defined by shard_size attribute). Example: ```python >>> from datasets import load_dataset >>> ds = load_dataset("rotten_tomatoes", split="validation") >>> ds Dataset({ features: ['text', 'label'], num_rows: 1066 }) >>> next(ds.shard_generator(300)) Dataset({ features: ['text', 'label'], num_rows: 300 }) ``` I hope it can be helpful to someone. Thanks!
2022-10-03T15:35:10Z
4,798
null
https://api.github.com/repos/huggingface/datasets
false
[]
2022-08-06T09:14:06Z
https://api.github.com/repos/huggingface/datasets/issues/4798/comments
null
https://api.github.com/repos/huggingface/datasets/issues/4798/timeline
Shard generator
https://api.github.com/repos/huggingface/datasets/issues/4798/events
null
{ "avatar_url": "https://avatars.githubusercontent.com/u/43296932?v=4", "events_url": "https://api.github.com/users/marianna13/events{/privacy}", "followers_url": "https://api.github.com/users/marianna13/followers", "following_url": "https://api.github.com/users/marianna13/following{/other_user}", "gists_url": "https://api.github.com/users/marianna13/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/marianna13", "id": 43296932, "login": "marianna13", "node_id": "MDQ6VXNlcjQzMjk2OTMy", "organizations_url": "https://api.github.com/users/marianna13/orgs", "received_events_url": "https://api.github.com/users/marianna13/received_events", "repos_url": "https://api.github.com/users/marianna13/repos", "site_admin": false, "starred_url": "https://api.github.com/users/marianna13/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/marianna13/subscriptions", "type": "User", "url": "https://api.github.com/users/marianna13" }
[]
null
null
NONE
2022-10-03T15:35:10Z
{ "diff_url": "https://github.com/huggingface/datasets/pull/4798.diff", "html_url": "https://github.com/huggingface/datasets/pull/4798", "merged_at": null, "patch_url": "https://github.com/huggingface/datasets/pull/4798.patch", "url": "https://api.github.com/repos/huggingface/datasets/pulls/4798" }
PR_kwDODunzps48wVEG
[ "Hi, thanks!\r\n\r\n> I was using Hugging Face datasets to process some very large datasets and found that it would be quite handy to have a feature that will allow to \"split\" these large datasets into chunks with equal size\r\n\r\n`map`, the method we use for processing in `datasets`, already does that if `batch...
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/4798/reactions" }
closed
false
https://api.github.com/repos/huggingface/datasets/issues/4798
https://github.com/huggingface/datasets/pull/4798
true
1,330,000,998
https://api.github.com/repos/huggingface/datasets/issues/4797/labels{/name}
null
2022-08-09T18:46:00Z
4,797
null
https://api.github.com/repos/huggingface/datasets
false
[]
2022-08-05T14:18:26Z
https://api.github.com/repos/huggingface/datasets/issues/4797/comments
null
https://api.github.com/repos/huggingface/datasets/issues/4797/timeline
Torgo dataset creation
https://api.github.com/repos/huggingface/datasets/issues/4797/events
null
{ "avatar_url": "https://avatars.githubusercontent.com/u/75192317?v=4", "events_url": "https://api.github.com/users/YingLi001/events{/privacy}", "followers_url": "https://api.github.com/users/YingLi001/followers", "following_url": "https://api.github.com/users/YingLi001/following{/other_user}", "gists_url": "https://api.github.com/users/YingLi001/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/YingLi001", "id": 75192317, "login": "YingLi001", "node_id": "MDQ6VXNlcjc1MTkyMzE3", "organizations_url": "https://api.github.com/users/YingLi001/orgs", "received_events_url": "https://api.github.com/users/YingLi001/received_events", "repos_url": "https://api.github.com/users/YingLi001/repos", "site_admin": false, "starred_url": "https://api.github.com/users/YingLi001/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/YingLi001/subscriptions", "type": "User", "url": "https://api.github.com/users/YingLi001" }
[]
null
null
NONE
2022-08-09T18:46:00Z
{ "diff_url": "https://github.com/huggingface/datasets/pull/4797.diff", "html_url": "https://github.com/huggingface/datasets/pull/4797", "merged_at": null, "patch_url": "https://github.com/huggingface/datasets/pull/4797.patch", "url": "https://api.github.com/repos/huggingface/datasets/pulls/4797" }
PR_kwDODunzps48uL-t
[ "Hi @YingLi001, thanks for your proposal to add this dataset.\r\n\r\nHowever, now we add datasets directly to the Hub (instead of our GitHub repository). You have the instructions in our docs: \r\n- [Create a dataset loading script](https://huggingface.co/docs/datasets/dataset_script)\r\n- [Create a dataset card](h...
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/4797/reactions" }
closed
false
https://api.github.com/repos/huggingface/datasets/issues/4797
https://github.com/huggingface/datasets/pull/4797
true
1,329,887,810
https://api.github.com/repos/huggingface/datasets/issues/4796/labels{/name}
## Describe the bug When adding a Pillow image to an existing Dataset on the hub, `add_item` fails due to the Pillow image not being automatically converted into the Image feature. ## Steps to reproduce the bug ```python from datasets import load_dataset from PIL import Image dataset = load_dataset("hf-internal-testing/example-documents") # load any random Pillow image image = Image.open("/content/cord_example.png").convert("RGB") new_image = {'image': image} dataset['test'] = dataset['test'].add_item(new_image) ``` ## Expected results The image should be automatically casted to the Image feature when using `add_item`. For now, this can be fixed by using `encode_example`: ``` import datasets feature = datasets.Image(decode=False) new_image = {'image': feature.encode_example(image)} dataset['test'] = dataset['test'].add_item(new_image) ``` ## Actual results ``` ArrowInvalid: Could not convert <PIL.Image.Image image mode=RGB size=576x864 at 0x7F7CCC4589D0> with type Image: did not recognize Python value type when inferring an Arrow data type ```
2024-01-17T05:51:58Z
4,796
{ "closed_at": null, "closed_issues": 1, "created_at": "2023-02-13T16:22:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/47462742?v=4", "events_url": "https://api.github.com/users/mariosasko/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/mariosasko", "id": 47462742, "login": "mariosasko", "node_id": "MDQ6VXNlcjQ3NDYyNzQy", "organizations_url": "https://api.github.com/users/mariosasko/orgs", "received_events_url": "https://api.github.com/users/mariosasko/received_events", "repos_url": "https://api.github.com/users/mariosasko/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mariosasko/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mariosasko/subscriptions", "type": "User", "url": "https://api.github.com/users/mariosasko" }, "description": "Next major release", "due_on": null, "html_url": "https://github.com/huggingface/datasets/milestone/10", "id": 9038583, "labels_url": "https://api.github.com/repos/huggingface/datasets/milestones/10/labels", "node_id": "MI_kwDODunzps4Aier3", "number": 10, "open_issues": 3, "state": "open", "title": "3.0", "updated_at": "2024-03-19T15:29:43Z", "url": "https://api.github.com/repos/huggingface/datasets/milestones/10" }
https://api.github.com/repos/huggingface/datasets
null
[ { "color": "d73a4a", "default": true, "description": "Something isn't working", "id": 1935892857, "name": "bug", "node_id": "MDU6TGFiZWwxOTM1ODkyODU3", "url": "https://api.github.com/repos/huggingface/datasets/labels/bug" } ]
2022-08-05T12:41:19Z
https://api.github.com/repos/huggingface/datasets/issues/4796/comments
{ "avatar_url": "https://avatars.githubusercontent.com/u/47462742?v=4", "events_url": "https://api.github.com/users/mariosasko/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/mariosasko", "id": 47462742, "login": "mariosasko", "node_id": "MDQ6VXNlcjQ3NDYyNzQy", "organizations_url": "https://api.github.com/users/mariosasko/orgs", "received_events_url": "https://api.github.com/users/mariosasko/received_events", "repos_url": "https://api.github.com/users/mariosasko/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mariosasko/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mariosasko/subscriptions", "type": "User", "url": "https://api.github.com/users/mariosasko" }
https://api.github.com/repos/huggingface/datasets/issues/4796/timeline
ArrowInvalid: Could not convert <PIL.Image.Image image mode=RGB when adding image to Dataset
https://api.github.com/repos/huggingface/datasets/issues/4796/events
null
{ "avatar_url": "https://avatars.githubusercontent.com/u/48327001?v=4", "events_url": "https://api.github.com/users/NielsRogge/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/NielsRogge", "id": 48327001, "login": "NielsRogge", "node_id": "MDQ6VXNlcjQ4MzI3MDAx", "organizations_url": "https://api.github.com/users/NielsRogge/orgs", "received_events_url": "https://api.github.com/users/NielsRogge/received_events", "repos_url": "https://api.github.com/users/NielsRogge/repos", "site_admin": false, "starred_url": "https://api.github.com/users/NielsRogge/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/NielsRogge/subscriptions", "type": "User", "url": "https://api.github.com/users/NielsRogge" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/47462742?v=4", "events_url": "https://api.github.com/users/mariosasko/events{/privacy}", "followers_url": "https://api.github.com/users/mariosasko/followers", "following_url": "https://api.github.com/users/mariosasko/following{/other_user}", ...
null
null
CONTRIBUTOR
null
null
I_kwDODunzps5PRHpC
[ "@mariosasko I'm getting a similar issue when creating a Dataset from a Pandas dataframe, like so:\r\n\r\n```\r\nfrom datasets import Dataset, Features, Image, Value\r\nimport pandas as pd\r\nimport requests\r\nimport PIL\r\n\r\n# we need to define the features ourselves\r\nfeatures = Features({\r\n 'a': Value(d...
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/4796/reactions" }
open
false
https://api.github.com/repos/huggingface/datasets/issues/4796
https://github.com/huggingface/datasets/issues/4796
false
1,329,525,732
https://api.github.com/repos/huggingface/datasets/issues/4795/labels{/name}
(@albertvillanova) The [MBPP dataset on the Hub](https://huggingface.co/datasets/mbpp) has only a test split for both its "full" and its "sanitized" subset, while the [paper](https://arxiv.org/abs/2108.07732) states in subsection 2.1 regarding the full split: > In the experiments described later in the paper, we hold out 10 problems for **few-shot prompting**, another 500 as our **test** dataset (which is used to evaluate both few-shot inference and fine-tuned models), 374 problems for **fine-tuning**, and the rest for **validation**. If the dataset on the Hub should reproduce most closely what the original authors use, I guess this four-way split should be reflected. The paper doesn't explicitly state the task_id ranges of the splits, but the [GitHub readme](https://github.com/google-research/google-research/tree/master/mbpp) referenced in the paper specifies exact task_id ranges, although it misstates the total number of samples: > We specify a train and test split to use for evaluation. Specifically: > > * Task IDs 11-510 are used for evaluation. > * Task IDs 1-10 and 511-1000 are used for training and/or prompting. We typically used 1-10 for few-shot prompting, although you can feel free to use any of the training examples. I.e. the few-shot, train and validation splits are combined into one split, with a soft suggestion of using the first ten for few-shot prompting. It is not explicitly stated whether the 374 fine-tuning samples mentioned in the paper have task_id 511 to 784 or 601 to 974 or are randomly sampled from task_id 511 to 974. Regarding the "sanitized" split the paper states the following: > For evaluations involving the edited dataset, we perform comparisons with 100 problems that appear in both the original and edited dataset, using the same held out 10 problems for few-shot prompting and 374 problems for fine-tuning. The statement doesn't appear to be very precise, as among the 10 few-shot problems, those with task_id 1, 5 and 10 are not even part of the sanitized variant, and many from the task_id range from 511 to 974 are missing (e.g. task_id 511 to 553). I suppose the idea the task_id ranges for each split remain the same, even if some of the task_ids are not present. That would result in 7 few-shot, 257 test, 141 train and 22 validation examples in the sanitized split.
2022-09-13T12:27:24Z
4,795
null
https://api.github.com/repos/huggingface/datasets
null
[ { "color": "d73a4a", "default": true, "description": "Something isn't working", "id": 1935892857, "name": "bug", "node_id": "MDU6TGFiZWwxOTM1ODkyODU3", "url": "https://api.github.com/repos/huggingface/datasets/labels/bug" } ]
2022-08-05T06:51:01Z
https://api.github.com/repos/huggingface/datasets/issues/4795/comments
null
https://api.github.com/repos/huggingface/datasets/issues/4795/timeline
Missing MBPP splits
https://api.github.com/repos/huggingface/datasets/issues/4795/events
null
{ "avatar_url": "https://avatars.githubusercontent.com/u/2452384?v=4", "events_url": "https://api.github.com/users/stadlerb/events{/privacy}", "followers_url": "https://api.github.com/users/stadlerb/followers", "following_url": "https://api.github.com/users/stadlerb/following{/other_user}", "gists_url": "https://api.github.com/users/stadlerb/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/stadlerb", "id": 2452384, "login": "stadlerb", "node_id": "MDQ6VXNlcjI0NTIzODQ=", "organizations_url": "https://api.github.com/users/stadlerb/orgs", "received_events_url": "https://api.github.com/users/stadlerb/received_events", "repos_url": "https://api.github.com/users/stadlerb/repos", "site_admin": false, "starred_url": "https://api.github.com/users/stadlerb/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/stadlerb/subscriptions", "type": "User", "url": "https://api.github.com/users/stadlerb" }
[]
null
completed
NONE
2022-09-13T12:27:24Z
null
I_kwDODunzps5PPvPk
[ "Thanks for reporting this as well, @stadlerb.\r\n\r\nI suggest waiting for the answer of the data owners... ", "@albertvillanova The first author of the paper responded to the upstream issue:\r\n> Task IDs 11-510 are the 500 test problems. We use 90 problems (511-600) for validation and then remaining 374 for fi...
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/4795/reactions" }
closed
false
https://api.github.com/repos/huggingface/datasets/issues/4795
https://github.com/huggingface/datasets/issues/4795
false
1,328,593,929
https://api.github.com/repos/huggingface/datasets/issues/4792/labels{/name}
## Adding a Dataset - **Name:** DocVQA - **Description:** Document Visual Question Answering (DocVQA) seeks to inspire a “purpose-driven” point of view in Document Analysis and Recognition research, where the document content is extracted and used to respond to high-level tasks defined by the human consumers of this information. - **Paper:** https://arxiv.org/abs/2007.00398 - **Data:** https://www.docvqa.org/datasets/docvqa - **Motivation:** Models like LayoutLM and Donut in the Transformers library are fine-tuned on DocVQA. Would be very handy to directly load this dataset from the hub. Instructions to add a new dataset can be found [here](https://github.com/huggingface/datasets/blob/main/ADD_NEW_DATASET.md).
2022-08-08T05:31:20Z
4,792
null
https://api.github.com/repos/huggingface/datasets
null
[ { "color": "e99695", "default": false, "description": "Requesting to add a new dataset", "id": 2067376369, "name": "dataset request", "node_id": "MDU6TGFiZWwyMDY3Mzc2MzY5", "url": "https://api.github.com/repos/huggingface/datasets/labels/dataset%20request" } ]
2022-08-04T13:07:26Z
https://api.github.com/repos/huggingface/datasets/issues/4792/comments
null
https://api.github.com/repos/huggingface/datasets/issues/4792/timeline
Add DocVQA
https://api.github.com/repos/huggingface/datasets/issues/4792/events
null
{ "avatar_url": "https://avatars.githubusercontent.com/u/48327001?v=4", "events_url": "https://api.github.com/users/NielsRogge/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/NielsRogge", "id": 48327001, "login": "NielsRogge", "node_id": "MDQ6VXNlcjQ4MzI3MDAx", "organizations_url": "https://api.github.com/users/NielsRogge/orgs", "received_events_url": "https://api.github.com/users/NielsRogge/received_events", "repos_url": "https://api.github.com/users/NielsRogge/repos", "site_admin": false, "starred_url": "https://api.github.com/users/NielsRogge/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/NielsRogge/subscriptions", "type": "User", "url": "https://api.github.com/users/NielsRogge" }
[]
null
null
CONTRIBUTOR
null
null
I_kwDODunzps5PMLwJ
[ "Thanks for proposing, @NielsRogge.\r\n\r\nPlease, note this dataset requires registering in their website and their Terms and Conditions state we cannot distribute their URL:\r\n```\r\n1. You will NOT distribute the download URLs\r\n...\r\n```" ]
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/4792/reactions" }
open
false
https://api.github.com/repos/huggingface/datasets/issues/4792
https://github.com/huggingface/datasets/issues/4792
false
1,328,571,064
https://api.github.com/repos/huggingface/datasets/issues/4791/labels{/name}
### Link https://huggingface.co/datasets/Team-PIXEL/rendered-wikipedia-english/viewer/rendered-wikipedia-en/train ### Description The dataset can be loaded fine but the viewer shows this error: ``` Server Error Status code: 400 Exception: Status400Error Message: The dataset does not exist. ``` I'm guessing this is because I recently renamed the dataset. Based on related issues (e.g. https://github.com/huggingface/datasets/issues/4759) , is there something server-side that needs to be refreshed? ### Owner Yes
2022-08-04T13:43:16Z
4,791
null
https://api.github.com/repos/huggingface/datasets
null
[ { "color": "E5583E", "default": false, "description": "Related to the dataset viewer on huggingface.co", "id": 3470211881, "name": "dataset-viewer", "node_id": "LA_kwDODunzps7O1zsp", "url": "https://api.github.com/repos/huggingface/datasets/labels/dataset-viewer" } ]
2022-08-04T12:49:16Z
https://api.github.com/repos/huggingface/datasets/issues/4791/comments
{ "avatar_url": "https://avatars.githubusercontent.com/u/1676121?v=4", "events_url": "https://api.github.com/users/severo/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/severo", "id": 1676121, "login": "severo", "node_id": "MDQ6VXNlcjE2NzYxMjE=", "organizations_url": "https://api.github.com/users/severo/orgs", "received_events_url": "https://api.github.com/users/severo/received_events", "repos_url": "https://api.github.com/users/severo/repos", "site_admin": false, "starred_url": "https://api.github.com/users/severo/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/severo/subscriptions", "type": "User", "url": "https://api.github.com/users/severo" }
https://api.github.com/repos/huggingface/datasets/issues/4791/timeline
Dataset Viewer issue for Team-PIXEL/rendered-wikipedia-english
https://api.github.com/repos/huggingface/datasets/issues/4791/events
null
{ "avatar_url": "https://avatars.githubusercontent.com/u/25847814?v=4", "events_url": "https://api.github.com/users/xplip/events{/privacy}", "followers_url": "https://api.github.com/users/xplip/followers", "following_url": "https://api.github.com/users/xplip/following{/other_user}", "gists_url": "https://api.github.com/users/xplip/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/xplip", "id": 25847814, "login": "xplip", "node_id": "MDQ6VXNlcjI1ODQ3ODE0", "organizations_url": "https://api.github.com/users/xplip/orgs", "received_events_url": "https://api.github.com/users/xplip/received_events", "repos_url": "https://api.github.com/users/xplip/repos", "site_admin": false, "starred_url": "https://api.github.com/users/xplip/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/xplip/subscriptions", "type": "User", "url": "https://api.github.com/users/xplip" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/1676121?v=4", "events_url": "https://api.github.com/users/severo/events{/privacy}", "followers_url": "https://api.github.com/users/severo/followers", "following_url": "https://api.github.com/users/severo/following{/other_user}", "gists_url...
null
completed
NONE
2022-08-04T13:43:16Z
null
I_kwDODunzps5PMGK4
[ "Thanks for reporting. It's a known issue that should be fixed soon. Meanwhile, I had to manually trigger the dataset viewer. It's OK now.\r\nNote that the extreme aspect ratio of the images generates another issue, that we're inspecting." ]
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/4791/reactions" }
closed
false
https://api.github.com/repos/huggingface/datasets/issues/4791
https://github.com/huggingface/datasets/issues/4791
false
1,328,546,904
https://api.github.com/repos/huggingface/datasets/issues/4790/labels{/name}
## Describe the bug According to their paper, the TREC dataset contains 2 kinds of classes: - 6 coarse classes: TREC-6 - 50 fine classes: TREC-50 However, our implementation only has 47 (instead of 50) fine classes. The reason for this is that we only considered the last segment of the label, which is repeated for several coarse classes: - We have one `desc` fine label instead of 2: - `DESC:desc` - `HUM:desc` - We have one `other` fine label instead of 3: - `ENTY:other` - `LOC:other` - `NUM:other` From their paper: > We define a two-layered taxonomy, which represents a natural semantic classification for typical answers in the TREC task. The hierarchy contains 6 coarse classes and 50 fine classes, > Each coarse class contains a non-overlapping set of fine classes.
2022-08-22T16:14:16Z
4,790
null
https://api.github.com/repos/huggingface/datasets
null
[ { "color": "d73a4a", "default": true, "description": "Something isn't working", "id": 1935892857, "name": "bug", "node_id": "MDU6TGFiZWwxOTM1ODkyODU3", "url": "https://api.github.com/repos/huggingface/datasets/labels/bug" } ]
2022-08-04T12:28:51Z
https://api.github.com/repos/huggingface/datasets/issues/4790/comments
{ "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "events_url": "https://api.github.com/users/albertvillanova/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/albertvillanova", "id": 8515462, "login": "albertvillanova", "node_id": "MDQ6VXNlcjg1MTU0NjI=", "organizations_url": "https://api.github.com/users/albertvillanova/orgs", "received_events_url": "https://api.github.com/users/albertvillanova/received_events", "repos_url": "https://api.github.com/users/albertvillanova/repos", "site_admin": false, "starred_url": "https://api.github.com/users/albertvillanova/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/albertvillanova/subscriptions", "type": "User", "url": "https://api.github.com/users/albertvillanova" }
https://api.github.com/repos/huggingface/datasets/issues/4790/timeline
Issue with fine classes in trec dataset
https://api.github.com/repos/huggingface/datasets/issues/4790/events
null
{ "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "events_url": "https://api.github.com/users/albertvillanova/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/albertvillanova", "id": 8515462, "login": "albertvillanova", "node_id": "MDQ6VXNlcjg1MTU0NjI=", "organizations_url": "https://api.github.com/users/albertvillanova/orgs", "received_events_url": "https://api.github.com/users/albertvillanova/received_events", "repos_url": "https://api.github.com/users/albertvillanova/repos", "site_admin": false, "starred_url": "https://api.github.com/users/albertvillanova/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/albertvillanova/subscriptions", "type": "User", "url": "https://api.github.com/users/albertvillanova" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "events_url": "https://api.github.com/users/albertvillanova/events{/privacy}", "followers_url": "https://api.github.com/users/albertvillanova/followers", "following_url": "https://api.github.com/users/albertvillanova/following{/o...
null
completed
MEMBER
2022-08-22T16:14:16Z
null
I_kwDODunzps5PMARY
[]
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/4790/reactions" }
closed
false
https://api.github.com/repos/huggingface/datasets/issues/4790
https://github.com/huggingface/datasets/issues/4790
false
1,328,409,253
https://api.github.com/repos/huggingface/datasets/issues/4789/labels{/name}
null
2022-09-09T16:37:10Z
4,789
null
https://api.github.com/repos/huggingface/datasets
false
[]
2022-08-04T10:24:00Z
https://api.github.com/repos/huggingface/datasets/issues/4789/comments
null
https://api.github.com/repos/huggingface/datasets/issues/4789/timeline
Update doc upload_dataset.mdx
https://api.github.com/repos/huggingface/datasets/issues/4789/events
null
{ "avatar_url": "https://avatars.githubusercontent.com/u/11827707?v=4", "events_url": "https://api.github.com/users/mishig25/events{/privacy}", "followers_url": "https://api.github.com/users/mishig25/followers", "following_url": "https://api.github.com/users/mishig25/following{/other_user}", "gists_url": "https://api.github.com/users/mishig25/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/mishig25", "id": 11827707, "login": "mishig25", "node_id": "MDQ6VXNlcjExODI3NzA3", "organizations_url": "https://api.github.com/users/mishig25/orgs", "received_events_url": "https://api.github.com/users/mishig25/received_events", "repos_url": "https://api.github.com/users/mishig25/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mishig25/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mishig25/subscriptions", "type": "User", "url": "https://api.github.com/users/mishig25" }
[]
null
null
CONTRIBUTOR
2022-09-09T16:34:58Z
{ "diff_url": "https://github.com/huggingface/datasets/pull/4789.diff", "html_url": "https://github.com/huggingface/datasets/pull/4789", "merged_at": "2022-09-09T16:34:58Z", "patch_url": "https://github.com/huggingface/datasets/pull/4789.patch", "url": "https://api.github.com/repos/huggingface/datasets/pulls/4789" }
PR_kwDODunzps48o3Kk
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/4789/reactions" }
closed
false
https://api.github.com/repos/huggingface/datasets/issues/4789
https://github.com/huggingface/datasets/pull/4789
true
1,328,246,021
https://api.github.com/repos/huggingface/datasets/issues/4788/labels{/name}
Fix issue reported on the Hub: https://huggingface.co/datasets/mbpp/discussions/1 Fix #4787.
2022-08-04T17:34:00Z
4,788
null
https://api.github.com/repos/huggingface/datasets
false
[]
2022-08-04T08:17:40Z
https://api.github.com/repos/huggingface/datasets/issues/4788/comments
null
https://api.github.com/repos/huggingface/datasets/issues/4788/timeline
Fix NonMatchingChecksumError in mbpp dataset
https://api.github.com/repos/huggingface/datasets/issues/4788/events
null
{ "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "events_url": "https://api.github.com/users/albertvillanova/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/albertvillanova", "id": 8515462, "login": "albertvillanova", "node_id": "MDQ6VXNlcjg1MTU0NjI=", "organizations_url": "https://api.github.com/users/albertvillanova/orgs", "received_events_url": "https://api.github.com/users/albertvillanova/received_events", "repos_url": "https://api.github.com/users/albertvillanova/repos", "site_admin": false, "starred_url": "https://api.github.com/users/albertvillanova/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/albertvillanova/subscriptions", "type": "User", "url": "https://api.github.com/users/albertvillanova" }
[]
null
null
MEMBER
2022-08-04T17:21:01Z
{ "diff_url": "https://github.com/huggingface/datasets/pull/4788.diff", "html_url": "https://github.com/huggingface/datasets/pull/4788", "merged_at": "2022-08-04T17:21:01Z", "patch_url": "https://github.com/huggingface/datasets/pull/4788.patch", "url": "https://api.github.com/repos/huggingface/datasets/pulls/4788" }
PR_kwDODunzps48oUNx
[ "_The documentation is not available anymore as the PR was closed or merged._", "Thank you for the quick response! Before noticing that you already had implemented the fix, I already had implemened my own version. I'd also suggest bumping the major version because the contents of the dataset changed, even if only...
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/4788/reactions" }
closed
false
https://api.github.com/repos/huggingface/datasets/issues/4788
https://github.com/huggingface/datasets/pull/4788
true
1,328,243,911
https://api.github.com/repos/huggingface/datasets/issues/4787/labels{/name}
## Describe the bug As reported on the Hub [Fix Checksum Mismatch](https://huggingface.co/datasets/mbpp/discussions/1), there is a `NonMatchingChecksumError` when loading mbpp dataset ## Steps to reproduce the bug ```python ds = load_dataset("mbpp", "full") ``` ## Expected results Loading of the dataset without any exception raised. ## Actual results ``` NonMatchingChecksumError Traceback (most recent call last) <ipython-input-1-a3fbdd3ed82e> in <module> ----> 1 ds = load_dataset("mbpp", "full") .../huggingface/datasets/src/datasets/load.py 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) 1791 1792 # Download and prepare data -> 1793 builder_instance.download_and_prepare( 1794 download_config=download_config, 1795 download_mode=download_mode, .../huggingface/datasets/src/datasets/builder.py in 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 ) .../huggingface/datasets/src/datasets/builder.py in _download_and_prepare(self, dl_manager, verify_infos) 1225 1226 def _download_and_prepare(self, dl_manager, verify_infos): -> 1227 super()._download_and_prepare(dl_manager, verify_infos, check_duplicate_keys=verify_infos) 1228 1229 def _get_examples_iterable_for_split(self, split_generator: SplitGenerator) -> ExamplesIterable: .../huggingface/datasets/src/datasets/builder.py in _download_and_prepare(self, dl_manager, verify_infos, **prepare_split_kwargs) 773 # Checksums verification 774 if verify_infos and dl_manager.record_checksums: --> 775 verify_checksums( 776 self.info.download_checksums, dl_manager.get_recorded_sizes_checksums(), "dataset source files" 777 ) .../huggingface/datasets/src/datasets/utils/info_utils.py in verify_checksums(expected_checksums, recorded_checksums, verification_name) 38 if len(bad_urls) > 0: 39 error_msg = "Checksums didn't match" + for_verification_name + ":\n" ---> 40 raise NonMatchingChecksumError(error_msg + str(bad_urls)) 41 logger.info("All the checksums matched successfully" + for_verification_name) 42 NonMatchingChecksumError: Checksums didn't match for dataset source files: ['https://raw.githubusercontent.com/google-research/google-research/master/mbpp/mbpp.jsonl'] ```
2022-08-04T17:21:01Z
4,787
null
https://api.github.com/repos/huggingface/datasets
null
[ { "color": "d73a4a", "default": true, "description": "Something isn't working", "id": 1935892857, "name": "bug", "node_id": "MDU6TGFiZWwxOTM1ODkyODU3", "url": "https://api.github.com/repos/huggingface/datasets/labels/bug" } ]
2022-08-04T08:15:51Z
https://api.github.com/repos/huggingface/datasets/issues/4787/comments
{ "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "events_url": "https://api.github.com/users/albertvillanova/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/albertvillanova", "id": 8515462, "login": "albertvillanova", "node_id": "MDQ6VXNlcjg1MTU0NjI=", "organizations_url": "https://api.github.com/users/albertvillanova/orgs", "received_events_url": "https://api.github.com/users/albertvillanova/received_events", "repos_url": "https://api.github.com/users/albertvillanova/repos", "site_admin": false, "starred_url": "https://api.github.com/users/albertvillanova/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/albertvillanova/subscriptions", "type": "User", "url": "https://api.github.com/users/albertvillanova" }
https://api.github.com/repos/huggingface/datasets/issues/4787/timeline
NonMatchingChecksumError in mbpp dataset
https://api.github.com/repos/huggingface/datasets/issues/4787/events
null
{ "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "events_url": "https://api.github.com/users/albertvillanova/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/albertvillanova", "id": 8515462, "login": "albertvillanova", "node_id": "MDQ6VXNlcjg1MTU0NjI=", "organizations_url": "https://api.github.com/users/albertvillanova/orgs", "received_events_url": "https://api.github.com/users/albertvillanova/received_events", "repos_url": "https://api.github.com/users/albertvillanova/repos", "site_admin": false, "starred_url": "https://api.github.com/users/albertvillanova/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/albertvillanova/subscriptions", "type": "User", "url": "https://api.github.com/users/albertvillanova" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "events_url": "https://api.github.com/users/albertvillanova/events{/privacy}", "followers_url": "https://api.github.com/users/albertvillanova/followers", "following_url": "https://api.github.com/users/albertvillanova/following{/o...
null
completed
MEMBER
2022-08-04T17:21:01Z
null
I_kwDODunzps5PK2TH
[]
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/4787/reactions" }
closed
false
https://api.github.com/repos/huggingface/datasets/issues/4787
https://github.com/huggingface/datasets/issues/4787
false
1,327,340,828
https://api.github.com/repos/huggingface/datasets/issues/4786/labels{/name}
The following code: ```python import datasets train_dataset, test_dataset = load_dataset("imdb", split=["train", "test"]) s3 = datasets.filesystems.S3FileSystem(key=aws_access_key_id, secret=aws_secret_access_key) train_dataset.save_to_disk("s3://datasets/", fs=s3) ``` produces following traceback: ```shell File "C:\Users\Hong Knop\AppData\Local\Programs\Python\Python310\lib\site-packages\botocore\auth.py", line 374, in scope return '/'.join(scope) ``` I invoke print(scope) in <auth.py> (line 373) and find this: ```python [('4VA08VLL3VTKQJKCAI8M',), '20220803', 'us-east-1', 's3', 'aws4_request'] ```
2022-08-03T15:23:00Z
4,786
null
https://api.github.com/repos/huggingface/datasets
null
[ { "color": "d73a4a", "default": true, "description": "Something isn't working", "id": 1935892857, "name": "bug", "node_id": "MDU6TGFiZWwxOTM1ODkyODU3", "url": "https://api.github.com/repos/huggingface/datasets/labels/bug" } ]
2022-08-03T14:49:29Z
https://api.github.com/repos/huggingface/datasets/issues/4786/comments
null
https://api.github.com/repos/huggingface/datasets/issues/4786/timeline
.save_to_disk('path', fs=s3) TypeError
https://api.github.com/repos/huggingface/datasets/issues/4786/events
null
{ "avatar_url": "https://avatars.githubusercontent.com/u/110547763?v=4", "events_url": "https://api.github.com/users/h-k-dev/events{/privacy}", "followers_url": "https://api.github.com/users/h-k-dev/followers", "following_url": "https://api.github.com/users/h-k-dev/following{/other_user}", "gists_url": "https://api.github.com/users/h-k-dev/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/h-k-dev", "id": 110547763, "login": "h-k-dev", "node_id": "U_kgDOBpbTMw", "organizations_url": "https://api.github.com/users/h-k-dev/orgs", "received_events_url": "https://api.github.com/users/h-k-dev/received_events", "repos_url": "https://api.github.com/users/h-k-dev/repos", "site_admin": false, "starred_url": "https://api.github.com/users/h-k-dev/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/h-k-dev/subscriptions", "type": "User", "url": "https://api.github.com/users/h-k-dev" }
[]
null
completed
NONE
2022-08-03T15:23:00Z
null
I_kwDODunzps5PHZ0c
[]
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/4786/reactions" }
closed
false
https://api.github.com/repos/huggingface/datasets/issues/4786
https://github.com/huggingface/datasets/issues/4786
false
1,327,225,826
https://api.github.com/repos/huggingface/datasets/issues/4785/labels{/name}
This PR adds to docs the requirement of torchaudio<0.12.0 to avoid RuntimeError. Subsequent to PR: - #4777
2022-08-03T15:07:43Z
4,785
null
https://api.github.com/repos/huggingface/datasets
false
[]
2022-08-03T13:32:00Z
https://api.github.com/repos/huggingface/datasets/issues/4785/comments
null
https://api.github.com/repos/huggingface/datasets/issues/4785/timeline
Require torchaudio<0.12.0 in docs
https://api.github.com/repos/huggingface/datasets/issues/4785/events
null
{ "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "events_url": "https://api.github.com/users/albertvillanova/events{/privacy}", "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}", "gravatar_id": "", "html_url": "https://github.com/albertvillanova", "id": 8515462, "login": "albertvillanova", "node_id": "MDQ6VXNlcjg1MTU0NjI=", "organizations_url": "https://api.github.com/users/albertvillanova/orgs", "received_events_url": "https://api.github.com/users/albertvillanova/received_events", "repos_url": "https://api.github.com/users/albertvillanova/repos", "site_admin": false, "starred_url": "https://api.github.com/users/albertvillanova/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/albertvillanova/subscriptions", "type": "User", "url": "https://api.github.com/users/albertvillanova" }
[]
null
null
MEMBER
2022-08-03T14:52:16Z
{ "diff_url": "https://github.com/huggingface/datasets/pull/4785.diff", "html_url": "https://github.com/huggingface/datasets/pull/4785", "merged_at": "2022-08-03T14:52:16Z", "patch_url": "https://github.com/huggingface/datasets/pull/4785.patch", "url": "https://api.github.com/repos/huggingface/datasets/pulls/4785" }
PR_kwDODunzps48k8y4
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/4785/reactions" }
closed
false
https://api.github.com/repos/huggingface/datasets/issues/4785
https://github.com/huggingface/datasets/pull/4785
true
1,326,395,280
https://api.github.com/repos/huggingface/datasets/issues/4784/labels{/name}
## Adding a Dataset - **Name:** Multiface dataset - **Description:** f high quality recordings of the faces of 13 identities, each captured in a multi-view capture stage performing various facial expressions. An average of 12,200 (v1 scripts) to 23,000 (v2 scripts) frames per subject with capture rate at 30 fps - **Data:** https://github.com/facebookresearch/multiface The whole dataset is 65TB though, so I'm not sure Instructions to add a new dataset can be found [here](https://github.com/huggingface/datasets/blob/main/ADD_NEW_DATASET.md).
2022-08-08T14:42:36Z
4,784
null
https://api.github.com/repos/huggingface/datasets
null
[ { "color": "e99695", "default": false, "description": "Requesting to add a new dataset", "id": 2067376369, "name": "dataset request", "node_id": "MDU6TGFiZWwyMDY3Mzc2MzY5", "url": "https://api.github.com/repos/huggingface/datasets/labels/dataset%20request" }, { "color": "bfdadc",...
2022-08-02T21:00:22Z
https://api.github.com/repos/huggingface/datasets/issues/4784/comments
null
https://api.github.com/repos/huggingface/datasets/issues/4784/timeline
Add Multiface dataset
https://api.github.com/repos/huggingface/datasets/issues/4784/events
null
{ "avatar_url": "https://avatars.githubusercontent.com/u/7246357?v=4", "events_url": "https://api.github.com/users/osanseviero/events{/privacy}", "followers_url": "https://api.github.com/users/osanseviero/followers", "following_url": "https://api.github.com/users/osanseviero/following{/other_user}", "gists_url": "https://api.github.com/users/osanseviero/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/osanseviero", "id": 7246357, "login": "osanseviero", "node_id": "MDQ6VXNlcjcyNDYzNTc=", "organizations_url": "https://api.github.com/users/osanseviero/orgs", "received_events_url": "https://api.github.com/users/osanseviero/received_events", "repos_url": "https://api.github.com/users/osanseviero/repos", "site_admin": false, "starred_url": "https://api.github.com/users/osanseviero/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/osanseviero/subscriptions", "type": "User", "url": "https://api.github.com/users/osanseviero" }
[]
null
null
MEMBER
null
null
I_kwDODunzps5PDy-Q
[ "Hi @osanseviero I would like to add this dataset.", "Hey @nandwalritik! Thanks for offering to help!\r\n\r\nThis dataset might be somewhat complex and I'm concerned about it being 65 TB, which would be quite expensive to host. @lhoestq @mariosasko I would love your input if you think it's worth adding this datas...
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/4784/reactions" }
open
false
https://api.github.com/repos/huggingface/datasets/issues/4784
https://github.com/huggingface/datasets/issues/4784
false
1,326,375,011
https://api.github.com/repos/huggingface/datasets/issues/4783/labels{/name}
This PR is a first draft of creating a loading script for image datasets. Feel free to let me know if there are any specificities I'm missing for this. 🙂 To do: - [x] Document how to create different configurations.
2022-09-09T17:08:14Z
4,783
null
https://api.github.com/repos/huggingface/datasets
false
[ { "color": "0075ca", "default": true, "description": "Improvements or additions to documentation", "id": 1935892861, "name": "documentation", "node_id": "MDU6TGFiZWwxOTM1ODkyODYx", "url": "https://api.github.com/repos/huggingface/datasets/labels/documentation" } ]
2022-08-02T20:36:03Z
https://api.github.com/repos/huggingface/datasets/issues/4783/comments
null
https://api.github.com/repos/huggingface/datasets/issues/4783/timeline
Docs for creating a loading script for image datasets
https://api.github.com/repos/huggingface/datasets/issues/4783/events
null
{ "avatar_url": "https://avatars.githubusercontent.com/u/59462357?v=4", "events_url": "https://api.github.com/users/stevhliu/events{/privacy}", "followers_url": "https://api.github.com/users/stevhliu/followers", "following_url": "https://api.github.com/users/stevhliu/following{/other_user}", "gists_url": "https://api.github.com/users/stevhliu/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/stevhliu", "id": 59462357, "login": "stevhliu", "node_id": "MDQ6VXNlcjU5NDYyMzU3", "organizations_url": "https://api.github.com/users/stevhliu/orgs", "received_events_url": "https://api.github.com/users/stevhliu/received_events", "repos_url": "https://api.github.com/users/stevhliu/repos", "site_admin": false, "starred_url": "https://api.github.com/users/stevhliu/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/stevhliu/subscriptions", "type": "User", "url": "https://api.github.com/users/stevhliu" }
[]
null
null
MEMBER
2022-09-07T19:07:34Z
{ "diff_url": "https://github.com/huggingface/datasets/pull/4783.diff", "html_url": "https://github.com/huggingface/datasets/pull/4783", "merged_at": "2022-09-07T19:07:34Z", "patch_url": "https://github.com/huggingface/datasets/pull/4783.patch", "url": "https://api.github.com/repos/huggingface/datasets/pulls/4783" }
PR_kwDODunzps48iHey
[ "_The documentation is not available anymore as the PR was closed or merged._", "IMO it would make more sense to add a \"Create image dataset\" page with two main sections - a no-code approach with `imagefolder` + metadata (preferred way), and with a loading script (advanced). It should be clear when to choose wh...
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/4783/reactions" }
closed
false
https://api.github.com/repos/huggingface/datasets/issues/4783
https://github.com/huggingface/datasets/pull/4783
true
1,326,247,158
https://api.github.com/repos/huggingface/datasets/issues/4782/labels{/name}
## Describe the bug Following the example in CodeParrot, I receive an array size limitation error when deduplicating larger datasets. ## Steps to reproduce the bug ```python dataset_name = "the_pile" ds = load_dataset(dataset_name, split="train") ds = ds.map(preprocess, num_proc=num_workers) uniques = set(ds.unique("hash")) ``` Gists for minimum reproducible example: https://gist.github.com/conceptofmind/c5804428ea1bd89767815f9cd5f02d9a https://gist.github.com/conceptofmind/feafb07e236f28d79c2d4b28ffbdb6e2 ## Expected results Chunking and writing out a deduplicated dataset. ## Actual results ``` return dataset._data.column(column).unique().to_pylist() File "pyarrow/table.pxi", line 394, in pyarrow.lib.ChunkedArray.unique File "pyarrow/_compute.pyx", line 531, in pyarrow._compute.call_function File "pyarrow/_compute.pyx", line 330, in pyarrow._compute.Function.call File "pyarrow/error.pxi", line 143, in pyarrow.lib.pyarrow_internal_check_status File "pyarrow/error.pxi", line 124, in pyarrow.lib.check_status pyarrow.lib.ArrowCapacityError: array cannot contain more than 2147483646 bytes, have 2147483648 ```
2022-08-22T09:46:28Z
4,782
null
https://api.github.com/repos/huggingface/datasets
null
[ { "color": "d73a4a", "default": true, "description": "Something isn't working", "id": 1935892857, "name": "bug", "node_id": "MDU6TGFiZWwxOTM1ODkyODU3", "url": "https://api.github.com/repos/huggingface/datasets/labels/bug" } ]
2022-08-02T18:36:05Z
https://api.github.com/repos/huggingface/datasets/issues/4782/comments
null
https://api.github.com/repos/huggingface/datasets/issues/4782/timeline
pyarrow.lib.ArrowCapacityError: array cannot contain more than 2147483646 bytes, have 2147483648
https://api.github.com/repos/huggingface/datasets/issues/4782/events
null
{ "avatar_url": "https://avatars.githubusercontent.com/u/25208228?v=4", "events_url": "https://api.github.com/users/conceptofmind/events{/privacy}", "followers_url": "https://api.github.com/users/conceptofmind/followers", "following_url": "https://api.github.com/users/conceptofmind/following{/other_user}", "gists_url": "https://api.github.com/users/conceptofmind/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/conceptofmind", "id": 25208228, "login": "conceptofmind", "node_id": "MDQ6VXNlcjI1MjA4MjI4", "organizations_url": "https://api.github.com/users/conceptofmind/orgs", "received_events_url": "https://api.github.com/users/conceptofmind/received_events", "repos_url": "https://api.github.com/users/conceptofmind/repos", "site_admin": false, "starred_url": "https://api.github.com/users/conceptofmind/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/conceptofmind/subscriptions", "type": "User", "url": "https://api.github.com/users/conceptofmind" }
[]
null
completed
NONE
2022-08-20T02:11:53Z
null
I_kwDODunzps5PDOz2
[ "Thanks for reporting @conceptofmind.\r\n\r\nCould you please give details about your environment? \r\n```\r\n## Environment info\r\n<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->\r\n- `datasets` version:\r\n- Platform:\r\n- Python version:\r\n- PyArrow version:\r\n```", ...
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/4782/reactions" }
closed
false
https://api.github.com/repos/huggingface/datasets/issues/4782
https://github.com/huggingface/datasets/issues/4782
false
1,326,114,161
https://api.github.com/repos/huggingface/datasets/issues/4781/labels{/name}
This PR makes some changes to label renaming in `to_tf_dataset()`, both to fix some issues when users input something we weren't expecting, and also to make it easier to deprecate label renaming in future, if/when we want to move this special-casing logic to a function in `transformers`. The main changes are: - Label renaming now only happens when the `auto_rename_labels` argument is set. For backward compatibility, this defaults to `True` for now. - If the user requests "label" but the data collator renames that column to "labels", the label renaming logic will now handle that case correctly. - Added a battery of tests to make this more reliable in future. - Adds an optimization to loading in `to_tf_dataset()` for unshuffled datasets (uses slicing instead of a list of indices) Fixes #4772
2022-09-12T11:27:06Z
4,781
null
https://api.github.com/repos/huggingface/datasets
false
[]
2022-08-02T16:42:07Z
https://api.github.com/repos/huggingface/datasets/issues/4781/comments
null
https://api.github.com/repos/huggingface/datasets/issues/4781/timeline
Fix label renaming and add a battery of tests
https://api.github.com/repos/huggingface/datasets/issues/4781/events
null
{ "avatar_url": "https://avatars.githubusercontent.com/u/12866554?v=4", "events_url": "https://api.github.com/users/Rocketknight1/events{/privacy}", "followers_url": "https://api.github.com/users/Rocketknight1/followers", "following_url": "https://api.github.com/users/Rocketknight1/following{/other_user}", "gists_url": "https://api.github.com/users/Rocketknight1/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Rocketknight1", "id": 12866554, "login": "Rocketknight1", "node_id": "MDQ6VXNlcjEyODY2NTU0", "organizations_url": "https://api.github.com/users/Rocketknight1/orgs", "received_events_url": "https://api.github.com/users/Rocketknight1/received_events", "repos_url": "https://api.github.com/users/Rocketknight1/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Rocketknight1/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Rocketknight1/subscriptions", "type": "User", "url": "https://api.github.com/users/Rocketknight1" }
[]
null
null
MEMBER
2022-09-12T11:24:45Z
{ "diff_url": "https://github.com/huggingface/datasets/pull/4781.diff", "html_url": "https://github.com/huggingface/datasets/pull/4781", "merged_at": "2022-09-12T11:24:45Z", "patch_url": "https://github.com/huggingface/datasets/pull/4781.patch", "url": "https://api.github.com/repos/huggingface/datasets/pulls/4781" }
PR_kwDODunzps48hOie
[ "_The documentation is not available anymore as the PR was closed or merged._", "Why don't we deprecate label renaming already instead ?", "I think it'll break a lot of workflows if we deprecate it now! There isn't really a non-deprecated workflow yet - once we've added the `auto_rename_labels` option, then we ...
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/4781/reactions" }
closed
false
https://api.github.com/repos/huggingface/datasets/issues/4781
https://github.com/huggingface/datasets/pull/4781
true