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