reactions string | labels string | performed_via_github_app string | milestone string | assignee string | html_url string | assignees string | timeline_url string | issue_field_values string | id string | repository_url string | url string | title string | issue_dependencies_summary string | created_at string | state_reason string | type string | sub_issues_summary string | author_association string | closed_by string | events_url string | locked string | closed_at string | pinned_comment string | body string | comments_url string | node_id string | active_lock_reason string | state string | comments string | pull_request string | updated_at string | labels_url string | number string | user string | draft string | is_paul_request bool |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5861/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/5861 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5861/timeline | json:[] | value:1709807340 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5861 | value:Better error message when combining dataset dicts instead of datasets | value:2023-05-15T10:36:24Z | value:MEMBER | json:{"login": "lhoestq", "id": 42851186, "node_id": "MDQ6VXNlcjQyODUxMTg2", "avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lhoestq", "html_url": "https://github.com/lhoestq", "followers_url": "https://api.github.com/users/lhoestq/followers"... | value:https://api.github.com/repos/huggingface/datasets/issues/5861/events | value:False | value:2023-05-23T10:32:58Z | value:close https://github.com/huggingface/datasets/issues/5851 | value:https://api.github.com/repos/huggingface/datasets/issues/5861/comments | value:PR_kwDODunzps5Qf55q | value:closed | value:7 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/5861", "html_url": "https://github.com/huggingface/datasets/pull/5861", "diff_url": "https://github.com/huggingface/datasets/pull/5861.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5861.patch", "merged_at": "2023-05-23T10:32:58Z"} | value:2023-05-23T10:40:13Z | value:https://api.github.com/repos/huggingface/datasets/issues/5861/labels{/name} | value:5861 | json:{"login": "lhoestq", "id": 42851186, "node_id": "MDQ6VXNlcjQyODUxMTg2", "avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lhoestq", "html_url": "https://github.com/lhoestq", "followers_url": "https://api.github.com/users/lhoestq/followers"... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5860/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/5860 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5860/timeline | json:[] | value:1709727460 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5860 | value:Minor tqdm optim | value:2023-05-15T09:49:37Z | value:MEMBER | json:{"login": "lhoestq", "id": 42851186, "node_id": "MDQ6VXNlcjQyODUxMTg2", "avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lhoestq", "html_url": "https://github.com/lhoestq", "followers_url": "https://api.github.com/users/lhoestq/followers"... | value:https://api.github.com/repos/huggingface/datasets/issues/5860/events | value:False | value:2023-05-17T18:39:35Z | value:Don't create a tqdm progress bar when `disable_tqdm` is passed to `map_nested`.
On my side it sped up some iterable datasets by ~30% when `map_nested` is used extensively to recursively tensorize python dicts. | value:https://api.github.com/repos/huggingface/datasets/issues/5860/comments | value:PR_kwDODunzps5QfojD | value:closed | value:3 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/5860", "html_url": "https://github.com/huggingface/datasets/pull/5860", "diff_url": "https://github.com/huggingface/datasets/pull/5860.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5860.patch", "merged_at": "2023-05-17T18:39:35Z"} | value:2023-05-17T18:46:46Z | value:https://api.github.com/repos/huggingface/datasets/issues/5860/labels{/name} | value:5860 | json:{"login": "lhoestq", "id": 42851186, "node_id": "MDQ6VXNlcjQyODUxMTg2", "avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lhoestq", "html_url": "https://github.com/lhoestq", "followers_url": "https://api.github.com/users/lhoestq/followers"... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5859/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/5859 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5859/timeline | json:[] | value:1709554829 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5859 | value:Raise TypeError when indexing a dataset with bool | value:2023-05-15T08:08:42Z | value:MEMBER | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:https://api.github.com/repos/huggingface/datasets/issues/5859/events | value:False | value:2023-05-25T16:23:17Z | value:Fix #5858. | value:https://api.github.com/repos/huggingface/datasets/issues/5859/comments | value:PR_kwDODunzps5QfDLC | value:closed | value:7 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/5859", "html_url": "https://github.com/huggingface/datasets/pull/5859", "diff_url": "https://github.com/huggingface/datasets/pull/5859.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5859.patch", "merged_at": "2023-05-25T16:23:17Z"} | value:2023-05-25T16:31:24Z | value:https://api.github.com/repos/huggingface/datasets/issues/5859/labels{/name} | value:5859 | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5858/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:https://github.com/huggingface/datasets/issues/5858 | json:[{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/u... | value:https://api.github.com/repos/huggingface/datasets/issues/5858/timeline | json:[] | value:1709332632 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5858 | value:Throw an error when dataset improperly indexed | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2023-05-15T05:15:53Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:NONE | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:https://api.github.com/repos/huggingface/datasets/issues/5858/events | value:False | value:2023-05-25T16:23:19Z | value:### Describe the bug
Pandas-style subset indexing on dataset does not throw an error, when maybe it should. Instead returns the first instance of the dataset regardless of index condition.
### Steps to reproduce the bug
Steps to reproduce the behavior:
1. `squad = datasets.load_dataset("squad_v2", split="va... | value:https://api.github.com/repos/huggingface/datasets/issues/5858/comments | value:I_kwDODunzps5l4liY | value:closed | value:1 | value:2023-05-25T16:23:19Z | value:https://api.github.com/repos/huggingface/datasets/issues/5858/labels{/name} | value:5858 | json:{"login": "sarahwie", "id": 8027676, "node_id": "MDQ6VXNlcjgwMjc2NzY=", "avatar_url": "https://avatars.githubusercontent.com/u/8027676?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sarahwie", "html_url": "https://github.com/sarahwie", "followers_url": "https://api.github.com/users/sarahwie/follower... | true | |||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5857/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[{"id": 1935892871, "node_id": "MDU6TGFiZWwxOTM1ODkyODcx", "url": "https://api.github.com/repos/huggingface/datasets/labels/enhancement", "name": "enhancement", "color": "a2eeef", "default": true, "description": "New feature or request", "archived_at": null, "archived_by": null}] | value:https://github.com/huggingface/datasets/issues/5857 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5857/timeline | json:[] | value:1709326622 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5857 | value:Adding chemistry dataset/models in huggingface | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2023-05-15T05:09:49Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:NONE | json:{"login": "mariosasko", "id": 47462742, "node_id": "MDQ6VXNlcjQ3NDYyNzQy", "avatar_url": "https://avatars.githubusercontent.com/u/47462742?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mariosasko", "html_url": "https://github.com/mariosasko", "followers_url": "https://api.github.com/users/mariosask... | value:https://api.github.com/repos/huggingface/datasets/issues/5857/events | value:False | value:2023-07-21T13:45:40Z | value:### Feature request
Huggingface is really amazing platform for open science.
In addition to computer vision, video and NLP, would it be of interest to add chemistry/materials science dataset/models in Huggingface? Or, if its already done, can you provide some pointers.
We have been working on a comprehensi... | value:https://api.github.com/repos/huggingface/datasets/issues/5857/comments | value:I_kwDODunzps5l4kEe | value:closed | value:1 | value:2023-07-21T13:45:40Z | value:https://api.github.com/repos/huggingface/datasets/issues/5857/labels{/name} | value:5857 | json:{"login": "knc6", "id": 16902896, "node_id": "MDQ6VXNlcjE2OTAyODk2", "avatar_url": "https://avatars.githubusercontent.com/u/16902896?v=4", "gravatar_id": "", "url": "https://api.github.com/users/knc6", "html_url": "https://github.com/knc6", "followers_url": "https://api.github.com/users/knc6/followers", "following... | true | ||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5856/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/issues/5856 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5856/timeline | json:[] | value:1709218242 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5856 | value:Error loading natural_questions | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2023-05-15T02:46:04Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:NONE | json:{"login": "Crownor", "id": 19185508, "node_id": "MDQ6VXNlcjE5MTg1NTA4", "avatar_url": "https://avatars.githubusercontent.com/u/19185508?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Crownor", "html_url": "https://github.com/Crownor", "followers_url": "https://api.github.com/users/Crownor/followers"... | value:https://api.github.com/repos/huggingface/datasets/issues/5856/events | value:False | value:2023-06-05T09:11:18Z | value:### Describe the bug
When try to load natural_questions through datasets == 2.12.0 with python == 3.8.9:
```python
import datasets
datasets.load_dataset('natural_questions',beam_runner='DirectRunner')
```
It failed with following info:
`pyarrow.lib.ArrowNotImplementedError: Nested data conversions no... | value:https://api.github.com/repos/huggingface/datasets/issues/5856/comments | value:I_kwDODunzps5l4JnC | value:closed | value:2 | value:2023-06-05T09:11:19Z | value:https://api.github.com/repos/huggingface/datasets/issues/5856/labels{/name} | value:5856 | json:{"login": "Crownor", "id": 19185508, "node_id": "MDQ6VXNlcjE5MTg1NTA4", "avatar_url": "https://avatars.githubusercontent.com/u/19185508?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Crownor", "html_url": "https://github.com/Crownor", "followers_url": "https://api.github.com/users/Crownor/followers"... | true | ||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5855/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/issues/5855 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5855/timeline | json:[] | value:1708784943 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5855 | value:`to_tf_dataset` consumes too much memory | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2023-05-14T01:22:29Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:NONE | json:{"login": "Rocketknight1", "id": 12866554, "node_id": "MDQ6VXNlcjEyODY2NTU0", "avatar_url": "https://avatars.githubusercontent.com/u/12866554?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Rocketknight1", "html_url": "https://github.com/Rocketknight1", "followers_url": "https://api.github.com/users/... | value:https://api.github.com/repos/huggingface/datasets/issues/5855/events | value:False | value:2023-06-08T16:32:52Z | value:### Describe the bug
Hi, I'm using `to_tf_dataset` to convert a _large_ dataset to `tf.data.Dataset`. I observed that the data loading *before* training took a lot of time and memory, even with `batch_size=1`.
After some digging, i believe the reason lies in the shuffle behavior. The [source code](https://g... | value:https://api.github.com/repos/huggingface/datasets/issues/5855/comments | value:I_kwDODunzps5l2f0v | value:closed | value:6 | value:2023-06-08T16:32:52Z | value:https://api.github.com/repos/huggingface/datasets/issues/5855/labels{/name} | value:5855 | json:{"login": "massquantity", "id": 28751760, "node_id": "MDQ6VXNlcjI4NzUxNzYw", "avatar_url": "https://avatars.githubusercontent.com/u/28751760?v=4", "gravatar_id": "", "url": "https://api.github.com/users/massquantity", "html_url": "https://github.com/massquantity", "followers_url": "https://api.github.com/users/mas... | true | ||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5854/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/issues/5854 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5854/timeline | json:[] | value:1708779300 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5854 | value:Can not load audiofolder dataset on kaggle | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2023-05-14T00:50:47Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:NONE | json:{"login": "mariosasko", "id": 47462742, "node_id": "MDQ6VXNlcjQ3NDYyNzQy", "avatar_url": "https://avatars.githubusercontent.com/u/47462742?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mariosasko", "html_url": "https://github.com/mariosasko", "followers_url": "https://api.github.com/users/mariosask... | value:https://api.github.com/repos/huggingface/datasets/issues/5854/events | value:False | value:2023-07-21T13:53:45Z | value:### Describe the bug
It's crash log:
FileNotFoundError: Couldn't find a dataset script at /kaggle/working/audiofolder/audiofolder.py or any data file in the same directory. Couldn't find 'audiofolder' on the Hugging Face Hub either: FileNotFoundError: Couldn't find file at https://raw.githubusercontent.com/hugg... | value:https://api.github.com/repos/huggingface/datasets/issues/5854/comments | value:I_kwDODunzps5l2eck | value:closed | value:3 | value:2023-08-16T13:35:36Z | value:https://api.github.com/repos/huggingface/datasets/issues/5854/labels{/name} | value:5854 | json:{"login": "ILG2021", "id": 93691919, "node_id": "U_kgDOBZWgDw", "avatar_url": "https://avatars.githubusercontent.com/u/93691919?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ILG2021", "html_url": "https://github.com/ILG2021", "followers_url": "https://api.github.com/users/ILG2021/followers", "follo... | true | ||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5853/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/5853 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5853/timeline | json:[] | value:1708092786 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5853 | value:[docs] Redirects, migrated from nginx | value:2023-05-12T19:19:27Z | value:MEMBER | json:{"login": "julien-c", "id": 326577, "node_id": "MDQ6VXNlcjMyNjU3Nw==", "avatar_url": "https://avatars.githubusercontent.com/u/326577?v=4", "gravatar_id": "", "url": "https://api.github.com/users/julien-c", "html_url": "https://github.com/julien-c", "followers_url": "https://api.github.com/users/julien-c/followers"... | value:https://api.github.com/repos/huggingface/datasets/issues/5853/events | value:False | value:2023-05-15T10:30:14Z | value:https://api.github.com/repos/huggingface/datasets/issues/5853/comments | value:PR_kwDODunzps5QaZLP | value:closed | value:3 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/5853", "html_url": "https://github.com/huggingface/datasets/pull/5853", "diff_url": "https://github.com/huggingface/datasets/pull/5853.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5853.patch", "merged_at": "2023-05-15T10:30:14Z"} | value:2023-05-15T10:37:19Z | value:https://api.github.com/repos/huggingface/datasets/issues/5853/labels{/name} | value:5853 | json:{"login": "julien-c", "id": 326577, "node_id": "MDQ6VXNlcjMyNjU3Nw==", "avatar_url": "https://avatars.githubusercontent.com/u/326577?v=4", "gravatar_id": "", "url": "https://api.github.com/users/julien-c", "html_url": "https://github.com/julien-c", "followers_url": "https://api.github.com/users/julien-c/followers"... | value:False | true | ||||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5852/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/5852 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5852/timeline | json:[] | value:1707927165 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5852 | value:Iterable torch formatting | value:2023-05-12T16:48:49Z | value:MEMBER | json:{"login": "lhoestq", "id": 42851186, "node_id": "MDQ6VXNlcjQyODUxMTg2", "avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lhoestq", "html_url": "https://github.com/lhoestq", "followers_url": "https://api.github.com/users/lhoestq/followers"... | value:https://api.github.com/repos/huggingface/datasets/issues/5852/events | value:False | value:2023-06-13T15:57:05Z | value:Used the TorchFormatter to get torch tensors in iterable dataset with format set to "torch".
It uses the data from Arrow if possible, otherwise applies recursive_tensorize.
When set back to format_type=None, cast_to_python_objects is used.
requires https://github.com/huggingface/datasets/pull/5821
clo... | value:https://api.github.com/repos/huggingface/datasets/issues/5852/comments | value:PR_kwDODunzps5QZ1lj | value:closed | value:11 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/5852", "html_url": "https://github.com/huggingface/datasets/pull/5852", "diff_url": "https://github.com/huggingface/datasets/pull/5852.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5852.patch", "merged_at": "2023-06-13T15:57:05Z"} | value:2023-06-13T16:04:05Z | value:https://api.github.com/repos/huggingface/datasets/issues/5852/labels{/name} | value:5852 | json:{"login": "lhoestq", "id": 42851186, "node_id": "MDQ6VXNlcjQyODUxMTg2", "avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lhoestq", "html_url": "https://github.com/lhoestq", "followers_url": "https://api.github.com/users/lhoestq/followers"... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5850/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/5850 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5850/timeline | json:[] | value:1707678911 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5850 | value:Make packaged builders skip non-supported file formats | value:2023-05-12T13:52:34Z | value:MEMBER | value:https://api.github.com/repos/huggingface/datasets/issues/5850/events | value:False | value:This PR makes packaged builders skip non-supported file formats:
- Csv builder skips non-CSV files
- Analogously for the other builders
Fix #5849. | value:https://api.github.com/repos/huggingface/datasets/issues/5850/comments | value:PR_kwDODunzps5QZALv | value:open | value:10 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/5850", "html_url": "https://github.com/huggingface/datasets/pull/5850", "diff_url": "https://github.com/huggingface/datasets/pull/5850.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5850.patch", "merged_at": null} | value:2023-06-07T12:26:38Z | value:https://api.github.com/repos/huggingface/datasets/issues/5850/labels{/name} | value:5850 | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:False | true | |||||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5849/reactions", "total_count": 2, "+1": 2, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[{"id": 1935892857, "node_id": "MDU6TGFiZWwxOTM1ODkyODU3", "url": "https://api.github.com/repos/huggingface/datasets/labels/bug", "name": "bug", "color": "d73a4a", "default": true, "description": "Something isn't working", "archived_at": null, "archived_by": null}] | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:https://github.com/huggingface/datasets/issues/5849 | json:[{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/u... | value:https://api.github.com/repos/huggingface/datasets/issues/5849/timeline | json:[] | value:1707551511 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5849 | value:CSV datasets should only read the CSV data files in the repo | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2023-05-12T12:29:53Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:MEMBER | json:{"login": "lhoestq", "id": 42851186, "node_id": "MDQ6VXNlcjQyODUxMTg2", "avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lhoestq", "html_url": "https://github.com/lhoestq", "followers_url": "https://api.github.com/users/lhoestq/followers"... | value:https://api.github.com/repos/huggingface/datasets/issues/5849/events | value:False | value:2023-06-22T14:16:27Z | value:When a no-script dataset has many CSV files and a JPG file, the library infers to use the Csv builder, but tries to read as CSV all files in the repo, also the JPG file.
I think the Csv builder should filter out non-CSV files when reading.
An analogue solution should be implemented for other packaged builde... | value:https://api.github.com/repos/huggingface/datasets/issues/5849/comments | value:I_kwDODunzps5lxysX | value:closed | value:0 | value:2023-06-22T14:16:27Z | value:https://api.github.com/repos/huggingface/datasets/issues/5849/labels{/name} | value:5849 | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | true | |||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5848/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/5848 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5848/timeline | json:[] | value:1707506734 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5848 | value:Add `accelerate` as metric's test dependency to fix CI error | value:2023-05-12T12:01:01Z | value:COLLABORATOR | json:{"login": "mariosasko", "id": 47462742, "node_id": "MDQ6VXNlcjQ3NDYyNzQy", "avatar_url": "https://avatars.githubusercontent.com/u/47462742?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mariosasko", "html_url": "https://github.com/mariosasko", "followers_url": "https://api.github.com/users/mariosask... | value:https://api.github.com/repos/huggingface/datasets/issues/5848/events | value:False | value:2023-05-12T13:39:06Z | value:The `frugalscore` metric uses Transformers' Trainer, which requires `accelerate` (as of recently).
Fixes the following [CI error](https://github.com/huggingface/datasets/actions/runs/4950900048/jobs/8855148703?pr=5845). | value:https://api.github.com/repos/huggingface/datasets/issues/5848/comments | value:PR_kwDODunzps5QYa1B | value:closed | value:3 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/5848", "html_url": "https://github.com/huggingface/datasets/pull/5848", "diff_url": "https://github.com/huggingface/datasets/pull/5848.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5848.patch", "merged_at": "2023-05-12T13:39:06Z"} | value:2023-05-12T13:48:47Z | value:https://api.github.com/repos/huggingface/datasets/issues/5848/labels{/name} | value:5848 | json:{"login": "mariosasko", "id": 47462742, "node_id": "MDQ6VXNlcjQ3NDYyNzQy", "avatar_url": "https://avatars.githubusercontent.com/u/47462742?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mariosasko", "html_url": "https://github.com/mariosasko", "followers_url": "https://api.github.com/users/mariosask... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5847/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/issues/5847 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5847/timeline | json:[] | value:1706616634 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5847 | value:Streaming IterableDataset not working with translation pipeline | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2023-05-11T21:52:38Z | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:NONE | value:https://api.github.com/repos/huggingface/datasets/issues/5847/events | value:False | value:### Describe the bug
I'm trying to use a streaming dataset for translation inference to avoid downloading the training data.
I'm using a pipeline and a dataset, and following the guidance in the tutorial.
Instead I get an exception that IterableDataset has no len().
### Steps to reproduce the bug
CODE:... | value:https://api.github.com/repos/huggingface/datasets/issues/5847/comments | value:I_kwDODunzps5luOc6 | value:open | value:8 | value:2023-05-16T15:59:55Z | value:https://api.github.com/repos/huggingface/datasets/issues/5847/labels{/name} | value:5847 | json:{"login": "jlquinn", "id": 826841, "node_id": "MDQ6VXNlcjgyNjg0MQ==", "avatar_url": "https://avatars.githubusercontent.com/u/826841?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jlquinn", "html_url": "https://github.com/jlquinn", "followers_url": "https://api.github.com/users/jlquinn/followers", "f... | true | |||||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5851/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | json:{"login": "lhoestq", "id": 42851186, "node_id": "MDQ6VXNlcjQyODUxMTg2", "avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lhoestq", "html_url": "https://github.com/lhoestq", "followers_url": "https://api.github.com/users/lhoestq/followers"... | value:https://github.com/huggingface/datasets/issues/5851 | json:[{"login": "lhoestq", "id": 42851186, "node_id": "MDQ6VXNlcjQyODUxMTg2", "avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lhoestq", "html_url": "https://github.com/lhoestq", "followers_url": "https://api.github.com/users/lhoestq/followers... | value:https://api.github.com/repos/huggingface/datasets/issues/5851/timeline | json:[] | value:1707907048 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5851 | value:Error message not clear in interleaving datasets | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2023-05-11T20:52:13Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:NONE | json:{"login": "lhoestq", "id": 42851186, "node_id": "MDQ6VXNlcjQyODUxMTg2", "avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lhoestq", "html_url": "https://github.com/lhoestq", "followers_url": "https://api.github.com/users/lhoestq/followers"... | value:https://api.github.com/repos/huggingface/datasets/issues/5851/events | value:False | value:2023-05-23T10:32:59Z | value:### System Info
standard env
### Who can help?
_No response_
### Information
- [ ] The official example scripts
- [X] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [X] My own task or dataset (give details below)
### Reproduction
... | value:https://api.github.com/repos/huggingface/datasets/issues/5851/comments | value:I_kwDODunzps5lzJfo | value:closed | value:0 | value:2023-05-23T10:32:59Z | value:https://api.github.com/repos/huggingface/datasets/issues/5851/labels{/name} | value:5851 | json:{"login": "surya-narayanan", "id": 17240858, "node_id": "MDQ6VXNlcjE3MjQwODU4", "avatar_url": "https://avatars.githubusercontent.com/u/17240858?v=4", "gravatar_id": "", "url": "https://api.github.com/users/surya-narayanan", "html_url": "https://github.com/surya-narayanan", "followers_url": "https://api.github.com/... | true | |||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5846/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | json:{"login": "mariosasko", "id": 47462742, "node_id": "MDQ6VXNlcjQ3NDYyNzQy", "avatar_url": "https://avatars.githubusercontent.com/u/47462742?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mariosasko", "html_url": "https://github.com/mariosasko", "followers_url": "https://api.github.com/users/mariosask... | value:https://github.com/huggingface/datasets/issues/5846 | json:[{"login": "mariosasko", "id": 47462742, "node_id": "MDQ6VXNlcjQ3NDYyNzQy", "avatar_url": "https://avatars.githubusercontent.com/u/47462742?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mariosasko", "html_url": "https://github.com/mariosasko", "followers_url": "https://api.github.com/users/mariosas... | value:https://api.github.com/repos/huggingface/datasets/issues/5846/timeline | json:[] | value:1706289290 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5846 | value:load_dataset('bigcode/the-stack-dedup', streaming=True) very slow! | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2023-05-11T17:58:57Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:NONE | json:{"login": "mariosasko", "id": 47462742, "node_id": "MDQ6VXNlcjQ3NDYyNzQy", "avatar_url": "https://avatars.githubusercontent.com/u/47462742?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mariosasko", "html_url": "https://github.com/mariosasko", "followers_url": "https://api.github.com/users/mariosask... | value:https://api.github.com/repos/huggingface/datasets/issues/5846/events | value:False | value:2024-04-05T12:28:58Z | value:### Describe the bug
Running
```
import datasets
ds = datasets.load_dataset('bigcode/the-stack-dedup', streaming=True)
```
takes about 2.5 minutes!
I would expect this to be near instantaneous. With other datasets, the runtime is one or two seconds.
### Environment info
- `datasets` versio... | value:https://api.github.com/repos/huggingface/datasets/issues/5846/comments | value:I_kwDODunzps5ls-iK | value:closed | value:7 | value:2024-04-08T12:53:17Z | value:https://api.github.com/repos/huggingface/datasets/issues/5846/labels{/name} | value:5846 | json:{"login": "tbenthompson", "id": 4241811, "node_id": "MDQ6VXNlcjQyNDE4MTE=", "avatar_url": "https://avatars.githubusercontent.com/u/4241811?v=4", "gravatar_id": "", "url": "https://api.github.com/users/tbenthompson", "html_url": "https://github.com/tbenthompson", "followers_url": "https://api.github.com/users/tbent... | true | |||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5845/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/5845 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5845/timeline | json:[] | value:1706253251 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5845 | value:Add `date_format` param to the CSV reader | value:2023-05-11T17:29:57Z | value:COLLABORATOR | json:{"login": "mariosasko", "id": 47462742, "node_id": "MDQ6VXNlcjQ3NDYyNzQy", "avatar_url": "https://avatars.githubusercontent.com/u/47462742?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mariosasko", "html_url": "https://github.com/mariosasko", "followers_url": "https://api.github.com/users/mariosask... | value:https://api.github.com/repos/huggingface/datasets/issues/5845/events | value:False | value:2023-05-12T15:14:48Z | value:Adds the `date_format` param introduced in Pandas 2.0 to the CSV reader and improves its type hints. | value:https://api.github.com/repos/huggingface/datasets/issues/5845/comments | value:PR_kwDODunzps5QUMjS | value:closed | value:6 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/5845", "html_url": "https://github.com/huggingface/datasets/pull/5845", "diff_url": "https://github.com/huggingface/datasets/pull/5845.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5845.patch", "merged_at": "2023-05-12T15:14:48Z"} | value:2023-05-15T07:39:13Z | value:https://api.github.com/repos/huggingface/datasets/issues/5845/labels{/name} | value:5845 | json:{"login": "mariosasko", "id": 47462742, "node_id": "MDQ6VXNlcjQ3NDYyNzQy", "avatar_url": "https://avatars.githubusercontent.com/u/47462742?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mariosasko", "html_url": "https://github.com/mariosasko", "followers_url": "https://api.github.com/users/mariosask... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5844/reactions", "total_count": 3, "+1": 3, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/issues/5844 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5844/timeline | json:[] | value:1705907812 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5844 | value:TypeError: Couldn't cast array of type struct<answer: struct<unanswerable: bool, answerType: string, free_form_answer: string, evidence: list<item: string>, evidenceAnnotate: list<item: string>, highlighted_evidence: list<item: string>>> to ... | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2023-05-11T14:15:01Z | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:NONE | value:https://api.github.com/repos/huggingface/datasets/issues/5844/events | value:False | value:### Describe the bug
TypeError: Couldn't cast array of type struct<answer: struct<unanswerable: bool, answerType: string, free_form_answer: string, evidence: list<item: string>, evidenceAnnotate: list<item: string>, highlighted_evidence: list<item: string>>> to {'answer': {'unanswerable': Value(dtype='bool', id=... | value:https://api.github.com/repos/huggingface/datasets/issues/5844/comments | value:I_kwDODunzps5lrhZk | value:open | value:0 | value:2023-05-11T14:15:01Z | value:https://api.github.com/repos/huggingface/datasets/issues/5844/labels{/name} | value:5844 | json:{"login": "chen-coding", "id": 54010030, "node_id": "MDQ6VXNlcjU0MDEwMDMw", "avatar_url": "https://avatars.githubusercontent.com/u/54010030?v=4", "gravatar_id": "", "url": "https://api.github.com/users/chen-coding", "html_url": "https://github.com/chen-coding", "followers_url": "https://api.github.com/users/chen-c... | true | |||||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5841/reactions", "total_count": 2, "+1": 2, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/issues/5841 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5841/timeline | json:[] | value:1705286639 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5841 | value:Abusurdly slow on iteration | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2023-05-11T08:04:09Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:NONE | json:{"login": "fecet", "id": 41792945, "node_id": "MDQ6VXNlcjQxNzkyOTQ1", "avatar_url": "https://avatars.githubusercontent.com/u/41792945?v=4", "gravatar_id": "", "url": "https://api.github.com/users/fecet", "html_url": "https://github.com/fecet", "followers_url": "https://api.github.com/users/fecet/followers", "follo... | value:https://api.github.com/repos/huggingface/datasets/issues/5841/events | value:False | value:2023-05-15T15:38:13Z | value:### Describe the bug
I am attempting to iterate through an image dataset, but I am encountering a significant slowdown in the iteration speed. In order to investigate this issue, I conducted the following experiment:
```python
a=torch.randn(100,224)
a=torch.stack([a] * 10000)
a.shape
# %%
ds=Dataset.... | value:https://api.github.com/repos/huggingface/datasets/issues/5841/comments | value:I_kwDODunzps5lpJvv | value:closed | value:4 | value:2023-05-15T15:38:13Z | value:https://api.github.com/repos/huggingface/datasets/issues/5841/labels{/name} | value:5841 | json:{"login": "fecet", "id": 41792945, "node_id": "MDQ6VXNlcjQxNzkyOTQ1", "avatar_url": "https://avatars.githubusercontent.com/u/41792945?v=4", "gravatar_id": "", "url": "https://api.github.com/users/fecet", "html_url": "https://github.com/fecet", "followers_url": "https://api.github.com/users/fecet/followers", "follo... | true | ||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5840/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/issues/5840 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5840/timeline | json:[] | value:1705212085 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5840 | value:load model error. | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2023-05-11T07:12:38Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:NONE | json:{"login": "mariosasko", "id": 47462742, "node_id": "MDQ6VXNlcjQ3NDYyNzQy", "avatar_url": "https://avatars.githubusercontent.com/u/47462742?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mariosasko", "html_url": "https://github.com/mariosasko", "followers_url": "https://api.github.com/users/mariosask... | value:https://api.github.com/repos/huggingface/datasets/issues/5840/events | value:False | value:2023-05-12T13:44:06Z | value:### Describe the bug
I had trained one model use deepspeed, when I load the final load I get the follow error:
OSError: Can't load tokenizer for '/XXX/DeepSpeedExamples/applications/DeepSpeed-Chat/output/step3-models/1.3b/actor'. If you were trying to load it from 'https://huggingface.co/models', make sure you ... | value:https://api.github.com/repos/huggingface/datasets/issues/5840/comments | value:I_kwDODunzps5lo3i1 | value:closed | value:1 | value:2023-05-12T13:44:07Z | value:https://api.github.com/repos/huggingface/datasets/issues/5840/labels{/name} | value:5840 | json:{"login": "LanShanPi", "id": 58167546, "node_id": "MDQ6VXNlcjU4MTY3NTQ2", "avatar_url": "https://avatars.githubusercontent.com/u/58167546?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LanShanPi", "html_url": "https://github.com/LanShanPi", "followers_url": "https://api.github.com/users/LanShanPi/fo... | true | ||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5842/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/issues/5842 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5842/timeline | json:[] | value:1705510602 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5842 | value:Remove columns in interable dataset | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2023-05-11T03:48:46Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:NONE | json:{"login": "mariosasko", "id": 47462742, "node_id": "MDQ6VXNlcjQ3NDYyNzQy", "avatar_url": "https://avatars.githubusercontent.com/u/47462742?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mariosasko", "html_url": "https://github.com/mariosasko", "followers_url": "https://api.github.com/users/mariosask... | value:https://api.github.com/repos/huggingface/datasets/issues/5842/events | value:False | value:2023-06-21T16:36:41Z | value:### Feature request
Right now, remove_columns() produces a NotImplementedError for iterable style datasets
### Motivation
It would be great to have the same functionality irrespective of whether one is using an iterable or a map-style dataset
### Your contribution
hope and courage. | value:https://api.github.com/repos/huggingface/datasets/issues/5842/comments | value:I_kwDODunzps5lqAbK | value:closed | value:3 | value:2023-06-21T16:36:42Z | value:https://api.github.com/repos/huggingface/datasets/issues/5842/labels{/name} | value:5842 | json:{"login": "surya-narayanan", "id": 17240858, "node_id": "MDQ6VXNlcjE3MjQwODU4", "avatar_url": "https://avatars.githubusercontent.com/u/17240858?v=4", "gravatar_id": "", "url": "https://api.github.com/users/surya-narayanan", "html_url": "https://github.com/surya-narayanan", "followers_url": "https://api.github.com/... | true | ||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5843/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/issues/5843 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5843/timeline | json:[] | value:1705514551 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5843 | value:Can't add iterable datasets to a Dataset Dict. | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2023-05-11T02:09:29Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:NONE | json:{"login": "surya-narayanan", "id": 17240858, "node_id": "MDQ6VXNlcjE3MjQwODU4", "avatar_url": "https://avatars.githubusercontent.com/u/17240858?v=4", "gravatar_id": "", "url": "https://api.github.com/users/surya-narayanan", "html_url": "https://github.com/surya-narayanan", "followers_url": "https://api.github.com/... | value:https://api.github.com/repos/huggingface/datasets/issues/5843/events | value:False | value:2023-05-25T04:51:59Z | value:### System Info
standard env
### Who can help?
_No response_
### Information
- [ ] The official example scripts
- [X] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [ ] My own task or dataset (give details below)
### Reproduction
... | value:https://api.github.com/repos/huggingface/datasets/issues/5843/comments | value:I_kwDODunzps5lqBY3 | value:closed | value:2 | value:2023-05-25T04:51:59Z | value:https://api.github.com/repos/huggingface/datasets/issues/5843/labels{/name} | value:5843 | json:{"login": "surya-narayanan", "id": 17240858, "node_id": "MDQ6VXNlcjE3MjQwODU4", "avatar_url": "https://avatars.githubusercontent.com/u/17240858?v=4", "gravatar_id": "", "url": "https://api.github.com/users/surya-narayanan", "html_url": "https://github.com/surya-narayanan", "followers_url": "https://api.github.com/... | true | ||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5839/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[{"id": 1935892871, "node_id": "MDU6TGFiZWwxOTM1ODkyODcx", "url": "https://api.github.com/repos/huggingface/datasets/labels/enhancement", "name": "enhancement", "color": "a2eeef", "default": true, "description": "New feature or request", "archived_at": null, "archived_by": null}] | json:{"login": "mariosasko", "id": 47462742, "node_id": "MDQ6VXNlcjQ3NDYyNzQy", "avatar_url": "https://avatars.githubusercontent.com/u/47462742?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mariosasko", "html_url": "https://github.com/mariosasko", "followers_url": "https://api.github.com/users/mariosask... | value:https://github.com/huggingface/datasets/issues/5839 | json:[{"login": "mariosasko", "id": 47462742, "node_id": "MDQ6VXNlcjQ3NDYyNzQy", "avatar_url": "https://avatars.githubusercontent.com/u/47462742?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mariosasko", "html_url": "https://github.com/mariosasko", "followers_url": "https://api.github.com/users/mariosas... | value:https://api.github.com/repos/huggingface/datasets/issues/5839/timeline | json:[] | value:1704554718 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5839 | value:Make models/functions optimized with `torch.compile` hashable | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2023-05-10T20:02:08Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:COLLABORATOR | json:{"login": "mariosasko", "id": 47462742, "node_id": "MDQ6VXNlcjQ3NDYyNzQy", "avatar_url": "https://avatars.githubusercontent.com/u/47462742?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mariosasko", "html_url": "https://github.com/mariosasko", "followers_url": "https://api.github.com/users/mariosask... | value:https://api.github.com/repos/huggingface/datasets/issues/5839/events | value:False | value:2023-11-28T16:29:33Z | value:As reported in https://github.com/huggingface/datasets/issues/5819, hashing functions/transforms that reference a model, or a function, optimized with `torch.compile` currently fails due to them not being picklable (the concrete error can be found in the linked issue).
The solutions to consider:
1. hashing/pi... | value:https://api.github.com/repos/huggingface/datasets/issues/5839/comments | value:I_kwDODunzps5lmXDe | value:closed | value:0 | value:2023-11-28T16:29:33Z | value:https://api.github.com/repos/huggingface/datasets/issues/5839/labels{/name} | value:5839 | json:{"login": "mariosasko", "id": 47462742, "node_id": "MDQ6VXNlcjQ3NDYyNzQy", "avatar_url": "https://avatars.githubusercontent.com/u/47462742?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mariosasko", "html_url": "https://github.com/mariosasko", "followers_url": "https://api.github.com/users/mariosask... | true | |||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5838/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[{"id": 1935892871, "node_id": "MDU6TGFiZWwxOTM1ODkyODcx", "url": "https://api.github.com/repos/huggingface/datasets/labels/enhancement", "name": "enhancement", "color": "a2eeef", "default": true, "description": "New feature or request", "archived_at": null, "archived_by": null}] | value:https://github.com/huggingface/datasets/issues/5838 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5838/timeline | json:[] | value:1703210848 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5838 | value:Streaming support for `load_from_disk` | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2023-05-10T06:25:22Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:NONE | json:{"login": "Nilabhra", "id": 5437792, "node_id": "MDQ6VXNlcjU0Mzc3OTI=", "avatar_url": "https://avatars.githubusercontent.com/u/5437792?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Nilabhra", "html_url": "https://github.com/Nilabhra", "followers_url": "https://api.github.com/users/Nilabhra/follower... | value:https://api.github.com/repos/huggingface/datasets/issues/5838/events | value:False | value:2023-05-12T09:37:45Z | value:### Feature request
Support for streaming datasets stored in object stores in `load_from_disk`.
### Motivation
The `load_from_disk` function supports fetching datasets stored in object stores such as `s3`. In many cases, the datasets that are stored in object stores are very large and being able to stream the... | value:https://api.github.com/repos/huggingface/datasets/issues/5838/comments | value:I_kwDODunzps5lhO9g | value:closed | value:12 | value:2024-10-28T14:19:44Z | value:https://api.github.com/repos/huggingface/datasets/issues/5838/labels{/name} | value:5838 | json:{"login": "Nilabhra", "id": 5437792, "node_id": "MDQ6VXNlcjU0Mzc3OTI=", "avatar_url": "https://avatars.githubusercontent.com/u/5437792?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Nilabhra", "html_url": "https://github.com/Nilabhra", "followers_url": "https://api.github.com/users/Nilabhra/follower... | true | ||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5837/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/issues/5837 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5837/timeline | json:[] | value:1703019816 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5837 | value:Use DeepSpeed load myself " .csv " dataset. | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2023-05-10T02:39:28Z | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:NONE | value:https://api.github.com/repos/huggingface/datasets/issues/5837/events | value:False | value:### Describe the bug
When I use DeepSpeed train a model with my own " XXX.csv" dataset I got the follow question:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/fm001/.conda/envs/hzl/lib/python3.8/site-packages/datasets/load.py", line 1767, in load_dataset
builder_... | value:https://api.github.com/repos/huggingface/datasets/issues/5837/comments | value:I_kwDODunzps5lggUo | value:open | value:3 | value:2023-05-15T03:51:36Z | value:https://api.github.com/repos/huggingface/datasets/issues/5837/labels{/name} | value:5837 | json:{"login": "LanShanPi", "id": 58167546, "node_id": "MDQ6VXNlcjU4MTY3NTQ2", "avatar_url": "https://avatars.githubusercontent.com/u/58167546?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LanShanPi", "html_url": "https://github.com/LanShanPi", "followers_url": "https://api.github.com/users/LanShanPi/fo... | true | |||||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5836/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 1, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/5836 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5836/timeline | json:[] | value:1702773316 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5836 | value:[docs] Custom decoding transforms | value:2023-05-09T21:21:41Z | value:MEMBER | json:{"login": "stevhliu", "id": 59462357, "node_id": "MDQ6VXNlcjU5NDYyMzU3", "avatar_url": "https://avatars.githubusercontent.com/u/59462357?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stevhliu", "html_url": "https://github.com/stevhliu", "followers_url": "https://api.github.com/users/stevhliu/follow... | value:https://api.github.com/repos/huggingface/datasets/issues/5836/events | value:False | value:2023-05-10T20:23:03Z | value:Adds custom decoding transform solution to the docs to fix #5782. | value:https://api.github.com/repos/huggingface/datasets/issues/5836/comments | value:PR_kwDODunzps5QIgzu | value:closed | value:4 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/5836", "html_url": "https://github.com/huggingface/datasets/pull/5836", "diff_url": "https://github.com/huggingface/datasets/pull/5836.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5836.patch", "merged_at": "2023-05-10T20:23:03Z"} | value:2023-05-15T07:36:12Z | value:https://api.github.com/repos/huggingface/datasets/issues/5836/labels{/name} | value:5836 | json:{"login": "stevhliu", "id": 59462357, "node_id": "MDQ6VXNlcjU5NDYyMzU3", "avatar_url": "https://avatars.githubusercontent.com/u/59462357?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stevhliu", "html_url": "https://github.com/stevhliu", "followers_url": "https://api.github.com/users/stevhliu/follow... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5835/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/5835 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5835/timeline | json:[] | value:1702522620 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5835 | value:Always set nullable fields in the writer | value:2023-05-09T18:16:59Z | value:MEMBER | json:{"login": "lhoestq", "id": 42851186, "node_id": "MDQ6VXNlcjQyODUxMTg2", "avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lhoestq", "html_url": "https://github.com/lhoestq", "followers_url": "https://api.github.com/users/lhoestq/followers"... | value:https://api.github.com/repos/huggingface/datasets/issues/5835/events | value:False | value:2023-05-19T13:04:30Z | value:This fixes loading of e.g. parquet data with non-nullable fields.
Indeed `datasets.Features` doesn't support non-nullable fields, which can lead to data not concatenable due to arrow schema mismatch. | value:https://api.github.com/repos/huggingface/datasets/issues/5835/comments | value:PR_kwDODunzps5QHquR | value:closed | value:4 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/5835", "html_url": "https://github.com/huggingface/datasets/pull/5835", "diff_url": "https://github.com/huggingface/datasets/pull/5835.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5835.patch", "merged_at": "2023-05-19T13:04:30Z"} | value:2023-05-23T16:10:29Z | value:https://api.github.com/repos/huggingface/datasets/issues/5835/labels{/name} | value:5835 | json:{"login": "lhoestq", "id": 42851186, "node_id": "MDQ6VXNlcjQyODUxMTg2", "avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lhoestq", "html_url": "https://github.com/lhoestq", "followers_url": "https://api.github.com/users/lhoestq/followers"... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5834/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/issues/5834 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5834/timeline | json:[] | value:1702448892 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5834 | value:Is uint8 supported? | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2023-05-09T17:31:13Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:NONE | json:{"login": "ryokan0123", "id": 17979572, "node_id": "MDQ6VXNlcjE3OTc5NTcy", "avatar_url": "https://avatars.githubusercontent.com/u/17979572?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ryokan0123", "html_url": "https://github.com/ryokan0123", "followers_url": "https://api.github.com/users/ryokan012... | value:https://api.github.com/repos/huggingface/datasets/issues/5834/events | value:False | value:2023-05-13T05:04:21Z | value:### Describe the bug
I expect the dataset to store the data in the `uint8` data type, but it's returning `int64` instead.
While I've found that `datasets` doesn't yet support float16 (https://github.com/huggingface/datasets/issues/4981), I'm wondering if this is the case for other data types as well.
Is there ... | value:https://api.github.com/repos/huggingface/datasets/issues/5834/comments | value:I_kwDODunzps5leU78 | value:closed | value:5 | value:2023-05-13T05:04:21Z | value:https://api.github.com/repos/huggingface/datasets/issues/5834/labels{/name} | value:5834 | json:{"login": "ryokan0123", "id": 17979572, "node_id": "MDQ6VXNlcjE3OTc5NTcy", "avatar_url": "https://avatars.githubusercontent.com/u/17979572?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ryokan0123", "html_url": "https://github.com/ryokan0123", "followers_url": "https://api.github.com/users/ryokan012... | true | ||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5833/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:https://github.com/huggingface/datasets/issues/5833 | json:[{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/u... | value:https://api.github.com/repos/huggingface/datasets/issues/5833/timeline | json:[] | value:1702280682 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5833 | value:Unable to push dataset - `create_pr` problem | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2023-05-09T15:32:55Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:NONE | json:{"login": "mariosasko", "id": 47462742, "node_id": "MDQ6VXNlcjQ3NDYyNzQy", "avatar_url": "https://avatars.githubusercontent.com/u/47462742?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mariosasko", "html_url": "https://github.com/mariosasko", "followers_url": "https://api.github.com/users/mariosask... | value:https://api.github.com/repos/huggingface/datasets/issues/5833/events | value:False | value:2023-10-24T18:22:29Z | value:### Describe the bug
I can't upload to the hub the dataset I manually created locally (Image dataset). I have a problem when using the method `.push_to_hub` which asks for a `create_pr` attribute which is not compatible.
### Steps to reproduce the bug
here what I have:
```python
dataset.push_to_hub("agombe... | value:https://api.github.com/repos/huggingface/datasets/issues/5833/comments | value:I_kwDODunzps5ldr3q | value:closed | value:14 | value:2023-10-24T18:22:29Z | value:https://api.github.com/repos/huggingface/datasets/issues/5833/labels{/name} | value:5833 | json:{"login": "agombert", "id": 17645711, "node_id": "MDQ6VXNlcjE3NjQ1NzEx", "avatar_url": "https://avatars.githubusercontent.com/u/17645711?v=4", "gravatar_id": "", "url": "https://api.github.com/users/agombert", "html_url": "https://github.com/agombert", "followers_url": "https://api.github.com/users/agombert/follow... | true | |||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5832/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/issues/5832 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5832/timeline | json:[] | value:1702135336 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5832 | value:404 Client Error: Not Found for url: https://huggingface.co/api/models/bert-large-cased | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2023-05-09T14:14:59Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:NONE | json:{"login": "varungupta31", "id": 51288316, "node_id": "MDQ6VXNlcjUxMjg4MzE2", "avatar_url": "https://avatars.githubusercontent.com/u/51288316?v=4", "gravatar_id": "", "url": "https://api.github.com/users/varungupta31", "html_url": "https://github.com/varungupta31", "followers_url": "https://api.github.com/users/var... | value:https://api.github.com/repos/huggingface/datasets/issues/5832/events | value:False | value:2023-05-09T14:25:59Z | value:### Describe the bug
Running [Bert-Large-Cased](https://huggingface.co/bert-large-cased) model causes `HTTPError`, with the following traceback-
```
HTTPError Traceback (most recent call last)
<ipython-input-6-5c580443a1ad> in <module>
----> 1 tokenizer = BertTokenizer.from_... | value:https://api.github.com/repos/huggingface/datasets/issues/5832/comments | value:I_kwDODunzps5ldIYo | value:closed | value:1 | value:2023-05-09T14:25:59Z | value:https://api.github.com/repos/huggingface/datasets/issues/5832/labels{/name} | value:5832 | json:{"login": "varungupta31", "id": 51288316, "node_id": "MDQ6VXNlcjUxMjg4MzE2", "avatar_url": "https://avatars.githubusercontent.com/u/51288316?v=4", "gravatar_id": "", "url": "https://api.github.com/users/varungupta31", "html_url": "https://github.com/varungupta31", "followers_url": "https://api.github.com/users/var... | true | ||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5831/reactions", "total_count": 3, "+1": 3, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/issues/5831 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5831/timeline | json:[] | value:1701813835 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5831 | value:[Bug]504 Server Error when loading dataset which was already cached | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2023-05-09T10:31:07Z | value:reopened | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:NONE | value:https://api.github.com/repos/huggingface/datasets/issues/5831/events | value:False | value:### Describe the bug
I have already cached the dataset using:
```
dataset = load_dataset("databricks/databricks-dolly-15k",
cache_dir="/mnt/data/llm/datasets/databricks-dolly-15k")
```
After that, I tried to load it again using the same machine, I got this error:
```
Traceback (mos... | value:https://api.github.com/repos/huggingface/datasets/issues/5831/comments | value:I_kwDODunzps5lb55L | value:open | value:6 | value:2023-05-10T01:48:20Z | value:https://api.github.com/repos/huggingface/datasets/issues/5831/labels{/name} | value:5831 | json:{"login": "SingL3", "id": 20473466, "node_id": "MDQ6VXNlcjIwNDczNDY2", "avatar_url": "https://avatars.githubusercontent.com/u/20473466?v=4", "gravatar_id": "", "url": "https://api.github.com/users/SingL3", "html_url": "https://github.com/SingL3", "followers_url": "https://api.github.com/users/SingL3/followers", "f... | true | ||||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5830/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/5830 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5830/timeline | json:[] | value:1701451399 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5830 | value:Debug windows #2 | value:2023-05-09T06:40:34Z | value:NONE | json:{"login": "HyukjinKwon", "id": 6477701, "node_id": "MDQ6VXNlcjY0Nzc3MDE=", "avatar_url": "https://avatars.githubusercontent.com/u/6477701?v=4", "gravatar_id": "", "url": "https://api.github.com/users/HyukjinKwon", "html_url": "https://github.com/HyukjinKwon", "followers_url": "https://api.github.com/users/HyukjinK... | value:https://api.github.com/repos/huggingface/datasets/issues/5830/events | value:False | value:2023-05-09T06:40:47Z | value:https://api.github.com/repos/huggingface/datasets/issues/5830/comments | value:PR_kwDODunzps5QEFEi | value:closed | value:0 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/5830", "html_url": "https://github.com/huggingface/datasets/pull/5830", "diff_url": "https://github.com/huggingface/datasets/pull/5830.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5830.patch", "merged_at": null} | value:2023-05-09T06:40:47Z | value:https://api.github.com/repos/huggingface/datasets/issues/5830/labels{/name} | value:5830 | json:{"login": "HyukjinKwon", "id": 6477701, "node_id": "MDQ6VXNlcjY0Nzc3MDE=", "avatar_url": "https://avatars.githubusercontent.com/u/6477701?v=4", "gravatar_id": "", "url": "https://api.github.com/users/HyukjinKwon", "html_url": "https://github.com/HyukjinKwon", "followers_url": "https://api.github.com/users/HyukjinK... | value:True | true | ||||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5829/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/issues/5829 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5829/timeline | json:[] | value:1699958189 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5829 | value:(mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')) | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2023-05-08T10:07:14Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:NONE | json:{"login": "elcolie", "id": 18206728, "node_id": "MDQ6VXNlcjE4MjA2NzI4", "avatar_url": "https://avatars.githubusercontent.com/u/18206728?v=4", "gravatar_id": "", "url": "https://api.github.com/users/elcolie", "html_url": "https://github.com/elcolie", "followers_url": "https://api.github.com/users/elcolie/followers"... | value:https://api.github.com/repos/huggingface/datasets/issues/5829/events | value:False | value:2023-05-09T00:46:42Z | value:### Describe the bug
M2 MBP can't run
```python
from datasets import load_dataset
jazzy = load_dataset("nomic-ai/gpt4all-j-prompt-generations", revision='v1.2-jazzy')
```
### Steps to reproduce the bug
1. Use M2 MBP
2. Python 3.10.10 from pyenv
3. Run
```
from datasets import load_dataset
jazzy =... | value:https://api.github.com/repos/huggingface/datasets/issues/5829/comments | value:I_kwDODunzps5lU02t | value:closed | value:2 | value:2023-06-30T11:39:14Z | value:https://api.github.com/repos/huggingface/datasets/issues/5829/labels{/name} | value:5829 | json:{"login": "elcolie", "id": 18206728, "node_id": "MDQ6VXNlcjE4MjA2NzI4", "avatar_url": "https://avatars.githubusercontent.com/u/18206728?v=4", "gravatar_id": "", "url": "https://api.github.com/users/elcolie", "html_url": "https://github.com/elcolie", "followers_url": "https://api.github.com/users/elcolie/followers"... | true | ||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5828/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/issues/5828 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5828/timeline | json:[] | value:1699235739 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5828 | value:Stream data concatenation issue | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2023-05-07T21:02:54Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:NONE | json:{"login": "krishnapriya-18", "id": 48817796, "node_id": "MDQ6VXNlcjQ4ODE3Nzk2", "avatar_url": "https://avatars.githubusercontent.com/u/48817796?v=4", "gravatar_id": "", "url": "https://api.github.com/users/krishnapriya-18", "html_url": "https://github.com/krishnapriya-18", "followers_url": "https://api.github.com/... | value:https://api.github.com/repos/huggingface/datasets/issues/5828/events | value:False | value:2023-05-10T05:05:47Z | value:### Describe the bug
I am not able to concatenate the augmentation of the stream data. I am using the latest version of dataset.
ValueError: The features can't be aligned because the key audio of features {'audio_id': Value(dtype='string',
id=None), 'audio': {'array': Sequence(feature=Value(dtype='float32... | value:https://api.github.com/repos/huggingface/datasets/issues/5828/comments | value:I_kwDODunzps5lSEeb | value:closed | value:3 | value:2023-06-29T20:07:56Z | value:https://api.github.com/repos/huggingface/datasets/issues/5828/labels{/name} | value:5828 | json:{"login": "krishnapriya-18", "id": 48817796, "node_id": "MDQ6VXNlcjQ4ODE3Nzk2", "avatar_url": "https://avatars.githubusercontent.com/u/48817796?v=4", "gravatar_id": "", "url": "https://api.github.com/users/krishnapriya-18", "html_url": "https://github.com/krishnapriya-18", "followers_url": "https://api.github.com/... | true | ||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5827/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/issues/5827 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5827/timeline | json:[] | value:1698891246 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5827 | value:load json dataset interrupt when dtype cast problem occured | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2023-05-07T04:52:09Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:NONE | json:{"login": "lhoestq", "id": 42851186, "node_id": "MDQ6VXNlcjQyODUxMTg2", "avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lhoestq", "html_url": "https://github.com/lhoestq", "followers_url": "https://api.github.com/users/lhoestq/followers"... | value:https://api.github.com/repos/huggingface/datasets/issues/5827/events | value:False | value:2026-03-09T15:58:00Z | value:### Describe the bug
i have a json like this:
[
{"id": 1, "name": 1},
{"id": 2, "name": "Nan"},
{"id": 3, "name": 3},
....
]
,which have several problematic rows data like row 2, then i load it with datasets.load_dataset('json', data_files=['xx.json'], split='train'), it will report like ... | value:https://api.github.com/repos/huggingface/datasets/issues/5827/comments | value:I_kwDODunzps5lQwXu | value:closed | value:2 | value:2026-03-09T15:58:00Z | value:https://api.github.com/repos/huggingface/datasets/issues/5827/labels{/name} | value:5827 | json:{"login": "1014661165", "id": 46060451, "node_id": "MDQ6VXNlcjQ2MDYwNDUx", "avatar_url": "https://avatars.githubusercontent.com/u/46060451?v=4", "gravatar_id": "", "url": "https://api.github.com/users/1014661165", "html_url": "https://github.com/1014661165", "followers_url": "https://api.github.com/users/101466116... | true | ||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5826/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/5826 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5826/timeline | json:[] | value:1698155751 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5826 | value:Support working_dir in from_spark | value:2023-05-05T20:22:40Z | value:CONTRIBUTOR | json:{"login": "lhoestq", "id": 42851186, "node_id": "MDQ6VXNlcjQyODUxMTg2", "avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lhoestq", "html_url": "https://github.com/lhoestq", "followers_url": "https://api.github.com/users/lhoestq/followers"... | value:https://api.github.com/repos/huggingface/datasets/issues/5826/events | value:False | value:2023-05-25T08:46:15Z | value:Accept `working_dir` as an argument to `Dataset.from_spark`. Setting a non-NFS working directory for Spark workers to materialize to will improve write performance. | value:https://api.github.com/repos/huggingface/datasets/issues/5826/comments | value:PR_kwDODunzps5P5FYZ | value:closed | value:6 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/5826", "html_url": "https://github.com/huggingface/datasets/pull/5826", "diff_url": "https://github.com/huggingface/datasets/pull/5826.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5826.patch", "merged_at": "2023-05-25T08:46:15Z"} | value:2023-05-25T17:45:54Z | value:https://api.github.com/repos/huggingface/datasets/issues/5826/labels{/name} | value:5826 | json:{"login": "maddiedawson", "id": 106995444, "node_id": "U_kgDOBmCe9A", "avatar_url": "https://avatars.githubusercontent.com/u/106995444?v=4", "gravatar_id": "", "url": "https://api.github.com/users/maddiedawson", "html_url": "https://github.com/maddiedawson", "followers_url": "https://api.github.com/users/maddiedaw... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5825/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/issues/5825 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5825/timeline | json:[] | value:1697327483 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5825 | value:FileNotFound even though exists | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2023-05-05T09:49:55Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:CONTRIBUTOR | json:{"login": "lhoestq", "id": 42851186, "node_id": "MDQ6VXNlcjQyODUxMTg2", "avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lhoestq", "html_url": "https://github.com/lhoestq", "followers_url": "https://api.github.com/users/lhoestq/followers"... | value:https://api.github.com/repos/huggingface/datasets/issues/5825/events | value:False | value:2023-08-16T10:02:01Z | value:### Describe the bug
I'm trying to download https://huggingface.co/datasets/bigscience/xP3/resolve/main/ur/xp3_facebook_flores_spa_Latn-urd_Arab_devtest_ab-spa_Latn-urd_Arab.jsonl which works fine in my webbrowser, but somehow not with datasets. Am I doing sth wrong?
```
Downloading builder script: 100%
2.8... | value:https://api.github.com/repos/huggingface/datasets/issues/5825/comments | value:I_kwDODunzps5lKyl7 | value:closed | value:4 | value:2023-08-16T10:02:01Z | value:https://api.github.com/repos/huggingface/datasets/issues/5825/labels{/name} | value:5825 | json:{"login": "Muennighoff", "id": 62820084, "node_id": "MDQ6VXNlcjYyODIwMDg0", "avatar_url": "https://avatars.githubusercontent.com/u/62820084?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Muennighoff", "html_url": "https://github.com/Muennighoff", "followers_url": "https://api.github.com/users/Muenni... | true | ||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5824/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/5824 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5824/timeline | json:[] | value:1697152148 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5824 | value:Fix incomplete docstring for `BuilderConfig` | value:2023-05-05T07:34:28Z | value:CONTRIBUTOR | json:{"login": "mariosasko", "id": 47462742, "node_id": "MDQ6VXNlcjQ3NDYyNzQy", "avatar_url": "https://avatars.githubusercontent.com/u/47462742?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mariosasko", "html_url": "https://github.com/mariosasko", "followers_url": "https://api.github.com/users/mariosask... | value:https://api.github.com/repos/huggingface/datasets/issues/5824/events | value:False | value:2023-05-05T12:31:54Z | value:Fixes #5820
Also fixed a couple of typos I spotted | value:https://api.github.com/repos/huggingface/datasets/issues/5824/comments | value:PR_kwDODunzps5P1rIZ | value:closed | value:2 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/5824", "html_url": "https://github.com/huggingface/datasets/pull/5824", "diff_url": "https://github.com/huggingface/datasets/pull/5824.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5824.patch", "merged_at": "2023-05-05T12:31:54Z"} | value:2023-05-05T12:39:14Z | value:https://api.github.com/repos/huggingface/datasets/issues/5824/labels{/name} | value:5824 | json:{"login": "Laurent2916", "id": 21087104, "node_id": "MDQ6VXNlcjIxMDg3MTA0", "avatar_url": "https://avatars.githubusercontent.com/u/21087104?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Laurent2916", "html_url": "https://github.com/Laurent2916", "followers_url": "https://api.github.com/users/Lauren... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5823/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/issues/5823 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5823/timeline | json:[] | value:1697024789 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5823 | value:[2.12.0] DatasetDict.save_to_disk not saving to S3 | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2023-05-05T05:22:59Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:NONE | json:{"login": "thejamesmarq", "id": 5233185, "node_id": "MDQ6VXNlcjUyMzMxODU=", "avatar_url": "https://avatars.githubusercontent.com/u/5233185?v=4", "gravatar_id": "", "url": "https://api.github.com/users/thejamesmarq", "html_url": "https://github.com/thejamesmarq", "followers_url": "https://api.github.com/users/theja... | value:https://api.github.com/repos/huggingface/datasets/issues/5823/events | value:False | value:2023-05-05T15:01:17Z | value:### Describe the bug
When trying to save a `DatasetDict` to a private S3 bucket using `save_to_disk`, the artifacts are instead saved locally, and not in the S3 bucket.
I have tried using the deprecated `fs` as well as the `storage_options` arguments and I get the same results.
### Steps to reproduce the bug... | value:https://api.github.com/repos/huggingface/datasets/issues/5823/comments | value:I_kwDODunzps5lJosV | value:closed | value:3 | value:2024-05-30T16:11:31Z | value:https://api.github.com/repos/huggingface/datasets/issues/5823/labels{/name} | value:5823 | json:{"login": "thejamesmarq", "id": 5233185, "node_id": "MDQ6VXNlcjUyMzMxODU=", "avatar_url": "https://avatars.githubusercontent.com/u/5233185?v=4", "gravatar_id": "", "url": "https://api.github.com/users/thejamesmarq", "html_url": "https://github.com/thejamesmarq", "followers_url": "https://api.github.com/users/theja... | true | ||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5822/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/issues/5822 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5822/timeline | json:[] | value:1696627308 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5822 | value:Audio Dataset with_format torch problem | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2023-05-04T20:07:51Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:NONE | json:{"login": "paulbauriegel", "id": 20282916, "node_id": "MDQ6VXNlcjIwMjgyOTE2", "avatar_url": "https://avatars.githubusercontent.com/u/20282916?v=4", "gravatar_id": "", "url": "https://api.github.com/users/paulbauriegel", "html_url": "https://github.com/paulbauriegel", "followers_url": "https://api.github.com/users/... | value:https://api.github.com/repos/huggingface/datasets/issues/5822/events | value:False | value:2023-05-11T20:45:53Z | value:### Describe the bug
Common Voice v10 Delta (German) Dataset from here https://commonvoice.mozilla.org/de/datasets
```
audio_dataset = \
(Dataset
.from_dict({"audio": ('/tmp/cv-corpus-10.0-delta-2022-07-04/de/clips/' + df.path).to_list()})
.cast_column("audio", Audio(sampling_rate=16_000))
... | value:https://api.github.com/repos/huggingface/datasets/issues/5822/comments | value:I_kwDODunzps5lIHps | value:closed | value:2 | value:2023-05-11T20:45:53Z | value:https://api.github.com/repos/huggingface/datasets/issues/5822/labels{/name} | value:5822 | json:{"login": "paulbauriegel", "id": 20282916, "node_id": "MDQ6VXNlcjIwMjgyOTE2", "avatar_url": "https://avatars.githubusercontent.com/u/20282916?v=4", "gravatar_id": "", "url": "https://api.github.com/users/paulbauriegel", "html_url": "https://github.com/paulbauriegel", "followers_url": "https://api.github.com/users/... | true | ||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5821/reactions", "total_count": 2, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 1, "rocket": 1, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/5821 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5821/timeline | json:[] | value:1696400343 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5821 | value:IterableDataset Arrow formatting | value:2023-05-04T17:23:43Z | value:MEMBER | json:{"login": "lhoestq", "id": 42851186, "node_id": "MDQ6VXNlcjQyODUxMTg2", "avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lhoestq", "html_url": "https://github.com/lhoestq", "followers_url": "https://api.github.com/users/lhoestq/followers"... | value:https://api.github.com/repos/huggingface/datasets/issues/5821/events | value:False | value:2023-05-31T09:36:18Z | value:Adding an optional `.iter_arrow` to examples iterable. This allows to use Arrow formatting in map/filter.
This will also be useful for torch formatting, since we can reuse the TorchFormatter that converts Arrow data to torch tensors
Related to https://github.com/huggingface/datasets/issues/5793 and https://... | value:https://api.github.com/repos/huggingface/datasets/issues/5821/comments | value:PR_kwDODunzps5PzHLU | value:closed | value:13 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/5821", "html_url": "https://github.com/huggingface/datasets/pull/5821", "diff_url": "https://github.com/huggingface/datasets/pull/5821.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5821.patch", "merged_at": "2023-05-31T09:36:18Z"} | value:2023-05-31T09:43:26Z | value:https://api.github.com/repos/huggingface/datasets/issues/5821/labels{/name} | value:5821 | json:{"login": "lhoestq", "id": 42851186, "node_id": "MDQ6VXNlcjQyODUxMTg2", "avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lhoestq", "html_url": "https://github.com/lhoestq", "followers_url": "https://api.github.com/users/lhoestq/followers"... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5820/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[{"id": 1935892877, "node_id": "MDU6TGFiZWwxOTM1ODkyODc3", "url": "https://api.github.com/repos/huggingface/datasets/labels/good%20first%20issue", "name": "good first issue", "color": "7057ff", "default": true, "description": "Good for newcomers", "archived_at": null, "archived_by": null}] | value:https://github.com/huggingface/datasets/issues/5820 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5820/timeline | json:[] | value:1695892811 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5820 | value:Incomplete docstring for `BuilderConfig` | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2023-05-04T12:14:34Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:CONTRIBUTOR | json:{"login": "mariosasko", "id": 47462742, "node_id": "MDQ6VXNlcjQ3NDYyNzQy", "avatar_url": "https://avatars.githubusercontent.com/u/47462742?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mariosasko", "html_url": "https://github.com/mariosasko", "followers_url": "https://api.github.com/users/mariosask... | value:https://api.github.com/repos/huggingface/datasets/issues/5820/events | value:False | value:2023-05-05T12:31:56Z | value:Hi guys !
I stumbled upon this docstring while working on a project.
Some of the attributes have missing descriptions.
https://github.com/huggingface/datasets/blob/bc5fef5b6d91f009e4101684adcb374df2c170f6/src/datasets/builder.py#L104-L117 | value:https://api.github.com/repos/huggingface/datasets/issues/5820/comments | value:I_kwDODunzps5lFUVL | value:closed | value:1 | value:2023-05-05T12:31:56Z | value:https://api.github.com/repos/huggingface/datasets/issues/5820/labels{/name} | value:5820 | json:{"login": "Laurent2916", "id": 21087104, "node_id": "MDQ6VXNlcjIxMDg3MTA0", "avatar_url": "https://avatars.githubusercontent.com/u/21087104?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Laurent2916", "html_url": "https://github.com/Laurent2916", "followers_url": "https://api.github.com/users/Lauren... | true | ||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5819/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/issues/5819 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5819/timeline | json:[] | value:1695536738 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5819 | value:Cannot pickle error in Dataset.from_generator() | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2023-05-04T08:39:09Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:NONE | json:{"login": "xinghaow99", "id": 50691954, "node_id": "MDQ6VXNlcjUwNjkxOTU0", "avatar_url": "https://avatars.githubusercontent.com/u/50691954?v=4", "gravatar_id": "", "url": "https://api.github.com/users/xinghaow99", "html_url": "https://github.com/xinghaow99", "followers_url": "https://api.github.com/users/xinghaow9... | value:https://api.github.com/repos/huggingface/datasets/issues/5819/events | value:False | value:2023-05-05T19:20:58Z | value:### Describe the bug
I'm trying to use Dataset.from_generator() to generate a large dataset.
### Steps to reproduce the bug
Code to reproduce:
```
from transformers import T5Tokenizer, T5ForConditionalGeneration, GenerationConfig
import torch
from tqdm import tqdm
from datasets import load_dataset
tok... | value:https://api.github.com/repos/huggingface/datasets/issues/5819/comments | value:I_kwDODunzps5lD9Zi | value:closed | value:2 | value:2023-05-05T19:20:59Z | value:https://api.github.com/repos/huggingface/datasets/issues/5819/labels{/name} | value:5819 | json:{"login": "xinghaow99", "id": 50691954, "node_id": "MDQ6VXNlcjUwNjkxOTU0", "avatar_url": "https://avatars.githubusercontent.com/u/50691954?v=4", "gravatar_id": "", "url": "https://api.github.com/users/xinghaow99", "html_url": "https://github.com/xinghaow99", "followers_url": "https://api.github.com/users/xinghaow9... | true | ||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5818/reactions", "total_count": 5, "+1": 5, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[{"id": 1935892871, "node_id": "MDU6TGFiZWwxOTM1ODkyODcx", "url": "https://api.github.com/repos/huggingface/datasets/labels/enhancement", "name": "enhancement", "color": "a2eeef", "default": true, "description": "New feature or request", "archived_at": null, "archived_by": null}] | value:https://github.com/huggingface/datasets/issues/5818 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5818/timeline | json:[] | value:1695052555 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5818 | value:Ability to update a dataset | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2023-05-04T01:08:13Z | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:NONE | value:https://api.github.com/repos/huggingface/datasets/issues/5818/events | value:False | value:### Feature request
The ability to load a dataset, add or change something, and save it back to disk.
Maybe it's possible, but I can't work out how to do it, e.g. this fails:
```py
import datasets
dataset = datasets.load_from_disk("data/test1")
dataset = dataset.add_item({"text": "A new item"})
datas... | value:https://api.github.com/repos/huggingface/datasets/issues/5818/comments | value:I_kwDODunzps5lCHML | value:open | value:3 | value:2023-05-04T20:43:39Z | value:https://api.github.com/repos/huggingface/datasets/issues/5818/labels{/name} | value:5818 | json:{"login": "davidgilbertson", "id": 4443482, "node_id": "MDQ6VXNlcjQ0NDM0ODI=", "avatar_url": "https://avatars.githubusercontent.com/u/4443482?v=4", "gravatar_id": "", "url": "https://api.github.com/users/davidgilbertson", "html_url": "https://github.com/davidgilbertson", "followers_url": "https://api.github.com/us... | true | |||||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5817/reactions", "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/issues/5817 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5817/timeline | json:[] | value:1694891866 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5817 | value:Setting `num_proc` errors when `.map` returns additional items. | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2023-05-03T21:46:53Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:NONE | json:{"login": "davidgilbertson", "id": 4443482, "node_id": "MDQ6VXNlcjQ0NDM0ODI=", "avatar_url": "https://avatars.githubusercontent.com/u/4443482?v=4", "gravatar_id": "", "url": "https://api.github.com/users/davidgilbertson", "html_url": "https://github.com/davidgilbertson", "followers_url": "https://api.github.com/us... | value:https://api.github.com/repos/huggingface/datasets/issues/5817/events | value:False | value:2023-05-04T20:22:25Z | value:### Describe the bug
I'm using a map function that returns more rows than are passed in.
If I try to use `num_proc` I get:
```
File "/home/davidg/.virtualenvs/learning/lib/python3.10/site-packages/datasets/arrow_dataset.py", line 563, in wrapper
out: Union["Dataset", "DatasetDict"] = func(self, *args... | value:https://api.github.com/repos/huggingface/datasets/issues/5817/comments | value:I_kwDODunzps5lBf9a | value:closed | value:3 | value:2023-05-04T21:14:21Z | value:https://api.github.com/repos/huggingface/datasets/issues/5817/labels{/name} | value:5817 | json:{"login": "davidgilbertson", "id": 4443482, "node_id": "MDQ6VXNlcjQ0NDM0ODI=", "avatar_url": "https://avatars.githubusercontent.com/u/4443482?v=4", "gravatar_id": "", "url": "https://api.github.com/users/davidgilbertson", "html_url": "https://github.com/davidgilbertson", "followers_url": "https://api.github.com/us... | true | ||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5816/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/5816 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5816/timeline | json:[] | value:1694590856 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5816 | value:Preserve `stopping_strategy` of shuffled interleaved dataset (random cycling case) | value:2023-05-03T18:34:18Z | value:COLLABORATOR | json:{"login": "mariosasko", "id": 47462742, "node_id": "MDQ6VXNlcjQ3NDYyNzQy", "avatar_url": "https://avatars.githubusercontent.com/u/47462742?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mariosasko", "html_url": "https://github.com/mariosasko", "followers_url": "https://api.github.com/users/mariosask... | value:https://api.github.com/repos/huggingface/datasets/issues/5816/events | value:False | value:2023-05-04T14:24:49Z | value:Preserve the `stopping_strategy` in the `RandomlyCyclingMultiSourcesExamplesIterable.shard_data_sources` to fix shuffling a dataset interleaved (from multiple sources) with probabilities.
Fix #5812
| value:https://api.github.com/repos/huggingface/datasets/issues/5816/comments | value:PR_kwDODunzps5Ps4t9 | value:closed | value:3 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/5816", "html_url": "https://github.com/huggingface/datasets/pull/5816", "diff_url": "https://github.com/huggingface/datasets/pull/5816.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5816.patch", "merged_at": "2023-05-04T14:24:49Z"} | value:2023-05-04T14:31:55Z | value:https://api.github.com/repos/huggingface/datasets/issues/5816/labels{/name} | value:5816 | json:{"login": "mariosasko", "id": 47462742, "node_id": "MDQ6VXNlcjQ3NDYyNzQy", "avatar_url": "https://avatars.githubusercontent.com/u/47462742?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mariosasko", "html_url": "https://github.com/mariosasko", "followers_url": "https://api.github.com/users/mariosask... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5814/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/5814 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5814/timeline | json:[] | value:1693216778 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5814 | value:Repro windows crash | value:2023-05-02T23:30:18Z | value:CONTRIBUTOR | json:{"login": "maddiedawson", "id": 106995444, "node_id": "U_kgDOBmCe9A", "avatar_url": "https://avatars.githubusercontent.com/u/106995444?v=4", "gravatar_id": "", "url": "https://api.github.com/users/maddiedawson", "html_url": "https://github.com/maddiedawson", "followers_url": "https://api.github.com/users/maddiedaw... | value:https://api.github.com/repos/huggingface/datasets/issues/5814/events | value:False | value:2024-01-08T18:30:45Z | value:https://api.github.com/repos/huggingface/datasets/issues/5814/comments | value:PR_kwDODunzps5PoOQ9 | value:closed | value:1 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/5814", "html_url": "https://github.com/huggingface/datasets/pull/5814", "diff_url": "https://github.com/huggingface/datasets/pull/5814.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5814.patch", "merged_at": null} | value:2024-01-08T18:30:45Z | value:https://api.github.com/repos/huggingface/datasets/issues/5814/labels{/name} | value:5814 | json:{"login": "maddiedawson", "id": 106995444, "node_id": "U_kgDOBmCe9A", "avatar_url": "https://avatars.githubusercontent.com/u/106995444?v=4", "gravatar_id": "", "url": "https://api.github.com/users/maddiedawson", "html_url": "https://github.com/maddiedawson", "followers_url": "https://api.github.com/users/maddiedaw... | value:False | true | ||||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5815/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/issues/5815 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5815/timeline | json:[] | value:1693701743 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5815 | value:Easy way to create a Kaggle dataset from a Huggingface dataset? | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2023-05-02T21:43:33Z | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:NONE | value:https://api.github.com/repos/huggingface/datasets/issues/5815/events | value:False | value:I'm not sure whether this is more appropriately addressed with HuggingFace or Kaggle. I would like to somehow directly create a Kaggle dataset from a HuggingFace Dataset.
While Kaggle does provide the option to create a dataset from a URI, that URI must point to a single file. For example:
:
for i in range(length):
yield dict(a=bias+i)
seed... | value:https://api.github.com/repos/huggingface/datasets/issues/5812/comments | value:I_kwDODunzps5k1sqZ | value:closed | value:0 | value:2023-05-04T14:24:51Z | value:https://api.github.com/repos/huggingface/datasets/issues/5812/labels{/name} | value:5812 | json:{"login": "offchan42", "id": 15215732, "node_id": "MDQ6VXNlcjE1MjE1NzMy", "avatar_url": "https://avatars.githubusercontent.com/u/15215732?v=4", "gravatar_id": "", "url": "https://api.github.com/users/offchan42", "html_url": "https://github.com/offchan42", "followers_url": "https://api.github.com/users/offchan42/fo... | true | |||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5811/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/issues/5811 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5811/timeline | json:[] | value:1689919046 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5811 | value:load_dataset: TypeError: 'NoneType' object is not callable, on local dataset filename changes | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2023-04-30T13:27:17Z | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:NONE | value:https://api.github.com/repos/huggingface/datasets/issues/5811/events | value:False | value:### Describe the bug
I've adapted Databrick's [train_dolly.py](/databrickslabs/dolly/blob/master/train_dolly.py) to train using a local dataset, which has been working. Upon changing the filenames of the `.json` & `.py` files in my local dataset directory, `dataset = load_dataset(path_or_dataset)["train"]` thr... | value:https://api.github.com/repos/huggingface/datasets/issues/5811/comments | value:I_kwDODunzps5kuh5G | value:open | value:2 | value:2025-02-27T07:32:30Z | value:https://api.github.com/repos/huggingface/datasets/issues/5811/labels{/name} | value:5811 | json:{"login": "durapensa", "id": 50685483, "node_id": "MDQ6VXNlcjUwNjg1NDgz", "avatar_url": "https://avatars.githubusercontent.com/u/50685483?v=4", "gravatar_id": "", "url": "https://api.github.com/users/durapensa", "html_url": "https://github.com/durapensa", "followers_url": "https://api.github.com/users/durapensa/fo... | true | |||||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5810/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/5810 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5810/timeline | json:[] | value:1689917822 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5810 | value:Add `fn_kwargs` to `map` and `filter` of `IterableDataset` and `IterableDatasetDict` | value:2023-04-30T13:23:01Z | value:CONTRIBUTOR | json:{"login": "lhoestq", "id": 42851186, "node_id": "MDQ6VXNlcjQyODUxMTg2", "avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lhoestq", "html_url": "https://github.com/lhoestq", "followers_url": "https://api.github.com/users/lhoestq/followers"... | value:https://api.github.com/repos/huggingface/datasets/issues/5810/events | value:False | value:2023-05-22T08:05:31Z | value:# Overview
I've added an argument`fn_kwargs` for map and filter methods of `IterableDataset` and `IterableDatasetDict` classes.
# Details
Currently, the map and filter methods of some classes related to `IterableDataset` do not allow specifing the arguments passed to the function. This pull request adds `fn_... | value:https://api.github.com/repos/huggingface/datasets/issues/5810/comments | value:PR_kwDODunzps5PdJHI | value:closed | value:9 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/5810", "html_url": "https://github.com/huggingface/datasets/pull/5810", "diff_url": "https://github.com/huggingface/datasets/pull/5810.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5810.patch", "merged_at": "2023-05-22T08:05:31Z"} | value:2023-05-22T08:12:39Z | value:https://api.github.com/repos/huggingface/datasets/issues/5810/labels{/name} | value:5810 | json:{"login": "yuukicammy", "id": 3927621, "node_id": "MDQ6VXNlcjM5Mjc2MjE=", "avatar_url": "https://avatars.githubusercontent.com/u/3927621?v=4", "gravatar_id": "", "url": "https://api.github.com/users/yuukicammy", "html_url": "https://github.com/yuukicammy", "followers_url": "https://api.github.com/users/yuukicammy/... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5809/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/issues/5809 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5809/timeline | json:[] | value:1689797293 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5809 | value:wiki_dpr details for Open Domain Question Answering tasks | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2023-04-30T06:12:04Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:NONE | json:{"login": "mariosasko", "id": 47462742, "node_id": "MDQ6VXNlcjQ3NDYyNzQy", "avatar_url": "https://avatars.githubusercontent.com/u/47462742?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mariosasko", "html_url": "https://github.com/mariosasko", "followers_url": "https://api.github.com/users/mariosask... | value:https://api.github.com/repos/huggingface/datasets/issues/5809/events | value:False | value:2023-07-21T14:11:00Z | value:Hey guys!
Thanks for creating the wiki_dpr dataset!
I am currently trying to combine wiki_dpr and my own datasets. but I don't know how to make the embedding value the same way as wiki_dpr.
As an experiment, I embeds the text of id="7" of wiki_dpr, but this result was very different from wiki_dpr. | value:https://api.github.com/repos/huggingface/datasets/issues/5809/comments | value:I_kwDODunzps5kuEKt | value:closed | value:1 | value:2023-07-21T14:11:00Z | value:https://api.github.com/repos/huggingface/datasets/issues/5809/labels{/name} | value:5809 | json:{"login": "yulgok22", "id": 64122846, "node_id": "MDQ6VXNlcjY0MTIyODQ2", "avatar_url": "https://avatars.githubusercontent.com/u/64122846?v=4", "gravatar_id": "", "url": "https://api.github.com/users/yulgok22", "html_url": "https://github.com/yulgok22", "followers_url": "https://api.github.com/users/yulgok22/follow... | true | ||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5807/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/5807 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5807/timeline | json:[] | value:1688977237 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5807 | value:Support parallelized downloading in load_dataset with Spark | value:2023-04-28T18:34:32Z | value:CONTRIBUTOR | json:{"login": "es94129", "id": 12763339, "node_id": "MDQ6VXNlcjEyNzYzMzM5", "avatar_url": "https://avatars.githubusercontent.com/u/12763339?v=4", "gravatar_id": "", "url": "https://api.github.com/users/es94129", "html_url": "https://github.com/es94129", "followers_url": "https://api.github.com/users/es94129/followers"... | value:https://api.github.com/repos/huggingface/datasets/issues/5807/events | value:False | value:2023-05-25T16:54:14Z | value:As proposed in https://github.com/huggingface/datasets/issues/5798, this adds support to parallelized downloading in `load_dataset` with Spark, which can speed up the process by distributing the workload to worker nodes.
Parallelizing dataset processing is not supported in this PR. | value:https://api.github.com/repos/huggingface/datasets/issues/5807/comments | value:PR_kwDODunzps5PaKRE | value:closed | value:3 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/5807", "html_url": "https://github.com/huggingface/datasets/pull/5807", "diff_url": "https://github.com/huggingface/datasets/pull/5807.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5807.patch", "merged_at": null} | value:2023-05-25T16:54:14Z | value:https://api.github.com/repos/huggingface/datasets/issues/5807/labels{/name} | value:5807 | json:{"login": "es94129", "id": 12763339, "node_id": "MDQ6VXNlcjEyNzYzMzM5", "avatar_url": "https://avatars.githubusercontent.com/u/12763339?v=4", "gravatar_id": "", "url": "https://api.github.com/users/es94129", "html_url": "https://github.com/es94129", "followers_url": "https://api.github.com/users/es94129/followers"... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5806/reactions", "total_count": 2, "+1": 2, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[{"id": 1935892871, "node_id": "MDU6TGFiZWwxOTM1ODkyODcx", "url": "https://api.github.com/repos/huggingface/datasets/labels/enhancement", "name": "enhancement", "color": "a2eeef", "default": true, "description": "New feature or request", "archived_at": null, "archived_by": null}, {"id": 1935892877, "node_id": "MDU... | json:{"login": "sabbirtkdr", "id": 49894149, "node_id": "MDQ6VXNlcjQ5ODk0MTQ5", "avatar_url": "https://avatars.githubusercontent.com/u/49894149?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sabbirtkdr", "html_url": "https://github.com/sabbirtkdr", "followers_url": "https://api.github.com/users/sabbirtkd... | value:https://github.com/huggingface/datasets/issues/5806 | json:[{"login": "sabbirtkdr", "id": 49894149, "node_id": "MDQ6VXNlcjQ5ODk0MTQ5", "avatar_url": "https://avatars.githubusercontent.com/u/49894149?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sabbirtkdr", "html_url": "https://github.com/sabbirtkdr", "followers_url": "https://api.github.com/users/sabbirtk... | value:https://api.github.com/repos/huggingface/datasets/issues/5806/timeline | json:[] | value:1688598095 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5806 | value:Return the name of the currently loaded file in the load_dataset function. | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2023-04-28T13:50:15Z | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:NONE | value:https://api.github.com/repos/huggingface/datasets/issues/5806/events | value:False | value:### Feature request
Add an optional parameter return_file_name in the load_dataset function. When it is set to True, the function will include the name of the file corresponding to the current line as a feature in the returned output.
### Motivation
When training large language models, machine problems may int... | value:https://api.github.com/repos/huggingface/datasets/issues/5806/comments | value:I_kwDODunzps5kpfZP | value:open | value:25 | value:2026-10-06T22:01:22Z | value:https://api.github.com/repos/huggingface/datasets/issues/5806/labels{/name} | value:5806 | json:{"login": "s-JoL", "id": 16948304, "node_id": "MDQ6VXNlcjE2OTQ4MzA0", "avatar_url": "https://avatars.githubusercontent.com/u/16948304?v=4", "gravatar_id": "", "url": "https://api.github.com/users/s-JoL", "html_url": "https://github.com/s-JoL", "followers_url": "https://api.github.com/users/s-JoL/followers", "follo... | true | ||||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5805/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 1} | json:[{"id": 1935892861, "node_id": "MDU6TGFiZWwxOTM1ODkyODYx", "url": "https://api.github.com/repos/huggingface/datasets/labels/documentation", "name": "documentation", "color": "0075ca", "default": true, "description": "Improvements or additions to documentation", "archived_at": null, "archived_by": null}] | value:https://github.com/huggingface/datasets/issues/5805 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5805/timeline | json:[] | value:1688558577 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5805 | value:Improve `Create a dataset` tutorial | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2023-04-28T13:26:22Z | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:CONTRIBUTOR | value:https://api.github.com/repos/huggingface/datasets/issues/5805/events | value:False | value:Our [tutorial on how to create a dataset](https://huggingface.co/docs/datasets/create_dataset) is a bit misleading.
1. In **Folder-based builders** section it says that we have two folder-based builders as standard builders, but we also have similar builders (that can be created from directory with data of requ... | value:https://api.github.com/repos/huggingface/datasets/issues/5805/comments | value:I_kwDODunzps5kpVvx | value:open | value:11 | value:2026-09-02T00:55:05Z | value:https://api.github.com/repos/huggingface/datasets/issues/5805/labels{/name} | value:5805 | json:{"login": "polinaeterna", "id": 16348744, "node_id": "MDQ6VXNlcjE2MzQ4NzQ0", "avatar_url": "https://avatars.githubusercontent.com/u/16348744?v=4", "gravatar_id": "", "url": "https://api.github.com/users/polinaeterna", "html_url": "https://github.com/polinaeterna", "followers_url": "https://api.github.com/users/pol... | true | |||||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5804/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/5804 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5804/timeline | json:[] | value:1688285666 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5804 | value:Set dev version | value:2023-04-28T10:10:01Z | value:MEMBER | json:{"login": "lhoestq", "id": 42851186, "node_id": "MDQ6VXNlcjQyODUxMTg2", "avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lhoestq", "html_url": "https://github.com/lhoestq", "followers_url": "https://api.github.com/users/lhoestq/followers"... | value:https://api.github.com/repos/huggingface/datasets/issues/5804/events | value:False | value:2023-04-28T10:10:29Z | value:https://api.github.com/repos/huggingface/datasets/issues/5804/comments | value:PR_kwDODunzps5PX0Dk | value:closed | value:3 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/5804", "html_url": "https://github.com/huggingface/datasets/pull/5804", "diff_url": "https://github.com/huggingface/datasets/pull/5804.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5804.patch", "merged_at": "2023-04-28T10:10:29Z"} | value:2023-04-28T10:18:51Z | value:https://api.github.com/repos/huggingface/datasets/issues/5804/labels{/name} | value:5804 | json:{"login": "lhoestq", "id": 42851186, "node_id": "MDQ6VXNlcjQyODUxMTg2", "avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lhoestq", "html_url": "https://github.com/lhoestq", "followers_url": "https://api.github.com/users/lhoestq/followers"... | value:False | true | ||||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5803/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/5803 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5803/timeline | json:[] | value:1688256290 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5803 | value:Release: 2.12.0 | value:2023-04-28T09:52:11Z | value:MEMBER | json:{"login": "lhoestq", "id": 42851186, "node_id": "MDQ6VXNlcjQyODUxMTg2", "avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lhoestq", "html_url": "https://github.com/lhoestq", "followers_url": "https://api.github.com/users/lhoestq/followers"... | value:https://api.github.com/repos/huggingface/datasets/issues/5803/events | value:False | value:2023-04-28T09:54:43Z | value:https://api.github.com/repos/huggingface/datasets/issues/5803/comments | value:PR_kwDODunzps5PXtte | value:closed | value:4 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/5803", "html_url": "https://github.com/huggingface/datasets/pull/5803", "diff_url": "https://github.com/huggingface/datasets/pull/5803.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5803.patch", "merged_at": "2023-04-28T09:54:43Z"} | value:2023-04-28T10:18:56Z | value:https://api.github.com/repos/huggingface/datasets/issues/5803/labels{/name} | value:5803 | json:{"login": "lhoestq", "id": 42851186, "node_id": "MDQ6VXNlcjQyODUxMTg2", "avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lhoestq", "html_url": "https://github.com/lhoestq", "followers_url": "https://api.github.com/users/lhoestq/followers"... | value:False | true | ||||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5802/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/5802 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5802/timeline | json:[] | value:1686509799 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5802 | value:Validate non-empty data_files | value:2023-04-27T09:51:36Z | value:MEMBER | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:https://api.github.com/repos/huggingface/datasets/issues/5802/events | value:False | value:2023-04-27T14:51:40Z | value:This PR adds validation of `data_files`, so that they are non-empty (str, list, or dict) or `None` (default).
See: https://github.com/huggingface/datasets/pull/5787#discussion_r1178862327 | value:https://api.github.com/repos/huggingface/datasets/issues/5802/comments | value:PR_kwDODunzps5PR199 | value:closed | value:2 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/5802", "html_url": "https://github.com/huggingface/datasets/pull/5802", "diff_url": "https://github.com/huggingface/datasets/pull/5802.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5802.patch", "merged_at": "2023-04-27T14:51:40Z"} | value:2023-04-27T14:59:47Z | value:https://api.github.com/repos/huggingface/datasets/issues/5802/labels{/name} | value:5802 | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5800/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/5800 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5800/timeline | json:[] | value:1686348096 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5800 | value:Change downloaded file permission based on umask | value:2023-04-27T08:13:30Z | value:MEMBER | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:https://api.github.com/repos/huggingface/datasets/issues/5800/events | value:False | value:2023-04-27T09:30:16Z | value:This PR changes the permission of downloaded files to cache, so that the umask is taken into account.
Related to:
- #2157
Fix #5799.
CC: @stas00 | value:https://api.github.com/repos/huggingface/datasets/issues/5800/comments | value:PR_kwDODunzps5PRTRh | value:closed | value:1 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/5800", "html_url": "https://github.com/huggingface/datasets/pull/5800", "diff_url": "https://github.com/huggingface/datasets/pull/5800.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5800.patch", "merged_at": "2023-04-27T09:30:16Z"} | value:2023-04-27T09:33:05Z | value:https://api.github.com/repos/huggingface/datasets/issues/5800/labels{/name} | value:5800 | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5799/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[{"id": 1935892857, "node_id": "MDU6TGFiZWwxOTM1ODkyODU3", "url": "https://api.github.com/repos/huggingface/datasets/labels/bug", "name": "bug", "color": "d73a4a", "default": true, "description": "Something isn't working", "archived_at": null, "archived_by": null}] | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:https://github.com/huggingface/datasets/issues/5799 | json:[{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/u... | value:https://api.github.com/repos/huggingface/datasets/issues/5799/timeline | json:[] | value:1686334572 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5799 | value:Files downloaded to cache do not respect umask | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2023-04-27T08:06:05Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:MEMBER | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:https://api.github.com/repos/huggingface/datasets/issues/5799/events | value:False | value:2023-04-27T09:30:17Z | value:As reported by @stas00, files downloaded to the cache do not respect umask:
```bash
$ ls -l /path/to/cache/datasets/downloads/
-rw------- 1 uername username 150M Apr 25 16:41 5e646c1d600f065adaeb134e536f6f2f296a6d804bd1f0e1fdcd20ee28c185c6
```
Related to:
- #2065 | value:https://api.github.com/repos/huggingface/datasets/issues/5799/comments | value:I_kwDODunzps5kg2xs | value:closed | value:0 | value:2023-04-27T09:30:17Z | value:https://api.github.com/repos/huggingface/datasets/issues/5799/labels{/name} | value:5799 | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | true | |||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5798/reactions", "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[{"id": 1935892871, "node_id": "MDU6TGFiZWwxOTM1ODkyODcx", "url": "https://api.github.com/repos/huggingface/datasets/labels/enhancement", "name": "enhancement", "color": "a2eeef", "default": true, "description": "New feature or request", "archived_at": null, "archived_by": null}] | value:https://github.com/huggingface/datasets/issues/5798 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5798/timeline | json:[] | value:1685904526 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5798 | value:Support parallelized downloading and processing in load_dataset with Spark | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2023-04-27T00:16:11Z | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:CONTRIBUTOR | value:https://api.github.com/repos/huggingface/datasets/issues/5798/events | value:False | value:### Feature request
When calling `load_dataset` for datasets that have multiple files, support using Spark to distribute the downloading and processing job to worker nodes when `cache_dir` is a cloud file system shared among nodes.
```python
load_dataset(..., use_spark=True)
```
### Motivation
Further spe... | value:https://api.github.com/repos/huggingface/datasets/issues/5798/comments | value:I_kwDODunzps5kfNyO | value:open | value:17 | value:2023-05-25T14:11:41Z | value:https://api.github.com/repos/huggingface/datasets/issues/5798/labels{/name} | value:5798 | json:{"login": "es94129", "id": 12763339, "node_id": "MDQ6VXNlcjEyNzYzMzM5", "avatar_url": "https://avatars.githubusercontent.com/u/12763339?v=4", "gravatar_id": "", "url": "https://api.github.com/users/es94129", "html_url": "https://github.com/es94129", "followers_url": "https://api.github.com/users/es94129/followers"... | true | |||||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5797/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/issues/5797 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5797/timeline | json:[] | value:1685501199 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5797 | value:load_dataset is case sentitive? | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2023-04-26T18:19:04Z | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:NONE | value:https://api.github.com/repos/huggingface/datasets/issues/5797/events | value:False | value:### Describe the bug
load_dataset() function is case sensitive?
### Steps to reproduce the bug
The following two code, get totally different behavior.
1. load_dataset('mbzuai/bactrian-x','en')
2. load_dataset('MBZUAI/Bactrian-X','en')
### Expected behavior
Compare 1 and 2.
1 will download all 52 subse... | value:https://api.github.com/repos/huggingface/datasets/issues/5797/comments | value:I_kwDODunzps5kdrUP | value:open | value:2 | value:2023-04-27T11:56:58Z | value:https://api.github.com/repos/huggingface/datasets/issues/5797/labels{/name} | value:5797 | json:{"login": "haonan-li", "id": 34729065, "node_id": "MDQ6VXNlcjM0NzI5MDY1", "avatar_url": "https://avatars.githubusercontent.com/u/34729065?v=4", "gravatar_id": "", "url": "https://api.github.com/users/haonan-li", "html_url": "https://github.com/haonan-li", "followers_url": "https://api.github.com/users/haonan-li/fo... | true | |||||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5796/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/5796 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5796/timeline | json:[] | value:1685451919 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5796 | value:Spark docs | value:2023-04-26T17:39:43Z | value:MEMBER | json:{"login": "lhoestq", "id": 42851186, "node_id": "MDQ6VXNlcjQyODUxMTg2", "avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lhoestq", "html_url": "https://github.com/lhoestq", "followers_url": "https://api.github.com/users/lhoestq/followers"... | value:https://api.github.com/repos/huggingface/datasets/issues/5796/events | value:False | value:2023-04-27T16:34:45Z | value:Added a "Use with Spark" doc page to document `Dataset.from_spark` following https://github.com/huggingface/datasets/pull/5701
cc @maddiedawson | value:https://api.github.com/repos/huggingface/datasets/issues/5796/comments | value:PR_kwDODunzps5PORm- | value:closed | value:4 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/5796", "html_url": "https://github.com/huggingface/datasets/pull/5796", "diff_url": "https://github.com/huggingface/datasets/pull/5796.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5796.patch", "merged_at": "2023-04-27T16:34:45Z"} | value:2023-04-27T16:41:50Z | value:https://api.github.com/repos/huggingface/datasets/issues/5796/labels{/name} | value:5796 | json:{"login": "lhoestq", "id": 42851186, "node_id": "MDQ6VXNlcjQyODUxMTg2", "avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lhoestq", "html_url": "https://github.com/lhoestq", "followers_url": "https://api.github.com/users/lhoestq/followers"... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5795/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/5795 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5795/timeline | json:[] | value:1685414505 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5795 | value:Fix spark imports | value:2023-04-26T17:09:32Z | value:MEMBER | json:{"login": "lhoestq", "id": 42851186, "node_id": "MDQ6VXNlcjQyODUxMTg2", "avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lhoestq", "html_url": "https://github.com/lhoestq", "followers_url": "https://api.github.com/users/lhoestq/followers"... | value:https://api.github.com/repos/huggingface/datasets/issues/5795/events | value:False | value:2023-04-26T17:39:12Z | value:https://api.github.com/repos/huggingface/datasets/issues/5795/comments | value:PR_kwDODunzps5POJo8 | value:closed | value:3 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/5795", "html_url": "https://github.com/huggingface/datasets/pull/5795", "diff_url": "https://github.com/huggingface/datasets/pull/5795.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5795.patch", "merged_at": "2023-04-26T17:39:12Z"} | value:2023-04-26T17:49:03Z | value:https://api.github.com/repos/huggingface/datasets/issues/5795/labels{/name} | value:5795 | json:{"login": "lhoestq", "id": 42851186, "node_id": "MDQ6VXNlcjQyODUxMTg2", "avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lhoestq", "html_url": "https://github.com/lhoestq", "followers_url": "https://api.github.com/users/lhoestq/followers"... | value:False | true | ||||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5794/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[{"id": 1935892857, "node_id": "MDU6TGFiZWwxOTM1ODkyODU3", "url": "https://api.github.com/repos/huggingface/datasets/labels/bug", "name": "bug", "color": "d73a4a", "default": true, "description": "Something isn't working", "archived_at": null, "archived_by": null}] | value:https://github.com/huggingface/datasets/issues/5794 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5794/timeline | json:[] | value:1685196061 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5794 | value:CI ZeroDivisionError | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2023-04-26T14:55:23Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:MEMBER | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:https://api.github.com/repos/huggingface/datasets/issues/5794/events | value:False | value:2024-05-17T09:12:11Z | value:Sometimes when running our CI on Windows, we get a ZeroDivisionError:
```
FAILED tests/test_metric_common.py::LocalMetricTest::test_load_metric_frugalscore - ZeroDivisionError: float division by zero
```
See for example:
- https://github.com/huggingface/datasets/actions/runs/4809358266/jobs/8560513110
- h... | value:https://api.github.com/repos/huggingface/datasets/issues/5794/comments | value:I_kwDODunzps5kcg0d | value:closed | value:2 | value:2024-05-17T09:12:11Z | value:https://api.github.com/repos/huggingface/datasets/issues/5794/labels{/name} | value:5794 | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | true | ||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5793/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[{"id": 1935892857, "node_id": "MDU6TGFiZWwxOTM1ODkyODU3", "url": "https://api.github.com/repos/huggingface/datasets/labels/bug", "name": "bug", "color": "d73a4a", "default": true, "description": "Something isn't working", "archived_at": null, "archived_by": null}, {"id": 1935892871, "node_id": "MDU6TGFiZWwxOTM1OD... | json:{"login": "lhoestq", "id": 42851186, "node_id": "MDQ6VXNlcjQyODUxMTg2", "avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lhoestq", "html_url": "https://github.com/lhoestq", "followers_url": "https://api.github.com/users/lhoestq/followers"... | value:https://github.com/huggingface/datasets/issues/5793 | json:[{"login": "lhoestq", "id": 42851186, "node_id": "MDQ6VXNlcjQyODUxMTg2", "avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lhoestq", "html_url": "https://github.com/lhoestq", "followers_url": "https://api.github.com/users/lhoestq/followers... | value:https://api.github.com/repos/huggingface/datasets/issues/5793/timeline | json:[] | value:1684777320 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5793 | value:IterableDataset.with_format("torch") not working | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2023-04-26T10:50:23Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:NONE | json:{"login": "lhoestq", "id": 42851186, "node_id": "MDQ6VXNlcjQyODUxMTg2", "avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lhoestq", "html_url": "https://github.com/lhoestq", "followers_url": "https://api.github.com/users/lhoestq/followers"... | value:https://api.github.com/repos/huggingface/datasets/issues/5793/events | value:False | value:2023-06-13T15:57:06Z | value:### Describe the bug
After calling the with_format("torch") method on an IterableDataset instance, the data format is unchanged.
### Steps to reproduce the bug
```python
from datasets import IterableDataset
def gen():
for i in range(4):
yield {"a": [i] * 4}
dataset = IterableDataset.from_gener... | value:https://api.github.com/repos/huggingface/datasets/issues/5793/comments | value:I_kwDODunzps5ka6lo | value:closed | value:1 | value:2023-06-13T15:57:06Z | value:https://api.github.com/repos/huggingface/datasets/issues/5793/labels{/name} | value:5793 | json:{"login": "jiangwangyi", "id": 39762734, "node_id": "MDQ6VXNlcjM5NzYyNzM0", "avatar_url": "https://avatars.githubusercontent.com/u/39762734?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jiangwangyi", "html_url": "https://github.com/jiangwangyi", "followers_url": "https://api.github.com/users/jiangw... | true | |||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5791/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[{"id": 1935892871, "node_id": "MDU6TGFiZWwxOTM1ODkyODcx", "url": "https://api.github.com/repos/huggingface/datasets/labels/enhancement", "name": "enhancement", "color": "a2eeef", "default": true, "description": "New feature or request", "archived_at": null, "archived_by": null}] | value:https://github.com/huggingface/datasets/issues/5791 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5791/timeline | json:[] | value:1683473943 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5791 | value:TIFF/TIF support | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2023-04-25T16:14:18Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:NONE | json:{"login": "mariosasko", "id": 47462742, "node_id": "MDQ6VXNlcjQ3NDYyNzQy", "avatar_url": "https://avatars.githubusercontent.com/u/47462742?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mariosasko", "html_url": "https://github.com/mariosasko", "followers_url": "https://api.github.com/users/mariosask... | value:https://api.github.com/repos/huggingface/datasets/issues/5791/events | value:False | value:2024-01-15T16:40:16Z | value:### Feature request
I currently have a dataset (with tiff and json files) where I have to do this:
`wget path_to_data/images.zip && unzip images.zip`
`wget path_to_data/annotations.zip && unzip annotations.zip`
Would it make sense a contribution that supports these type of files?
### Motivation
ins... | value:https://api.github.com/repos/huggingface/datasets/issues/5791/comments | value:I_kwDODunzps5kV8YX | value:closed | value:5 | value:2024-01-15T16:40:33Z | value:https://api.github.com/repos/huggingface/datasets/issues/5791/labels{/name} | value:5791 | json:{"login": "sebasmos", "id": 31293221, "node_id": "MDQ6VXNlcjMxMjkzMjIx", "avatar_url": "https://avatars.githubusercontent.com/u/31293221?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sebasmos", "html_url": "https://github.com/sebasmos", "followers_url": "https://api.github.com/users/sebasmos/follow... | true | ||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5790/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/5790 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5790/timeline | json:[] | value:1683229126 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5790 | value:Allow to run CI on push to ci-branch | value:2023-04-25T13:57:26Z | value:MEMBER | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:https://api.github.com/repos/huggingface/datasets/issues/5790/events | value:False | value:2023-04-26T13:35:47Z | value:This PR allows to run the CI on push to a branch named "ci-*", without needing to open a PR.
- This will allow to make CI tests without opening a PR, e.g., for future `huggingface-hub` releases, future dependency releases (like `fsspec`, `pandas`,...)
Note that to build the documentation, we already allow it ... | value:https://api.github.com/repos/huggingface/datasets/issues/5790/comments | value:PR_kwDODunzps5PG0mJ | value:closed | value:2 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/5790", "html_url": "https://github.com/huggingface/datasets/pull/5790", "diff_url": "https://github.com/huggingface/datasets/pull/5790.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5790.patch", "merged_at": "2023-04-26T13:35:47Z"} | value:2023-04-26T13:43:08Z | value:https://api.github.com/repos/huggingface/datasets/issues/5790/labels{/name} | value:5790 | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5789/reactions", "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[{"id": 1935892871, "node_id": "MDU6TGFiZWwxOTM1ODkyODcx", "url": "https://api.github.com/repos/huggingface/datasets/labels/enhancement", "name": "enhancement", "color": "a2eeef", "default": true, "description": "New feature or request", "archived_at": null, "archived_by": null}] | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:https://github.com/huggingface/datasets/issues/5789 | json:[{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/u... | value:https://api.github.com/repos/huggingface/datasets/issues/5789/timeline | json:[] | value:1682611179 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5789 | value:Support streaming datasets that use jsonlines | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2023-04-25T07:40:02Z | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:MEMBER | value:https://api.github.com/repos/huggingface/datasets/issues/5789/events | value:False | value:Extend support for streaming datasets that use `jsonlines.open`.
Currently, if `jsonlines` is installed, `datasets` raises a `FileNotFoundError`:
```
FileNotFoundError: [Errno 2] No such file or directory: 'https://...'
```
See:
- https://huggingface.co/datasets/masakhane/afriqa/discussions/1 | value:https://api.github.com/repos/huggingface/datasets/issues/5789/comments | value:I_kwDODunzps5kSpvr | value:open | value:0 | value:2023-04-25T07:40:03Z | value:https://api.github.com/repos/huggingface/datasets/issues/5789/labels{/name} | value:5789 | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | true | ||||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5788/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/5788 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5788/timeline | json:[] | value:1681136256 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5788 | value:Prepare tests for hfh 0.14 | value:2023-04-24T12:13:03Z | value:CONTRIBUTOR | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:https://api.github.com/repos/huggingface/datasets/issues/5788/events | value:False | value:2023-04-25T14:25:30Z | value:Related to the coming release of `huggingface_hub==0.14.0`. It will break some internal tests. The PR fixes these tests. Let's double-check the CI but I expect the fixed tests to be running fine with both `hfh<=0.13.4` and `hfh==0.14`. Worth case scenario, existing PRs will have to be rebased once this fix is mer... | value:https://api.github.com/repos/huggingface/datasets/issues/5788/comments | value:PR_kwDODunzps5O_v4B | value:closed | value:6 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/5788", "html_url": "https://github.com/huggingface/datasets/pull/5788", "diff_url": "https://github.com/huggingface/datasets/pull/5788.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5788.patch", "merged_at": "2023-04-25T14:25:30Z"} | value:2023-04-25T14:32:56Z | value:https://api.github.com/repos/huggingface/datasets/issues/5788/labels{/name} | value:5788 | json:{"login": "Wauplin", "id": 11801849, "node_id": "MDQ6VXNlcjExODAxODQ5", "avatar_url": "https://avatars.githubusercontent.com/u/11801849?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Wauplin", "html_url": "https://github.com/Wauplin", "followers_url": "https://api.github.com/users/Wauplin/followers"... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5787/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/5787 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5787/timeline | json:[] | value:1680965959 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5787 | value:Fix inferring module for unsupported data files | value:2023-04-24T10:44:50Z | value:MEMBER | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:https://api.github.com/repos/huggingface/datasets/issues/5787/events | value:False | value:2023-04-27T12:57:28Z | value:This PR raises a FileNotFoundError instead:
```
FileNotFoundError: No (supported) data files or dataset script found in <dataset_name>
```
Fix #5785. | value:https://api.github.com/repos/huggingface/datasets/issues/5787/comments | value:PR_kwDODunzps5O_KNU | value:closed | value:4 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/5787", "html_url": "https://github.com/huggingface/datasets/pull/5787", "diff_url": "https://github.com/huggingface/datasets/pull/5787.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5787.patch", "merged_at": "2023-04-27T12:57:28Z"} | value:2023-04-27T13:06:01Z | value:https://api.github.com/repos/huggingface/datasets/issues/5787/labels{/name} | value:5787 | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5786/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/issues/5786 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5786/timeline | json:[] | value:1680957070 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5786 | value:Multiprocessing in a `filter` or `map` function with a Pytorch model | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2023-04-24T10:38:07Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:NONE | json:{"login": "HugoLaurencon", "id": 44556846, "node_id": "MDQ6VXNlcjQ0NTU2ODQ2", "avatar_url": "https://avatars.githubusercontent.com/u/44556846?v=4", "gravatar_id": "", "url": "https://api.github.com/users/HugoLaurencon", "html_url": "https://github.com/HugoLaurencon", "followers_url": "https://api.github.com/users/... | value:https://api.github.com/repos/huggingface/datasets/issues/5786/events | value:False | value:2023-04-24T10:43:58Z | value:### Describe the bug
I am trying to use a Pytorch model loaded on CPUs with multiple processes with a `.map` or a `.filter` method.
Usually, when dealing with models that are non-pickable, creating a class such that the `map` function is the method `__call__`, and adding `reduce` helps to solve the problem.
... | value:https://api.github.com/repos/huggingface/datasets/issues/5786/comments | value:I_kwDODunzps5kMV6O | value:closed | value:5 | value:2023-05-30T09:56:30Z | value:https://api.github.com/repos/huggingface/datasets/issues/5786/labels{/name} | value:5786 | json:{"login": "HugoLaurencon", "id": 44556846, "node_id": "MDQ6VXNlcjQ0NTU2ODQ2", "avatar_url": "https://avatars.githubusercontent.com/u/44556846?v=4", "gravatar_id": "", "url": "https://api.github.com/users/HugoLaurencon", "html_url": "https://github.com/HugoLaurencon", "followers_url": "https://api.github.com/users/... | true | ||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5785/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[{"id": 1935892857, "node_id": "MDU6TGFiZWwxOTM1ODkyODU3", "url": "https://api.github.com/repos/huggingface/datasets/labels/bug", "name": "bug", "color": "d73a4a", "default": true, "description": "Something isn't working", "archived_at": null, "archived_by": null}] | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:https://github.com/huggingface/datasets/issues/5785 | json:[{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/u... | value:https://api.github.com/repos/huggingface/datasets/issues/5785/timeline | json:[] | value:1680956964 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5785 | value:Unsupported data files raise TypeError: 'NoneType' object is not iterable | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2023-04-24T10:38:03Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:MEMBER | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:https://api.github.com/repos/huggingface/datasets/issues/5785/events | value:False | value:2023-04-27T12:57:30Z | value:Currently, we raise a TypeError for unsupported data files:
```
TypeError: 'NoneType' object is not iterable
```
See:
- https://github.com/huggingface/datasets-server/issues/1073
We should give a more informative error message. | value:https://api.github.com/repos/huggingface/datasets/issues/5785/comments | value:I_kwDODunzps5kMV4k | value:closed | value:0 | value:2023-04-27T12:57:30Z | value:https://api.github.com/repos/huggingface/datasets/issues/5785/labels{/name} | value:5785 | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | true | |||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5784/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/5784 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5784/timeline | json:[] | value:1680950726 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5784 | value:Raise subprocesses traceback when interrupting | value:2023-04-24T10:34:03Z | value:MEMBER | json:{"login": "lhoestq", "id": 42851186, "node_id": "MDQ6VXNlcjQyODUxMTg2", "avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lhoestq", "html_url": "https://github.com/lhoestq", "followers_url": "https://api.github.com/users/lhoestq/followers"... | value:https://api.github.com/repos/huggingface/datasets/issues/5784/events | value:False | value:2023-04-26T15:54:44Z | value:When a subprocess hangs in `filter` or `map`, one should be able to get the subprocess' traceback when interrupting the main process. Right now it shows nothing.
To do so I `.get()` the subprocesses async results even the main process is stopped with e.g. `KeyboardInterrupt`. I added a timeout in case the subp... | value:https://api.github.com/repos/huggingface/datasets/issues/5784/comments | value:PR_kwDODunzps5O_G9S | value:closed | value:4 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/5784", "html_url": "https://github.com/huggingface/datasets/pull/5784", "diff_url": "https://github.com/huggingface/datasets/pull/5784.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5784.patch", "merged_at": "2023-04-26T15:54:44Z"} | value:2023-04-26T16:04:42Z | value:https://api.github.com/repos/huggingface/datasets/issues/5784/labels{/name} | value:5784 | json:{"login": "lhoestq", "id": 42851186, "node_id": "MDQ6VXNlcjQyODUxMTg2", "avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lhoestq", "html_url": "https://github.com/lhoestq", "followers_url": "https://api.github.com/users/lhoestq/followers"... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5783/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/issues/5783 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5783/timeline | json:[] | value:1679664393 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5783 | value:Offset overflow while doing regex on a text column | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2023-04-22T19:12:03Z | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:NONE | value:https://api.github.com/repos/huggingface/datasets/issues/5783/events | value:False | value:### Describe the bug
`ArrowInvalid: offset overflow while concatenating arrays`
Same error as [here](https://github.com/huggingface/datasets/issues/615)
### Steps to reproduce the bug
Steps to reproduce: (dataset is a few GB big so try in colab maybe)
```
import datasets
import re
ds = datas... | value:https://api.github.com/repos/huggingface/datasets/issues/5783/comments | value:I_kwDODunzps5kHaUJ | value:open | value:7 | value:2023-09-22T06:44:07Z | value:https://api.github.com/repos/huggingface/datasets/issues/5783/labels{/name} | value:5783 | json:{"login": "nishanthcgit", "id": 5066268, "node_id": "MDQ6VXNlcjUwNjYyNjg=", "avatar_url": "https://avatars.githubusercontent.com/u/5066268?v=4", "gravatar_id": "", "url": "https://api.github.com/users/nishanthcgit", "html_url": "https://github.com/nishanthcgit", "followers_url": "https://api.github.com/users/nisha... | true | |||||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5782/reactions", "total_count": 2, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 1, "rocket": 0, "eyes": 0} | json:[{"id": 1935892871, "node_id": "MDU6TGFiZWwxOTM1ODkyODcx", "url": "https://api.github.com/repos/huggingface/datasets/labels/enhancement", "name": "enhancement", "color": "a2eeef", "default": true, "description": "New feature or request", "archived_at": null, "archived_by": null}] | value:https://github.com/huggingface/datasets/issues/5782 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5782/timeline | json:[] | value:1679622367 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5782 | value:Support for various audio-loading backends instead of always relying on SoundFile | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2023-04-22T17:09:25Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:NONE | json:{"login": "stevhliu", "id": 59462357, "node_id": "MDQ6VXNlcjU5NDYyMzU3", "avatar_url": "https://avatars.githubusercontent.com/u/59462357?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stevhliu", "html_url": "https://github.com/stevhliu", "followers_url": "https://api.github.com/users/stevhliu/follow... | value:https://api.github.com/repos/huggingface/datasets/issues/5782/events | value:False | value:2023-05-10T20:23:04Z | value:### Feature request
Introduce an option to select from a variety of audio-loading backends rather than solely relying on the SoundFile library. For instance, if the ffmpeg library is installed, it can serve as a fallback loading option.
### Motivation
- The SoundFile library, used in [features/audio.py](https:... | value:https://api.github.com/repos/huggingface/datasets/issues/5782/comments | value:I_kwDODunzps5kHQDf | value:closed | value:3 | value:2023-05-10T20:23:04Z | value:https://api.github.com/repos/huggingface/datasets/issues/5782/labels{/name} | value:5782 | json:{"login": "BoringDonut", "id": 129098876, "node_id": "U_kgDOB7HkfA", "avatar_url": "https://avatars.githubusercontent.com/u/129098876?v=4", "gravatar_id": "", "url": "https://api.github.com/users/BoringDonut", "html_url": "https://github.com/BoringDonut", "followers_url": "https://api.github.com/users/BoringDonut/... | true | ||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5781/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/issues/5781 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5781/timeline | json:[] | value:1679580460 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5781 | value:Error using `load_datasets` | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2023-04-22T15:10:44Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:NONE | json:{"login": "gjyoungjr", "id": 61463108, "node_id": "MDQ6VXNlcjYxNDYzMTA4", "avatar_url": "https://avatars.githubusercontent.com/u/61463108?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gjyoungjr", "html_url": "https://github.com/gjyoungjr", "followers_url": "https://api.github.com/users/gjyoungjr/fo... | value:https://api.github.com/repos/huggingface/datasets/issues/5781/events | value:False | value:2023-05-02T23:41:25Z | value:### Describe the bug
I tried to load a dataset using the `datasets` library in a conda jupyter notebook and got the below error.
```
ImportError: dlopen(/Users/gilbertyoung/miniforge3/envs/review_sense/lib/python3.8/site-packages/scipy/sparse/linalg/_isolve/_iterative.cpython-38-darwin.so, 0x0002): Librar... | value:https://api.github.com/repos/huggingface/datasets/issues/5781/comments | value:I_kwDODunzps5kHF0s | value:closed | value:2 | value:2023-05-02T23:41:25Z | value:https://api.github.com/repos/huggingface/datasets/issues/5781/labels{/name} | value:5781 | json:{"login": "gjyoungjr", "id": 61463108, "node_id": "MDQ6VXNlcjYxNDYzMTA4", "avatar_url": "https://avatars.githubusercontent.com/u/61463108?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gjyoungjr", "html_url": "https://github.com/gjyoungjr", "followers_url": "https://api.github.com/users/gjyoungjr/fo... | true | ||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5780/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/issues/5780 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5780/timeline | json:[] | value:1679367149 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5780 | value:TypeError: 'NoneType' object does not support item assignment | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2023-04-22T06:22:43Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:NONE | json:{"login": "zyb8543", "id": 38179632, "node_id": "MDQ6VXNlcjM4MTc5NjMy", "avatar_url": "https://avatars.githubusercontent.com/u/38179632?v=4", "gravatar_id": "", "url": "https://api.github.com/users/zyb8543", "html_url": "https://github.com/zyb8543", "followers_url": "https://api.github.com/users/zyb8543/followers"... | value:https://api.github.com/repos/huggingface/datasets/issues/5780/events | value:False | value:2023-04-23T08:49:18Z | value:command:
```
def load_datasets(formats, data_dir=datadir, data_files=datafile):
dataset = load_dataset(formats, data_dir=datadir, data_files=datafile, split=split, streaming=True, **kwargs)
return dataset
raw_datasets = DatasetDict()
raw_datasets["train"] = load_datasets(“csv”, args.datadir, "train.c... | value:https://api.github.com/repos/huggingface/datasets/issues/5780/comments | value:I_kwDODunzps5kGRvt | value:closed | value:0 | value:2023-04-23T08:49:18Z | value:https://api.github.com/repos/huggingface/datasets/issues/5780/labels{/name} | value:5780 | json:{"login": "zyb8543", "id": 38179632, "node_id": "MDQ6VXNlcjM4MTc5NjMy", "avatar_url": "https://avatars.githubusercontent.com/u/38179632?v=4", "gravatar_id": "", "url": "https://api.github.com/users/zyb8543", "html_url": "https://github.com/zyb8543", "followers_url": "https://api.github.com/users/zyb8543/followers"... | true | ||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5779/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/5779 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5779/timeline | json:[] | value:1678669865 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5779 | value:Call fs.makedirs in save_to_disk | value:2023-04-21T15:04:28Z | value:MEMBER | json:{"login": "lhoestq", "id": 42851186, "node_id": "MDQ6VXNlcjQyODUxMTg2", "avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lhoestq", "html_url": "https://github.com/lhoestq", "followers_url": "https://api.github.com/users/lhoestq/followers"... | value:https://api.github.com/repos/huggingface/datasets/issues/5779/events | value:False | value:2023-04-26T12:11:15Z | value:We need to call `fs.makedirs` when saving a dataset using `save_to_disk`, because some fs implementations have actual directories (S3 and others don't)
Close https://github.com/huggingface/datasets/issues/5775 | value:https://api.github.com/repos/huggingface/datasets/issues/5779/comments | value:PR_kwDODunzps5O3sHp | value:closed | value:3 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/5779", "html_url": "https://github.com/huggingface/datasets/pull/5779", "diff_url": "https://github.com/huggingface/datasets/pull/5779.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5779.patch", "merged_at": "2023-04-26T12:11:15Z"} | value:2023-04-26T12:20:01Z | value:https://api.github.com/repos/huggingface/datasets/issues/5779/labels{/name} | value:5779 | json:{"login": "lhoestq", "id": 42851186, "node_id": "MDQ6VXNlcjQyODUxMTg2", "avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lhoestq", "html_url": "https://github.com/lhoestq", "followers_url": "https://api.github.com/users/lhoestq/followers"... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5778/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/issues/5778 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5778/timeline | json:[] | value:1678125951 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5778 | value:Schrödinger's dataset_dict | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2023-04-21T08:38:12Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:NONE | json:{"login": "mariosasko", "id": 47462742, "node_id": "MDQ6VXNlcjQ3NDYyNzQy", "avatar_url": "https://avatars.githubusercontent.com/u/47462742?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mariosasko", "html_url": "https://github.com/mariosasko", "followers_url": "https://api.github.com/users/mariosask... | value:https://api.github.com/repos/huggingface/datasets/issues/5778/events | value:False | value:2023-07-24T15:15:14Z | value:### Describe the bug
If you use load_dataset('json', data_files="path/test.json"), it will return DatasetDict({train:...}).
And if you use load_dataset("path"), it will return DatasetDict({test:...}).
Why can't the output behavior be unified?
### Steps to reproduce the bug
as description above.
### Expe... | value:https://api.github.com/repos/huggingface/datasets/issues/5778/comments | value:I_kwDODunzps5kBit_ | value:closed | value:1 | value:2023-07-24T15:15:14Z | value:https://api.github.com/repos/huggingface/datasets/issues/5778/labels{/name} | value:5778 | json:{"login": "liujuncn", "id": 902005, "node_id": "MDQ6VXNlcjkwMjAwNQ==", "avatar_url": "https://avatars.githubusercontent.com/u/902005?v=4", "gravatar_id": "", "url": "https://api.github.com/users/liujuncn", "html_url": "https://github.com/liujuncn", "followers_url": "https://api.github.com/users/liujuncn/followers"... | true | ||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5777/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:https://github.com/huggingface/datasets/issues/5777 | json:[{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/u... | value:https://api.github.com/repos/huggingface/datasets/issues/5777/timeline | json:[] | value:1677655969 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5777 | value:datasets.load_dataset("code_search_net", "python") : NotADirectoryError: [Errno 20] Not a directory | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2023-04-21T02:08:07Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:NONE | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:https://api.github.com/repos/huggingface/datasets/issues/5777/events | value:False | value:2023-05-11T11:51:56Z | value:### Describe the bug
While checking out the [tokenizer tutorial](https://huggingface.co/course/chapter6/2?fw=pt), i noticed getting an error while initially downloading the python dataset used in the examples.
The [collab with the error is here](https://colab.research.google.com/github/huggingface/notebooks/b... | value:https://api.github.com/repos/huggingface/datasets/issues/5777/comments | value:I_kwDODunzps5j_v-h | value:closed | value:6 | value:2023-06-05T05:49:52Z | value:https://api.github.com/repos/huggingface/datasets/issues/5777/labels{/name} | value:5777 | json:{"login": "ghost", "id": 10137, "node_id": "MDQ6VXNlcjEwMTM3", "avatar_url": "https://avatars.githubusercontent.com/u/10137?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ghost", "html_url": "https://github.com/ghost", "followers_url": "https://api.github.com/users/ghost/followers", "following_url":... | true | |||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5776/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[{"id": 1935892871, "node_id": "MDU6TGFiZWwxOTM1ODkyODcx", "url": "https://api.github.com/repos/huggingface/datasets/labels/enhancement", "name": "enhancement", "color": "a2eeef", "default": true, "description": "New feature or request", "archived_at": null, "archived_by": null}] | json:{"login": "mariosasko", "id": 47462742, "node_id": "MDQ6VXNlcjQ3NDYyNzQy", "avatar_url": "https://avatars.githubusercontent.com/u/47462742?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mariosasko", "html_url": "https://github.com/mariosasko", "followers_url": "https://api.github.com/users/mariosask... | value:https://github.com/huggingface/datasets/issues/5776 | json:[{"login": "mariosasko", "id": 47462742, "node_id": "MDQ6VXNlcjQ3NDYyNzQy", "avatar_url": "https://avatars.githubusercontent.com/u/47462742?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mariosasko", "html_url": "https://github.com/mariosasko", "followers_url": "https://api.github.com/users/mariosas... | value:https://api.github.com/repos/huggingface/datasets/issues/5776/timeline | json:[] | value:1677116100 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5776 | value:Use Pandas' `read_json` in the JSON builder | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2023-04-20T17:15:49Z | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:COLLABORATOR | value:https://api.github.com/repos/huggingface/datasets/issues/5776/events | value:False | value:Instead of PyArrow's `read_json`, we should use `pd.read_json` in the JSON builder for consistency with the CSV and SQL builders (e.g., to address https://github.com/huggingface/datasets/issues/5725).
In Pandas2.0, to get the same performance, we can set the `engine` to "pyarrow". The issue is that Colab still... | value:https://api.github.com/repos/huggingface/datasets/issues/5776/comments | value:I_kwDODunzps5j9sLE | value:open | value:0 | value:2023-04-20T17:15:49Z | value:https://api.github.com/repos/huggingface/datasets/issues/5776/labels{/name} | value:5776 | json:{"login": "mariosasko", "id": 47462742, "node_id": "MDQ6VXNlcjQ3NDYyNzQy", "avatar_url": "https://avatars.githubusercontent.com/u/47462742?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mariosasko", "html_url": "https://github.com/mariosasko", "followers_url": "https://api.github.com/users/mariosask... | true | ||||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5775/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | json:{"login": "lhoestq", "id": 42851186, "node_id": "MDQ6VXNlcjQyODUxMTg2", "avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lhoestq", "html_url": "https://github.com/lhoestq", "followers_url": "https://api.github.com/users/lhoestq/followers"... | value:https://github.com/huggingface/datasets/issues/5775 | json:[{"login": "lhoestq", "id": 42851186, "node_id": "MDQ6VXNlcjQyODUxMTg2", "avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lhoestq", "html_url": "https://github.com/lhoestq", "followers_url": "https://api.github.com/users/lhoestq/followers... | value:https://api.github.com/repos/huggingface/datasets/issues/5775/timeline | json:[] | value:1677089901 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5775 | value:ArrowDataset.save_to_disk lost some logic of remote | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2023-04-20T16:58:01Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:NONE | json:{"login": "lhoestq", "id": 42851186, "node_id": "MDQ6VXNlcjQyODUxMTg2", "avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lhoestq", "html_url": "https://github.com/lhoestq", "followers_url": "https://api.github.com/users/lhoestq/followers"... | value:https://api.github.com/repos/huggingface/datasets/issues/5775/events | value:False | value:2023-04-26T12:11:17Z | value:### Describe the bug
https://github.com/huggingface/datasets/blob/e7ce0ac60c7efc10886471932854903a7c19f172/src/datasets/arrow_dataset.py#L1371
Here is the bug point, when I want to save from a `DatasetDict` class and the items of the instance is like `[('train', Dataset({features: ..., num_rows: ...}))]` , ... | value:https://api.github.com/repos/huggingface/datasets/issues/5775/comments | value:I_kwDODunzps5j9lxt | value:closed | value:1 | value:2023-04-26T12:11:36Z | value:https://api.github.com/repos/huggingface/datasets/issues/5775/labels{/name} | value:5775 | json:{"login": "Zoupers", "id": 29817738, "node_id": "MDQ6VXNlcjI5ODE3NzM4", "avatar_url": "https://avatars.githubusercontent.com/u/29817738?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Zoupers", "html_url": "https://github.com/Zoupers", "followers_url": "https://api.github.com/users/Zoupers/followers"... | true | |||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5774/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/5774 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5774/timeline | json:[] | value:1676716662 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5774 | value:Fix style | value:2023-04-20T13:21:32Z | value:MEMBER | json:{"login": "lhoestq", "id": 42851186, "node_id": "MDQ6VXNlcjQyODUxMTg2", "avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lhoestq", "html_url": "https://github.com/lhoestq", "followers_url": "https://api.github.com/users/lhoestq/followers"... | value:https://api.github.com/repos/huggingface/datasets/issues/5774/events | value:False | value:2023-04-20T13:24:28Z | value:Fix C419 issues | value:https://api.github.com/repos/huggingface/datasets/issues/5774/comments | value:PR_kwDODunzps5OxIMe | value:closed | value:2 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/5774", "html_url": "https://github.com/huggingface/datasets/pull/5774", "diff_url": "https://github.com/huggingface/datasets/pull/5774.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5774.patch", "merged_at": "2023-04-20T13:24:28Z"} | value:2023-04-20T13:34:26Z | value:https://api.github.com/repos/huggingface/datasets/issues/5774/labels{/name} | value:5774 | json:{"login": "lhoestq", "id": 42851186, "node_id": "MDQ6VXNlcjQyODUxMTg2", "avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lhoestq", "html_url": "https://github.com/lhoestq", "followers_url": "https://api.github.com/users/lhoestq/followers"... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5773/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/issues/5773 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5773/timeline | json:[] | value:1675984633 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5773 | value:train_dataset does not implement __len__ | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2023-04-20T04:37:05Z | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:NONE | value:https://api.github.com/repos/huggingface/datasets/issues/5773/events | value:False | value:when train using data precessored by the datasets, I get follow warning and it leads to that I can not set epoch numbers:
`ValueError: The train_dataset does not implement __len__, max_steps has to be specified. The number of steps needs to be known in advance for the learning rate scheduler.` | value:https://api.github.com/repos/huggingface/datasets/issues/5773/comments | value:I_kwDODunzps5j5X75 | value:open | value:9 | value:2023-07-19T20:33:13Z | value:https://api.github.com/repos/huggingface/datasets/issues/5773/labels{/name} | value:5773 | json:{"login": "zyb8543", "id": 38179632, "node_id": "MDQ6VXNlcjM4MTc5NjMy", "avatar_url": "https://avatars.githubusercontent.com/u/38179632?v=4", "gravatar_id": "", "url": "https://api.github.com/users/zyb8543", "html_url": "https://github.com/zyb8543", "followers_url": "https://api.github.com/users/zyb8543/followers"... | true | |||||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5772/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/5772 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5772/timeline | json:[] | value:1675033510 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5772 | value:Fix JSON builder when missing keys in first row | value:2023-04-19T14:32:57Z | value:MEMBER | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:https://api.github.com/repos/huggingface/datasets/issues/5772/events | value:False | value:2023-04-21T06:35:27Z | value:Until now, the JSON builder only considered the keys present in the first element of the list:
- Either explicitly: by passing index 0 in `dataset[0].keys()`
- Or implicitly: `pa.Table.from_pylist(dataset)`, where "schema (default None): If not passed, will be inferred from the first row of the mapping values"
... | value:https://api.github.com/repos/huggingface/datasets/issues/5772/comments | value:PR_kwDODunzps5OreXV | value:closed | value:2 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/5772", "html_url": "https://github.com/huggingface/datasets/pull/5772", "diff_url": "https://github.com/huggingface/datasets/pull/5772.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5772.patch", "merged_at": "2023-04-21T06:35:27Z"} | value:2023-04-21T06:45:13Z | value:https://api.github.com/repos/huggingface/datasets/issues/5772/labels{/name} | value:5772 | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5771/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[{"id": 1935892865, "node_id": "MDU6TGFiZWwxOTM1ODkyODY1", "url": "https://api.github.com/repos/huggingface/datasets/labels/duplicate", "name": "duplicate", "color": "cfd3d7", "default": true, "description": "This issue or pull request already exists", "archived_at": null, "archived_by": null}, {"id": 1935892871, ... | value:https://github.com/huggingface/datasets/issues/5771 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5771/timeline | json:[] | value:1674828380 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5771 | value:Support cloud storage for loading datasets | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2023-04-19T12:43:53Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:CONTRIBUTOR | json:{"login": "mariosasko", "id": 47462742, "node_id": "MDQ6VXNlcjQ3NDYyNzQy", "avatar_url": "https://avatars.githubusercontent.com/u/47462742?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mariosasko", "html_url": "https://github.com/mariosasko", "followers_url": "https://api.github.com/users/mariosask... | value:https://api.github.com/repos/huggingface/datasets/issues/5771/events | value:False | value:2023-05-07T17:47:41Z | value:### Feature request
It seems that the the current implementation supports cloud storage only for `load_from_disk`. It would be nice if a similar functionality existed in `load_dataset`.
### Motivation
Motivation is pretty clear -- let users work with datasets located in the cloud.
### Your contributi... | value:https://api.github.com/repos/huggingface/datasets/issues/5771/comments | value:I_kwDODunzps5j09pc | value:closed | value:1 | value:2023-05-07T17:47:41Z | value:https://api.github.com/repos/huggingface/datasets/issues/5771/labels{/name} | value:5771 | json:{"login": "eli-osherovich", "id": 2437102, "node_id": "MDQ6VXNlcjI0MzcxMDI=", "avatar_url": "https://avatars.githubusercontent.com/u/2437102?v=4", "gravatar_id": "", "url": "https://api.github.com/users/eli-osherovich", "html_url": "https://github.com/eli-osherovich", "followers_url": "https://api.github.com/users... | true | ||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5770/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/5770 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5770/timeline | json:[] | value:1673581555 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5770 | value:Add IterableDataset.from_spark | value:2023-04-18T17:47:53Z | value:CONTRIBUTOR | json:{"login": "lhoestq", "id": 42851186, "node_id": "MDQ6VXNlcjQyODUxMTg2", "avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lhoestq", "html_url": "https://github.com/lhoestq", "followers_url": "https://api.github.com/users/lhoestq/followers"... | value:https://api.github.com/repos/huggingface/datasets/issues/5770/events | value:False | value:2023-05-17T14:00:38Z | value:Follow-up from https://github.com/huggingface/datasets/pull/5701
Related issue: https://github.com/huggingface/datasets/issues/5678 | value:https://api.github.com/repos/huggingface/datasets/issues/5770/comments | value:PR_kwDODunzps5OmntV | value:closed | value:8 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/5770", "html_url": "https://github.com/huggingface/datasets/pull/5770", "diff_url": "https://github.com/huggingface/datasets/pull/5770.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5770.patch", "merged_at": "2023-05-17T14:00:38Z"} | value:2023-05-17T14:07:32Z | value:https://api.github.com/repos/huggingface/datasets/issues/5770/labels{/name} | value:5770 | json:{"login": "maddiedawson", "id": 106995444, "node_id": "U_kgDOBmCe9A", "avatar_url": "https://avatars.githubusercontent.com/u/106995444?v=4", "gravatar_id": "", "url": "https://api.github.com/users/maddiedawson", "html_url": "https://github.com/maddiedawson", "followers_url": "https://api.github.com/users/maddiedaw... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5769/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/issues/5769 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5769/timeline | json:[] | value:1673441182 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5769 | value:Tiktoken tokenizers are not pickable | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2023-04-18T16:07:40Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:NONE | json:{"login": "mariosasko", "id": 47462742, "node_id": "MDQ6VXNlcjQ3NDYyNzQy", "avatar_url": "https://avatars.githubusercontent.com/u/47462742?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mariosasko", "html_url": "https://github.com/mariosasko", "followers_url": "https://api.github.com/users/mariosask... | value:https://api.github.com/repos/huggingface/datasets/issues/5769/events | value:False | value:2023-05-04T18:55:57Z | value:### Describe the bug
Since tiktoken tokenizer is not pickable, it is not possible to use it inside `dataset.map()` with multiprocessing enabled. However, you [made](https://github.com/huggingface/datasets/issues/5536) tiktoken's tokenizers pickable in `datasets==2.10.0` for caching. For some reason, this logic d... | value:https://api.github.com/repos/huggingface/datasets/issues/5769/comments | value:I_kwDODunzps5jvq-e | value:closed | value:1 | value:2023-05-04T18:55:57Z | value:https://api.github.com/repos/huggingface/datasets/issues/5769/labels{/name} | value:5769 | json:{"login": "markovalexander", "id": 22663468, "node_id": "MDQ6VXNlcjIyNjYzNDY4", "avatar_url": "https://avatars.githubusercontent.com/u/22663468?v=4", "gravatar_id": "", "url": "https://api.github.com/users/markovalexander", "html_url": "https://github.com/markovalexander", "followers_url": "https://api.github.com/... | true | ||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5768/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:https://github.com/huggingface/datasets/issues/5768 | json:[{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/u... | value:https://api.github.com/repos/huggingface/datasets/issues/5768/timeline | json:[] | value:1672494561 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5768 | value:load_dataset("squad") doesn't work in 2.7.1 and 2.10.1 | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2023-04-18T07:10:56Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:NONE | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:https://api.github.com/repos/huggingface/datasets/issues/5768/events | value:False | value:2023-04-20T10:27:22Z | value:### Describe the bug
There is an issue that seems to be unique to the "squad" dataset, in which it cannot be loaded using standard methods. This issue is most quickly reproduced from the command line, using the HF examples to verify a dataset is loaded properly.
This is not a problem with "squad_v2" dataset... | value:https://api.github.com/repos/huggingface/datasets/issues/5768/comments | value:I_kwDODunzps5jsD3h | value:closed | value:8 | value:2023-04-20T10:27:23Z | value:https://api.github.com/repos/huggingface/datasets/issues/5768/labels{/name} | value:5768 | json:{"login": "yaseen157", "id": 57412770, "node_id": "MDQ6VXNlcjU3NDEyNzcw", "avatar_url": "https://avatars.githubusercontent.com/u/57412770?v=4", "gravatar_id": "", "url": "https://api.github.com/users/yaseen157", "html_url": "https://github.com/yaseen157", "followers_url": "https://api.github.com/users/yaseen157/fo... | true | |||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5767/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/issues/5767 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5767/timeline | json:[] | value:1672433979 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5767 | value:How to use Distill-BERT with different datasets? | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2023-04-18T06:25:12Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:NONE | json:{"login": "mariosasko", "id": 47462742, "node_id": "MDQ6VXNlcjQ3NDYyNzQy", "avatar_url": "https://avatars.githubusercontent.com/u/47462742?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mariosasko", "html_url": "https://github.com/mariosasko", "followers_url": "https://api.github.com/users/mariosask... | value:https://api.github.com/repos/huggingface/datasets/issues/5767/events | value:False | value:2023-04-20T16:52:05Z | value:### Describe the bug
- `transformers` version: 4.11.3
- Platform: Linux-5.4.0-58-generic-x86_64-with-glibc2.29
- Python version: 3.8.10
- PyTorch version (GPU?): 1.12.0+cu102 (True)
- Tensorflow version (GPU?): 2.10.0 (True)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax version: not installed
... | value:https://api.github.com/repos/huggingface/datasets/issues/5767/comments | value:I_kwDODunzps5jr1E7 | value:closed | value:1 | value:2023-04-20T16:52:05Z | value:https://api.github.com/repos/huggingface/datasets/issues/5767/labels{/name} | value:5767 | json:{"login": "sauravtii", "id": 109907638, "node_id": "U_kgDOBo0Otg", "avatar_url": "https://avatars.githubusercontent.com/u/109907638?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sauravtii", "html_url": "https://github.com/sauravtii", "followers_url": "https://api.github.com/users/sauravtii/follower... | true | ||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5766/reactions", "total_count": 2, "+1": 2, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[{"id": 1935892871, "node_id": "MDU6TGFiZWwxOTM1ODkyODcx", "url": "https://api.github.com/repos/huggingface/datasets/labels/enhancement", "name": "enhancement", "color": "a2eeef", "default": true, "description": "New feature or request", "archived_at": null, "archived_by": null}] | value:https://github.com/huggingface/datasets/issues/5766 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5766/timeline | json:[] | value:1671485882 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5766 | value:Support custom feature types | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2023-04-17T15:46:41Z | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:NONE | value:https://api.github.com/repos/huggingface/datasets/issues/5766/events | value:False | value:### Feature request
I think it would be nice to allow registering custom feature types with the 🤗 Datasets library. For example, allow to do something along the following lines:
```
from datasets.features import register_feature_type # this would be a new function
@register_feature_type
class CustomF... | value:https://api.github.com/repos/huggingface/datasets/issues/5766/comments | value:I_kwDODunzps5joNm6 | value:open | value:4 | value:2024-03-10T11:11:22Z | value:https://api.github.com/repos/huggingface/datasets/issues/5766/labels{/name} | value:5766 | json:{"login": "jmontalt", "id": 37540982, "node_id": "MDQ6VXNlcjM3NTQwOTgy", "avatar_url": "https://avatars.githubusercontent.com/u/37540982?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jmontalt", "html_url": "https://github.com/jmontalt", "followers_url": "https://api.github.com/users/jmontalt/follow... | true | |||||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5765/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/issues/5765 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5765/timeline | json:[] | value:1671388824 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5765 | value:ValueError: You should supply an encoding or a list of encodings to this method that includes input_ids, but you provided ['text'] | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2023-04-17T15:00:50Z | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:NONE | value:https://api.github.com/repos/huggingface/datasets/issues/5765/events | value:False | value:### Describe the bug
Following is my code that I am trying to run, but facing an error (have attached the whole error below):
My code:
```
from collections import OrderedDict
import warnings
import flwr as fl
import torch
import numpy as np
import random
from torch.utils.data import DataLoader
... | value:https://api.github.com/repos/huggingface/datasets/issues/5765/comments | value:I_kwDODunzps5jn16Y | value:open | value:4 | value:2023-04-25T13:50:45Z | value:https://api.github.com/repos/huggingface/datasets/issues/5765/labels{/name} | value:5765 | json:{"login": "sauravtii", "id": 109907638, "node_id": "U_kgDOBo0Otg", "avatar_url": "https://avatars.githubusercontent.com/u/109907638?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sauravtii", "html_url": "https://github.com/sauravtii", "followers_url": "https://api.github.com/users/sauravtii/follower... | true | |||||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5764/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:https://github.com/huggingface/datasets/issues/5764 | json:[{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/u... | value:https://api.github.com/repos/huggingface/datasets/issues/5764/timeline | json:[] | value:1670740198 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5764 | value:ConnectionError: Couldn't reach https://www.dropbox.com/s/zts98j4vkqtsns6/aclImdb_v2.tar?dl=1 | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2023-04-17T09:08:18Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:NONE | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:https://api.github.com/repos/huggingface/datasets/issues/5764/events | value:False | value:2023-04-18T07:18:20Z | value:### Describe the bug
I want to use this (https://huggingface.co/datasets/josianem/imdb) dataset therefore I am trying to load it using the following code:
```
dataset = load_dataset("josianem/imdb")
```
The dataset is not getting loaded and gives the error message as the following:
```
Traceback (mos... | value:https://api.github.com/repos/huggingface/datasets/issues/5764/comments | value:I_kwDODunzps5jlXjm | value:closed | value:7 | value:2023-04-18T07:18:20Z | value:https://api.github.com/repos/huggingface/datasets/issues/5764/labels{/name} | value:5764 | json:{"login": "sauravtii", "id": 109907638, "node_id": "U_kgDOBo0Otg", "avatar_url": "https://avatars.githubusercontent.com/u/109907638?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sauravtii", "html_url": "https://github.com/sauravtii", "followers_url": "https://api.github.com/users/sauravtii/follower... | true | |||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5763/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/5763 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5763/timeline | json:[] | value:1670476302 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5763 | value:fix typo: "mow" -> "now" | value:2023-04-17T06:03:44Z | value:CONTRIBUTOR | json:{"login": "mariosasko", "id": 47462742, "node_id": "MDQ6VXNlcjQ3NDYyNzQy", "avatar_url": "https://avatars.githubusercontent.com/u/47462742?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mariosasko", "html_url": "https://github.com/mariosasko", "followers_url": "https://api.github.com/users/mariosask... | value:https://api.github.com/repos/huggingface/datasets/issues/5763/events | value:False | value:2023-04-17T14:54:46Z | value:I noticed a typo as I was reading the datasets documentation. This PR contains a trivial fix changing "mow" to "now." | value:https://api.github.com/repos/huggingface/datasets/issues/5763/comments | value:PR_kwDODunzps5OcMI7 | value:closed | value:2 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/5763", "html_url": "https://github.com/huggingface/datasets/pull/5763", "diff_url": "https://github.com/huggingface/datasets/pull/5763.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5763.patch", "merged_at": "2023-04-17T14:54:46Z"} | value:2023-04-17T15:01:53Z | value:https://api.github.com/repos/huggingface/datasets/issues/5763/labels{/name} | value:5763 | json:{"login": "csris", "id": 1967608, "node_id": "MDQ6VXNlcjE5Njc2MDg=", "avatar_url": "https://avatars.githubusercontent.com/u/1967608?v=4", "gravatar_id": "", "url": "https://api.github.com/users/csris", "html_url": "https://github.com/csris", "followers_url": "https://api.github.com/users/csris/followers", "followi... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5762/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:https://github.com/huggingface/datasets/issues/5762 | json:[{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/u... | value:https://api.github.com/repos/huggingface/datasets/issues/5762/timeline | json:[] | value:1670326470 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5762 | value:Not able to load the pile | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2023-04-17T03:09:10Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:NONE | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:https://api.github.com/repos/huggingface/datasets/issues/5762/events | value:False | value:2023-04-17T09:37:27Z | value:### Describe the bug
Got this error when I am trying to load the pile dataset
```
TypeError: Couldn't cast array of type
struct<file: string, id: string>
to
{'id': Value(dtype='string', id=None)}
```
### Steps to reproduce the bug
Please visit the following sample notebook
https://colab.resear... | value:https://api.github.com/repos/huggingface/datasets/issues/5762/comments | value:I_kwDODunzps5jjyjG | value:closed | value:1 | value:2023-04-17T09:37:27Z | value:https://api.github.com/repos/huggingface/datasets/issues/5762/labels{/name} | value:5762 | json:{"login": "surya-narayanan", "id": 17240858, "node_id": "MDQ6VXNlcjE3MjQwODU4", "avatar_url": "https://avatars.githubusercontent.com/u/17240858?v=4", "gravatar_id": "", "url": "https://api.github.com/users/surya-narayanan", "html_url": "https://github.com/surya-narayanan", "followers_url": "https://api.github.com/... | true | |||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5761/reactions", "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:https://github.com/huggingface/datasets/issues/5761 | json:[{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/u... | value:https://api.github.com/repos/huggingface/datasets/issues/5761/timeline | json:[] | value:1670034582 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5761 | value:One or several metadata.jsonl were found, but not in the same directory or in a parent directory | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2023-04-16T16:21:55Z | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:NONE | value:https://api.github.com/repos/huggingface/datasets/issues/5761/events | value:False | value:### Describe the bug
An attempt to generate a dataset from a zip archive using imagefolder and metadata.jsonl does not lead to the expected result. Tried all possible locations of the json file: the file in the archive is ignored (generated dataset contains only images), the file next to the archive like [here... | value:https://api.github.com/repos/huggingface/datasets/issues/5761/comments | value:I_kwDODunzps5jirSW | value:open | value:3 | value:2023-04-19T11:53:24Z | value:https://api.github.com/repos/huggingface/datasets/issues/5761/labels{/name} | value:5761 | json:{"login": "blghtr", "id": 69686152, "node_id": "MDQ6VXNlcjY5Njg2MTUy", "avatar_url": "https://avatars.githubusercontent.com/u/69686152?v=4", "gravatar_id": "", "url": "https://api.github.com/users/blghtr", "html_url": "https://github.com/blghtr", "followers_url": "https://api.github.com/users/blghtr/followers", "f... | true | ||||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5760/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 1, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[{"id": 1935892871, "node_id": "MDU6TGFiZWwxOTM1ODkyODcx", "url": "https://api.github.com/repos/huggingface/datasets/labels/enhancement", "name": "enhancement", "color": "a2eeef", "default": true, "description": "New feature or request", "archived_at": null, "archived_by": null}] | json:{"login": "mariosasko", "id": 47462742, "node_id": "MDQ6VXNlcjQ3NDYyNzQy", "avatar_url": "https://avatars.githubusercontent.com/u/47462742?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mariosasko", "html_url": "https://github.com/mariosasko", "followers_url": "https://api.github.com/users/mariosask... | value:https://github.com/huggingface/datasets/issues/5760 | json:[{"login": "mariosasko", "id": 47462742, "node_id": "MDQ6VXNlcjQ3NDYyNzQy", "avatar_url": "https://avatars.githubusercontent.com/u/47462742?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mariosasko", "html_url": "https://github.com/mariosasko", "followers_url": "https://api.github.com/users/mariosas... | value:https://api.github.com/repos/huggingface/datasets/issues/5760/timeline | json:[] | value:1670028072 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5760 | value:Multi-image loading in Imagefolder dataset | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2023-04-16T16:01:05Z | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:NONE | value:https://api.github.com/repos/huggingface/datasets/issues/5760/events | value:False | value:### Feature request
Extend the `imagefolder` dataloading script to support loading multiple images per dataset entry.
This only really makes sense if a metadata file is present.
Currently you can use the following format (example `metadata.jsonl`:
```
{'file_name': 'path_to_image.png', 'metadata': ...}
... | value:https://api.github.com/repos/huggingface/datasets/issues/5760/comments | value:I_kwDODunzps5jipso | value:open | value:10 | value:2024-12-01T11:16:09Z | value:https://api.github.com/repos/huggingface/datasets/issues/5760/labels{/name} | value:5760 | json:{"login": "vvvm23", "id": 44398246, "node_id": "MDQ6VXNlcjQ0Mzk4MjQ2", "avatar_url": "https://avatars.githubusercontent.com/u/44398246?v=4", "gravatar_id": "", "url": "https://api.github.com/users/vvvm23", "html_url": "https://github.com/vvvm23", "followers_url": "https://api.github.com/users/vvvm23/followers", "f... | true | ||||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5759/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[{"id": 1935892871, "node_id": "MDU6TGFiZWwxOTM1ODkyODcx", "url": "https://api.github.com/repos/huggingface/datasets/labels/enhancement", "name": "enhancement", "color": "a2eeef", "default": true, "description": "New feature or request", "archived_at": null, "archived_by": null}] | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:https://github.com/huggingface/datasets/issues/5759 | json:[{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/u... | value:https://api.github.com/repos/huggingface/datasets/issues/5759/timeline | json:[] | value:1669977848 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5759 | value:Can I load in list of list of dict format? | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2023-04-16T13:50:14Z | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:NONE | value:https://api.github.com/repos/huggingface/datasets/issues/5759/events | value:False | value:### Feature request
my jsonl dataset has following format:
```
[{'input':xxx, 'output':xxx},{'input:xxx,'output':xxx},...]
[{'input':xxx, 'output':xxx},{'input:xxx,'output':xxx},...]
```
I try to use `datasets.load_dataset('json', data_files=path)` or `datasets.Dataset.from_json`, it raises
```
File "... | value:https://api.github.com/repos/huggingface/datasets/issues/5759/comments | value:I_kwDODunzps5jidb4 | value:open | value:1 | value:2023-04-19T12:04:36Z | value:https://api.github.com/repos/huggingface/datasets/issues/5759/labels{/name} | value:5759 | json:{"login": "LZY-the-boys", "id": 72137647, "node_id": "MDQ6VXNlcjcyMTM3NjQ3", "avatar_url": "https://avatars.githubusercontent.com/u/72137647?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LZY-the-boys", "html_url": "https://github.com/LZY-the-boys", "followers_url": "https://api.github.com/users/LZY... | true |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.