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/5551/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/pull/5551 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5551/timeline | json:[] | value:1592140836 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5551 | value:Suggest scikit-learn instead of sklearn | value:2023-02-20T16:16:57Z | 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/5551/events | value:False | value:2023-02-21T13:21:07Z | value:This is kinda unimportant fix but, the suggested `pip install sklearn` does not work.
The current error message if sklearn is not installed:
```
ImportError: To be able to use [dataset name], you need to install the following dependency: sklearn.
Please install it using 'pip install sklearn' for instance.... | value:https://api.github.com/repos/huggingface/datasets/issues/5551/comments | value:PR_kwDODunzps5KXCof | value:closed | value:4 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/5551", "html_url": "https://github.com/huggingface/datasets/pull/5551", "diff_url": "https://github.com/huggingface/datasets/pull/5551.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5551.patch", "merged_at": "2023-02-21T13:21:07Z"} | value:2023-02-21T13:27:57Z | value:https://api.github.com/repos/huggingface/datasets/issues/5551/labels{/name} | value:5551 | json:{"login": "osbm", "id": 74963545, "node_id": "MDQ6VXNlcjc0OTYzNTQ1", "avatar_url": "https://avatars.githubusercontent.com/u/74963545?v=4", "gravatar_id": "", "url": "https://api.github.com/users/osbm", "html_url": "https://github.com/osbm", "followers_url": "https://api.github.com/users/osbm/followers", "following... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5550/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/5550 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5550/timeline | json:[] | value:1591409475 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5550 | value:Resolve four broken refs in the docs | value:2023-02-20T08:52:11Z | value:MEMBER | 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/5550/events | value:False | value:2023-02-20T15:09:13Z | value:Hello!
## Pull Request overview
* Resolve 4 broken references in the docs
## The problems
Two broken references [here](https://huggingface.co/docs/datasets/package_reference/main_classes#datasets.Dataset.class_encode_column):
 it said that if we set HF_HOME, downloaded datasets would be cached at specified address but it does not. downloaded models from checkpoint names are downloaded and cached at HF_HOME but this is not the case for datas... | value:https://api.github.com/repos/huggingface/datasets/issues/5546/comments | value:I_kwDODunzps5eysJt | value:closed | value:1 | value:2023-07-24T14:22:43Z | value:https://api.github.com/repos/huggingface/datasets/issues/5546/labels{/name} | value:5546 | json:{"login": "ErfanMoosaviMonazzah", "id": 79091831, "node_id": "MDQ6VXNlcjc5MDkxODMx", "avatar_url": "https://avatars.githubusercontent.com/u/79091831?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ErfanMoosaviMonazzah", "html_url": "https://github.com/ErfanMoosaviMonazzah", "followers_url": "https://... | true | ||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5545/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/5545 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5545/timeline | json:[] | value:1590315972 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5545 | value:Added return methods for URL-references to the pushed dataset | value:2023-02-18T11:26:25Z | value:NONE | value:https://api.github.com/repos/huggingface/datasets/issues/5545/events | value:False | value:Hi,
I was missing the ability to easily open the pushed dataset and it seemed like a quick fix.
Maybe we also want to log this info somewhere, but let me know if I need to add that too.
Cheers,
David | value:https://api.github.com/repos/huggingface/datasets/issues/5545/comments | value:PR_kwDODunzps5KRKct | value:open | value:6 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/5545", "html_url": "https://github.com/huggingface/datasets/pull/5545", "diff_url": "https://github.com/huggingface/datasets/pull/5545.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5545.patch", "merged_at": null} | value:2023-12-18T16:57:56Z | value:https://api.github.com/repos/huggingface/datasets/issues/5545/labels{/name} | value:5545 | json:{"login": "davidberenstein1957", "id": 25269220, "node_id": "MDQ6VXNlcjI1MjY5MjIw", "avatar_url": "https://avatars.githubusercontent.com/u/25269220?v=4", "gravatar_id": "", "url": "https://api.github.com/users/davidberenstein1957", "html_url": "https://github.com/davidberenstein1957", "followers_url": "https://api... | value:False | true | |||||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5543/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/5543 | 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/5543/timeline | json:[] | value:1588951379 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5543 | value:the pile datasets url seems to change back | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2023-02-17T08:40:11Z | 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/5543/events | value:False | value:2023-02-20T08:41:33Z | value:### Describe the bug
in #3627, the host url of the pile dataset became `https://mystic.the-eye.eu`. Now the new url is broken, but `https://the-eye.eu` seems to work again.
### Steps to reproduce the bug
```python3
from datasets import load_dataset
dataset = load_dataset("bookcorpusopen")
```
shows
```pyt... | value:https://api.github.com/repos/huggingface/datasets/issues/5543/comments | value:I_kwDODunzps5etXlT | value:closed | value:2 | value:2023-02-21T06:37:00Z | value:https://api.github.com/repos/huggingface/datasets/issues/5543/labels{/name} | value:5543 | json:{"login": "wjfwzzc", "id": 5126316, "node_id": "MDQ6VXNlcjUxMjYzMTY=", "avatar_url": "https://avatars.githubusercontent.com/u/5126316?v=4", "gravatar_id": "", "url": "https://api.github.com/users/wjfwzzc", "html_url": "https://github.com/wjfwzzc", "followers_url": "https://api.github.com/users/wjfwzzc/followers", ... | true | |||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5542/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/5542 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5542/timeline | json:[] | value:1588633724 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5542 | value:Avoid saving sparse ChunkedArrays in pyarrow tables | value:2023-02-17T01:52:38Z | 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/5542/events | value:False | value:2023-02-17T11:12:32Z | value:Fixes https://github.com/huggingface/datasets/issues/5541 | value:https://api.github.com/repos/huggingface/datasets/issues/5542/comments | value:PR_kwDODunzps5KLjMl | value:closed | value:2 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/5542", "html_url": "https://github.com/huggingface/datasets/pull/5542", "diff_url": "https://github.com/huggingface/datasets/pull/5542.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5542.patch", "merged_at": "2023-02-17T11:12:32Z"} | value:2023-02-17T19:20:49Z | value:https://api.github.com/repos/huggingface/datasets/issues/5542/labels{/name} | value:5542 | json:{"login": "marioga", "id": 6591505, "node_id": "MDQ6VXNlcjY1OTE1MDU=", "avatar_url": "https://avatars.githubusercontent.com/u/6591505?v=4", "gravatar_id": "", "url": "https://api.github.com/users/marioga", "html_url": "https://github.com/marioga", "followers_url": "https://api.github.com/users/marioga/followers", ... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5541/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/5541 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5541/timeline | json:[] | value:1588633555 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5541 | value:Flattening indices in selected datasets is extremely inefficient | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2023-02-17T01:52:24Z | 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/5541/events | value:False | value:2023-02-17T11:12:33Z | value:### Describe the bug
If we perform a `select` (or `shuffle`, `train_test_split`, etc.) operation on a dataset , we end up with a dataset with an `indices_table`. Currently, flattening such dataset consumes a lot of memory and the resulting flat dataset contains ChunkedArrays with as many chunks as there are row... | value:https://api.github.com/repos/huggingface/datasets/issues/5541/comments | value:I_kwDODunzps5esJ_T | value:closed | value:3 | value:2023-02-22T13:15:20Z | value:https://api.github.com/repos/huggingface/datasets/issues/5541/labels{/name} | value:5541 | json:{"login": "marioga", "id": 6591505, "node_id": "MDQ6VXNlcjY1OTE1MDU=", "avatar_url": "https://avatars.githubusercontent.com/u/6591505?v=4", "gravatar_id": "", "url": "https://api.github.com/users/marioga", "html_url": "https://github.com/marioga", "followers_url": "https://api.github.com/users/marioga/followers", ... | true | ||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5540/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/5540 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5540/timeline | json:[] | value:1588438344 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5540 | value:Tutorial for creating a dataset | value:2023-02-16T22:09:35Z | 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/5540/events | value:False | value:2023-02-17T18:41:28Z | value:A tutorial for creating datasets based on the folder-based builders and `from_dict` and `from_generator` methods. I've also mentioned loading scripts as a next step, but I think we should keep the tutorial focused on the low-code methods. Let me know what you think! 🙂 | value:https://api.github.com/repos/huggingface/datasets/issues/5540/comments | value:PR_kwDODunzps5KK5qz | value:closed | value:2 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/5540", "html_url": "https://github.com/huggingface/datasets/pull/5540", "diff_url": "https://github.com/huggingface/datasets/pull/5540.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5540.patch", "merged_at": "2023-02-17T18:41:28Z"} | value:2023-02-17T18:50:46Z | value:https://api.github.com/repos/huggingface/datasets/issues/5540/labels{/name} | value:5540 | 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/5539/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/5539 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5539/timeline | json:[] | value:1587970083 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5539 | value:IndexError: invalid index of a 0-dim tensor. Use `tensor.item()` in Python or `tensor.item<T>()` in C++ to convert a 0-dim tensor to a number | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2023-02-16T16:08:51Z | 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/5539/events | value:False | value:2023-02-21T13:03:57Z | value:### Describe the bug
When dataset contains a 0-dim tensor, formatting.py raises a following error and fails.
```bash
Traceback (most recent call last):
File "<path>/lib/python3.8/site-packages/datasets/formatting/formatting.py", line 501, in format_row
return _unnest(formatted_batch)
File "<path>/... | value:https://api.github.com/repos/huggingface/datasets/issues/5539/comments | value:I_kwDODunzps5epoAj | value:closed | value:4 | value:2023-02-22T10:30:30Z | value:https://api.github.com/repos/huggingface/datasets/issues/5539/labels{/name} | value:5539 | json:{"login": "aalbersk", "id": 41912135, "node_id": "MDQ6VXNlcjQxOTEyMTM1", "avatar_url": "https://avatars.githubusercontent.com/u/41912135?v=4", "gravatar_id": "", "url": "https://api.github.com/users/aalbersk", "html_url": "https://github.com/aalbersk", "followers_url": "https://api.github.com/users/aalbersk/follow... | true | ||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5538/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/5538 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5538/timeline | json:[] | value:1587732596 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5538 | value:load_dataset in seaborn is not working for me. getting this error. | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2023-02-16T14:01:58Z | 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/5538/events | value:False | value:2023-02-16T14:44:36Z | value:TimeoutError Traceback (most recent call last)
~\anaconda3\lib\urllib\request.py in do_open(self, http_class, req, **http_conn_args)
1345 try:
-> 1346 h.request(req.get_method(), req.selector, req.data, headers,
1347 enco... | value:https://api.github.com/repos/huggingface/datasets/issues/5538/comments | value:I_kwDODunzps5eouB0 | value:closed | value:1 | value:2023-02-16T14:44:36Z | value:https://api.github.com/repos/huggingface/datasets/issues/5538/labels{/name} | value:5538 | json:{"login": "reemaranibarik", "id": 125575109, "node_id": "U_kgDOB3wfxQ", "avatar_url": "https://avatars.githubusercontent.com/u/125575109?v=4", "gravatar_id": "", "url": "https://api.github.com/users/reemaranibarik", "html_url": "https://github.com/reemaranibarik", "followers_url": "https://api.github.com/users/ree... | true | ||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5537/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}, {"id": 3761482852, "node_id": "LA_... | json:{"login": "semajyllek", "id": 35013374, "node_id": "MDQ6VXNlcjM1MDEzMzc0", "avatar_url": "https://avatars.githubusercontent.com/u/35013374?v=4", "gravatar_id": "", "url": "https://api.github.com/users/semajyllek", "html_url": "https://github.com/semajyllek", "followers_url": "https://api.github.com/users/semajylle... | value:https://github.com/huggingface/datasets/issues/5537 | json:[{"login": "semajyllek", "id": 35013374, "node_id": "MDQ6VXNlcjM1MDEzMzc0", "avatar_url": "https://avatars.githubusercontent.com/u/35013374?v=4", "gravatar_id": "", "url": "https://api.github.com/users/semajyllek", "html_url": "https://github.com/semajyllek", "followers_url": "https://api.github.com/users/semajyll... | value:https://api.github.com/repos/huggingface/datasets/issues/5537/timeline | json:[] | value:1587567464 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5537 | value:Increase speed of data files resolution | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2023-02-16T12:11:45Z | 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/5537/events | value:False | value:2023-12-15T13:12:31Z | value:Certain datasets like `bigcode/the-stack-dedup` have so many files that loading them takes forever right from the data files resolution step.
`datasets` uses file patterns to check the structure of the repository but it takes too much time to iterate over and over again on all the data files.
This comes fro... | value:https://api.github.com/repos/huggingface/datasets/issues/5537/comments | value:I_kwDODunzps5eoFto | value:closed | value:5 | value:2023-12-15T13:12:31Z | value:https://api.github.com/repos/huggingface/datasets/issues/5537/labels{/name} | value:5537 | 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"... | true | |||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5536/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/5536 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5536/timeline | json:[] | value:1586930643 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5536 | value:Failure to hash function when using .map() | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2023-02-16T03:12:07Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:NONE | json:{"login": "venzen", "id": 6916056, "node_id": "MDQ6VXNlcjY5MTYwNTY=", "avatar_url": "https://avatars.githubusercontent.com/u/6916056?v=4", "gravatar_id": "", "url": "https://api.github.com/users/venzen", "html_url": "https://github.com/venzen", "followers_url": "https://api.github.com/users/venzen/followers", "fol... | value:https://api.github.com/repos/huggingface/datasets/issues/5536/events | value:False | value:2023-02-16T14:56:41Z | value:### Describe the bug
_Parameter 'function'=<function process at 0x7f1ec4388af0> of the transform datasets.arrow_dataset.Dataset.\_map_single couldn't be hashed properly, a random hash was used instead. Make sure your transforms and parameters are serializable with pickle or dill for the dataset fingerprinting ... | value:https://api.github.com/repos/huggingface/datasets/issues/5536/comments | value:I_kwDODunzps5elqPT | value:closed | value:14 | value:2023-09-08T21:06:01Z | value:https://api.github.com/repos/huggingface/datasets/issues/5536/labels{/name} | value:5536 | json:{"login": "venzen", "id": 6916056, "node_id": "MDQ6VXNlcjY5MTYwNTY=", "avatar_url": "https://avatars.githubusercontent.com/u/6916056?v=4", "gravatar_id": "", "url": "https://api.github.com/users/venzen", "html_url": "https://github.com/venzen", "followers_url": "https://api.github.com/users/venzen/followers", "fol... | true | ||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5535/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/5535 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5535/timeline | json:[] | value:1586520369 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5535 | value:Add JAX-formatting documentation | value:2023-02-15T20:35: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/5535/events | value:False | value:2023-02-20T10:32:39Z | value:## What's in this PR?
As a follow-up of #5522, I've created this entry in the documentation to explain how to use `.with_format("jax")` and why is it useful.
@lhoestq Feel free to drop any feedback and/or suggestion, as probably more useful features can be included there! | value:https://api.github.com/repos/huggingface/datasets/issues/5535/comments | value:PR_kwDODunzps5KEb5L | value:closed | value:9 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/5535", "html_url": "https://github.com/huggingface/datasets/pull/5535", "diff_url": "https://github.com/huggingface/datasets/pull/5535.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5535.patch", "merged_at": "2023-02-20T10:32:39Z"} | value:2023-02-20T10:39:42Z | value:https://api.github.com/repos/huggingface/datasets/issues/5535/labels{/name} | value:5535 | json:{"login": "alvarobartt", "id": 36760800, "node_id": "MDQ6VXNlcjM2NzYwODAw", "avatar_url": "https://avatars.githubusercontent.com/u/36760800?v=4", "gravatar_id": "", "url": "https://api.github.com/users/alvarobartt", "html_url": "https://github.com/alvarobartt", "followers_url": "https://api.github.com/users/alvaro... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5534/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/5534 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5534/timeline | json:[] | value:1586177862 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5534 | value:map() breaks at certain dataset size when using Array3D | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2023-02-15T16:34:25Z | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:NONE | value:https://api.github.com/repos/huggingface/datasets/issues/5534/events | value:False | value:### Describe the bug
`map()` magically breaks when using a `Array3D` feature and mapping it. I created a very simple dummy dataset (see below). When filtering it down to 95 elements I can apply map, but it breaks when filtering it down to just 96 entries with the following exception:
```
Traceback (most rece... | value:https://api.github.com/repos/huggingface/datasets/issues/5534/comments | value:I_kwDODunzps5eiydG | value:open | value:2 | value:2023-03-03T16:31:33Z | value:https://api.github.com/repos/huggingface/datasets/issues/5534/labels{/name} | value:5534 | json:{"login": "ArneBinder", "id": 3375489, "node_id": "MDQ6VXNlcjMzNzU0ODk=", "avatar_url": "https://avatars.githubusercontent.com/u/3375489?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ArneBinder", "html_url": "https://github.com/ArneBinder", "followers_url": "https://api.github.com/users/ArneBinder/... | true | |||||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5533/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/5533 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5533/timeline | json:[] | value:1585885871 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5533 | value:Add reduce function | value:2023-02-15T13:44:01Z | value:NONE | json:{"login": "AJDERS", "id": 38854604, "node_id": "MDQ6VXNlcjM4ODU0NjA0", "avatar_url": "https://avatars.githubusercontent.com/u/38854604?v=4", "gravatar_id": "", "url": "https://api.github.com/users/AJDERS", "html_url": "https://github.com/AJDERS", "followers_url": "https://api.github.com/users/AJDERS/followers", "f... | value:https://api.github.com/repos/huggingface/datasets/issues/5533/events | value:False | value:2023-02-28T14:46:12Z | value:This PR closes #5496 .
I tried to imitate the `reduce`-method from `functools`, i.e. the function input must be a binary operation. I assume that the input type has an empty element, i.e. `input_type()` is defined, as the acumulant is instantiated as this object - im not sure that is this a reasonable assumpti... | value:https://api.github.com/repos/huggingface/datasets/issues/5533/comments | value:PR_kwDODunzps5KCR5I | value:closed | value:21 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/5533", "html_url": "https://github.com/huggingface/datasets/pull/5533", "diff_url": "https://github.com/huggingface/datasets/pull/5533.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5533.patch", "merged_at": null} | value:2024-11-25T14:33:27Z | value:https://api.github.com/repos/huggingface/datasets/issues/5533/labels{/name} | value:5533 | json:{"login": "AJDERS", "id": 38854604, "node_id": "MDQ6VXNlcjM4ODU0NjA0", "avatar_url": "https://avatars.githubusercontent.com/u/38854604?v=4", "gravatar_id": "", "url": "https://api.github.com/users/AJDERS", "html_url": "https://github.com/AJDERS", "followers_url": "https://api.github.com/users/AJDERS/followers", "f... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5532/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/5532 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5532/timeline | json:[] | value:1584505128 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5532 | value:train_test_split in arrow_dataset does not ensure to keep single classes in test set | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2023-02-14T16:52:29Z | 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/5532/events | value:False | value:2023-02-15T16:09:19Z | value:### Describe the bug
When I have a dataset with very few (e.g. 1) examples per class and I call the train_test_split function on it, sometimes the single class will be in the test set. thus will never be considered for training.
### Steps to reproduce the bug
```
import numpy as np
from datasets import Datas... | value:https://api.github.com/repos/huggingface/datasets/issues/5532/comments | value:I_kwDODunzps5ecaEo | value:closed | value:1 | value:2023-02-15T16:09:19Z | value:https://api.github.com/repos/huggingface/datasets/issues/5532/labels{/name} | value:5532 | json:{"login": "Ulipenitz", "id": 37191008, "node_id": "MDQ6VXNlcjM3MTkxMDA4", "avatar_url": "https://avatars.githubusercontent.com/u/37191008?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Ulipenitz", "html_url": "https://github.com/Ulipenitz", "followers_url": "https://api.github.com/users/Ulipenitz/fo... | true | ||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5531/reactions", "total_count": 2, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 2, "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/5531 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5531/timeline | json:[] | value:1584387276 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5531 | value:Invalid Arrow data from JSONL | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2023-02-14T15:39:49Z | 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/5531/events | value:False | value:2026-10-15T12:36:45Z | value:This code fails:
```python
from datasets import Dataset
ds = Dataset.from_json(path_to_file)
ds.data.validate()
```
raises
```python
ArrowInvalid: Column 2: In chunk 1: Invalid: Struct child array #3 invalid: Invalid: Length spanned by list offsets (4064) larger than values array (length 4063)
```
... | value:https://api.github.com/repos/huggingface/datasets/issues/5531/comments | value:I_kwDODunzps5eb9TM | value:closed | value:7 | value:2026-10-15T12:36:45Z | value:https://api.github.com/repos/huggingface/datasets/issues/5531/labels{/name} | value:5531 | 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"... | true | ||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5530/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/5530 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5530/timeline | json:[] | value:1582938241 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5530 | value:Add missing license in `NumpyFormatter` | value:2023-02-13T19:33:23Z | 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/5530/events | value:False | value:2023-02-14T12:23:58Z | value:## What's in this PR?
As discussed with @lhoestq in https://github.com/huggingface/datasets/pull/5522, the license for `NumpyFormatter` at `datasets/formatting/np_formatter.py` was missing, but present on the rest of the `formatting/*.py` files. So this PR is basically to include it there. | value:https://api.github.com/repos/huggingface/datasets/issues/5530/comments | value:PR_kwDODunzps5J4W_4 | value:closed | value:2 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/5530", "html_url": "https://github.com/huggingface/datasets/pull/5530", "diff_url": "https://github.com/huggingface/datasets/pull/5530.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5530.patch", "merged_at": "2023-02-14T12:23:58Z"} | value:2023-02-14T14:40:41Z | value:https://api.github.com/repos/huggingface/datasets/issues/5530/labels{/name} | value:5530 | json:{"login": "alvarobartt", "id": 36760800, "node_id": "MDQ6VXNlcjM2NzYwODAw", "avatar_url": "https://avatars.githubusercontent.com/u/36760800?v=4", "gravatar_id": "", "url": "https://api.github.com/users/alvarobartt", "html_url": "https://github.com/alvarobartt", "followers_url": "https://api.github.com/users/alvaro... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5529/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/5529 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5529/timeline | json:[] | value:1582501233 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5529 | value:Fix `datasets.load_from_disk`, `DatasetDict.load_from_disk` and `Dataset.load_from_disk` | value:2023-02-13T14:54:55Z | 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/5529/events | value:False | value:2023-02-23T18:05:26Z | value:## What's in this PR?
After playing around a little bit with 🤗`datasets` in Google Cloud Storage (GCS), I found out some things that should be fixed IMO in the code:
* `datasets.load_from_disk` is not checking whether `state.json` is there too when trying to load a `Dataset`, just `dataset_info.json` is ch... | value:https://api.github.com/repos/huggingface/datasets/issues/5529/comments | value:PR_kwDODunzps5J26Fq | value:closed | value:12 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/5529", "html_url": "https://github.com/huggingface/datasets/pull/5529", "diff_url": "https://github.com/huggingface/datasets/pull/5529.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5529.patch", "merged_at": "2023-02-23T18:05:26Z"} | value:2023-02-23T18:14:32Z | value:https://api.github.com/repos/huggingface/datasets/issues/5529/labels{/name} | value:5529 | json:{"login": "alvarobartt", "id": 36760800, "node_id": "MDQ6VXNlcjM2NzYwODAw", "avatar_url": "https://avatars.githubusercontent.com/u/36760800?v=4", "gravatar_id": "", "url": "https://api.github.com/users/alvarobartt", "html_url": "https://github.com/alvarobartt", "followers_url": "https://api.github.com/users/alvaro... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5528/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/5528 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5528/timeline | json:[] | value:1582195085 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5528 | value:Push to hub in a pull request | value:2023-02-13T11:43:47Z | value:NONE | value:https://api.github.com/repos/huggingface/datasets/issues/5528/events | value:False | value:Fixes #5492.
Introduce new kwarg `create_pr` in `push_to_hub`, which is passed to `HFapi.upload_file`. | value:https://api.github.com/repos/huggingface/datasets/issues/5528/comments | value:PR_kwDODunzps5J13wC | value:open | value:11 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/5528", "html_url": "https://github.com/huggingface/datasets/pull/5528", "diff_url": "https://github.com/huggingface/datasets/pull/5528.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5528.patch", "merged_at": null} | value:2023-10-06T21:58:02Z | value:https://api.github.com/repos/huggingface/datasets/issues/5528/labels{/name} | value:5528 | json:{"login": "AJDERS", "id": 38854604, "node_id": "MDQ6VXNlcjM4ODU0NjA0", "avatar_url": "https://avatars.githubusercontent.com/u/38854604?v=4", "gravatar_id": "", "url": "https://api.github.com/users/AJDERS", "html_url": "https://github.com/AJDERS", "followers_url": "https://api.github.com/users/AJDERS/followers", "f... | value:False | true | |||||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5527/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/5527 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5527/timeline | json:[] | value:1581228531 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5527 | value:Fix benchmarks CI - pin protobuf | value:2023-02-12T11:51:25Z | 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/5527/events | value:False | value:2023-02-13T09:24:16Z | value:fix https://github.com/huggingface/datasets/actions/runs/4156059127/jobs/7189576331 | value:https://api.github.com/repos/huggingface/datasets/issues/5527/comments | value:PR_kwDODunzps5JysSM | value:closed | value:5 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/5527", "html_url": "https://github.com/huggingface/datasets/pull/5527", "diff_url": "https://github.com/huggingface/datasets/pull/5527.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5527.patch", "merged_at": "2023-02-13T09:24:16Z"} | value:2023-02-13T10:29:03Z | value:https://api.github.com/repos/huggingface/datasets/issues/5527/labels{/name} | value:5527 | 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/5526/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/5526 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5526/timeline | json:[] | value:1580488133 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5526 | value:Allow loading/saving of FAISS index using fsspec | value:2023-02-10T23:37:14Z | 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/5526/events | value:False | value:2023-03-27T15:18:20Z | value:Fixes #5428
Allow loading/saving of FAISS index using fsspec:
1. Simply use BufferedIOWriter/Reader to Read/Write indices on fsspec stream.
2. Needed `mockfs` in the test, so I took it out of the `TestCase`. Let me know if that makes sense.
I can work on the documentation once the code changes are appro... | value:https://api.github.com/repos/huggingface/datasets/issues/5526/comments | value:PR_kwDODunzps5JwVol | value:closed | value:4 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/5526", "html_url": "https://github.com/huggingface/datasets/pull/5526", "diff_url": "https://github.com/huggingface/datasets/pull/5526.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5526.patch", "merged_at": "2023-03-27T15:18:20Z"} | value:2023-03-27T15:26:46Z | value:https://api.github.com/repos/huggingface/datasets/issues/5526/labels{/name} | value:5526 | json:{"login": "Dref360", "id": 8976546, "node_id": "MDQ6VXNlcjg5NzY1NDY=", "avatar_url": "https://avatars.githubusercontent.com/u/8976546?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Dref360", "html_url": "https://github.com/Dref360", "followers_url": "https://api.github.com/users/Dref360/followers", ... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5525/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/5525 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5525/timeline | json:[] | value:1580342729 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5525 | value:TypeError: Couldn't cast array of type string to null | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2023-02-10T21:12:36Z | 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/5525/events | value:False | value:2023-02-14T09:35:49Z | value:### Describe the bug
Processing a dataset I alredy uploaded to the Hub (https://huggingface.co/datasets/tj-solergibert/Europarl-ST) I found that for some splits and some languages (test split, source_lang = "nl") after applying a map function I get the mentioned error.
I alredy tried reseting the shorter s... | value:https://api.github.com/repos/huggingface/datasets/issues/5525/comments | value:I_kwDODunzps5eMh3J | value:closed | value:6 | value:2023-02-14T17:41:08Z | value:https://api.github.com/repos/huggingface/datasets/issues/5525/labels{/name} | value:5525 | json:{"login": "TJ-Solergibert", "id": 74564958, "node_id": "MDQ6VXNlcjc0NTY0OTU4", "avatar_url": "https://avatars.githubusercontent.com/u/74564958?v=4", "gravatar_id": "", "url": "https://api.github.com/users/TJ-Solergibert", "html_url": "https://github.com/TJ-Solergibert", "followers_url": "https://api.github.com/use... | true | ||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5524/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/5524 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5524/timeline | json:[] | value:1580219454 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5524 | value:[INVALID PR] | value:2023-02-10T19:35:50Z | value:MEMBER | json:{"login": "alvarobartt", "id": 36760800, "node_id": "MDQ6VXNlcjM2NzYwODAw", "avatar_url": "https://avatars.githubusercontent.com/u/36760800?v=4", "gravatar_id": "", "url": "https://api.github.com/users/alvarobartt", "html_url": "https://github.com/alvarobartt", "followers_url": "https://api.github.com/users/alvaro... | value:https://api.github.com/repos/huggingface/datasets/issues/5524/events | value:False | value:2023-02-10T19:49:12Z | value:Hi to whoever is reading this! 🤗
## What's in this PR?
~~Basically, I've removed the 🤗`datasets` installation as `python -m pip install ".[quality]" in the `check_code_quality` job in `.github/workflows/ci.yaml`, as we don't need to install the whole package to run the CI, unless that's done on purpose e.... | value:https://api.github.com/repos/huggingface/datasets/issues/5524/comments | value:PR_kwDODunzps5JvbMw | value:closed | value:1 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/5524", "html_url": "https://github.com/huggingface/datasets/pull/5524", "diff_url": "https://github.com/huggingface/datasets/pull/5524.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5524.patch", "merged_at": null} | value:2023-02-10T19:51:45Z | value:https://api.github.com/repos/huggingface/datasets/issues/5524/labels{/name} | value:5524 | json:{"login": "alvarobartt", "id": 36760800, "node_id": "MDQ6VXNlcjM2NzYwODAw", "avatar_url": "https://avatars.githubusercontent.com/u/36760800?v=4", "gravatar_id": "", "url": "https://api.github.com/users/alvarobartt", "html_url": "https://github.com/alvarobartt", "followers_url": "https://api.github.com/users/alvaro... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5523/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": "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... | value:https://github.com/huggingface/datasets/issues/5523 | 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/po... | value:https://api.github.com/repos/huggingface/datasets/issues/5523/timeline | json:[] | value:1580193015 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5523 | value:Checking that split name is correct happens only after the data is downloaded | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2023-02-10T19:13:03Z | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:CONTRIBUTOR | value:https://api.github.com/repos/huggingface/datasets/issues/5523/events | value:False | value:### Describe the bug
Verification of split names (=indexing data by split) happens after downloading the data. So when the split name is incorrect, users learn about that only after the data is fully downloaded, for large datasets it might take a lot of time.
### Steps to reproduce the bug
Load any dataset wit... | value:https://api.github.com/repos/huggingface/datasets/issues/5523/comments | value:I_kwDODunzps5eL9T3 | value:open | value:1 | value:2026-05-27T01:52:40Z | value:https://api.github.com/repos/huggingface/datasets/issues/5523/labels{/name} | value:5523 | 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/5522/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/5522 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5522/timeline | json:[] | value:1580183124 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5522 | value:Minor changes in JAX-formatting docstrings & type-hints | value:2023-02-10T19:05:00Z | 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/5522/events | value:False | value:2023-02-15T13:19:06Z | value:Hi to whoever is reading this! 🤗
## What's in this PR?
I was exploring the code regarding the `JaxFormatter` implemented in 🤗`datasets`, and found some things that IMO could be changed. Those are mainly regarding the docstrings and the type-hints based on `jax`'s 0.4.1 release where `jax.Array` was introd... | value:https://api.github.com/repos/huggingface/datasets/issues/5522/comments | value:PR_kwDODunzps5JvTVp | value:closed | value:16 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/5522", "html_url": "https://github.com/huggingface/datasets/pull/5522", "diff_url": "https://github.com/huggingface/datasets/pull/5522.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5522.patch", "merged_at": "2023-02-15T13:19:06Z"} | value:2023-02-15T14:48:27Z | value:https://api.github.com/repos/huggingface/datasets/issues/5522/labels{/name} | value:5522 | json:{"login": "alvarobartt", "id": 36760800, "node_id": "MDQ6VXNlcjM2NzYwODAw", "avatar_url": "https://avatars.githubusercontent.com/u/36760800?v=4", "gravatar_id": "", "url": "https://api.github.com/users/alvarobartt", "html_url": "https://github.com/alvarobartt", "followers_url": "https://api.github.com/users/alvaro... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5521/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/pull/5521 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5521/timeline | json:[] | value:1578418289 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5521 | value:Fix bug when casting empty array to class labels | value:2023-02-09T18:47:59Z | 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/5521/events | value:False | value:2023-02-12T11:17:17Z | value:Fix https://github.com/huggingface/datasets/issues/5520. | value:https://api.github.com/repos/huggingface/datasets/issues/5521/comments | value:PR_kwDODunzps5JpWnp | value:closed | value:1 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/5521", "html_url": "https://github.com/huggingface/datasets/pull/5521", "diff_url": "https://github.com/huggingface/datasets/pull/5521.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5521.patch", "merged_at": "2023-02-12T11:17:17Z"} | value:2023-02-13T20:40:48Z | value:https://api.github.com/repos/huggingface/datasets/issues/5521/labels{/name} | value:5521 | json:{"login": "marioga", "id": 6591505, "node_id": "MDQ6VXNlcjY1OTE1MDU=", "avatar_url": "https://avatars.githubusercontent.com/u/6591505?v=4", "gravatar_id": "", "url": "https://api.github.com/users/marioga", "html_url": "https://github.com/marioga", "followers_url": "https://api.github.com/users/marioga/followers", ... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5520/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/5520 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5520/timeline | json:[] | value:1578417074 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5520 | value:ClassLabel.cast_storage raises TypeError when called on an empty IntegerArray | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2023-02-09T18:46:52Z | 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/5520/events | value:False | value:2023-02-12T11:17:18Z | value:### Describe the bug
`ClassLabel.cast_storage` raises `TypeError` when called on an empty `IntegerArray`.
### Steps to reproduce the bug
Minimal steps:
```python
import pyarrow as pa
from datasets import ClassLabel
ClassLabel(names=['foo', 'bar']).cast_storage(pa.array([], pa.int64()))
```
In practic... | value:https://api.github.com/repos/huggingface/datasets/issues/5520/comments | value:I_kwDODunzps5eFLuy | value:closed | value:0 | value:2023-02-12T11:17:18Z | value:https://api.github.com/repos/huggingface/datasets/issues/5520/labels{/name} | value:5520 | json:{"login": "marioga", "id": 6591505, "node_id": "MDQ6VXNlcjY1OTE1MDU=", "avatar_url": "https://avatars.githubusercontent.com/u/6591505?v=4", "gravatar_id": "", "url": "https://api.github.com/users/marioga", "html_url": "https://github.com/marioga", "followers_url": "https://api.github.com/users/marioga/followers", ... | true | ||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5519/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/5519 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5519/timeline | json:[] | value:1578341785 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5519 | value:Lint code with `ruff` | value:2023-02-09T17:50:21Z | 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/5519/events | value:False | value:2023-02-14T16:18:38Z | value:EDIT:
Use `ruff` for linting instead of `isort` and `flake8` ~~`black`~~ to be consistent with [`transformers`](https://github.com/huggingface/transformers/pull/21480) and [`hfh`](https://github.com/huggingface/huggingface_hub/pull/1323).
TODO:
- [x] ~Merge the community contributors' PR to avoid having to r... | value:https://api.github.com/repos/huggingface/datasets/issues/5519/comments | value:PR_kwDODunzps5JpGPl | value:closed | value:6 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/5519", "html_url": "https://github.com/huggingface/datasets/pull/5519", "diff_url": "https://github.com/huggingface/datasets/pull/5519.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5519.patch", "merged_at": "2023-02-14T16:18:38Z"} | value:2024-06-01T15:35:02Z | value:https://api.github.com/repos/huggingface/datasets/issues/5519/labels{/name} | value:5519 | 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/5518/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/5518 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5518/timeline | json:[] | value:1578203962 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5518 | value:Remove py.typed | value:2023-02-09T16:22:29Z | 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/5518/events | value:False | value:2023-02-13T13:48:40Z | value:Fix https://github.com/huggingface/datasets/issues/3841 | value:https://api.github.com/repos/huggingface/datasets/issues/5518/comments | value:PR_kwDODunzps5Joom3 | value:closed | value:3 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/5518", "html_url": "https://github.com/huggingface/datasets/pull/5518", "diff_url": "https://github.com/huggingface/datasets/pull/5518.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5518.patch", "merged_at": "2023-02-13T13:48:40Z"} | value:2023-02-13T13:55:49Z | value:https://api.github.com/repos/huggingface/datasets/issues/5518/labels{/name} | value:5518 | 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/5517/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | json:{"url": "https://api.github.com/repos/huggingface/datasets/milestones/10", "html_url": "https://github.com/huggingface/datasets/milestone/10", "labels_url": "https://api.github.com/repos/huggingface/datasets/milestones/10/labels", "id": 9038583, "node_id": "MI_kwDODunzps4Aier3", "number": 10, "title": "3.0", "desc... | value:https://github.com/huggingface/datasets/issues/5517 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5517/timeline | json:[] | value:1577976608 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5517 | value:`with_format("numpy")` silently downcasts float64 to float32 features | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2023-02-09T14:18:00Z | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:NONE | value:https://api.github.com/repos/huggingface/datasets/issues/5517/events | value:False | value:### Describe the bug
When I create a dataset with a `float64` feature, then apply numpy formatting the returned numpy arrays are silently downcasted to `float32`.
### Steps to reproduce the bug
```python
import datasets
dataset = datasets.Dataset.from_dict({'a': [1.0, 2.0, 3.0]}).with_format("numpy")
... | value:https://api.github.com/repos/huggingface/datasets/issues/5517/comments | value:I_kwDODunzps5eDgMg | value:open | value:13 | value:2024-01-18T08:42:17Z | value:https://api.github.com/repos/huggingface/datasets/issues/5517/labels{/name} | value:5517 | json:{"login": "ernestum", "id": 1250234, "node_id": "MDQ6VXNlcjEyNTAyMzQ=", "avatar_url": "https://avatars.githubusercontent.com/u/1250234?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ernestum", "html_url": "https://github.com/ernestum", "followers_url": "https://api.github.com/users/ernestum/follower... | true | ||||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5516/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/5516 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5516/timeline | json:[] | value:1577661640 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5516 | value:Reload features from Parquet metadata | value:2023-02-09T10:52:15Z | 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/5516/events | value:False | value:2023-02-12T15:57:01Z | value:Resolves #5482.
Attaches feature metadata to parquet files serialised using `Dataset.to_parquet`.
This allows retrieving data with "rich" feature types (e.g., `datasets.features.image.Image` or `datasets.features.audio.Audio`) from parquet files without cumbersome casting (for an example, see #5482).
@... | value:https://api.github.com/repos/huggingface/datasets/issues/5516/comments | value:PR_kwDODunzps5JmzPQ | value:closed | value:4 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/5516", "html_url": "https://github.com/huggingface/datasets/pull/5516", "diff_url": "https://github.com/huggingface/datasets/pull/5516.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5516.patch", "merged_at": "2023-02-12T15:57:01Z"} | value:2023-02-12T16:00:00Z | value:https://api.github.com/repos/huggingface/datasets/issues/5516/labels{/name} | value:5516 | json:{"login": "MFreidank", "id": 6368040, "node_id": "MDQ6VXNlcjYzNjgwNDA=", "avatar_url": "https://avatars.githubusercontent.com/u/6368040?v=4", "gravatar_id": "", "url": "https://api.github.com/users/MFreidank", "html_url": "https://github.com/MFreidank", "followers_url": "https://api.github.com/users/MFreidank/foll... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5515/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/5515 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5515/timeline | json:[] | value:1577590611 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5515 | value:Unify `load_from_cache_file` type and logic | value:2023-02-09T10:04:46Z | 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/5515/events | value:False | value:2023-02-14T14:26:42Z | value:* Updating type annotations for #`load_from_cache_file`
* Added logic for cache checking if needed
* Updated documentation following the wording of `Dataset.map` | value:https://api.github.com/repos/huggingface/datasets/issues/5515/comments | value:PR_kwDODunzps5Jmj5X | value:closed | value:4 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/5515", "html_url": "https://github.com/huggingface/datasets/pull/5515", "diff_url": "https://github.com/huggingface/datasets/pull/5515.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5515.patch", "merged_at": "2023-02-14T14:26:42Z"} | value:2023-02-14T15:38:13Z | value:https://api.github.com/repos/huggingface/datasets/issues/5515/labels{/name} | value:5515 | json:{"login": "HallerPatrick", "id": 22773355, "node_id": "MDQ6VXNlcjIyNzczMzU1", "avatar_url": "https://avatars.githubusercontent.com/u/22773355?v=4", "gravatar_id": "", "url": "https://api.github.com/users/HallerPatrick", "html_url": "https://github.com/HallerPatrick", "followers_url": "https://api.github.com/users/... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5514/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/5514 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5514/timeline | json:[] | value:1576453837 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5514 | value:Improve inconsistency of `Dataset.map` interface for `load_from_cache_file` | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2023-02-08T16:40:44Z | 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/5514/events | value:False | value:2023-02-14T14:26:44Z | value:### Feature request
1. Replace the `load_from_cache_file` default value to `True`.
2. Remove or alter checks from `is_caching_enabled` logic.
### Motivation
I stumbled over an inconsistency in the `Dataset.map` interface. The documentation (and source) states for the parameter `load_from_cache_file`:
```
... | value:https://api.github.com/repos/huggingface/datasets/issues/5514/comments | value:I_kwDODunzps5d9sbN | value:closed | value:4 | value:2023-02-14T14:26:44Z | value:https://api.github.com/repos/huggingface/datasets/issues/5514/labels{/name} | value:5514 | json:{"login": "HallerPatrick", "id": 22773355, "node_id": "MDQ6VXNlcjIyNzczMzU1", "avatar_url": "https://avatars.githubusercontent.com/u/22773355?v=4", "gravatar_id": "", "url": "https://api.github.com/users/HallerPatrick", "html_url": "https://github.com/HallerPatrick", "followers_url": "https://api.github.com/users/... | true | ||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5513/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/5513 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5513/timeline | json:[] | value:1576300803 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5513 | value:Some functions use a param named `type` shouldn't that be avoided since it's a Python reserved name? | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2023-02-08T15:13:46Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:MEMBER | 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/5513/events | value:False | value:2023-07-24T14:27:59Z | value:Hi @mariosasko, @lhoestq, or whoever reads this! :)
After going through `ArrowDataset.set_format` I found out that the `type` param is actually named `type` which is a Python reserved name as you may already know, shouldn't that be renamed to `format_type` before the 3.0.0 is released?
Just wanted to get yo... | value:https://api.github.com/repos/huggingface/datasets/issues/5513/comments | value:I_kwDODunzps5d9HED | value:closed | value:4 | value:2023-07-24T16:02:18Z | value:https://api.github.com/repos/huggingface/datasets/issues/5513/labels{/name} | value:5513 | json:{"login": "alvarobartt", "id": 36760800, "node_id": "MDQ6VXNlcjM2NzYwODAw", "avatar_url": "https://avatars.githubusercontent.com/u/36760800?v=4", "gravatar_id": "", "url": "https://api.github.com/users/alvarobartt", "html_url": "https://github.com/alvarobartt", "followers_url": "https://api.github.com/users/alvaro... | true | ||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5512/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/5512 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5512/timeline | json:[] | value:1576142432 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5512 | value:Speed up batched PyTorch DataLoader | value:2023-02-08T13:38: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/5512/events | value:False | value:2023-02-19T18:27:29Z | value:I implemented `__getitems__` to speed up batched data loading in PyTorch
close https://github.com/huggingface/datasets/issues/5505 | value:https://api.github.com/repos/huggingface/datasets/issues/5512/comments | value:PR_kwDODunzps5JhtQy | value:closed | value:9 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/5512", "html_url": "https://github.com/huggingface/datasets/pull/5512", "diff_url": "https://github.com/huggingface/datasets/pull/5512.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5512.patch", "merged_at": "2023-02-19T18:27:29Z"} | value:2023-02-19T18:35:09Z | value:https://api.github.com/repos/huggingface/datasets/issues/5512/labels{/name} | value:5512 | 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/5511/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/5511 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5511/timeline | json:[] | value:1575851768 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5511 | value:Creating a dummy dataset from a bigger one | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2023-02-08T10:18:41Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:CONTRIBUTOR | json:{"login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "followers_url": "https://api.github.c... | value:https://api.github.com/repos/huggingface/datasets/issues/5511/events | value:False | value:2023-02-08T10:35:48Z | value:### Describe the bug
I often want to create a dummy dataset from a bigger dataset for fast iteration when training. However, I'm having a hard time doing this especially when trying to upload the dataset to the Hub.
### Steps to reproduce the bug
```python
from datasets import load_dataset
dataset = load_d... | value:https://api.github.com/repos/huggingface/datasets/issues/5511/comments | value:I_kwDODunzps5d7Zb4 | value:closed | value:8 | value:2023-12-28T18:21:01Z | value:https://api.github.com/repos/huggingface/datasets/issues/5511/labels{/name} | value:5511 | json:{"login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "followers_url": "https://api.github.c... | true | ||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5510/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/5510 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5510/timeline | json:[] | value:1575191549 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5510 | value:Milvus integration for search | value:2023-02-07T23:30:26Z | value:NONE | value:https://api.github.com/repos/huggingface/datasets/issues/5510/events | value:False | value:Signed-off-by: Filip Haltmayer <filip.haltmayer@zilliz.com> | value:https://api.github.com/repos/huggingface/datasets/issues/5510/comments | value:PR_kwDODunzps5JehbR | value:open | value:5 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/5510", "html_url": "https://github.com/huggingface/datasets/pull/5510", "diff_url": "https://github.com/huggingface/datasets/pull/5510.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5510.patch", "merged_at": null} | value:2023-02-24T16:45:09Z | value:https://api.github.com/repos/huggingface/datasets/issues/5510/labels{/name} | value:5510 | json:{"login": "filip-halt", "id": 81822489, "node_id": "MDQ6VXNlcjgxODIyNDg5", "avatar_url": "https://avatars.githubusercontent.com/u/81822489?v=4", "gravatar_id": "", "url": "https://api.github.com/users/filip-halt", "html_url": "https://github.com/filip-halt", "followers_url": "https://api.github.com/users/filip-hal... | value:False | true | |||||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5509/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/5509 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5509/timeline | json:[] | value:1574177320 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5509 | value:Add a static `__all__` to `__init__.py` for typecheckers | value:2023-02-07T11:42:40Z | value:NONE | value:https://api.github.com/repos/huggingface/datasets/issues/5509/events | value:False | value:This adds a static `__all__` field to `__init__.py`, allowing typecheckers to know which symbols are accessible from `datasets` at runtime. In particular [Pyright](https://github.com/microsoft/pylance-release/issues/2328#issuecomment-1029381258) seems to rely on this. At this point I have added all (modulo oversi... | value:https://api.github.com/repos/huggingface/datasets/issues/5509/comments | value:PR_kwDODunzps5JbH-u | value:open | value:2 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/5509", "html_url": "https://github.com/huggingface/datasets/pull/5509", "diff_url": "https://github.com/huggingface/datasets/pull/5509.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5509.patch", "merged_at": null} | value:2023-02-08T17:48:24Z | value:https://api.github.com/repos/huggingface/datasets/issues/5509/labels{/name} | value:5509 | json:{"login": "LoicGrobol", "id": 14248012, "node_id": "MDQ6VXNlcjE0MjQ4MDEy", "avatar_url": "https://avatars.githubusercontent.com/u/14248012?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LoicGrobol", "html_url": "https://github.com/LoicGrobol", "followers_url": "https://api.github.com/users/LoicGrobo... | value:False | true | |||||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5508/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/5508 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5508/timeline | json:[] | value:1573290359 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5508 | value:Saving a dataset after setting format to torch doesn't work, but only if filtering | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2023-02-06T21:08:58Z | 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/5508/events | value:False | value:2023-02-09T14:55:26Z | value:### Describe the bug
Saving a dataset after setting format to torch doesn't work, but only if filtering
### Steps to reproduce the bug
```
a = Dataset.from_dict({"b": [1, 2]})
a.set_format('torch')
a.save_to_disk("test_save") # saves successfully
a.filter(None).save_to_disk("test_save_filter") # does not
... | value:https://api.github.com/repos/huggingface/datasets/issues/5508/comments | value:I_kwDODunzps5dxoF3 | value:closed | value:2 | value:2023-02-09T14:55:26Z | value:https://api.github.com/repos/huggingface/datasets/issues/5508/labels{/name} | value:5508 | json:{"login": "joebhakim", "id": 13984157, "node_id": "MDQ6VXNlcjEzOTg0MTU3", "avatar_url": "https://avatars.githubusercontent.com/u/13984157?v=4", "gravatar_id": "", "url": "https://api.github.com/users/joebhakim", "html_url": "https://github.com/joebhakim", "followers_url": "https://api.github.com/users/joebhakim/fo... | true | ||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5507/reactions", "total_count": 1, "+1": 0, "-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}] | 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/5507 | 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/5507/timeline | json:[] | value:1572667036 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5507 | value:Optimise behaviour in respect to indices mapping | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2023-02-06T14:25:55Z | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:COLLABORATOR | value:https://api.github.com/repos/huggingface/datasets/issues/5507/events | value:False | value:_Originally [posted](https://huggingface.slack.com/archives/C02V51Q3800/p1675443873878489?thread_ts=1675418893.373479&cid=C02V51Q3800) on Slack_
Considering all this, perhaps for Datasets 3.0, we can do the following:
* [ ] have `continuous=True` by default in `.shard` (requested in the survey and makes more... | value:https://api.github.com/repos/huggingface/datasets/issues/5507/comments | value:I_kwDODunzps5dvP6c | value:open | value:0 | value:2023-02-28T18:19:18Z | value:https://api.github.com/repos/huggingface/datasets/issues/5507/labels{/name} | value:5507 | 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/5506/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/5506 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5506/timeline | json:[] | value:1571838641 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5506 | value:IterableDataset and Dataset return different batch sizes when using Trainer with multiple GPUs | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2023-02-06T03:26:03Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:NONE | json:{"login": "kheyer", "id": 38166299, "node_id": "MDQ6VXNlcjM4MTY2Mjk5", "avatar_url": "https://avatars.githubusercontent.com/u/38166299?v=4", "gravatar_id": "", "url": "https://api.github.com/users/kheyer", "html_url": "https://github.com/kheyer", "followers_url": "https://api.github.com/users/kheyer/followers", "f... | value:https://api.github.com/repos/huggingface/datasets/issues/5506/events | value:False | value:2023-02-08T18:30:07Z | value:### Describe the bug
I am training a Roberta model using 2 GPUs and the `Trainer` API with a batch size of 256.
Initially I used a standard `Dataset`, but had issues with slow data loading. After reading [this issue](https://github.com/huggingface/datasets/issues/2252), I swapped to loading my dataset as cont... | value:https://api.github.com/repos/huggingface/datasets/issues/5506/comments | value:I_kwDODunzps5dsFqx | value:closed | value:4 | value:2023-02-08T18:30:08Z | value:https://api.github.com/repos/huggingface/datasets/issues/5506/labels{/name} | value:5506 | json:{"login": "kheyer", "id": 38166299, "node_id": "MDQ6VXNlcjM4MTY2Mjk5", "avatar_url": "https://avatars.githubusercontent.com/u/38166299?v=4", "gravatar_id": "", "url": "https://api.github.com/users/kheyer", "html_url": "https://github.com/kheyer", "followers_url": "https://api.github.com/users/kheyer/followers", "f... | true | ||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5505/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/5505 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5505/timeline | json:[] | value:1571720814 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5505 | value:PyTorch BatchSampler still loads from Dataset one-by-one | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2023-02-06T01:14:55Z | 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/5505/events | value:False | value:2023-02-19T18:27:30Z | value:### Describe the bug
In [the docs here](https://huggingface.co/docs/datasets/use_with_pytorch#use-a-batchsampler), it mentions the issue of the Dataset being read one-by-one, then states that using a BatchSampler resolves the issue.
I'm not sure if this is a mistake in the docs or the code, but it seems that ... | value:https://api.github.com/repos/huggingface/datasets/issues/5505/comments | value:I_kwDODunzps5dro5u | value:closed | value:2 | value:2023-02-19T18:27:30Z | value:https://api.github.com/repos/huggingface/datasets/issues/5505/labels{/name} | value:5505 | 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/5504/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/5504 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5504/timeline | json:[] | value:1570621242 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5504 | value:don't zero copy timestamps | value:2023-02-03T23:39:04Z | 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/5504/events | value:False | value:2023-02-08T14:33:17Z | value:Fixes https://github.com/huggingface/datasets/issues/5495
I'm not sure whether we prefer a test here or if timestamps are known to be unsupported (like booleans). The current test at least covers the bug | value:https://api.github.com/repos/huggingface/datasets/issues/5504/comments | value:PR_kwDODunzps5JPoWy | value:closed | value:3 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/5504", "html_url": "https://github.com/huggingface/datasets/pull/5504", "diff_url": "https://github.com/huggingface/datasets/pull/5504.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5504.patch", "merged_at": "2023-02-08T14:33:17Z"} | value:2023-02-08T17:28:50Z | value:https://api.github.com/repos/huggingface/datasets/issues/5504/labels{/name} | value:5504 | json:{"login": "dwyatte", "id": 2512762, "node_id": "MDQ6VXNlcjI1MTI3NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/2512762?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dwyatte", "html_url": "https://github.com/dwyatte", "followers_url": "https://api.github.com/users/dwyatte/followers", ... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5502/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/5502 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5502/timeline | json:[] | value:1570091225 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5502 | value:Added functionality: sort datasets by multiple keys | value:2023-02-03T16:17:00Z | 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/5502/events | value:False | value:2023-02-21T14:39:23Z | value:Added functionality implementation: sort datasets by multiple keys/columns as discussed in https://github.com/huggingface/datasets/issues/5425. | value:https://api.github.com/repos/huggingface/datasets/issues/5502/comments | value:PR_kwDODunzps5JN0aX | value:closed | value:5 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/5502", "html_url": "https://github.com/huggingface/datasets/pull/5502", "diff_url": "https://github.com/huggingface/datasets/pull/5502.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5502.patch", "merged_at": "2023-02-21T14:39:23Z"} | value:2023-02-21T14:46:49Z | value:https://api.github.com/repos/huggingface/datasets/issues/5502/labels{/name} | value:5502 | json:{"login": "MichlF", "id": 7805682, "node_id": "MDQ6VXNlcjc4MDU2ODI=", "avatar_url": "https://avatars.githubusercontent.com/u/7805682?v=4", "gravatar_id": "", "url": "https://api.github.com/users/MichlF", "html_url": "https://github.com/MichlF", "followers_url": "https://api.github.com/users/MichlF/followers", "fol... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5501/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/5501 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5501/timeline | json:[] | value:1569644159 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5501 | value:Increase chunk size for speeding up file downloads | value:2023-02-03T10:50:10Z | value:CONTRIBUTOR | value:https://api.github.com/repos/huggingface/datasets/issues/5501/events | value:False | value:Original fix: https://github.com/huggingface/huggingface_hub/pull/1267
Not sure this function is actually still called though.
I haven't done benches on this. Is there a dataset where files are hosted on the hub through cloudfront so we can have the same setup as in `hf_hub` ? | value:https://api.github.com/repos/huggingface/datasets/issues/5501/comments | value:PR_kwDODunzps5JMTn8 | value:open | value:4 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/5501", "html_url": "https://github.com/huggingface/datasets/pull/5501", "diff_url": "https://github.com/huggingface/datasets/pull/5501.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5501.patch", "merged_at": null} | value:2023-02-09T11:04:11Z | value:https://api.github.com/repos/huggingface/datasets/issues/5501/labels{/name} | value:5501 | json:{"login": "Narsil", "id": 204321, "node_id": "MDQ6VXNlcjIwNDMyMQ==", "avatar_url": "https://avatars.githubusercontent.com/u/204321?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Narsil", "html_url": "https://github.com/Narsil", "followers_url": "https://api.github.com/users/Narsil/followers", "follo... | value:False | true | |||||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5500/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/5500 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5500/timeline | json:[] | value:1569257240 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5500 | value:WMT19 custom download checksum error | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2023-02-03T05:45:37Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:NONE | json:{"login": "Hannibal046", "id": 38466901, "node_id": "MDQ6VXNlcjM4NDY2OTAx", "avatar_url": "https://avatars.githubusercontent.com/u/38466901?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Hannibal046", "html_url": "https://github.com/Hannibal046", "followers_url": "https://api.github.com/users/Hannib... | value:https://api.github.com/repos/huggingface/datasets/issues/5500/events | value:False | value:2023-02-03T05:52:56Z | value:### Describe the bug
I use the following scripts to download data from WMT19:
```python
import datasets
from datasets import inspect_dataset, load_dataset_builder
from wmt19.wmt_utils import _TRAIN_SUBSETS,_DEV_SUBSETS
## this is a must due to: https://discuss.huggingface.co/t/load-dataset-hangs-with-lo... | value:https://api.github.com/repos/huggingface/datasets/issues/5500/comments | value:I_kwDODunzps5diPcY | value:closed | value:1 | value:2023-02-03T05:52:56Z | value:https://api.github.com/repos/huggingface/datasets/issues/5500/labels{/name} | value:5500 | json:{"login": "Hannibal046", "id": 38466901, "node_id": "MDQ6VXNlcjM4NDY2OTAx", "avatar_url": "https://avatars.githubusercontent.com/u/38466901?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Hannibal046", "html_url": "https://github.com/Hannibal046", "followers_url": "https://api.github.com/users/Hannib... | true | ||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5499/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/5499 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5499/timeline | json:[] | value:1568937026 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5499 | value:`load_dataset` has ~4 seconds of overhead for cached data | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2023-02-02T23:34:50Z | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:NONE | value:https://api.github.com/repos/huggingface/datasets/issues/5499/events | value:False | value:### Feature request
When loading a dataset that has been cached locally, the `load_dataset` function takes a lot longer than it should take to fetch the dataset from disk (or memory).
This is particularly noticeable for smaller datasets. For example, wikitext-2, comparing `load_data` (once cached) and `load_fro... | value:https://api.github.com/repos/huggingface/datasets/issues/5499/comments | value:I_kwDODunzps5dhBRC | value:open | value:2 | value:2023-02-07T19:35:11Z | value:https://api.github.com/repos/huggingface/datasets/issues/5499/labels{/name} | value:5499 | 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/5498/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/5498 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5498/timeline | json:[] | value:1568190529 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5498 | value:TypeError: 'bool' object is not iterable when filtering a datasets.arrow_dataset.Dataset | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2023-02-02T14:46:49Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:NONE | json:{"login": "vmuel", "id": 91255010, "node_id": "MDQ6VXNlcjkxMjU1MDEw", "avatar_url": "https://avatars.githubusercontent.com/u/91255010?v=4", "gravatar_id": "", "url": "https://api.github.com/users/vmuel", "html_url": "https://github.com/vmuel", "followers_url": "https://api.github.com/users/vmuel/followers", "follo... | value:https://api.github.com/repos/huggingface/datasets/issues/5498/events | value:False | value:2023-02-04T17:19:36Z | value:### Describe the bug
Hi,
Thanks for the amazing work on the library!
**Describe the bug**
I think I might have noticed a small bug in the filter method.
Having loaded a dataset using `load_dataset`, when I try to filter out empty entries with `batched=True`, I get a TypeError.
### Steps to reproduc... | value:https://api.github.com/repos/huggingface/datasets/issues/5498/comments | value:I_kwDODunzps5deLBB | value:closed | value:3 | value:2023-10-08T06:12:47Z | value:https://api.github.com/repos/huggingface/datasets/issues/5498/labels{/name} | value:5498 | json:{"login": "vmuel", "id": 91255010, "node_id": "MDQ6VXNlcjkxMjU1MDEw", "avatar_url": "https://avatars.githubusercontent.com/u/91255010?v=4", "gravatar_id": "", "url": "https://api.github.com/users/vmuel", "html_url": "https://github.com/vmuel", "followers_url": "https://api.github.com/users/vmuel/followers", "follo... | true | ||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5497/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/pull/5497 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5497/timeline | json:[] | value:1567601264 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5497 | value:Improved error message for gated/private repos | value:2023-02-02T08:56:15Z | 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/5497/events | value:False | value:2023-02-02T11:17:15Z | value:Using `use_auth_token=True` is not needed anymore. If a user logged in, the token will be automatically retrieved. Also include a mention for gated repos
See https://github.com/huggingface/huggingface_hub/pull/1064 | value:https://api.github.com/repos/huggingface/datasets/issues/5497/comments | value:PR_kwDODunzps5JFhvc | value:closed | value:3 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/5497", "html_url": "https://github.com/huggingface/datasets/pull/5497", "diff_url": "https://github.com/huggingface/datasets/pull/5497.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5497.patch", "merged_at": "2023-02-02T11:17:14Z"} | value:2023-02-02T11:26:08Z | value:https://api.github.com/repos/huggingface/datasets/issues/5497/labels{/name} | value:5497 | json:{"login": "osanseviero", "id": 7246357, "node_id": "MDQ6VXNlcjcyNDYzNTc=", "avatar_url": "https://avatars.githubusercontent.com/u/7246357?v=4", "gravatar_id": "", "url": "https://api.github.com/users/osanseviero", "html_url": "https://github.com/osanseviero", "followers_url": "https://api.github.com/users/osansevi... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5496/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/5496 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5496/timeline | json:[] | value:1567301765 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5496 | value:Add a `reduce` method | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2023-02-02T04:30:22Z | 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/5496/events | value:False | value:2023-07-21T14:24:32Z | value:### Feature request
Right now the `Dataset` class implements `map()` and `filter()`, but leaves out the third functional idiom popular among Python users: `reduce`.
### Motivation
A `reduce` method is often useful when calculating dataset statistics, for example, the occurrence of a particular n-gram or the a... | value:https://api.github.com/repos/huggingface/datasets/issues/5496/comments | value:I_kwDODunzps5dayCF | value:closed | value:4 | value:2024-11-12T05:58:14Z | value:https://api.github.com/repos/huggingface/datasets/issues/5496/labels{/name} | value:5496 | json:{"login": "zhangir-azerbayev", "id": 59542043, "node_id": "MDQ6VXNlcjU5NTQyMDQz", "avatar_url": "https://avatars.githubusercontent.com/u/59542043?v=4", "gravatar_id": "", "url": "https://api.github.com/users/zhangir-azerbayev", "html_url": "https://github.com/zhangir-azerbayev", "followers_url": "https://api.githu... | true | ||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5495/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": 1935892877, "node_id": "MDU6TGFiZWwxOTM1OD... | value:https://github.com/huggingface/datasets/issues/5495 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5495/timeline | json:[] | value:1566803452 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5495 | value:to_tf_dataset fails with datetime UTC columns even if not included in columns argument | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2023-02-01T20:47:33Z | 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/5495/events | value:False | value:2023-02-08T14:33:19Z | value:### Describe the bug
There appears to be some eager behavior in `to_tf_dataset` that runs against every column in a dataset even if they aren't included in the columns argument. This is problematic with datetime UTC columns due to them not working with zero copy. If I don't have UTC information in my datetime ... | value:https://api.github.com/repos/huggingface/datasets/issues/5495/comments | value:I_kwDODunzps5dY4X8 | value:closed | value:2 | value:2023-02-08T14:33:19Z | value:https://api.github.com/repos/huggingface/datasets/issues/5495/labels{/name} | value:5495 | json:{"login": "dwyatte", "id": 2512762, "node_id": "MDQ6VXNlcjI1MTI3NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/2512762?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dwyatte", "html_url": "https://github.com/dwyatte", "followers_url": "https://api.github.com/users/dwyatte/followers", ... | true | ||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5494/reactions", "total_count": 3, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 1, "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/5494 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5494/timeline | json:[] | value:1566655348 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5494 | value:Update audio installation doc page | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2023-02-01T19:07:50Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:CONTRIBUTOR | 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... | value:https://api.github.com/repos/huggingface/datasets/issues/5494/events | value:False | value:2023-03-02T16:08:17Z | value:Our [installation documentation page](https://huggingface.co/docs/datasets/installation#audio) says that one can use Datasets for mp3 only with `torchaudio<0.12`. `torchaudio>0.12` is actually supported too but requires a specific version of ffmpeg which is not easily installed on all linux versions but there is ... | value:https://api.github.com/repos/huggingface/datasets/issues/5494/comments | value:I_kwDODunzps5dYUN0 | value:closed | value:4 | value:2023-03-02T16:08:17Z | value:https://api.github.com/repos/huggingface/datasets/issues/5494/labels{/name} | value:5494 | 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/5493/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/5493 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5493/timeline | json:[] | value:1566637806 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5493 | value:Remove unused `load_from_cache_file` arg from `Dataset.shard()` docstring | value:2023-02-01T18:57:48Z | value:CONTRIBUTOR | 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... | value:https://api.github.com/repos/huggingface/datasets/issues/5493/events | value:False | value:2023-02-08T15:03:50Z | value:https://api.github.com/repos/huggingface/datasets/issues/5493/comments | value:PR_kwDODunzps5JCSAZ | value:closed | value:3 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/5493", "html_url": "https://github.com/huggingface/datasets/pull/5493", "diff_url": "https://github.com/huggingface/datasets/pull/5493.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5493.patch", "merged_at": "2023-02-08T15:03:50Z"} | value:2023-02-08T15:10:46Z | value:https://api.github.com/repos/huggingface/datasets/issues/5493/labels{/name} | value:5493 | 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... | value:False | true | ||||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5492/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}, {"id": 1935892877, "node_id": "MDU... | json:{"login": "nateraw", "id": 32437151, "node_id": "MDQ6VXNlcjMyNDM3MTUx", "avatar_url": "https://avatars.githubusercontent.com/u/32437151?v=4", "gravatar_id": "", "url": "https://api.github.com/users/nateraw", "html_url": "https://github.com/nateraw", "followers_url": "https://api.github.com/users/nateraw/followers"... | value:https://github.com/huggingface/datasets/issues/5492 | json:[{"login": "nateraw", "id": 32437151, "node_id": "MDQ6VXNlcjMyNDM3MTUx", "avatar_url": "https://avatars.githubusercontent.com/u/32437151?v=4", "gravatar_id": "", "url": "https://api.github.com/users/nateraw", "html_url": "https://github.com/nateraw", "followers_url": "https://api.github.com/users/nateraw/followers... | value:https://api.github.com/repos/huggingface/datasets/issues/5492/timeline | json:[] | value:1566604216 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5492 | value:Push_to_hub in a pull request | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2023-02-01T18:32:14Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:MEMBER | 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/5492/events | value:False | value:2023-10-16T13:30:48Z | value:Right now `ds.push_to_hub()` can push a dataset on `main` or on a new branch with `branch=`, but there is no way to open a pull request. Even passing `branch=refs/pr/x` doesn't seem to work: it tries to create a branch with that name
cc @nateraw
It should be possible to tweak the use of `huggingface_hub` i... | value:https://api.github.com/repos/huggingface/datasets/issues/5492/comments | value:I_kwDODunzps5dYHu4 | value:closed | value:2 | value:2023-10-16T13:30:48Z | value:https://api.github.com/repos/huggingface/datasets/issues/5492/labels{/name} | value:5492 | 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"... | true | |||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5491/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/5491 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5491/timeline | json:[] | value:1566235012 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5491 | value:[MINOR] Typo | value:2023-02-01T14:39:39Z | 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/5491/events | value:False | value:2023-02-02T07:35:14Z | value:https://api.github.com/repos/huggingface/datasets/issues/5491/comments | value:PR_kwDODunzps5JA9OD | value:closed | value:2 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/5491", "html_url": "https://github.com/huggingface/datasets/pull/5491", "diff_url": "https://github.com/huggingface/datasets/pull/5491.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5491.patch", "merged_at": "2023-02-02T07:35:14Z"} | value:2023-02-02T07:42:28Z | value:https://api.github.com/repos/huggingface/datasets/issues/5491/labels{/name} | value:5491 | json:{"login": "cakiki", "id": 3664563, "node_id": "MDQ6VXNlcjM2NjQ1NjM=", "avatar_url": "https://avatars.githubusercontent.com/u/3664563?v=4", "gravatar_id": "", "url": "https://api.github.com/users/cakiki", "html_url": "https://github.com/cakiki", "followers_url": "https://api.github.com/users/cakiki/followers", "fol... | value:False | true | ||||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5490/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/5490 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5490/timeline | json:[] | value:1565842327 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5490 | value:Do not add index column by default when exporting to CSV | value:2023-02-01T10:20:55Z | 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/5490/events | value:False | value:2023-02-09T09:22:23Z | value:As pointed out by @merveenoyan, default behavior of `Dataset.to_csv` adds the index as an additional column without name.
This PR changes the default behavior, so that now the index column is not written.
To add the index column, now you need to pass `index=True` and also `index_label=<name of the index col... | value:https://api.github.com/repos/huggingface/datasets/issues/5490/comments | value:PR_kwDODunzps5I_nz- | value:closed | value:2 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/5490", "html_url": "https://github.com/huggingface/datasets/pull/5490", "diff_url": "https://github.com/huggingface/datasets/pull/5490.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5490.patch", "merged_at": "2023-02-09T09:22:23Z"} | value:2023-02-09T09:29:08Z | value:https://api.github.com/repos/huggingface/datasets/issues/5490/labels{/name} | value:5490 | 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/5489/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/5489 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5489/timeline | json:[] | value:1565761705 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5489 | value:Pin dill lower version | value:2023-02-01T09:33: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/5489/events | value:False | value:2023-02-02T07:40:43Z | value:Pin `dill` lower version compatible with `datasets`.
Related to:
- #5487
- #288
Note that the required `dill._dill` module was introduced in dill-2.8.0, however we have heuristically tested that datasets can only be installed with dill>=3.0.0 (otherwise pip hangs indefinitely while preparing metadata for ... | value:https://api.github.com/repos/huggingface/datasets/issues/5489/comments | value:PR_kwDODunzps5I_WPH | value:closed | value:2 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/5489", "html_url": "https://github.com/huggingface/datasets/pull/5489", "diff_url": "https://github.com/huggingface/datasets/pull/5489.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5489.patch", "merged_at": "2023-02-02T07:40:43Z"} | value:2023-02-02T07:48:09Z | value:https://api.github.com/repos/huggingface/datasets/issues/5489/labels{/name} | value:5489 | 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/5488/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/5488 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5488/timeline | json:[] | value:1565025262 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5488 | value:Error loading MP3 files from CommonVoice | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2023-01-31T21:25:33Z | 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/5488/events | value:False | value:2023-03-02T16:25:13Z | value:### Describe the bug
When loading a CommonVoice dataset with `datasets==2.9.0` and `torchaudio>=0.12.0`, I get an error reading the audio arrays:
```python
---------------------------------------------------------------------------
LibsndfileError Traceback (most recent call last)... | value:https://api.github.com/repos/huggingface/datasets/issues/5488/comments | value:I_kwDODunzps5dSGPu | value:closed | value:4 | value:2023-03-02T16:25:14Z | value:https://api.github.com/repos/huggingface/datasets/issues/5488/labels{/name} | value:5488 | json:{"login": "kradonneoh", "id": 110259722, "node_id": "U_kgDOBpJuCg", "avatar_url": "https://avatars.githubusercontent.com/u/110259722?v=4", "gravatar_id": "", "url": "https://api.github.com/users/kradonneoh", "html_url": "https://github.com/kradonneoh", "followers_url": "https://api.github.com/users/kradonneoh/foll... | true | ||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5487/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/5487 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5487/timeline | json:[] | value:1564480121 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5487 | value:Incorrect filepath for dill module | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2023-01-31T15:01:08Z | 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/5487/events | value:False | value:2023-02-24T16:18:36Z | value:### Describe the bug
I installed the `datasets` package and when I try to `import` it, I get the following error:
```
Traceback (most recent call last):
File "/var/folders/jt/zw5g74ln6tqfdzsl8tx378j00000gn/T/ipykernel_3805/3458380017.py", line 1, in <module>
import datasets
File "/Users/avivbr... | value:https://api.github.com/repos/huggingface/datasets/issues/5487/comments | value:I_kwDODunzps5dQBJ5 | value:closed | value:5 | value:2023-02-24T16:18:36Z | value:https://api.github.com/repos/huggingface/datasets/issues/5487/labels{/name} | value:5487 | json:{"login": "avivbrokman", "id": 35349273, "node_id": "MDQ6VXNlcjM1MzQ5Mjcz", "avatar_url": "https://avatars.githubusercontent.com/u/35349273?v=4", "gravatar_id": "", "url": "https://api.github.com/users/avivbrokman", "html_url": "https://github.com/avivbrokman", "followers_url": "https://api.github.com/users/avivbr... | true | ||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5486/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/5486 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5486/timeline | json:[] | value:1564059749 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5486 | value:Adding `sep` to TextConfig | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2023-01-31T10:39:53Z | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:NONE | value:https://api.github.com/repos/huggingface/datasets/issues/5486/events | value:False | value:I have a local a `.txt` file that follows the `CONLL2003` format which I need to load using `load_script`. However, by using `sample_by='line'`, one can only split the dataset into lines without splitting each line into columns. Would it be reasonable to add a `sep` argument in combination with `sample_by='paragr... | value:https://api.github.com/repos/huggingface/datasets/issues/5486/comments | value:I_kwDODunzps5dOahl | value:open | value:2 | value:2023-01-31T14:50:18Z | value:https://api.github.com/repos/huggingface/datasets/issues/5486/labels{/name} | value:5486 | json:{"login": "omar-araboghli", "id": 29576434, "node_id": "MDQ6VXNlcjI5NTc2NDM0", "avatar_url": "https://avatars.githubusercontent.com/u/29576434?v=4", "gravatar_id": "", "url": "https://api.github.com/users/omar-araboghli", "html_url": "https://github.com/omar-araboghli", "followers_url": "https://api.github.com/use... | true | |||||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5485/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/5485 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5485/timeline | json:[] | value:1563002829 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5485 | value:Add section in tutorial for IterableDataset | value:2023-01-30T18:43:04Z | 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/5485/events | value:False | value:2023-02-01T18:08:46Z | value:Introduces an `IterableDataset` and how to access it in the tutorial section. It also adds a brief next step section at the end to provide a path for users who want more explanation and a path for users who want something more practical and learn how to preprocess these dataset types. It'll complement the awesome... | value:https://api.github.com/repos/huggingface/datasets/issues/5485/comments | value:PR_kwDODunzps5I2ER2 | value:closed | value:2 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/5485", "html_url": "https://github.com/huggingface/datasets/pull/5485", "diff_url": "https://github.com/huggingface/datasets/pull/5485.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5485.patch", "merged_at": "2023-02-01T18:08:46Z"} | value:2023-02-01T18:15:38Z | value:https://api.github.com/repos/huggingface/datasets/issues/5485/labels{/name} | value:5485 | 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/5484/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/5484 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5484/timeline | json:[] | value:1562877070 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5484 | value:Update docs for `nyu_depth_v2` dataset | value:2023-01-30T17:37:08Z | value:CONTRIBUTOR | json:{"login": "sayakpaul", "id": 22957388, "node_id": "MDQ6VXNlcjIyOTU3Mzg4", "avatar_url": "https://avatars.githubusercontent.com/u/22957388?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sayakpaul", "html_url": "https://github.com/sayakpaul", "followers_url": "https://api.github.com/users/sayakpaul/fo... | value:https://api.github.com/repos/huggingface/datasets/issues/5484/events | value:False | value:2023-02-05T14:15:04Z | value:This PR will fix the issue mentioned in #5461. Here is brief overview,
## Bug:
Discrepancy between depth map of `nyu_depth_v2` dataset [here](https://huggingface.co/docs/datasets/main/en/depth_estimation) and actual depth map. Depth values somehow got **discretized/clipped** resulting in depth maps that are... | value:https://api.github.com/repos/huggingface/datasets/issues/5484/comments | value:PR_kwDODunzps5I1oaq | value:closed | value:6 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/5484", "html_url": "https://github.com/huggingface/datasets/pull/5484", "diff_url": "https://github.com/huggingface/datasets/pull/5484.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5484.patch", "merged_at": "2023-02-05T14:15:04Z"} | value:2023-09-29T06:43:11Z | value:https://api.github.com/repos/huggingface/datasets/issues/5484/labels{/name} | value:5484 | json:{"login": "awsaf49", "id": 36858976, "node_id": "MDQ6VXNlcjM2ODU4OTc2", "avatar_url": "https://avatars.githubusercontent.com/u/36858976?v=4", "gravatar_id": "", "url": "https://api.github.com/users/awsaf49", "html_url": "https://github.com/awsaf49", "followers_url": "https://api.github.com/users/awsaf49/followers"... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5483/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/5483 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5483/timeline | json:[] | value:1560894690 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5483 | value:Unable to upload dataset | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2023-01-28T15:18:26Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:NONE | json:{"login": "yuvalkirstain", "id": 57996478, "node_id": "MDQ6VXNlcjU3OTk2NDc4", "avatar_url": "https://avatars.githubusercontent.com/u/57996478?v=4", "gravatar_id": "", "url": "https://api.github.com/users/yuvalkirstain", "html_url": "https://github.com/yuvalkirstain", "followers_url": "https://api.github.com/users/... | value:https://api.github.com/repos/huggingface/datasets/issues/5483/events | value:False | value:2023-01-29T08:09:49Z | value:### Describe the bug
Uploading a simple dataset ends with an exception
### Steps to reproduce the bug
I created a new conda env with python 3.10, pip installed datasets and:
```python
>>> from datasets import load_dataset, load_from_disk, Dataset
>>> d = Dataset.from_dict({"text": ["hello"] * 2})
>>>... | value:https://api.github.com/repos/huggingface/datasets/issues/5483/comments | value:I_kwDODunzps5dCVzi | value:closed | value:1 | value:2023-01-29T08:09:49Z | value:https://api.github.com/repos/huggingface/datasets/issues/5483/labels{/name} | value:5483 | json:{"login": "yuvalkirstain", "id": 57996478, "node_id": "MDQ6VXNlcjU3OTk2NDc4", "avatar_url": "https://avatars.githubusercontent.com/u/57996478?v=4", "gravatar_id": "", "url": "https://api.github.com/users/yuvalkirstain", "html_url": "https://github.com/yuvalkirstain", "followers_url": "https://api.github.com/users/... | true | ||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5482/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}, {"id": 3761482852, "node_id": "LA_... | json:{"login": "MFreidank", "id": 6368040, "node_id": "MDQ6VXNlcjYzNjgwNDA=", "avatar_url": "https://avatars.githubusercontent.com/u/6368040?v=4", "gravatar_id": "", "url": "https://api.github.com/users/MFreidank", "html_url": "https://github.com/MFreidank", "followers_url": "https://api.github.com/users/MFreidank/foll... | value:https://github.com/huggingface/datasets/issues/5482 | json:[{"login": "MFreidank", "id": 6368040, "node_id": "MDQ6VXNlcjYzNjgwNDA=", "avatar_url": "https://avatars.githubusercontent.com/u/6368040?v=4", "gravatar_id": "", "url": "https://api.github.com/users/MFreidank", "html_url": "https://github.com/MFreidank", "followers_url": "https://api.github.com/users/MFreidank/fol... | value:https://api.github.com/repos/huggingface/datasets/issues/5482/timeline | json:[] | value:1560853137 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5482 | value:Reload features from Parquet metadata | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2023-01-28T13:12:31Z | 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/5482/events | value:False | value:2023-02-12T15:57:02Z | value:The idea would be to allow this :
```python
ds.to_parquet("my_dataset/ds.parquet")
reloaded = load_dataset("my_dataset")
assert ds.features == reloaded.features
```
And it should also work with Image and Audio types (right now they're reloaded as a dict type)
This can be implemented by storing and read... | value:https://api.github.com/repos/huggingface/datasets/issues/5482/comments | value:I_kwDODunzps5dCLqR | value:closed | value:3 | value:2023-02-12T15:57:02Z | value:https://api.github.com/repos/huggingface/datasets/issues/5482/labels{/name} | value:5482 | 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"... | true | |||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5481/reactions", "total_count": 5, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 5, "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": 3761482852, "node_id": "LA_... | value:https://github.com/huggingface/datasets/issues/5481 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5481/timeline | json:[] | value:1560468195 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5481 | value:Load a cached dataset as iterable | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2023-01-27T21:43:51Z | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:MEMBER | value:https://api.github.com/repos/huggingface/datasets/issues/5481/events | value:False | value:The idea would be to allow something like
```python
ds = load_dataset("c4", "en", as_iterable=True)
```
To be used to train models. It would load an IterableDataset from the cached Arrow files.
Cc @stas00
Edit : from the discussions we may load from cache when streaming=True | value:https://api.github.com/repos/huggingface/datasets/issues/5481/comments | value:I_kwDODunzps5dAtrj | value:open | value:23 | value:2026-09-17T20:01:48Z | value:https://api.github.com/repos/huggingface/datasets/issues/5481/labels{/name} | value:5481 | 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"... | true | |||||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5480/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/5480 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5480/timeline | json:[] | value:1560364866 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5480 | value:Select columns of Dataset or DatasetDict | value:2023-01-27T20:06:16Z | 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/5480/events | value:False | value:2023-02-13T09:59:35Z | value:Close #5474 and #5468. | value:https://api.github.com/repos/huggingface/datasets/issues/5480/comments | value:PR_kwDODunzps5ItY2y | value:closed | value:2 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/5480", "html_url": "https://github.com/huggingface/datasets/pull/5480", "diff_url": "https://github.com/huggingface/datasets/pull/5480.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5480.patch", "merged_at": "2023-02-13T09:59:35Z"} | value:2023-02-13T11:10:13Z | value:https://api.github.com/repos/huggingface/datasets/issues/5480/labels{/name} | value:5480 | json:{"login": "daskol", "id": 9336514, "node_id": "MDQ6VXNlcjkzMzY1MTQ=", "avatar_url": "https://avatars.githubusercontent.com/u/9336514?v=4", "gravatar_id": "", "url": "https://api.github.com/users/daskol", "html_url": "https://github.com/daskol", "followers_url": "https://api.github.com/users/daskol/followers", "fol... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5479/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/5479 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5479/timeline | json:[] | value:1560357590 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5479 | value:audiofolder works on local env, but creates empty dataset in a remote one, what dependencies could I be missing/outdated | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2023-01-27T20:01:22Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:NONE | json:{"login": "joseph-y-cho", "id": 107211437, "node_id": "U_kgDOBmPqrQ", "avatar_url": "https://avatars.githubusercontent.com/u/107211437?v=4", "gravatar_id": "", "url": "https://api.github.com/users/joseph-y-cho", "html_url": "https://github.com/joseph-y-cho", "followers_url": "https://api.github.com/users/joseph-y-... | value:https://api.github.com/repos/huggingface/datasets/issues/5479/events | value:False | value:2023-01-29T05:23:14Z | value:### Describe the bug
I'm using a custom audio dataset (400+ audio files) in the correct format for audiofolder. Although loading the dataset with audiofolder works in one local setup, it doesn't in a remote one (it just creates an empty dataset). I have both ffmpeg and libndfile installed on both computers, wh... | value:https://api.github.com/repos/huggingface/datasets/issues/5479/comments | value:I_kwDODunzps5dASrW | value:closed | value:0 | value:2023-01-29T05:23:14Z | value:https://api.github.com/repos/huggingface/datasets/issues/5479/labels{/name} | value:5479 | json:{"login": "joseph-y-cho", "id": 107211437, "node_id": "U_kgDOBmPqrQ", "avatar_url": "https://avatars.githubusercontent.com/u/107211437?v=4", "gravatar_id": "", "url": "https://api.github.com/users/joseph-y-cho", "html_url": "https://github.com/joseph-y-cho", "followers_url": "https://api.github.com/users/joseph-y-... | true | ||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5478/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/5478 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5478/timeline | json:[] | value:1560357583 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5478 | value:Tip for recomputing metadata | value:2023-01-27T20:01:22Z | 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/5478/events | value:False | value:2023-01-30T19:15:26Z | value:From this [feedback](https://discuss.huggingface.co/t/nonmatchingsplitssizeserror/30033) on the forum, thought I'd include a tip for recomputing the metadata numbers if it is your own dataset. | value:https://api.github.com/repos/huggingface/datasets/issues/5478/comments | value:PR_kwDODunzps5ItXQG | value:closed | value:2 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/5478", "html_url": "https://github.com/huggingface/datasets/pull/5478", "diff_url": "https://github.com/huggingface/datasets/pull/5478.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5478.patch", "merged_at": "2023-01-30T19:15:26Z"} | value:2023-01-30T19:22:21Z | value:https://api.github.com/repos/huggingface/datasets/issues/5478/labels{/name} | value:5478 | 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/5477/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/5477 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5477/timeline | json:[] | value:1559909892 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5477 | value:Unpin sqlalchemy once issue is fixed | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2023-01-27T15:01:55Z | 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/5477/events | value:False | value:2024-01-26T14:50:45Z | value:Once the source issue is fixed:
- pandas-dev/pandas#51015
we should revert the pin introduced in:
- #5476 | value:https://api.github.com/repos/huggingface/datasets/issues/5477/comments | value:I_kwDODunzps5c-lYE | value:closed | value:2 | value:2024-01-26T14:50:45Z | value:https://api.github.com/repos/huggingface/datasets/issues/5477/labels{/name} | value:5477 | 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/5476/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/5476 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5476/timeline | json:[] | value:1559594684 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5476 | value:Pin sqlalchemy | value:2023-01-27T11:26:38Z | 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/5476/events | value:False | value:2023-01-27T11:57:48Z | value:since sqlalchemy update to 2.0.0 the CI started to fail: https://github.com/huggingface/datasets/actions/runs/4023742457/jobs/6914976514
the error comes from pandas: https://github.com/pandas-dev/pandas/issues/51015 | value:https://api.github.com/repos/huggingface/datasets/issues/5476/comments | value:PR_kwDODunzps5IqwC_ | value:closed | value:3 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/5476", "html_url": "https://github.com/huggingface/datasets/pull/5476", "diff_url": "https://github.com/huggingface/datasets/pull/5476.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5476.patch", "merged_at": "2023-01-27T11:57:48Z"} | value:2023-01-27T12:06:51Z | value:https://api.github.com/repos/huggingface/datasets/issues/5476/labels{/name} | value:5476 | 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/5475/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/5475 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5475/timeline | json:[] | value:1559030149 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5475 | value:Dataset scan time is much slower than using native arrow | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2023-01-27T01:32:25Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:CONTRIBUTOR | json:{"login": "jonny-cyberhaven", "id": 121845112, "node_id": "U_kgDOB0M1eA", "avatar_url": "https://avatars.githubusercontent.com/u/121845112?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jonny-cyberhaven", "html_url": "https://github.com/jonny-cyberhaven", "followers_url": "https://api.github.com/use... | value:https://api.github.com/repos/huggingface/datasets/issues/5475/events | value:False | value:2023-01-30T16:17:11Z | value:### Describe the bug
I'm basically running the same scanning experiment from the tutorials https://huggingface.co/course/chapter5/4?fw=pt except now I'm comparing to a native pyarrow version.
I'm finding that the native pyarrow approach is much faster (2 orders of magnitude). Is there something I'm missing th... | value:https://api.github.com/repos/huggingface/datasets/issues/5475/comments | value:I_kwDODunzps5c7OmF | value:closed | value:3 | value:2023-01-30T16:17:11Z | value:https://api.github.com/repos/huggingface/datasets/issues/5475/labels{/name} | value:5475 | json:{"login": "jonny-cyberhaven", "id": 121845112, "node_id": "U_kgDOB0M1eA", "avatar_url": "https://avatars.githubusercontent.com/u/121845112?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jonny-cyberhaven", "html_url": "https://github.com/jonny-cyberhaven", "followers_url": "https://api.github.com/use... | true | ||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5474/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/5474 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5474/timeline | json:[] | value:1558827155 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5474 | value:Column project operation on `datasets.Dataset` | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2023-01-26T21:47:53Z | 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/5474/events | value:False | value:2023-02-13T09:59:37Z | value:### Feature request
There is no operation to select a subset of columns of original dataset. Expected API follows.
```python
a = Dataset.from_dict({
'int': [0, 1, 2]
'char': ['a', 'b', 'c'],
'none': [None] * 3,
})
b = a.project('int', 'char') # usually, .select()
print(a.column_names) ... | value:https://api.github.com/repos/huggingface/datasets/issues/5474/comments | value:I_kwDODunzps5c6dCT | value:closed | value:1 | value:2023-02-13T09:59:37Z | value:https://api.github.com/repos/huggingface/datasets/issues/5474/labels{/name} | value:5474 | json:{"login": "daskol", "id": 9336514, "node_id": "MDQ6VXNlcjkzMzY1MTQ=", "avatar_url": "https://avatars.githubusercontent.com/u/9336514?v=4", "gravatar_id": "", "url": "https://api.github.com/users/daskol", "html_url": "https://github.com/daskol", "followers_url": "https://api.github.com/users/daskol/followers", "fol... | true | ||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5473/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/5473 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5473/timeline | json:[] | value:1558668197 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5473 | value:Set dev version | value:2023-01-26T19:34:44Z | 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/5473/events | value:False | value:2023-01-26T19:38:30Z | value:https://api.github.com/repos/huggingface/datasets/issues/5473/comments | value:PR_kwDODunzps5Inm9h | value:closed | value:3 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/5473", "html_url": "https://github.com/huggingface/datasets/pull/5473", "diff_url": "https://github.com/huggingface/datasets/pull/5473.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5473.patch", "merged_at": "2023-01-26T19:38:30Z"} | value:2023-01-26T19:47:34Z | value:https://api.github.com/repos/huggingface/datasets/issues/5473/labels{/name} | value:5473 | 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/5472/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/5472 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5472/timeline | json:[] | value:1558662251 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5472 | value:Release: 2.9.0 | value:2023-01-26T19:29:42Z | 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/5472/events | value:False | value:2023-01-26T19:33:00Z | value:https://api.github.com/repos/huggingface/datasets/issues/5472/comments | value:PR_kwDODunzps5Inlp8 | value:closed | value:4 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/5472", "html_url": "https://github.com/huggingface/datasets/pull/5472", "diff_url": "https://github.com/huggingface/datasets/pull/5472.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5472.patch", "merged_at": "2023-01-26T19:33:00Z"} | value:2023-01-26T19:40:44Z | value:https://api.github.com/repos/huggingface/datasets/issues/5472/labels{/name} | value:5472 | 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/5471/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/5471 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5471/timeline | json:[] | value:1558557545 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5471 | value:Add num_test_batches option | value:2023-01-26T18:09:40Z | value:CONTRIBUTOR | json:{"login": "asartran", "id": 22614925, "node_id": "MDQ6VXNlcjIyNjE0OTI1", "avatar_url": "https://avatars.githubusercontent.com/u/22614925?v=4", "gravatar_id": "", "url": "https://api.github.com/users/asartran", "html_url": "https://github.com/asartran", "followers_url": "https://api.github.com/users/asartran/follow... | value:https://api.github.com/repos/huggingface/datasets/issues/5471/events | value:False | value:2023-01-27T18:08:36Z | value:`to_tf_dataset` calls can be very costly because of the number of test batches drawn during `_get_output_signature`. The test batches are draw in order to estimate the shapes when creating the tensorflow dataset. This is necessary when the shapes can be irregular, but not in cases when the tensor shapes are the s... | value:https://api.github.com/repos/huggingface/datasets/issues/5471/comments | value:PR_kwDODunzps5InPA7 | value:closed | value:4 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/5471", "html_url": "https://github.com/huggingface/datasets/pull/5471", "diff_url": "https://github.com/huggingface/datasets/pull/5471.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5471.patch", "merged_at": "2023-01-27T18:08:36Z"} | value:2023-01-27T18:16:45Z | value:https://api.github.com/repos/huggingface/datasets/issues/5471/labels{/name} | value:5471 | json:{"login": "asartran", "id": 22614925, "node_id": "MDQ6VXNlcjIyNjE0OTI1", "avatar_url": "https://avatars.githubusercontent.com/u/22614925?v=4", "gravatar_id": "", "url": "https://api.github.com/users/asartran", "html_url": "https://github.com/asartran", "followers_url": "https://api.github.com/users/asartran/follow... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5470/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/5470 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5470/timeline | json:[] | value:1558542611 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5470 | value:Update dataset card creation | value:2023-01-26T17:57:51Z | 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/5470/events | value:False | value:2023-01-27T16:20:10Z | value:Encourages users to create a dataset card on the Hub directly with the new metadata ui + import dataset card template instead of telling users to manually create and upload one. | value:https://api.github.com/repos/huggingface/datasets/issues/5470/comments | value:PR_kwDODunzps5InLw9 | value:closed | value:4 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/5470", "html_url": "https://github.com/huggingface/datasets/pull/5470", "diff_url": "https://github.com/huggingface/datasets/pull/5470.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5470.patch", "merged_at": "2023-01-27T16:20:10Z"} | value:2023-01-27T16:27:00Z | value:https://api.github.com/repos/huggingface/datasets/issues/5470/labels{/name} | value:5470 | 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/5469/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/5469 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5469/timeline | json:[] | value:1558346906 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5469 | value:Remove deprecated `shard_size` arg from `.push_to_hub()` | value:2023-01-26T15:40:56Z | value:CONTRIBUTOR | 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... | value:https://api.github.com/repos/huggingface/datasets/issues/5469/events | value:False | value:2023-01-26T17:30:59Z | value:The docstrings say that it was supposed to be deprecated since version 2.4.0, can we remove it? | value:https://api.github.com/repos/huggingface/datasets/issues/5469/comments | value:PR_kwDODunzps5Imhk2 | value:closed | value:2 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/5469", "html_url": "https://github.com/huggingface/datasets/pull/5469", "diff_url": "https://github.com/huggingface/datasets/pull/5469.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5469.patch", "merged_at": "2023-01-26T17:30:59Z"} | value:2023-01-26T17:37:51Z | value:https://api.github.com/repos/huggingface/datasets/issues/5469/labels{/name} | value:5469 | 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... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5468/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}, {"id": 1935892877, "node_id": "MDU... | value:https://github.com/huggingface/datasets/issues/5468 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5468/timeline | json:[] | value:1558066625 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5468 | value:Allow opposite of remove_columns on Dataset and DatasetDict | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2023-01-26T12:28: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/5468/events | value:False | value:2023-02-13T09:59:38Z | value:### Feature request
In this blog post https://huggingface.co/blog/audio-datasets, I noticed the following code:
```python
COLUMNS_TO_KEEP = ["text", "audio"]
all_columns = gigaspeech["train"].column_names
columns_to_remove = set(all_columns) - set(COLUMNS_TO_KEEP)
gigaspeech = gigaspeech.remove_columns(... | value:https://api.github.com/repos/huggingface/datasets/issues/5468/comments | value:I_kwDODunzps5c3jXB | value:closed | value:9 | value:2023-02-13T09:59:38Z | value:https://api.github.com/repos/huggingface/datasets/issues/5468/labels{/name} | value:5468 | json:{"login": "hollance", "id": 346853, "node_id": "MDQ6VXNlcjM0Njg1Mw==", "avatar_url": "https://avatars.githubusercontent.com/u/346853?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hollance", "html_url": "https://github.com/hollance", "followers_url": "https://api.github.com/users/hollance/followers"... | true | ||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5467/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/5467 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5467/timeline | json:[] | value:1557898273 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5467 | value:Fix conda command in readme | value:2023-01-26T10:03: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/5467/events | value:False | value:2023-01-26T18:29:37Z | value:The [conda forge channel](https://anaconda.org/conda-forge/datasets) is lagging behind (as of right now, only 2.7.1 is available), we should recommend using the [Hugging face channel](https://anaconda.org/HuggingFace/datasets) that we are maintaining
```
conda install -c huggingface datasets
``` | value:https://api.github.com/repos/huggingface/datasets/issues/5467/comments | value:PR_kwDODunzps5IlAlk | value:closed | value:4 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/5467", "html_url": "https://github.com/huggingface/datasets/pull/5467", "diff_url": "https://github.com/huggingface/datasets/pull/5467.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5467.patch", "merged_at": null} | value:2023-09-24T10:06:59Z | value:https://api.github.com/repos/huggingface/datasets/issues/5467/labels{/name} | value:5467 | 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/5466/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/5466 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5466/timeline | json:[] | value:1557584845 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5466 | value:remove pathlib.Path with URIs | value:2023-01-26T03:25:45Z | 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/5466/events | value:False | value:2023-01-26T16:59:11Z | value:Pathlib will convert "//" to "/" which causes retry errors when downloading from cloud storage | value:https://api.github.com/repos/huggingface/datasets/issues/5466/comments | value:PR_kwDODunzps5Ij-z1 | value:closed | value:5 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/5466", "html_url": "https://github.com/huggingface/datasets/pull/5466", "diff_url": "https://github.com/huggingface/datasets/pull/5466.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5466.patch", "merged_at": "2023-01-26T16:59:11Z"} | value:2023-01-26T17:08:57Z | value:https://api.github.com/repos/huggingface/datasets/issues/5466/labels{/name} | value:5466 | json:{"login": "jonny-cyberhaven", "id": 121845112, "node_id": "U_kgDOB0M1eA", "avatar_url": "https://avatars.githubusercontent.com/u/121845112?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jonny-cyberhaven", "html_url": "https://github.com/jonny-cyberhaven", "followers_url": "https://api.github.com/use... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5465/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/5465 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5465/timeline | json:[] | value:1557510618 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5465 | value:audiofolder creates empty dataset even though the dataset passed in follows the correct structure | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2023-01-26T01:45:45Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:NONE | json:{"login": "joseph-y-cho", "id": 107211437, "node_id": "U_kgDOBmPqrQ", "avatar_url": "https://avatars.githubusercontent.com/u/107211437?v=4", "gravatar_id": "", "url": "https://api.github.com/users/joseph-y-cho", "html_url": "https://github.com/joseph-y-cho", "followers_url": "https://api.github.com/users/joseph-y-... | value:https://api.github.com/repos/huggingface/datasets/issues/5465/events | value:False | value:2023-01-26T08:48:45Z | value:### Describe the bug
The structure of my dataset folder called "my_dataset" is : data metadata.csv
The data folder consists of all mp3 files and metadata.csv consist of file locations like 'data/...mp3 and transcriptions. There's 400+ mp3 files and corresponding transcriptions for my dataset.
When I run the... | value:https://api.github.com/repos/huggingface/datasets/issues/5465/comments | value:I_kwDODunzps5c1bna | value:closed | value:0 | value:2023-01-26T08:48:45Z | value:https://api.github.com/repos/huggingface/datasets/issues/5465/labels{/name} | value:5465 | json:{"login": "joseph-y-cho", "id": 107211437, "node_id": "U_kgDOBmPqrQ", "avatar_url": "https://avatars.githubusercontent.com/u/107211437?v=4", "gravatar_id": "", "url": "https://api.github.com/users/joseph-y-cho", "html_url": "https://github.com/joseph-y-cho", "followers_url": "https://api.github.com/users/joseph-y-... | true | ||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5464/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/5464 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5464/timeline | json:[] | value:1557462104 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5464 | value:NonMatchingChecksumError for hendrycks_test | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2023-01-26T00:43:23Z | 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/5464/events | value:False | value:2023-01-26T07:41:58Z | value:### Describe the bug
The checksum of the file has likely changed on the remote host.
### Steps to reproduce the bug
`dataset = nlp.load_dataset("hendrycks_test", "anatomy")`
### Expected behavior
no error thrown
### Environment info
- `datasets` version: 2.2.1
- Platform: macOS-13.1-arm64-arm-64bit
... | value:https://api.github.com/repos/huggingface/datasets/issues/5464/comments | value:I_kwDODunzps5c1PxY | value:closed | value:2 | value:2023-01-27T05:44:31Z | value:https://api.github.com/repos/huggingface/datasets/issues/5464/labels{/name} | value:5464 | 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/5463/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/5463 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5463/timeline | json:[] | value:1557021041 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5463 | value:Imagefolder docs: mention support of CSV and ZIP | value:2023-01-25T17:24: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/5463/events | value:False | value:2023-01-25T18:26:15Z | value:https://api.github.com/repos/huggingface/datasets/issues/5463/comments | value:PR_kwDODunzps5IiGWb | value:closed | value:3 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/5463", "html_url": "https://github.com/huggingface/datasets/pull/5463", "diff_url": "https://github.com/huggingface/datasets/pull/5463.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5463.patch", "merged_at": "2023-01-25T18:26:15Z"} | value:2023-01-25T18:33:35Z | value:https://api.github.com/repos/huggingface/datasets/issues/5463/labels{/name} | value:5463 | 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/5462/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/pull/5462 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5462/timeline | json:[] | value:1556572144 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5462 | value:Concatenate on axis=1 with misaligned blocks | value:2023-01-25T12:33:22Z | 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/5462/events | value:False | value:2023-01-26T09:27:19Z | value:Allow to concatenate on axis 1 two tables made of misaligned blocks.
For example if the first table has 2 row blocks of 3 rows each, and the second table has 3 row blocks or 2 rows each.
To do that, I slice the row blocks to re-align the blocks.
Fix https://github.com/huggingface/datasets/issues/5413 | value:https://api.github.com/repos/huggingface/datasets/issues/5462/comments | value:PR_kwDODunzps5Iglqu | value:closed | value:4 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/5462", "html_url": "https://github.com/huggingface/datasets/pull/5462", "diff_url": "https://github.com/huggingface/datasets/pull/5462.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5462.patch", "merged_at": "2023-01-26T09:27:19Z"} | value:2023-01-26T09:37:00Z | value:https://api.github.com/repos/huggingface/datasets/issues/5462/labels{/name} | value:5462 | 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/5461/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/5461 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5461/timeline | json:[] | value:1555532719 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5461 | value:Discrepancy in `nyu_depth_v2` dataset | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2023-01-24T19:15:46Z | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:CONTRIBUTOR | value:https://api.github.com/repos/huggingface/datasets/issues/5461/events | value:False | value:### Describe the bug
I think there is a discrepancy between depth map of `nyu_depth_v2` dataset [here](https://huggingface.co/docs/datasets/main/en/depth_estimation) and actual depth map. Depth values somehow got **discretized/clipped** resulting in depth maps that are different from actual ones. Here is a side-... | value:https://api.github.com/repos/huggingface/datasets/issues/5461/comments | value:I_kwDODunzps5ct4uv | value:open | value:37 | value:2023-02-06T20:52:00Z | value:https://api.github.com/repos/huggingface/datasets/issues/5461/labels{/name} | value:5461 | json:{"login": "awsaf49", "id": 36858976, "node_id": "MDQ6VXNlcjM2ODU4OTc2", "avatar_url": "https://avatars.githubusercontent.com/u/36858976?v=4", "gravatar_id": "", "url": "https://api.github.com/users/awsaf49", "html_url": "https://github.com/awsaf49", "followers_url": "https://api.github.com/users/awsaf49/followers"... | true | |||||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5460/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/5460 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5460/timeline | json:[] | value:1555387532 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5460 | value:Document that removing all the columns returns an empty document and the num_row is lost | value:2023-01-24T17:33:38Z | value:CONTRIBUTOR | json:{"login": "thomasw21", "id": 24695242, "node_id": "MDQ6VXNlcjI0Njk1MjQy", "avatar_url": "https://avatars.githubusercontent.com/u/24695242?v=4", "gravatar_id": "", "url": "https://api.github.com/users/thomasw21", "html_url": "https://github.com/thomasw21", "followers_url": "https://api.github.com/users/thomasw21/fo... | value:https://api.github.com/repos/huggingface/datasets/issues/5460/events | value:False | value:2023-01-25T16:04:03Z | value:https://api.github.com/repos/huggingface/datasets/issues/5460/comments | value:PR_kwDODunzps5Icn9C | value:closed | value:4 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/5460", "html_url": "https://github.com/huggingface/datasets/pull/5460", "diff_url": "https://github.com/huggingface/datasets/pull/5460.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5460.patch", "merged_at": "2023-01-25T16:04:03Z"} | value:2023-01-25T16:11:10Z | value:https://api.github.com/repos/huggingface/datasets/issues/5460/labels{/name} | value:5460 | json:{"login": "thomasw21", "id": 24695242, "node_id": "MDQ6VXNlcjI0Njk1MjQy", "avatar_url": "https://avatars.githubusercontent.com/u/24695242?v=4", "gravatar_id": "", "url": "https://api.github.com/users/thomasw21", "html_url": "https://github.com/thomasw21", "followers_url": "https://api.github.com/users/thomasw21/fo... | value:False | true | ||||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5459/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/5459 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5459/timeline | json:[] | value:1555367504 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5459 | value:Disable aiohttp requoting of redirection URL | value:2023-01-24T17:18:59Z | 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/5459/events | value:False | value:2023-01-31T08:37:54Z | value:The library `aiohttp` performs a requoting of redirection URLs that unquotes the single quotation mark character: `%27` => `'`
This is a problem for our Hugging Face Hub, which requires exact URL from location header.
Specifically, in the query component of the URL (`https://netloc/path?query`), the value f... | value:https://api.github.com/repos/huggingface/datasets/issues/5459/comments | value:PR_kwDODunzps5Icjwe | value:closed | value:7 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/5459", "html_url": "https://github.com/huggingface/datasets/pull/5459", "diff_url": "https://github.com/huggingface/datasets/pull/5459.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5459.patch", "merged_at": "2023-01-31T08:37:54Z"} | value:2024-09-01T18:08:31Z | value:https://api.github.com/repos/huggingface/datasets/issues/5459/labels{/name} | value:5459 | 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/5458/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/issues/5458 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5458/timeline | json:[] | value:1555054737 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5458 | value:slice split while streaming | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2023-01-24T14:08:17Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:NONE | json:{"login": "SvenDS9", "id": 122370631, "node_id": "U_kgDOB0s6Rw", "avatar_url": "https://avatars.githubusercontent.com/u/122370631?v=4", "gravatar_id": "", "url": "https://api.github.com/users/SvenDS9", "html_url": "https://github.com/SvenDS9", "followers_url": "https://api.github.com/users/SvenDS9/followers", "fol... | value:https://api.github.com/repos/huggingface/datasets/issues/5458/events | value:False | value:2023-01-24T15:11:47Z | value:### Describe the bug
When using the `load_dataset` function with streaming set to True, slicing splits is apparently not supported.
Did I miss this in the documentation?
### Steps to reproduce the bug
`load_dataset("lhoestq/demo1",revision=None, streaming=True, split="train[:3]")`
causes ValueError: Bad ... | value:https://api.github.com/repos/huggingface/datasets/issues/5458/comments | value:I_kwDODunzps5csECR | value:closed | value:2 | value:2023-01-24T15:11:47Z | value:https://api.github.com/repos/huggingface/datasets/issues/5458/labels{/name} | value:5458 | json:{"login": "SvenDS9", "id": 122370631, "node_id": "U_kgDOB0s6Rw", "avatar_url": "https://avatars.githubusercontent.com/u/122370631?v=4", "gravatar_id": "", "url": "https://api.github.com/users/SvenDS9", "html_url": "https://github.com/SvenDS9", "followers_url": "https://api.github.com/users/SvenDS9/followers", "fol... | true | ||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5457/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/5457 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5457/timeline | json:[] | value:1554171264 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5457 | value:prebuilt dataset relies on `downloads/extracted` | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2023-01-24T02:09:32Z | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:CONTRIBUTOR | value:https://api.github.com/repos/huggingface/datasets/issues/5457/events | value:False | value:### Describe the bug
I pre-built the dataset:
```
python -c 'import sys; from datasets import load_dataset; ds=load_dataset(sys.argv[1])' HuggingFaceM4/general-pmd-synthetic-testing
```
and it can be used just fine.
now I wipe out `downloads/extracted` and it no longer works.
```
rm -r ~/.cache/huggi... | value:https://api.github.com/repos/huggingface/datasets/issues/5457/comments | value:I_kwDODunzps5cosWA | value:open | value:3 | value:2024-11-18T07:43:51Z | value:https://api.github.com/repos/huggingface/datasets/issues/5457/labels{/name} | value:5457 | json:{"login": "stas00", "id": 10676103, "node_id": "MDQ6VXNlcjEwNjc2MTAz", "avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stas00", "html_url": "https://github.com/stas00", "followers_url": "https://api.github.com/users/stas00/followers", "f... | true | |||||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5456/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/5456 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5456/timeline | json:[] | value:1553905148 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5456 | value:feat: tqdm for `to_parquet` | value:2023-01-23T22:05:38Z | 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/5456/events | value:False | value:2023-01-24T11:17:12Z | value:As described in #5418
I noticed also that the `to_json` function supports multi-workers whereas `to_parquet`, is that not possible/not needed with Parquet or something that hasn't been implemented yet? | value:https://api.github.com/repos/huggingface/datasets/issues/5456/comments | value:PR_kwDODunzps5IXq92 | value:closed | value:2 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/5456", "html_url": "https://github.com/huggingface/datasets/pull/5456", "diff_url": "https://github.com/huggingface/datasets/pull/5456.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5456.patch", "merged_at": "2023-01-24T11:17:12Z"} | value:2023-01-24T11:26:47Z | value:https://api.github.com/repos/huggingface/datasets/issues/5456/labels{/name} | value:5456 | json:{"login": "zanussbaum", "id": 33707069, "node_id": "MDQ6VXNlcjMzNzA3MDY5", "avatar_url": "https://avatars.githubusercontent.com/u/33707069?v=4", "gravatar_id": "", "url": "https://api.github.com/users/zanussbaum", "html_url": "https://github.com/zanussbaum", "followers_url": "https://api.github.com/users/zanussbau... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5455/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/5455 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5455/timeline | json:[] | value:1553040080 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5455 | value:Single TQDM bar in multi-proc map | value:2023-01-23T12:49:40Z | 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/5455/events | value:False | value:2023-02-13T20:16:38Z | value:Use the "shard generator approach with periodic progress updates" (used in `save_to_disk` and multi-proc `load_dataset`) in `Dataset.map` to enable having a single TQDM progress bar in the multi-proc mode.
Closes https://github.com/huggingface/datasets/issues/771, closes https://github.com/huggingface/datasets... | value:https://api.github.com/repos/huggingface/datasets/issues/5455/comments | value:PR_kwDODunzps5IUvAZ | value:closed | value:12 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/5455", "html_url": "https://github.com/huggingface/datasets/pull/5455", "diff_url": "https://github.com/huggingface/datasets/pull/5455.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5455.patch", "merged_at": "2023-02-13T20:16:38Z"} | value:2023-02-13T20:23:34Z | value:https://api.github.com/repos/huggingface/datasets/issues/5455/labels{/name} | value:5455 | 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/5454/reactions", "total_count": 12, "+1": 4, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 8, "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": 2067400324, "node_id": "MDU... | value:https://github.com/huggingface/datasets/issues/5454 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5454/timeline | json:[] | value:1552890419 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5454 | value:Save and resume the state of a DataLoader | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2023-01-23T10:58:54Z | 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/5454/events | value:False | value:2026-09-18T14:09:34Z | value:It would be nice when using `datasets` with a PyTorch DataLoader to be able to resume a training from a DataLoader state (e.g. to resume a training that crashed)
What I have in mind (but lmk if you have other ideas or comments):
For map-style datasets, this requires to have a PyTorch Sampler state that can ... | value:https://api.github.com/repos/huggingface/datasets/issues/5454/comments | value:I_kwDODunzps5cjzoz | value:closed | value:25 | value:2026-09-18T17:56:18Z | value:https://api.github.com/repos/huggingface/datasets/issues/5454/labels{/name} | value:5454 | 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"... | true | ||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5453/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/5453 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5453/timeline | json:[] | value:1552727425 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5453 | value:Fix base directory while extracting insecure TAR files | value:2023-01-23T08:57:40Z | 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/5453/events | value:False | value:2023-01-23T10:10:42Z | value:This PR fixes the extraction of insecure TAR files by changing the base path against which TAR members are compared:
- from: "."
- to: `output_path`
This PR also adds tests for extracting insecure TAR files.
Related to:
- #5441
- #5452
@stas00 please note this PR addresses just one of the issues you ... | value:https://api.github.com/repos/huggingface/datasets/issues/5453/comments | value:PR_kwDODunzps5ITraa | value:closed | value:3 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/5453", "html_url": "https://github.com/huggingface/datasets/pull/5453", "diff_url": "https://github.com/huggingface/datasets/pull/5453.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5453.patch", "merged_at": "2023-01-23T10:10:42Z"} | value:2023-01-24T01:34:20Z | value:https://api.github.com/repos/huggingface/datasets/issues/5453/labels{/name} | value:5453 | 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/5452/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/pull/5452 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5452/timeline | json:[] | value:1552655939 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5452 | value:Swap log messages for symbolic/hard links in tar extractor | value:2023-01-23T07:53:38Z | 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/5452/events | value:False | value:2023-01-23T08:31:17Z | value:The log messages do not match their if-condition. This PR swaps them.
Found while investigating:
- #5441
CC: @lhoestq | value:https://api.github.com/repos/huggingface/datasets/issues/5452/comments | value:PR_kwDODunzps5ITcA3 | value:closed | value:2 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/5452", "html_url": "https://github.com/huggingface/datasets/pull/5452", "diff_url": "https://github.com/huggingface/datasets/pull/5452.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5452.patch", "merged_at": "2023-01-23T08:31:17Z"} | value:2023-01-23T09:40:55Z | value:https://api.github.com/repos/huggingface/datasets/issues/5452/labels{/name} | value:5452 | 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/5451/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/5451 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5451/timeline | json:[] | value:1552336300 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5451 | value:ImageFolder BadZipFile: Bad offset for central directory | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2023-01-22T23:50: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/5451/events | value:False | value:2023-02-10T16:31:36Z | value:### Describe the bug
I'm getting the following exception:
```
lib/python3.10/zipfile.py:1353 in _RealGetContents │
│ │
│ 1350 │ │ # self.start_dir: Position of start of central directory ... | value:https://api.github.com/repos/huggingface/datasets/issues/5451/comments | value:I_kwDODunzps5chsWs | value:closed | value:3 | value:2023-05-23T10:35:48Z | value:https://api.github.com/repos/huggingface/datasets/issues/5451/labels{/name} | value:5451 | json:{"login": "hmartiro", "id": 1524208, "node_id": "MDQ6VXNlcjE1MjQyMDg=", "avatar_url": "https://avatars.githubusercontent.com/u/1524208?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hmartiro", "html_url": "https://github.com/hmartiro", "followers_url": "https://api.github.com/users/hmartiro/follower... | true | ||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/5450/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 1, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/issues/5450 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/5450/timeline | json:[] | value:1551109365 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/5450 | value:to_tf_dataset with a TF collator causes bizarrely persistent slowdown | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2023-01-20T16:08:37Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:MEMBER | 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/5450/events | value:False | value:2023-02-13T14:13:34Z | value:### Describe the bug
This will make more sense if you take a look at [a Colab notebook that reproduces this issue.](https://colab.research.google.com/drive/1rxyeciQFWJTI0WrZ5aojp4Ls1ut18fNH?usp=sharing)
Briefly, there are several datasets that, when you iterate over them with `to_tf_dataset` **and** a data... | value:https://api.github.com/repos/huggingface/datasets/issues/5450/comments | value:I_kwDODunzps5cdAz1 | value:closed | value:7 | value:2023-02-13T14:13:34Z | value:https://api.github.com/repos/huggingface/datasets/issues/5450/labels{/name} | value:5450 | 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/... | true |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.