reactions string | labels string | performed_via_github_app string | milestone string | assignee string | html_url string | assignees string | timeline_url string | issue_field_values string | id string | repository_url string | url string | title string | issue_dependencies_summary string | created_at string | state_reason string | type string | sub_issues_summary string | author_association string | closed_by string | events_url string | locked string | closed_at string | pinned_comment string | body string | comments_url string | node_id string | active_lock_reason string | state string | comments string | pull_request string | updated_at string | labels_url string | number string | user string | draft string | is_paul_request bool |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/6898/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/6898 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/6898/timeline | json:[] | value:2294432108 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/6898 | value:Fix YAML error in README files appearing on GitHub | value:2024-05-14T05:21:57Z | value:MEMBER | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:https://api.github.com/repos/huggingface/datasets/issues/6898/events | value:False | value:2024-05-16T14:28:16Z | value:Fix YAML error in README files appearing on GitHub.
See error message:

Fix #6897. | value:https://api.github.com/repos/huggingface/datasets/issues/6898/comments | value:PR_kwDODunzps5vWJ9v | value:closed | value:3 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/6898", "html_url": "https://github.com/huggingface/datasets/pull/6898", "diff_url": "https://github.com/huggingface/datasets/pull/6898.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6898.patch", "merged_at": "2024-05-16T14:28:16Z"} | value:2024-05-16T14:36:57Z | value:https://api.github.com/repos/huggingface/datasets/issues/6898/labels{/name} | value:6898 | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/6897/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:https://github.com/huggingface/datasets/issues/6897 | json:[{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/u... | value:https://api.github.com/repos/huggingface/datasets/issues/6897/timeline | json:[] | value:2293428243 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/6897 | value:datasets template guide :: issue in documentation YAML | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2024-05-13T17:33:59Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:NONE | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:https://api.github.com/repos/huggingface/datasets/issues/6897/events | value:False | value:2024-05-16T14:28:17Z | value:### Describe the bug
There is a YAML error at the top of the page, and I don't think it's supposed to be there
### Steps to reproduce the bug
1. Browse to [this tutorial document](https://github.com/huggingface/datasets/blob/main/templates/README_guide.md)
2. Observe a big red error at the top
3. The rest o... | value:https://api.github.com/repos/huggingface/datasets/issues/6897/comments | value:I_kwDODunzps6IsvAT | value:closed | value:2 | value:2024-05-16T14:28:17Z | value:https://api.github.com/repos/huggingface/datasets/issues/6897/labels{/name} | value:6897 | json:{"login": "bghira", "id": 59658056, "node_id": "MDQ6VXNlcjU5NjU4MDU2", "avatar_url": "https://avatars.githubusercontent.com/u/59658056?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bghira", "html_url": "https://github.com/bghira", "followers_url": "https://api.github.com/users/bghira/followers", "f... | true | |||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/6896/reactions", "total_count": 2, "+1": 2, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/issues/6896 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/6896/timeline | json:[] | value:2293176061 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/6896 | value:Regression bug: `NonMatchingSplitsSizesError` for (possibly) overwritten dataset | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2024-05-13T15:41:57Z | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:NONE | value:https://api.github.com/repos/huggingface/datasets/issues/6896/events | value:False | value:### Describe the bug
While trying to load the dataset `https://huggingface.co/datasets/pysentimiento/spanish-tweets-small`, I get this error:
```python
---------------------------------------------------------------------------
NonMatchingSplitsSizesError Traceback (most recent call last)
[... | value:https://api.github.com/repos/huggingface/datasets/issues/6896/comments | value:I_kwDODunzps6Irxb9 | value:open | value:1 | value:2025-03-25T01:21:06Z | value:https://api.github.com/repos/huggingface/datasets/issues/6896/labels{/name} | value:6896 | json:{"login": "finiteautomata", "id": 167943, "node_id": "MDQ6VXNlcjE2Nzk0Mw==", "avatar_url": "https://avatars.githubusercontent.com/u/167943?v=4", "gravatar_id": "", "url": "https://api.github.com/users/finiteautomata", "html_url": "https://github.com/finiteautomata", "followers_url": "https://api.github.com/users/f... | true | |||||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/6895/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/6895 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/6895/timeline | json:[] | value:2292993156 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/6895 | value:Document that to_json defaults to JSON Lines | value:2024-05-13T14:22:34Z | value:MEMBER | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:https://api.github.com/repos/huggingface/datasets/issues/6895/events | value:False | value:2024-05-16T14:31:26Z | value:Document that `Dataset.to_json` defaults to JSON Lines, by adding explanation in the corresponding docstring.
Fix #6894. | value:https://api.github.com/repos/huggingface/datasets/issues/6895/comments | value:PR_kwDODunzps5vRK8P | value:closed | value:2 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/6895", "html_url": "https://github.com/huggingface/datasets/pull/6895", "diff_url": "https://github.com/huggingface/datasets/pull/6895.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6895.patch", "merged_at": "2024-05-16T14:31:26Z"} | value:2024-05-16T14:37:25Z | value:https://api.github.com/repos/huggingface/datasets/issues/6895/labels{/name} | value:6895 | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/6894/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | 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:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:https://github.com/huggingface/datasets/issues/6894 | json:[{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/u... | value:https://api.github.com/repos/huggingface/datasets/issues/6894/timeline | json:[] | value:2292840226 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/6894 | value:Better document defaults of to_json | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2024-05-13T13:30:54Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:MEMBER | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:https://api.github.com/repos/huggingface/datasets/issues/6894/events | value:False | value:2024-05-16T14:31:27Z | value:Better document defaults of `to_json`: the default format is [JSON-Lines](https://jsonlines.org/).
Related to:
- #6891 | value:https://api.github.com/repos/huggingface/datasets/issues/6894/comments | value:I_kwDODunzps6Iqfci | value:closed | value:0 | value:2024-05-16T14:31:27Z | value:https://api.github.com/repos/huggingface/datasets/issues/6894/labels{/name} | value:6894 | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | true | |||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/6893/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 1, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/6893 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/6893/timeline | json:[] | value:2292677439 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/6893 | value:Close gzipped files properly | value:2024-05-13T12:24:39Z | value:MEMBER | json:{"login": "lhoestq", "id": 42851186, "node_id": "MDQ6VXNlcjQyODUxMTg2", "avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lhoestq", "html_url": "https://github.com/lhoestq", "followers_url": "https://api.github.com/users/lhoestq/followers"... | value:https://api.github.com/repos/huggingface/datasets/issues/6893/events | value:False | value:2024-05-13T13:01:54Z | value:close https://github.com/huggingface/datasets/issues/6877 | value:https://api.github.com/repos/huggingface/datasets/issues/6893/comments | value:PR_kwDODunzps5vQFEv | value:closed | value:3 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/6893", "html_url": "https://github.com/huggingface/datasets/pull/6893", "diff_url": "https://github.com/huggingface/datasets/pull/6893.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6893.patch", "merged_at": "2024-05-13T13:01:54Z"} | value:2024-05-13T13:53:17Z | value:https://api.github.com/repos/huggingface/datasets/issues/6893/labels{/name} | value:6893 | json:{"login": "lhoestq", "id": 42851186, "node_id": "MDQ6VXNlcjQyODUxMTg2", "avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lhoestq", "html_url": "https://github.com/lhoestq", "followers_url": "https://api.github.com/users/lhoestq/followers"... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/6892/reactions", "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/6892 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/6892/timeline | json:[] | value:2291201347 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/6892 | value:Add support for categorical/dictionary types | value:2024-05-12T07:15:08Z | value:CONTRIBUTOR | json:{"login": "lhoestq", "id": 42851186, "node_id": "MDQ6VXNlcjQyODUxMTg2", "avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lhoestq", "html_url": "https://github.com/lhoestq", "followers_url": "https://api.github.com/users/lhoestq/followers"... | value:https://api.github.com/repos/huggingface/datasets/issues/6892/events | value:False | value:2024-06-07T12:20:42Z | value:Arrow has a very useful dictionary/categorical type (https://arrow.apache.org/docs/python/generated/pyarrow.dictionary.html). This data type has significant speed, memory and disk benefits over pa.string() when there are only a few unique text strings in a column.
Unfortunately, huggingface datasets currently ... | value:https://api.github.com/repos/huggingface/datasets/issues/6892/comments | value:PR_kwDODunzps5vLIlp | value:closed | value:3 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/6892", "html_url": "https://github.com/huggingface/datasets/pull/6892", "diff_url": "https://github.com/huggingface/datasets/pull/6892.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6892.patch", "merged_at": "2024-06-07T12:20:42Z"} | value:2024-06-07T15:01:39Z | value:https://api.github.com/repos/huggingface/datasets/issues/6892/labels{/name} | value:6892 | json:{"login": "EthanSteinberg", "id": 342233, "node_id": "MDQ6VXNlcjM0MjIzMw==", "avatar_url": "https://avatars.githubusercontent.com/u/342233?v=4", "gravatar_id": "", "url": "https://api.github.com/users/EthanSteinberg", "html_url": "https://github.com/EthanSteinberg", "followers_url": "https://api.github.com/users/E... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/6891/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:https://github.com/huggingface/datasets/issues/6891 | json:[{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/u... | value:https://api.github.com/repos/huggingface/datasets/issues/6891/timeline | json:[] | value:2291118869 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/6891 | value:Unable to load JSON saved using `to_json` | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2024-05-12T01:02:51Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:NONE | json:{"login": "DarshanDeshpande", "id": 39432636, "node_id": "MDQ6VXNlcjM5NDMyNjM2", "avatar_url": "https://avatars.githubusercontent.com/u/39432636?v=4", "gravatar_id": "", "url": "https://api.github.com/users/DarshanDeshpande", "html_url": "https://github.com/DarshanDeshpande", "followers_url": "https://api.github.c... | value:https://api.github.com/repos/huggingface/datasets/issues/6891/events | value:False | value:2024-05-12T07:02:02Z | value:### Describe the bug
Datasets stored in the JSON format cannot be loaded using `json.load()`
### Steps to reproduce the bug
```
import json
from datasets import load_dataset
dataset = load_dataset("squad")
train_dataset, test_dataset = dataset["train"], dataset["validation"]
test_dataset.to_json("full_d... | value:https://api.github.com/repos/huggingface/datasets/issues/6891/comments | value:I_kwDODunzps6Ij7MV | value:closed | value:2 | value:2024-05-16T14:32:55Z | value:https://api.github.com/repos/huggingface/datasets/issues/6891/labels{/name} | value:6891 | json:{"login": "DarshanDeshpande", "id": 39432636, "node_id": "MDQ6VXNlcjM5NDMyNjM2", "avatar_url": "https://avatars.githubusercontent.com/u/39432636?v=4", "gravatar_id": "", "url": "https://api.github.com/users/DarshanDeshpande", "html_url": "https://github.com/DarshanDeshpande", "followers_url": "https://api.github.c... | true | |||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/6890/reactions", "total_count": 6, "+1": 6, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[{"id": 1935892871, "node_id": "MDU6TGFiZWwxOTM1ODkyODcx", "url": "https://api.github.com/repos/huggingface/datasets/labels/enhancement", "name": "enhancement", "color": "a2eeef", "default": true, "description": "New feature or request", "archived_at": null, "archived_by": null}] | value:https://github.com/huggingface/datasets/issues/6890 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/6890/timeline | json:[] | value:2288699041 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/6890 | value:add `with_transform` and/or `set_transform` to IterableDataset | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2024-05-10T01:00:12Z | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:NONE | value:https://api.github.com/repos/huggingface/datasets/issues/6890/events | value:False | value:### Feature request
when working with a really large dataset it would save us a lot of time (and compute resources) to use either with_transform or the set_transform from the Dataset class instead of waiting for the entire dataset to map
### Motivation
don't want to wait for a really long dataset to map, this ... | value:https://api.github.com/repos/huggingface/datasets/issues/6890/comments | value:I_kwDODunzps6Iasah | value:open | value:0 | value:2024-05-10T01:00:46Z | value:https://api.github.com/repos/huggingface/datasets/issues/6890/labels{/name} | value:6890 | json:{"login": "not-lain", "id": 70411813, "node_id": "MDQ6VXNlcjcwNDExODEz", "avatar_url": "https://avatars.githubusercontent.com/u/70411813?v=4", "gravatar_id": "", "url": "https://api.github.com/users/not-lain", "html_url": "https://github.com/not-lain", "followers_url": "https://api.github.com/users/not-lain/follow... | true | |||||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/6889/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/6889 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/6889/timeline | json:[] | value:2287720539 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/6889 | value:fix bug #6877 | value:2024-05-09T13:38:40Z | value:NONE | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:https://api.github.com/repos/huggingface/datasets/issues/6889/events | value:False | value:2024-05-13T13:35:32Z | value:fix bug #6877 due to maybe f becomes invaild after yield process
the results are below:
Resolving data files: 100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 828/828 [00:01<00:00, 420.41it/s]
Resolving data files: 100%|██... | value:https://api.github.com/repos/huggingface/datasets/issues/6889/comments | value:PR_kwDODunzps5u_hW- | value:closed | value:9 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/6889", "html_url": "https://github.com/huggingface/datasets/pull/6889", "diff_url": "https://github.com/huggingface/datasets/pull/6889.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6889.patch", "merged_at": null} | value:2024-05-13T13:35:32Z | value:https://api.github.com/repos/huggingface/datasets/issues/6889/labels{/name} | value:6889 | json:{"login": "arthasking123", "id": 16257131, "node_id": "MDQ6VXNlcjE2MjU3MTMx", "avatar_url": "https://avatars.githubusercontent.com/u/16257131?v=4", "gravatar_id": "", "url": "https://api.github.com/users/arthasking123", "html_url": "https://github.com/arthasking123", "followers_url": "https://api.github.com/users/... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/6888/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/6888 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/6888/timeline | json:[] | value:2287169676 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/6888 | value:Support WebDataset containing file basenames with dots | value:2024-05-09T08:25:30Z | value:MEMBER | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:https://api.github.com/repos/huggingface/datasets/issues/6888/events | value:False | value:2024-05-10T13:54:06Z | value:Support WebDataset containing file basenames with dots.
Fix #6880. | value:https://api.github.com/repos/huggingface/datasets/issues/6888/comments | value:PR_kwDODunzps5u9omr | value:closed | value:5 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/6888", "html_url": "https://github.com/huggingface/datasets/pull/6888", "diff_url": "https://github.com/huggingface/datasets/pull/6888.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6888.patch", "merged_at": null} | value:2024-05-10T13:54:06Z | value:https://api.github.com/repos/huggingface/datasets/issues/6888/labels{/name} | value:6888 | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/6887/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/issues/6887 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/6887/timeline | json:[] | value:2286786396 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/6887 | value:FAISS load to None | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2024-05-09T02:43:50Z | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:NONE | value:https://api.github.com/repos/huggingface/datasets/issues/6887/events | value:False | value:### Describe the bug
I've use FAISS with Datasets and save to FAISS.
Then load to save FAISS then no error, then ds to None
```python
ds.load_faiss_index('embeddings', 'my_index.faiss')
```
### Steps to reproduce the bug
# 1.
```python
ds_with_embeddings = ds.map(lambda example: {'embeddings': model(... | value:https://api.github.com/repos/huggingface/datasets/issues/6887/comments | value:I_kwDODunzps6ITZdc | value:open | value:1 | value:2024-05-16T20:44:23Z | value:https://api.github.com/repos/huggingface/datasets/issues/6887/labels{/name} | value:6887 | json:{"login": "brainer3220", "id": 40418544, "node_id": "MDQ6VXNlcjQwNDE4NTQ0", "avatar_url": "https://avatars.githubusercontent.com/u/40418544?v=4", "gravatar_id": "", "url": "https://api.github.com/users/brainer3220", "html_url": "https://github.com/brainer3220", "followers_url": "https://api.github.com/users/braine... | true | |||||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/6886/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/issues/6886 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/6886/timeline | json:[] | value:2286328984 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/6886 | value:load_dataset with data_dir and cache_dir set fail with not supported | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2024-05-08T19:52:35Z | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:NONE | value:https://api.github.com/repos/huggingface/datasets/issues/6886/events | value:False | value:### Describe the bug
with python 3.11 I execute:
```py
from transformers import Wav2Vec2Processor, Data2VecAudioModel
import torch
from torch import nn
from datasets import load_dataset, concatenate_datasets
# load demo audio and set processor
dataset_clean = load_dataset("librispeech_asr", "clean", s... | value:https://api.github.com/repos/huggingface/datasets/issues/6886/comments | value:I_kwDODunzps6IRpyY | value:open | value:0 | value:2024-05-08T19:58:11Z | value:https://api.github.com/repos/huggingface/datasets/issues/6886/labels{/name} | value:6886 | json:{"login": "fah", "id": 322496, "node_id": "MDQ6VXNlcjMyMjQ5Ng==", "avatar_url": "https://avatars.githubusercontent.com/u/322496?v=4", "gravatar_id": "", "url": "https://api.github.com/users/fah", "html_url": "https://github.com/fah", "followers_url": "https://api.github.com/users/fah/followers", "following_url": "... | true | |||||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/6885/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/6885 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/6885/timeline | json:[] | value:2285115400 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/6885 | value:Support jax 0.4.27 in CI tests | value:2024-05-08T09:19:37Z | value:MEMBER | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:https://api.github.com/repos/huggingface/datasets/issues/6885/events | value:False | value:2024-05-08T09:35:16Z | value:Support jax 0.4.27 in CI tests by using jax Array `devices` method instead of `device` (which no longer exists).
Fix #6884. | value:https://api.github.com/repos/huggingface/datasets/issues/6885/comments | value:PR_kwDODunzps5u2urB | value:closed | value:2 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/6885", "html_url": "https://github.com/huggingface/datasets/pull/6885", "diff_url": "https://github.com/huggingface/datasets/pull/6885.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6885.patch", "merged_at": "2024-05-08T09:35:16Z"} | value:2024-05-08T09:43:19Z | value:https://api.github.com/repos/huggingface/datasets/issues/6885/labels{/name} | value:6885 | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/6884/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[{"id": 1935892857, "node_id": "MDU6TGFiZWwxOTM1ODkyODU3", "url": "https://api.github.com/repos/huggingface/datasets/labels/bug", "name": "bug", "color": "d73a4a", "default": true, "description": "Something isn't working", "archived_at": null, "archived_by": null}] | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:https://github.com/huggingface/datasets/issues/6884 | json:[{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/u... | value:https://api.github.com/repos/huggingface/datasets/issues/6884/timeline | json:[] | value:2284839687 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/6884 | value:CI is broken after jax-0.4.27 release: AttributeError: 'jaxlib.xla_extension.DeviceList' object has no attribute 'device' | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2024-05-08T07:01:47Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:MEMBER | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:https://api.github.com/repos/huggingface/datasets/issues/6884/events | value:False | value:2024-05-08T09:35:17Z | value:After jax-0.4.27 release (https://github.com/google/jax/releases/tag/jax-v0.4.27), our CI is broken with the error:
```Python traceback
AttributeError: 'jaxlib.xla_extension.DeviceList' object has no attribute 'device'. Did you mean: 'devices'?
```
See: https://github.com/huggingface/datasets/actions/runs/8... | value:https://api.github.com/repos/huggingface/datasets/issues/6884/comments | value:I_kwDODunzps6IL-MH | value:closed | value:0 | value:2024-05-08T09:35:17Z | value:https://api.github.com/repos/huggingface/datasets/issues/6884/labels{/name} | value:6884 | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | true | |||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/6883/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/6883 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/6883/timeline | json:[] | value:2284808399 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/6883 | value:Require Pillow >= 9.4.0 to avoid AttributeError when loading image dataset | value:2024-05-08T06:43:29Z | value:MEMBER | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:https://api.github.com/repos/huggingface/datasets/issues/6883/events | value:False | value:2024-05-16T14:34:02Z | value:Require Pillow >= 9.4.0 to avoid AttributeError when loading image dataset.
The `PIL.Image.ExifTags` that we use in our code was implemented in Pillow-9.4.0: https://github.com/python-pillow/Pillow/commit/24a5405a9f7ea22f28f9c98b3e407292ea5ee1d3
The bug #6881 was introduced in datasets-2.19.0 by this PR:
-... | value:https://api.github.com/repos/huggingface/datasets/issues/6883/comments | value:PR_kwDODunzps5u1sL1 | value:closed | value:10 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/6883", "html_url": "https://github.com/huggingface/datasets/pull/6883", "diff_url": "https://github.com/huggingface/datasets/pull/6883.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6883.patch", "merged_at": "2024-05-16T14:34:02Z"} | value:2024-08-28T13:13:57Z | value:https://api.github.com/repos/huggingface/datasets/issues/6883/labels{/name} | value:6883 | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/6882/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/issues/6882 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/6882/timeline | json:[] | value:2284803158 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/6882 | value:Connection Error When Using By-pass Proxies | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2024-05-08T06:40:14Z | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:NONE | value:https://api.github.com/repos/huggingface/datasets/issues/6882/events | value:False | value:### Describe the bug
I'm currently using Clash for Windows as my proxy tunnel, after exporting HTTP_PROXY and HTTPS_PROXY to the port that clash provides🤔, it runs into a connection error saying "Couldn't reach https://raw.githubusercontent.com/huggingface/datasets/2.19.1/metrics/seqeval/seqeval.py (ConnectionE... | value:https://api.github.com/repos/huggingface/datasets/issues/6882/comments | value:I_kwDODunzps6IL1RW | value:open | value:1 | value:2024-05-17T06:38:30Z | value:https://api.github.com/repos/huggingface/datasets/issues/6882/labels{/name} | value:6882 | json:{"login": "MRNOBODY-ZST", "id": 78351684, "node_id": "MDQ6VXNlcjc4MzUxNjg0", "avatar_url": "https://avatars.githubusercontent.com/u/78351684?v=4", "gravatar_id": "", "url": "https://api.github.com/users/MRNOBODY-ZST", "html_url": "https://github.com/MRNOBODY-ZST", "followers_url": "https://api.github.com/users/MRN... | true | |||||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/6881/reactions", "total_count": 3, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 1, "heart": 0, "rocket": 0, "eyes": 2} | json:[{"id": 1935892857, "node_id": "MDU6TGFiZWwxOTM1ODkyODU3", "url": "https://api.github.com/repos/huggingface/datasets/labels/bug", "name": "bug", "color": "d73a4a", "default": true, "description": "Something isn't working", "archived_at": null, "archived_by": null}] | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:https://github.com/huggingface/datasets/issues/6881 | json:[{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/u... | value:https://api.github.com/repos/huggingface/datasets/issues/6881/timeline | json:[] | value:2284794009 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/6881 | value:AttributeError: module 'PIL.Image' has no attribute 'ExifTags' | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2024-05-08T06:33:57Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:MEMBER | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:https://api.github.com/repos/huggingface/datasets/issues/6881/events | value:False | value:2024-05-16T14:34:03Z | value:When trying to load an image dataset in an old Python environment (with Pillow-8.4.0), an error is raised:
```Python traceback
AttributeError: module 'PIL.Image' has no attribute 'ExifTags'
```
The error traceback:
```Python traceback
~/huggingface/datasets/src/datasets/iterable_dataset.py in __iter__(self)... | value:https://api.github.com/repos/huggingface/datasets/issues/6881/comments | value:I_kwDODunzps6ILzCZ | value:closed | value:3 | value:2024-07-18T06:49:30Z | value:https://api.github.com/repos/huggingface/datasets/issues/6881/labels{/name} | value:6881 | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | true | |||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/6880/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:https://github.com/huggingface/datasets/issues/6880 | json:[{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/u... | value:https://api.github.com/repos/huggingface/datasets/issues/6880/timeline | json:[] | value:2283278337 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/6880 | value:Webdataset: KeyError: 'png' on some datasets when streaming | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2024-05-07T13:09:02Z | value:reopened | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:MEMBER | value:https://api.github.com/repos/huggingface/datasets/issues/6880/events | value:False | value:reported at https://huggingface.co/datasets/tbone5563/tar_images/discussions/1
```python
>>> from datasets import load_dataset
>>> ds = load_dataset("tbone5563/tar_images")
Downloading data: 100%
1.41G/1.41G [00:48<00:00, 17.2MB/s]
Downloading data: 100%
619M/619M [00:11<00:00, 57.4MB/s]
Generating tr... | value:https://api.github.com/repos/huggingface/datasets/issues/6880/comments | value:I_kwDODunzps6IGBAB | value:open | value:5 | value:2024-05-14T20:34:05Z | value:https://api.github.com/repos/huggingface/datasets/issues/6880/labels{/name} | value:6880 | json:{"login": "lhoestq", "id": 42851186, "node_id": "MDQ6VXNlcjQyODUxMTg2", "avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lhoestq", "html_url": "https://github.com/lhoestq", "followers_url": "https://api.github.com/users/lhoestq/followers"... | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/6879/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/issues/6879 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/6879/timeline | json:[] | value:2282968259 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/6879 | value:Batched mapping does not raise an error if values for an existing column are empty | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2024-05-07T11:02:40Z | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:NONE | value:https://api.github.com/repos/huggingface/datasets/issues/6879/events | value:False | value:### Describe the bug
Using `Dataset.map(fn, batched=True)` allows resizing the dataset by returning a dict of lists, all of which must be the same size. If they are not the same size, an error like `pyarrow.lib.ArrowInvalid: Column 1 named x expected length 1 but got length 0` is raised.
This is not the case ... | value:https://api.github.com/repos/huggingface/datasets/issues/6879/comments | value:I_kwDODunzps6IE1TD | value:open | value:0 | value:2024-05-07T11:02:40Z | value:https://api.github.com/repos/huggingface/datasets/issues/6879/labels{/name} | value:6879 | json:{"login": "felix-schneider", "id": 208336, "node_id": "MDQ6VXNlcjIwODMzNg==", "avatar_url": "https://avatars.githubusercontent.com/u/208336?v=4", "gravatar_id": "", "url": "https://api.github.com/users/felix-schneider", "html_url": "https://github.com/felix-schneider", "followers_url": "https://api.github.com/user... | true | |||||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/6878/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/6878 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/6878/timeline | json:[] | value:2282879491 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/6878 | value:Create function to convert to parquet | value:2024-05-07T10:27:07Z | value:MEMBER | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:https://api.github.com/repos/huggingface/datasets/issues/6878/events | value:False | value:2024-05-16T14:38:23Z | value:Analogously with `delete_from_hub`, this PR:
- creates the Python function `convert_to_parquet`
- makes the corresponding CLI command use that function.
This way, the functionality can be used both from a terminal and from a Python console.
This PR also implements a test for convert_to_parquet function. | value:https://api.github.com/repos/huggingface/datasets/issues/6878/comments | value:PR_kwDODunzps5uviBh | value:closed | value:2 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/6878", "html_url": "https://github.com/huggingface/datasets/pull/6878", "diff_url": "https://github.com/huggingface/datasets/pull/6878.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6878.patch", "merged_at": "2024-05-16T14:38:22Z"} | value:2024-05-16T14:46:44Z | value:https://api.github.com/repos/huggingface/datasets/issues/6878/labels{/name} | value:6878 | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/6877/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[{"id": 1935892857, "node_id": "MDU6TGFiZWwxOTM1ODkyODU3", "url": "https://api.github.com/repos/huggingface/datasets/labels/bug", "name": "bug", "color": "d73a4a", "default": true, "description": "Something isn't working", "archived_at": null, "archived_by": null}] | value:https://github.com/huggingface/datasets/issues/6877 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/6877/timeline | json:[] | value:2282068337 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/6877 | value:OSError: [Errno 24] Too many open files | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2024-05-07T01:15:09Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:NONE | json:{"login": "lhoestq", "id": 42851186, "node_id": "MDQ6VXNlcjQyODUxMTg2", "avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lhoestq", "html_url": "https://github.com/lhoestq", "followers_url": "https://api.github.com/users/lhoestq/followers"... | value:https://api.github.com/repos/huggingface/datasets/issues/6877/events | value:False | value:2024-05-13T13:01:55Z | value:### Describe the bug
I am trying to load the 'default' subset of the following dataset which contains lots of files (828 per split): [https://huggingface.co/datasets/mteb/biblenlp-corpus-mmteb](https://huggingface.co/datasets/mteb/biblenlp-corpus-mmteb)
When trying to load it using the `load_dataset` function... | value:https://api.github.com/repos/huggingface/datasets/issues/6877/comments | value:I_kwDODunzps6IBZlx | value:closed | value:5 | value:2024-06-02T14:22:23Z | value:https://api.github.com/repos/huggingface/datasets/issues/6877/labels{/name} | value:6877 | json:{"login": "loicmagne", "id": 53355258, "node_id": "MDQ6VXNlcjUzMzU1MjU4", "avatar_url": "https://avatars.githubusercontent.com/u/53355258?v=4", "gravatar_id": "", "url": "https://api.github.com/users/loicmagne", "html_url": "https://github.com/loicmagne", "followers_url": "https://api.github.com/users/loicmagne/fo... | true | ||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/6876/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/6876 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/6876/timeline | json:[] | value:2281450743 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/6876 | value:Unpin hfh | value:2024-05-06T18:10:49Z | value:MEMBER | json:{"login": "lhoestq", "id": 42851186, "node_id": "MDQ6VXNlcjQyODUxMTg2", "avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lhoestq", "html_url": "https://github.com/lhoestq", "followers_url": "https://api.github.com/users/lhoestq/followers"... | value:https://api.github.com/repos/huggingface/datasets/issues/6876/events | value:False | value:2024-05-27T10:14:40Z | value:Needed to use those in dataset-viewer:
- dev version of hfh https://github.com/huggingface/dataset-viewer/pull/2781: don't span the hub with /paths-info requests
- dev version of datasets at https://github.com/huggingface/datasets/pull/6875: don't write too big logs in the viewer
close https://github.com/h... | value:https://api.github.com/repos/huggingface/datasets/issues/6876/comments | value:PR_kwDODunzps5uqs46 | value:closed | value:12 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/6876", "html_url": "https://github.com/huggingface/datasets/pull/6876", "diff_url": "https://github.com/huggingface/datasets/pull/6876.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6876.patch", "merged_at": "2024-05-27T10:14:40Z"} | value:2024-05-27T10:20:42Z | value:https://api.github.com/repos/huggingface/datasets/issues/6876/labels{/name} | value:6876 | json:{"login": "lhoestq", "id": 42851186, "node_id": "MDQ6VXNlcjQyODUxMTg2", "avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lhoestq", "html_url": "https://github.com/lhoestq", "followers_url": "https://api.github.com/users/lhoestq/followers"... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/6875/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/6875 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/6875/timeline | json:[] | value:2281428826 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/6875 | value:Shorten long logs | value:2024-05-06T17:57:07Z | value:MEMBER | json:{"login": "lhoestq", "id": 42851186, "node_id": "MDQ6VXNlcjQyODUxMTg2", "avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lhoestq", "html_url": "https://github.com/lhoestq", "followers_url": "https://api.github.com/users/lhoestq/followers"... | value:https://api.github.com/repos/huggingface/datasets/issues/6875/events | value:False | value:2024-05-07T12:25:45Z | value:Some datasets may have unexpectedly long features/types (e.g. if the files are not formatted correctly).
In that case we should still be able to log something readable | value:https://api.github.com/repos/huggingface/datasets/issues/6875/comments | value:PR_kwDODunzps5uqoJ_ | value:closed | value:2 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/6875", "html_url": "https://github.com/huggingface/datasets/pull/6875", "diff_url": "https://github.com/huggingface/datasets/pull/6875.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6875.patch", "merged_at": "2024-05-07T12:25:45Z"} | value:2024-05-07T12:31:46Z | value:https://api.github.com/repos/huggingface/datasets/issues/6875/labels{/name} | value:6875 | json:{"login": "lhoestq", "id": 42851186, "node_id": "MDQ6VXNlcjQyODUxMTg2", "avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lhoestq", "html_url": "https://github.com/lhoestq", "followers_url": "https://api.github.com/users/lhoestq/followers"... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/6874/reactions", "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/6874 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/6874/timeline | json:[] | value:2280717233 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/6874 | value:Use pandas ujson in JSON loader to improve performance | value:2024-05-06T12:01:27Z | value:MEMBER | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:https://api.github.com/repos/huggingface/datasets/issues/6874/events | value:False | value:2024-05-17T16:22:27Z | value:Use pandas ujson in JSON loader to improve performance.
Note that `datasets` has `pandas` as required dependency. And `pandas` includes `ujson` in `pd.io.json.ujson_loads`.
Fix #6867.
CC: @natolambert | value:https://api.github.com/repos/huggingface/datasets/issues/6874/comments | value:PR_kwDODunzps5uoOk- | value:closed | value:4 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/6874", "html_url": "https://github.com/huggingface/datasets/pull/6874", "diff_url": "https://github.com/huggingface/datasets/pull/6874.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6874.patch", "merged_at": "2024-05-17T16:22:27Z"} | value:2024-05-17T16:28:29Z | value:https://api.github.com/repos/huggingface/datasets/issues/6874/labels{/name} | value:6874 | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/6873/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/6873 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/6873/timeline | json:[] | value:2280463182 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/6873 | value:Set dev version | value:2024-05-06T09:43:18Z | value:MEMBER | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:https://api.github.com/repos/huggingface/datasets/issues/6873/events | value:False | value:2024-05-06T09:57:12Z | value:https://api.github.com/repos/huggingface/datasets/issues/6873/comments | value:PR_kwDODunzps5unXnq | value:closed | value:2 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/6873", "html_url": "https://github.com/huggingface/datasets/pull/6873", "diff_url": "https://github.com/huggingface/datasets/pull/6873.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6873.patch", "merged_at": "2024-05-06T09:57:12Z"} | value:2024-05-06T10:03:19Z | value:https://api.github.com/repos/huggingface/datasets/issues/6873/labels{/name} | value:6873 | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:False | true | ||||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/6872/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/6872 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/6872/timeline | json:[] | value:2280438432 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/6872 | value:Release 2.19.1 | value:2024-05-06T09:29:15Z | value:MEMBER | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:https://api.github.com/repos/huggingface/datasets/issues/6872/events | value:False | value:2024-05-06T09:35:32Z | value:https://api.github.com/repos/huggingface/datasets/issues/6872/comments | value:PR_kwDODunzps5unSPA | value:closed | value:0 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/6872", "html_url": "https://github.com/huggingface/datasets/pull/6872", "diff_url": "https://github.com/huggingface/datasets/pull/6872.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6872.patch", "merged_at": "2024-05-06T09:35:32Z"} | value:2024-05-06T09:35:33Z | value:https://api.github.com/repos/huggingface/datasets/issues/6872/labels{/name} | value:6872 | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:False | true | ||||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/6871/reactions", "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/6871 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/6871/timeline | json:[] | value:2280102869 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/6871 | value:Fix download for dict of dicts of URLs | value:2024-05-06T06:06:52Z | value:MEMBER | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:https://api.github.com/repos/huggingface/datasets/issues/6871/events | value:False | value:2024-05-06T09:25:52Z | value:Fix download for a dict of dicts of URLs when batched (default), introduced by:
- #6794
This PR also implements regression tests.
Fix #6869, fix #6850. | value:https://api.github.com/repos/huggingface/datasets/issues/6871/comments | value:PR_kwDODunzps5umJS6 | value:closed | value:4 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/6871", "html_url": "https://github.com/huggingface/datasets/pull/6871", "diff_url": "https://github.com/huggingface/datasets/pull/6871.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6871.patch", "merged_at": "2024-05-06T09:25:52Z"} | value:2024-05-06T09:32:03Z | value:https://api.github.com/repos/huggingface/datasets/issues/6871/labels{/name} | value:6871 | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/6870/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/6870 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/6870/timeline | json:[] | value:2280084008 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/6870 | value:Update tqdm >= 4.66.3 to fix vulnerability | value:2024-05-06T05:49:36Z | value:MEMBER | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:https://api.github.com/repos/huggingface/datasets/issues/6870/events | value:False | value:2024-05-06T06:02:00Z | value:Update tqdm >= 4.66.3 to fix vulnerability, | value:https://api.github.com/repos/huggingface/datasets/issues/6870/comments | value:PR_kwDODunzps5umFOL | value:closed | value:2 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/6870", "html_url": "https://github.com/huggingface/datasets/pull/6870", "diff_url": "https://github.com/huggingface/datasets/pull/6870.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6870.patch", "merged_at": "2024-05-06T06:02:00Z"} | value:2024-05-06T06:08:06Z | value:https://api.github.com/repos/huggingface/datasets/issues/6870/labels{/name} | value:6870 | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/6869/reactions", "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[{"id": 1935892857, "node_id": "MDU6TGFiZWwxOTM1ODkyODU3", "url": "https://api.github.com/repos/huggingface/datasets/labels/bug", "name": "bug", "color": "d73a4a", "default": true, "description": "Something isn't working", "archived_at": null, "archived_by": null}] | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:https://github.com/huggingface/datasets/issues/6869 | json:[{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/u... | value:https://api.github.com/repos/huggingface/datasets/issues/6869/timeline | json:[] | value:2280048297 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/6869 | value:Download is broken for dict of dicts: FileNotFoundError | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2024-05-06T05:13:36Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:MEMBER | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:https://api.github.com/repos/huggingface/datasets/issues/6869/events | value:False | value:2024-05-06T09:25:53Z | value:It seems there is a bug when downloading a dict of dicts of URLs introduced by:
- #6794
## Steps to reproduce the bug:
```python
from datasets import DownloadManager
dl_manager = DownloadManager()
paths = dl_manager.download({"train": {"frr": "hf://datasets/wikimedia/wikipedia/20231101.frr/train-00000-o... | value:https://api.github.com/repos/huggingface/datasets/issues/6869/comments | value:I_kwDODunzps6H5sap | value:closed | value:0 | value:2024-05-06T09:25:53Z | value:https://api.github.com/repos/huggingface/datasets/issues/6869/labels{/name} | value:6869 | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | true | |||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/6868/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/issues/6868 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/6868/timeline | json:[] | value:2279385159 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/6868 | value:datasets.BuilderConfig does not work. | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2024-05-05T08:08:55Z | value:not_planned | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:NONE | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:https://api.github.com/repos/huggingface/datasets/issues/6868/events | value:False | value:2024-05-05T12:15:01Z | value:### Describe the bug
I custom a BuilderConfig and GeneratorBasedBuilder.
Here is the code for BuilderConfig
```
class UIEConfig(datasets.BuilderConfig):
def __init__(
self,
*args,
data_dir=None,
instruction_file=None,
instruction_strategy... | value:https://api.github.com/repos/huggingface/datasets/issues/6868/comments | value:I_kwDODunzps6H3KhH | value:closed | value:1 | value:2024-05-05T12:15:02Z | value:https://api.github.com/repos/huggingface/datasets/issues/6868/labels{/name} | value:6868 | json:{"login": "jdm4pku", "id": 148830652, "node_id": "U_kgDOCN75vA", "avatar_url": "https://avatars.githubusercontent.com/u/148830652?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jdm4pku", "html_url": "https://github.com/jdm4pku", "followers_url": "https://api.github.com/users/jdm4pku/followers", "fol... | true | ||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/6867/reactions", "total_count": 3, "+1": 3, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[{"id": 1935892871, "node_id": "MDU6TGFiZWwxOTM1ODkyODcx", "url": "https://api.github.com/repos/huggingface/datasets/labels/enhancement", "name": "enhancement", "color": "a2eeef", "default": true, "description": "New feature or request", "archived_at": null, "archived_by": null}] | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:https://github.com/huggingface/datasets/issues/6867 | json:[{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/u... | value:https://api.github.com/repos/huggingface/datasets/issues/6867/timeline | json:[] | value:2279059787 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/6867 | value:Improve performance of JSON loader | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2024-05-04T15:04:16Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:MEMBER | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:https://api.github.com/repos/huggingface/datasets/issues/6867/events | value:False | value:2024-05-17T16:22:28Z | value:As reported by @natolambert, loading regular JSON files with `datasets` shows poor performance.
The cause is that we use the `json` Python standard library instead of other faster libraries. See my old comment: https://github.com/huggingface/datasets/pull/2638#pullrequestreview-706983714
> There are benchmark... | value:https://api.github.com/repos/huggingface/datasets/issues/6867/comments | value:I_kwDODunzps6H17FL | value:closed | value:5 | value:2024-05-17T16:22:28Z | value:https://api.github.com/repos/huggingface/datasets/issues/6867/labels{/name} | value:6867 | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | true | |||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/6866/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:https://github.com/huggingface/datasets/issues/6866 | json:[{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/u... | value:https://api.github.com/repos/huggingface/datasets/issues/6866/timeline | json:[] | value:2278736221 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/6866 | value:DataFilesNotFoundError for datasets in the open-llm-leaderboard | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2024-05-04T04:59:00Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:NONE | json:{"login": "jerome-white", "id": 6140840, "node_id": "MDQ6VXNlcjYxNDA4NDA=", "avatar_url": "https://avatars.githubusercontent.com/u/6140840?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jerome-white", "html_url": "https://github.com/jerome-white", "followers_url": "https://api.github.com/users/jerom... | value:https://api.github.com/repos/huggingface/datasets/issues/6866/events | value:False | value:2024-05-14T08:09:56Z | value:### Describe the bug
When trying to get config names or load any dataset within the open-llm-leaderboard ecosystem (`open-llm-leaderboard/details_`) I receive the DataFilesNotFoundError. For the last month or so I've been loading datasets from the leaderboard almost everyday; yesterday was the first time I start... | value:https://api.github.com/repos/huggingface/datasets/issues/6866/comments | value:I_kwDODunzps6H0sFd | value:closed | value:3 | value:2024-05-14T08:09:56Z | value:https://api.github.com/repos/huggingface/datasets/issues/6866/labels{/name} | value:6866 | json:{"login": "jerome-white", "id": 6140840, "node_id": "MDQ6VXNlcjYxNDA4NDA=", "avatar_url": "https://avatars.githubusercontent.com/u/6140840?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jerome-white", "html_url": "https://github.com/jerome-white", "followers_url": "https://api.github.com/users/jerom... | true | |||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/6865/reactions", "total_count": 3, "+1": 3, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | json:{"login": "jinchuntan", "id": 79140620, "node_id": "MDQ6VXNlcjc5MTQwNjIw", "avatar_url": "https://avatars.githubusercontent.com/u/79140620?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jinchuntan", "html_url": "https://github.com/jinchuntan", "followers_url": "https://api.github.com/users/jinchunta... | value:https://github.com/huggingface/datasets/issues/6865 | json:[{"login": "jinchuntan", "id": 79140620, "node_id": "MDQ6VXNlcjc5MTQwNjIw", "avatar_url": "https://avatars.githubusercontent.com/u/79140620?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jinchuntan", "html_url": "https://github.com/jinchuntan", "followers_url": "https://api.github.com/users/jinchunt... | value:https://api.github.com/repos/huggingface/datasets/issues/6865/timeline | json:[] | value:2277304832 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/6865 | value:Example on Semantic segmentation contains bug | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2024-05-03T09:40:12Z | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:NONE | value:https://api.github.com/repos/huggingface/datasets/issues/6865/events | value:False | value:### Describe the bug
https://huggingface.co/docs/datasets/en/semantic_segmentation shows wrong example with torchvision transforms.
Specifically, as one can see in screenshot below, the object boundaries have weird colors.
<img width="689" alt="image" src="https://github.com/huggingface/datasets/assets/4803... | value:https://api.github.com/repos/huggingface/datasets/issues/6865/comments | value:I_kwDODunzps6HvOoA | value:open | value:1 | value:2026-10-18T02:46:13Z | value:https://api.github.com/repos/huggingface/datasets/issues/6865/labels{/name} | value:6865 | json:{"login": "ducha-aiki", "id": 4803565, "node_id": "MDQ6VXNlcjQ4MDM1NjU=", "avatar_url": "https://avatars.githubusercontent.com/u/4803565?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ducha-aiki", "html_url": "https://github.com/ducha-aiki", "followers_url": "https://api.github.com/users/ducha-aiki/... | true | ||||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/6864/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:https://github.com/huggingface/datasets/issues/6864 | json:[{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/u... | value:https://api.github.com/repos/huggingface/datasets/issues/6864/timeline | json:[] | value:2276986981 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/6864 | value:Dataset 'rewardsignal/reddit_writing_prompts' doesn't exist on the Hub | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2024-05-03T06:03:30Z | value:not_planned | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:NONE | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:https://api.github.com/repos/huggingface/datasets/issues/6864/events | value:False | value:2024-05-06T06:36:41Z | value:### Describe the bug
The dataset `rewardsignal/reddit_writing_prompts` is missing in Huggingface Hub.
### Steps to reproduce the bug
```
from datasets import load_dataset
prompt_response_dataset = load_dataset("rewardsignal/reddit_writing_prompts", data_files="prompt_responses_full.csv", split='train... | value:https://api.github.com/repos/huggingface/datasets/issues/6864/comments | value:I_kwDODunzps6HuBBl | value:closed | value:1 | value:2024-05-06T06:36:42Z | value:https://api.github.com/repos/huggingface/datasets/issues/6864/labels{/name} | value:6864 | json:{"login": "vinodrajendran001", "id": 5783246, "node_id": "MDQ6VXNlcjU3ODMyNDY=", "avatar_url": "https://avatars.githubusercontent.com/u/5783246?v=4", "gravatar_id": "", "url": "https://api.github.com/users/vinodrajendran001", "html_url": "https://github.com/vinodrajendran001", "followers_url": "https://api.github.... | true | |||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/6863/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:https://github.com/huggingface/datasets/issues/6863 | json:[{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/u... | value:https://api.github.com/repos/huggingface/datasets/issues/6863/timeline | json:[] | value:2276977534 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/6863 | value:Revert temporary pin huggingface-hub < 0.23.0 | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2024-05-03T05:53:55Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:MEMBER | json:{"login": "lhoestq", "id": 42851186, "node_id": "MDQ6VXNlcjQyODUxMTg2", "avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lhoestq", "html_url": "https://github.com/lhoestq", "followers_url": "https://api.github.com/users/lhoestq/followers"... | value:https://api.github.com/repos/huggingface/datasets/issues/6863/events | value:False | value:2024-05-27T10:14:41Z | value:Revert temporary pin huggingface-hub < 0.23.0 introduced by
- #6861
once the following issue is fixed and released:
- huggingface/transformers#30618 | value:https://api.github.com/repos/huggingface/datasets/issues/6863/comments | value:I_kwDODunzps6Ht-t- | value:closed | value:0 | value:2024-05-27T10:14:41Z | value:https://api.github.com/repos/huggingface/datasets/issues/6863/labels{/name} | value:6863 | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | true | |||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/6862/reactions", "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/6862 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/6862/timeline | json:[] | value:2276763745 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/6862 | value:Fix load_dataset for data_files with protocols other than HF | value:2024-05-03T01:43:47Z | value:CONTRIBUTOR | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:https://api.github.com/repos/huggingface/datasets/issues/6862/events | value:False | value:2024-07-23T14:30:09Z | value:Fixes huggingface/datasets/issues/6598
I've added a new test case and a solution. Before applying the solution the test case was failing with the same error described in the linked issue.
MRE:
```
pip install "datasets[s3]"
python -c "from datasets import load_dataset; load_dataset('csv', data_files={'tr... | value:https://api.github.com/repos/huggingface/datasets/issues/6862/comments | value:PR_kwDODunzps5ubOoL | value:closed | value:2 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/6862", "html_url": "https://github.com/huggingface/datasets/pull/6862", "diff_url": "https://github.com/huggingface/datasets/pull/6862.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6862.patch", "merged_at": "2024-07-23T14:30:09Z"} | value:2024-07-23T14:37:08Z | value:https://api.github.com/repos/huggingface/datasets/issues/6862/labels{/name} | value:6862 | json:{"login": "matstrand", "id": 544843, "node_id": "MDQ6VXNlcjU0NDg0Mw==", "avatar_url": "https://avatars.githubusercontent.com/u/544843?v=4", "gravatar_id": "", "url": "https://api.github.com/users/matstrand", "html_url": "https://github.com/matstrand", "followers_url": "https://api.github.com/users/matstrand/follow... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/6861/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/6861 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/6861/timeline | json:[] | value:2275988990 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/6861 | value:Fix CI by temporarily pinning huggingface-hub < 0.23.0 | value:2024-05-02T16:40:04Z | value:MEMBER | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:https://api.github.com/repos/huggingface/datasets/issues/6861/events | value:False | value:2024-05-02T16:53:42Z | value:As a hotfix for CI, temporarily pin `huggingface-hub` upper version
Fix #6860.
Revert once root cause is fixed, see:
- https://github.com/huggingface/transformers/issues/30618 | value:https://api.github.com/repos/huggingface/datasets/issues/6861/comments | value:PR_kwDODunzps5uYkMy | value:closed | value:2 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/6861", "html_url": "https://github.com/huggingface/datasets/pull/6861", "diff_url": "https://github.com/huggingface/datasets/pull/6861.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6861.patch", "merged_at": "2024-05-02T16:53:42Z"} | value:2024-05-02T16:59:42Z | value:https://api.github.com/repos/huggingface/datasets/issues/6861/labels{/name} | value:6861 | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/6860/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[{"id": 1935892857, "node_id": "MDU6TGFiZWwxOTM1ODkyODU3", "url": "https://api.github.com/repos/huggingface/datasets/labels/bug", "name": "bug", "color": "d73a4a", "default": true, "description": "Something isn't working", "archived_at": null, "archived_by": null}] | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:https://github.com/huggingface/datasets/issues/6860 | json:[{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/u... | value:https://api.github.com/repos/huggingface/datasets/issues/6860/timeline | json:[] | value:2275537137 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/6860 | value:CI fails after huggingface_hub-0.23.0 release: FutureWarning: "resume_download" | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2024-05-02T13:24:17Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:MEMBER | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:https://api.github.com/repos/huggingface/datasets/issues/6860/events | value:False | value:2024-05-02T16:53:45Z | value:CI fails after latest huggingface_hub-0.23.0 release: https://github.com/huggingface/huggingface_hub/releases/tag/v0.23.0
```
FAILED tests/test_metric_common.py::LocalMetricTest::test_load_metric_bertscore - FutureWarning: `resume_download` is deprecated and will be removed in version 1.0.0. Downloads always ... | value:https://api.github.com/repos/huggingface/datasets/issues/6860/comments | value:I_kwDODunzps6HofDx | value:closed | value:3 | value:2024-05-02T16:53:45Z | value:https://api.github.com/repos/huggingface/datasets/issues/6860/labels{/name} | value:6860 | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | true | |||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/6859/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/6859 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/6859/timeline | json:[] | value:2274996774 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/6859 | value:Support folder-based datasets with large metadata.jsonl | value:2024-05-02T09:07:26Z | value:NONE | value:https://api.github.com/repos/huggingface/datasets/issues/6859/events | value:False | value:I tried creating an `imagefolder` dataset with a 714MB `metadata.jsonl` but got the error below. This pull request fixes the problem by increasing the block size like the message suggests.
```
>>> from datasets import load_dataset
>>> dataset = load_dataset("imagefolder", data_dir="data-for-upload")
Tracebac... | value:https://api.github.com/repos/huggingface/datasets/issues/6859/comments | value:PR_kwDODunzps5uVIoZ | value:open | value:0 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/6859", "html_url": "https://github.com/huggingface/datasets/pull/6859", "diff_url": "https://github.com/huggingface/datasets/pull/6859.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6859.patch", "merged_at": null} | value:2024-05-02T09:07:26Z | value:https://api.github.com/repos/huggingface/datasets/issues/6859/labels{/name} | value:6859 | json:{"login": "gbenson", "id": 580564, "node_id": "MDQ6VXNlcjU4MDU2NA==", "avatar_url": "https://avatars.githubusercontent.com/u/580564?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gbenson", "html_url": "https://github.com/gbenson", "followers_url": "https://api.github.com/users/gbenson/followers", "f... | value:False | true | |||||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/6858/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/issues/6858 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/6858/timeline | json:[] | value:2274917185 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/6858 | value:Segmentation fault | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2024-05-02T08:28:49Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:NONE | json:{"login": "scampion", "id": 554155, "node_id": "MDQ6VXNlcjU1NDE1NQ==", "avatar_url": "https://avatars.githubusercontent.com/u/554155?v=4", "gravatar_id": "", "url": "https://api.github.com/users/scampion", "html_url": "https://github.com/scampion", "followers_url": "https://api.github.com/users/scampion/followers"... | value:https://api.github.com/repos/huggingface/datasets/issues/6858/events | value:False | value:2024-05-03T08:42:36Z | value:### Describe the bug
Using various version for datasets, I'm no more longer able to load that dataset without a segmentation fault.
Several others files are also concerned.
### Steps to reproduce the bug
# Create a new venv
python3 -m venv venv_test
source venv_test/bin/activate
# Install the latest ... | value:https://api.github.com/repos/huggingface/datasets/issues/6858/comments | value:I_kwDODunzps6HmHtB | value:closed | value:2 | value:2024-05-03T08:43:21Z | value:https://api.github.com/repos/huggingface/datasets/issues/6858/labels{/name} | value:6858 | json:{"login": "scampion", "id": 554155, "node_id": "MDQ6VXNlcjU1NDE1NQ==", "avatar_url": "https://avatars.githubusercontent.com/u/554155?v=4", "gravatar_id": "", "url": "https://api.github.com/users/scampion", "html_url": "https://github.com/scampion", "followers_url": "https://api.github.com/users/scampion/followers"... | true | ||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/6857/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/6857 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/6857/timeline | json:[] | value:2274849730 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/6857 | value:Fix line-endings in tests on Windows | value:2024-05-02T07:49:15Z | value:MEMBER | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:https://api.github.com/repos/huggingface/datasets/issues/6857/events | value:False | value:2024-05-02T11:43:00Z | value:EDIT:
~~Fix test_delete_from_hub on Windows by passing explicit encoding.~~
Fix test_delete_from_hub and test_xgetsize_private by uploading the README file content directly (encoding the string), instead of writing a local file and uploading it.
Note that local files created on Windows will have "\r\n" line ... | value:https://api.github.com/repos/huggingface/datasets/issues/6857/comments | value:PR_kwDODunzps5uUooF | value:closed | value:2 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/6857", "html_url": "https://github.com/huggingface/datasets/pull/6857", "diff_url": "https://github.com/huggingface/datasets/pull/6857.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6857.patch", "merged_at": "2024-05-02T11:43:00Z"} | value:2024-05-02T11:49:35Z | value:https://api.github.com/repos/huggingface/datasets/issues/6857/labels{/name} | value:6857 | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/6856/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[{"id": 1935892857, "node_id": "MDU6TGFiZWwxOTM1ODkyODU3", "url": "https://api.github.com/repos/huggingface/datasets/labels/bug", "name": "bug", "color": "d73a4a", "default": true, "description": "Something isn't working", "archived_at": null, "archived_by": null}] | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:https://github.com/huggingface/datasets/issues/6856 | json:[{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/u... | value:https://api.github.com/repos/huggingface/datasets/issues/6856/timeline | json:[] | value:2274828933 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/6856 | value:CI fails on Windows for test_delete_from_hub and test_xgetsize_private due to new-line character | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2024-05-02T07:37:03Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:MEMBER | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:https://api.github.com/repos/huggingface/datasets/issues/6856/events | value:False | value:2024-05-02T11:43:01Z | value:CI fails on Windows for test_delete_from_hub after the merge of:
- #6820
This is weird because the CI was green in the PR branch before merging to main.
```
FAILED tests/test_hub.py::test_delete_from_hub - AssertionError: assert [CommitOperat...\r\n---\r\n')] == [CommitOperat...in/*\n---\n')]
At in... | value:https://api.github.com/repos/huggingface/datasets/issues/6856/comments | value:I_kwDODunzps6HlyKF | value:closed | value:1 | value:2024-05-02T11:43:01Z | value:https://api.github.com/repos/huggingface/datasets/issues/6856/labels{/name} | value:6856 | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | true | |||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/6855/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 1, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/6855 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/6855/timeline | json:[] | value:2274777812 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/6855 | value:Fix dataset name for community Hub script-datasets | value:2024-05-02T07:05:44Z | value:MEMBER | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:https://api.github.com/repos/huggingface/datasets/issues/6855/events | value:False | value:2024-05-03T15:51:57Z | value:Fix dataset name for community Hub script-datasets by passing explicit dataset_name to HubDatasetModuleFactoryWithScript.
Fix #6854.
CC: @Wauplin | value:https://api.github.com/repos/huggingface/datasets/issues/6855/comments | value:PR_kwDODunzps5uUZNT | value:closed | value:6 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/6855", "html_url": "https://github.com/huggingface/datasets/pull/6855", "diff_url": "https://github.com/huggingface/datasets/pull/6855.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6855.patch", "merged_at": "2024-05-03T15:51:57Z"} | value:2024-05-03T15:58:00Z | value:https://api.github.com/repos/huggingface/datasets/issues/6855/labels{/name} | value:6855 | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/6854/reactions", "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[{"id": 1935892857, "node_id": "MDU6TGFiZWwxOTM1ODkyODU3", "url": "https://api.github.com/repos/huggingface/datasets/labels/bug", "name": "bug", "color": "d73a4a", "default": true, "description": "Something isn't working", "archived_at": null, "archived_by": null}] | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:https://github.com/huggingface/datasets/issues/6854 | json:[{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/u... | value:https://api.github.com/repos/huggingface/datasets/issues/6854/timeline | json:[] | value:2274767686 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/6854 | value:Wrong example of usage when config name is missing for community script-datasets | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2024-05-02T06:59:39Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:MEMBER | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:https://api.github.com/repos/huggingface/datasets/issues/6854/events | value:False | value:2024-05-03T15:51:58Z | value:As reported by @Wauplin, when loading a community dataset with script, there is a bug in the example of usage of the error message if the dataset has multiple configs (and no default config) and the user does not pass any config. For example:
```python
>>> ds = load_dataset("google/fleurs")
ValueError: Config ... | value:https://api.github.com/repos/huggingface/datasets/issues/6854/comments | value:I_kwDODunzps6HljNG | value:closed | value:0 | value:2024-05-03T15:51:59Z | value:https://api.github.com/repos/huggingface/datasets/issues/6854/labels{/name} | value:6854 | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | true | |||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/6853/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[{"id": 1935892871, "node_id": "MDU6TGFiZWwxOTM1ODkyODcx", "url": "https://api.github.com/repos/huggingface/datasets/labels/enhancement", "name": "enhancement", "color": "a2eeef", "default": true, "description": "New feature or request", "archived_at": null, "archived_by": null}] | value:https://github.com/huggingface/datasets/issues/6853 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/6853/timeline | json:[] | value:2272570000 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/6853 | value:Support soft links for load_datasets imagefolder | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2024-04-30T22:14:29Z | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:NONE | value:https://api.github.com/repos/huggingface/datasets/issues/6853/events | value:False | value:### Feature request
Load_dataset from a folder of images doesn't seem to support soft links. It would be nice if it did, especially during methods development where image folders are being curated.
### Motivation
Images are coming from a complex variety of sources and we'd like to be able to soft link directly... | value:https://api.github.com/repos/huggingface/datasets/issues/6853/comments | value:I_kwDODunzps6HdKqQ | value:open | value:0 | value:2024-04-30T22:14:29Z | value:https://api.github.com/repos/huggingface/datasets/issues/6853/labels{/name} | value:6853 | json:{"login": "billytcl", "id": 10386511, "node_id": "MDQ6VXNlcjEwMzg2NTEx", "avatar_url": "https://avatars.githubusercontent.com/u/10386511?v=4", "gravatar_id": "", "url": "https://api.github.com/users/billytcl", "html_url": "https://github.com/billytcl", "followers_url": "https://api.github.com/users/billytcl/follow... | true | |||||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/6852/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/issues/6852 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/6852/timeline | json:[] | value:2272465011 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/6852 | value:Write token isn't working while pushing to datasets | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2024-04-30T21:18:20Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:NONE | json:{"login": "realzai", "id": 130903099, "node_id": "U_kgDOB81sOw", "avatar_url": "https://avatars.githubusercontent.com/u/130903099?v=4", "gravatar_id": "", "url": "https://api.github.com/users/realzai", "html_url": "https://github.com/realzai", "followers_url": "https://api.github.com/users/realzai/followers", "fol... | value:https://api.github.com/repos/huggingface/datasets/issues/6852/events | value:False | value:2024-05-02T00:55:46Z | value:### Describe the bug
<img width="1001" alt="Screenshot 2024-05-01 at 3 37 06 AM" src="https://github.com/huggingface/datasets/assets/130903099/00fcf12c-fcc1-4749-8592-d263d4efcbcc">
As you can see I logged in to my account and the write token is valid.
But I can't upload on my main account and I am getting... | value:https://api.github.com/repos/huggingface/datasets/issues/6852/comments | value:I_kwDODunzps6HcxBz | value:closed | value:0 | value:2024-05-02T00:55:46Z | value:https://api.github.com/repos/huggingface/datasets/issues/6852/labels{/name} | value:6852 | json:{"login": "realzai", "id": 130903099, "node_id": "U_kgDOB81sOw", "avatar_url": "https://avatars.githubusercontent.com/u/130903099?v=4", "gravatar_id": "", "url": "https://api.github.com/users/realzai", "html_url": "https://github.com/realzai", "followers_url": "https://api.github.com/users/realzai/followers", "fol... | true | ||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/6851/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/issues/6851 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/6851/timeline | json:[] | value:2270965503 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/6851 | value:load_dataset('emotion') UnicodeDecodeError | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2024-04-30T09:25:01Z | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:NONE | value:https://api.github.com/repos/huggingface/datasets/issues/6851/events | value:False | value:### Describe the bug
**emotions = load_dataset('emotion')**
_UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8b in position 1: invalid start byte_
### Steps to reproduce the bug
load_dataset('emotion')
### Expected behavior
succese
### Environment info
py3.10
transformers 4.41.0.dev0
datasets ... | value:https://api.github.com/repos/huggingface/datasets/issues/6851/comments | value:I_kwDODunzps6HXC7_ | value:open | value:2 | value:2024-09-05T03:11:04Z | value:https://api.github.com/repos/huggingface/datasets/issues/6851/labels{/name} | value:6851 | json:{"login": "Lue0353", "id": 32314558, "node_id": "MDQ6VXNlcjMyMzE0NTU4", "avatar_url": "https://avatars.githubusercontent.com/u/32314558?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Lue0353", "html_url": "https://github.com/Lue0353", "followers_url": "https://api.github.com/users/Lue0353/followers"... | true | |||||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/6850/reactions", "total_count": 2, "+1": 2, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:https://github.com/huggingface/datasets/issues/6850 | json:[{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/u... | value:https://api.github.com/repos/huggingface/datasets/issues/6850/timeline | json:[] | value:2269500624 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/6850 | value:Problem loading voxpopuli dataset | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2024-04-29T16:46:51Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:NONE | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:https://api.github.com/repos/huggingface/datasets/issues/6850/events | value:False | value:2024-05-06T09:25:54Z | value:### Describe the bug
```
Exception has occurred: FileNotFoundError
Couldn't find file at https://huggingface.co/datasets/facebook/voxpopuli/resolve/main/{'en': 'data/en/asr_train.tsv'}
```
Error in logic for link url creation. The link should be https://huggingface.co/datasets/facebook/voxpopuli/resolve/m... | value:https://api.github.com/repos/huggingface/datasets/issues/6850/comments | value:I_kwDODunzps6HRdTQ | value:closed | value:3 | value:2024-05-06T09:25:54Z | value:https://api.github.com/repos/huggingface/datasets/issues/6850/labels{/name} | value:6850 | json:{"login": "Namangarg110", "id": 40496687, "node_id": "MDQ6VXNlcjQwNDk2Njg3", "avatar_url": "https://avatars.githubusercontent.com/u/40496687?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Namangarg110", "html_url": "https://github.com/Namangarg110", "followers_url": "https://api.github.com/users/Nam... | true | |||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/6849/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/6849 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/6849/timeline | json:[] | value:2268718355 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/6849 | value:fix webdataset filename split | value:2024-04-29T10:57:18Z | value:NONE | json:{"login": "lhoestq", "id": 42851186, "node_id": "MDQ6VXNlcjQyODUxMTg2", "avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lhoestq", "html_url": "https://github.com/lhoestq", "followers_url": "https://api.github.com/users/lhoestq/followers"... | value:https://api.github.com/repos/huggingface/datasets/issues/6849/events | value:False | value:2024-06-04T12:54:04Z | value:use `os.path.splitext` to parse field_name.
fix filename which has dot. like:
```
a.b.jpeg
a.b.txt
``` | value:https://api.github.com/repos/huggingface/datasets/issues/6849/comments | value:PR_kwDODunzps5t_wnu | value:closed | value:1 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/6849", "html_url": "https://github.com/huggingface/datasets/pull/6849", "diff_url": "https://github.com/huggingface/datasets/pull/6849.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6849.patch", "merged_at": null} | value:2024-06-04T12:54:04Z | value:https://api.github.com/repos/huggingface/datasets/issues/6849/labels{/name} | value:6849 | json:{"login": "Bowser1704", "id": 43539191, "node_id": "MDQ6VXNlcjQzNTM5MTkx", "avatar_url": "https://avatars.githubusercontent.com/u/43539191?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Bowser1704", "html_url": "https://github.com/Bowser1704", "followers_url": "https://api.github.com/users/Bowser170... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/6848/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/issues/6848 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/6848/timeline | json:[] | value:2268622609 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/6848 | value:Cant Downlaod Common Voice 17.0 hy-AM | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2024-04-29T10:06:02Z | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:NONE | value:https://api.github.com/repos/huggingface/datasets/issues/6848/events | value:False | value:### Describe the bug
I want to download Common Voice 17.0 hy-AM but it returns an error.
```
The version_base parameter is not specified.
Please specify a compatability version level, or None.
Will assume defaults for version 1.1
@hydra.main(config_name='hfds_config', config_path=None)
/usr/local/li... | value:https://api.github.com/repos/huggingface/datasets/issues/6848/comments | value:I_kwDODunzps6HOG8R | value:open | value:3 | value:2025-04-01T20:48:09Z | value:https://api.github.com/repos/huggingface/datasets/issues/6848/labels{/name} | value:6848 | json:{"login": "mheryerznkanyan", "id": 31586104, "node_id": "MDQ6VXNlcjMxNTg2MTA0", "avatar_url": "https://avatars.githubusercontent.com/u/31586104?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mheryerznkanyan", "html_url": "https://github.com/mheryerznkanyan", "followers_url": "https://api.github.com/... | true | |||||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/6847/reactions", "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | json:{"login": "lhoestq", "id": 42851186, "node_id": "MDQ6VXNlcjQyODUxMTg2", "avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lhoestq", "html_url": "https://github.com/lhoestq", "followers_url": "https://api.github.com/users/lhoestq/followers"... | value:https://github.com/huggingface/datasets/issues/6847 | 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/6847/timeline | json:[] | value:2268589177 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/6847 | value:[Streaming] Only load requested splits without resolving files for the other splits | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2024-04-29T09:49:32Z | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:MEMBER | value:https://api.github.com/repos/huggingface/datasets/issues/6847/events | value:False | value:e.g. [thangvip](https://huggingface.co/thangvip)/[cosmopedia_vi_math](https://huggingface.co/datasets/thangvip/cosmopedia_vi_math) has 300 splits and it takes a very long time to load only one split.
This is due to `load_dataset()` resolving the files of all the splits even if only one is needed.
In `datase... | value:https://api.github.com/repos/huggingface/datasets/issues/6847/comments | value:I_kwDODunzps6HN-x5 | value:open | value:2 | value:2024-05-07T04:43:59Z | value:https://api.github.com/repos/huggingface/datasets/issues/6847/labels{/name} | value:6847 | json:{"login": "lhoestq", "id": 42851186, "node_id": "MDQ6VXNlcjQyODUxMTg2", "avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lhoestq", "html_url": "https://github.com/lhoestq", "followers_url": "https://api.github.com/users/lhoestq/followers"... | true | ||||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/6846/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/issues/6846 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/6846/timeline | json:[] | value:2267352120 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/6846 | value:Unimaginable super slow iteration | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2024-04-28T05:24:14Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:NONE | json:{"login": "rangehow", "id": 88258534, "node_id": "MDQ6VXNlcjg4MjU4NTM0", "avatar_url": "https://avatars.githubusercontent.com/u/88258534?v=4", "gravatar_id": "", "url": "https://api.github.com/users/rangehow", "html_url": "https://github.com/rangehow", "followers_url": "https://api.github.com/users/rangehow/follow... | value:https://api.github.com/repos/huggingface/datasets/issues/6846/events | value:False | value:2024-05-06T08:30:03Z | value:### Describe the bug
Assuming there is a dataset with 52000 sentences, each with a length of 500, it takes 20 seconds to extract a sentence from the dataset……?Is there something wrong with my iteration?
### Steps to reproduce the bug
```python
import datasets
import time
import random
num_rows = 52... | value:https://api.github.com/repos/huggingface/datasets/issues/6846/comments | value:I_kwDODunzps6HJQw4 | value:closed | value:1 | value:2024-05-06T08:30:03Z | value:https://api.github.com/repos/huggingface/datasets/issues/6846/labels{/name} | value:6846 | json:{"login": "rangehow", "id": 88258534, "node_id": "MDQ6VXNlcjg4MjU4NTM0", "avatar_url": "https://avatars.githubusercontent.com/u/88258534?v=4", "gravatar_id": "", "url": "https://api.github.com/users/rangehow", "html_url": "https://github.com/rangehow", "followers_url": "https://api.github.com/users/rangehow/follow... | true | ||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/6845/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/issues/6845 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/6845/timeline | json:[] | value:2265876551 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/6845 | value:load_dataset doesn't support list column | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2024-04-26T14:11:44Z | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:NONE | value:https://api.github.com/repos/huggingface/datasets/issues/6845/events | value:False | value:### Describe the bug
dataset = load_dataset("Doraemon-AI/text-to-neo4j-cypher-chinese")
got exception:
Generating train split: 1834 examples [00:00, 5227.98 examples/s]
Traceback (most recent call last):
File "/usr/local/lib/python3.11/dist-packages/datasets/builder.py", line 2011, in _prepare_split_sing... | value:https://api.github.com/repos/huggingface/datasets/issues/6845/comments | value:I_kwDODunzps6HDohH | value:open | value:2 | value:2025-10-27T16:31:08Z | value:https://api.github.com/repos/huggingface/datasets/issues/6845/labels{/name} | value:6845 | json:{"login": "arthasking123", "id": 16257131, "node_id": "MDQ6VXNlcjE2MjU3MTMx", "avatar_url": "https://avatars.githubusercontent.com/u/16257131?v=4", "gravatar_id": "", "url": "https://api.github.com/users/arthasking123", "html_url": "https://github.com/arthasking123", "followers_url": "https://api.github.com/users/... | true | |||||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/6844/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/6844 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/6844/timeline | json:[] | value:2265870546 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/6844 | value:Retry on HF Hub error when streaming | value:2024-04-26T14:09:04Z | value:COLLABORATOR | json:{"login": "mariosasko", "id": 47462742, "node_id": "MDQ6VXNlcjQ3NDYyNzQy", "avatar_url": "https://avatars.githubusercontent.com/u/47462742?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mariosasko", "html_url": "https://github.com/mariosasko", "followers_url": "https://api.github.com/users/mariosask... | value:https://api.github.com/repos/huggingface/datasets/issues/6844/events | value:False | value:2024-04-26T15:37:42Z | value:Retry on the `huggingface_hub`'s `HfHubHTTPError` in the streaming mode.
Fix #6843 | value:https://api.github.com/repos/huggingface/datasets/issues/6844/comments | value:PR_kwDODunzps5t2PRA | value:closed | value:2 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/6844", "html_url": "https://github.com/huggingface/datasets/pull/6844", "diff_url": "https://github.com/huggingface/datasets/pull/6844.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6844.patch", "merged_at": null} | value:2024-04-26T15:37:42Z | value:https://api.github.com/repos/huggingface/datasets/issues/6844/labels{/name} | value:6844 | json:{"login": "mariosasko", "id": 47462742, "node_id": "MDQ6VXNlcjQ3NDYyNzQy", "avatar_url": "https://avatars.githubusercontent.com/u/47462742?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mariosasko", "html_url": "https://github.com/mariosasko", "followers_url": "https://api.github.com/users/mariosask... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/6843/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/issues/6843 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/6843/timeline | json:[] | value:2265432897 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/6843 | value:IterableDataset raises exception instead of retrying | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2024-04-26T10:00:43Z | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:NONE | value:https://api.github.com/repos/huggingface/datasets/issues/6843/events | value:False | value:### Describe the bug
In light of the recent server outages, I decided to look into whether I could somehow wrap my IterableDataset streams to retry rather than error out immediately. To my surprise, `datasets` [already supports retries](https://github.com/huggingface/datasets/issues/6172#issuecomment-179487622... | value:https://api.github.com/repos/huggingface/datasets/issues/6843/comments | value:I_kwDODunzps6HB8NB | value:open | value:7 | value:2024-10-28T14:57:07Z | value:https://api.github.com/repos/huggingface/datasets/issues/6843/labels{/name} | value:6843 | json:{"login": "bauwenst", "id": 145220868, "node_id": "U_kgDOCKflBA", "avatar_url": "https://avatars.githubusercontent.com/u/145220868?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bauwenst", "html_url": "https://github.com/bauwenst", "followers_url": "https://api.github.com/users/bauwenst/followers", ... | true | |||||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/6842/reactions", "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/issues/6842 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/6842/timeline | json:[] | value:2264692159 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/6842 | value:Datasets with files with colon : in filenames cannot be used on Windows | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2024-04-26T00:14:16Z | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:NONE | value:https://api.github.com/repos/huggingface/datasets/issues/6842/events | value:False | value:### Describe the bug
Datasets (such as https://huggingface.co/datasets/MLCommons/peoples_speech) cannot be used on Windows due to the fact that windows does not allow colons ":" in filenames. These should be converted into alternative strings.
### Steps to reproduce the bug
1. Attempt to run load_dataset o... | value:https://api.github.com/repos/huggingface/datasets/issues/6842/comments | value:I_kwDODunzps6G_HW_ | value:open | value:0 | value:2024-04-26T00:14:16Z | value:https://api.github.com/repos/huggingface/datasets/issues/6842/labels{/name} | value:6842 | json:{"login": "jacobjennings", "id": 1038927, "node_id": "MDQ6VXNlcjEwMzg5Mjc=", "avatar_url": "https://avatars.githubusercontent.com/u/1038927?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jacobjennings", "html_url": "https://github.com/jacobjennings", "followers_url": "https://api.github.com/users/ja... | true | |||||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/6841/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/issues/6841 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/6841/timeline | json:[] | value:2264687683 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/6841 | value:Unable to load wiki_auto_asset_turk from GEM | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2024-04-26T00:08:47Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:NONE | json:{"login": "mariosasko", "id": 47462742, "node_id": "MDQ6VXNlcjQ3NDYyNzQy", "avatar_url": "https://avatars.githubusercontent.com/u/47462742?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mariosasko", "html_url": "https://github.com/mariosasko", "followers_url": "https://api.github.com/users/mariosask... | value:https://api.github.com/repos/huggingface/datasets/issues/6841/events | value:False | value:2024-04-26T16:12:29Z | value:### Describe the bug
I am unable to load the wiki_auto_asset_turk dataset. I get a fatal error while trying to access wiki_auto_asset_turk and load it with datasets.load_dataset. The error (TypeError: expected str, bytes or os.PathLike object, not NoneType) is from filenames_for_dataset_split in a os.path.join c... | value:https://api.github.com/repos/huggingface/datasets/issues/6841/comments | value:I_kwDODunzps6G_GRD | value:closed | value:8 | value:2024-05-29T13:54:03Z | value:https://api.github.com/repos/huggingface/datasets/issues/6841/labels{/name} | value:6841 | json:{"login": "abhinavsethy", "id": 23074600, "node_id": "MDQ6VXNlcjIzMDc0NjAw", "avatar_url": "https://avatars.githubusercontent.com/u/23074600?v=4", "gravatar_id": "", "url": "https://api.github.com/users/abhinavsethy", "html_url": "https://github.com/abhinavsethy", "followers_url": "https://api.github.com/users/abh... | true | ||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/6840/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[{"id": 1935892871, "node_id": "MDU6TGFiZWwxOTM1ODkyODcx", "url": "https://api.github.com/repos/huggingface/datasets/labels/enhancement", "name": "enhancement", "color": "a2eeef", "default": true, "description": "New feature or request", "archived_at": null, "archived_by": null}] | value:https://github.com/huggingface/datasets/issues/6840 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/6840/timeline | json:[] | value:2264604766 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/6840 | value:Delete uploaded files from the UI | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2024-04-25T22:33:57Z | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:NONE | value:https://api.github.com/repos/huggingface/datasets/issues/6840/events | value:False | value:### Feature request
Once a file is uploaded and the commit is made, I am unable to delete individual files without completely deleting the whole dataset via the website UI.
### Motivation
Would be a useful addition
### Your contribution
Would love to help out with some guidance | value:https://api.github.com/repos/huggingface/datasets/issues/6840/comments | value:I_kwDODunzps6G-yBe | value:open | value:1 | value:2025-01-21T09:44:22Z | value:https://api.github.com/repos/huggingface/datasets/issues/6840/labels{/name} | value:6840 | json:{"login": "saicharan2804", "id": 62512681, "node_id": "MDQ6VXNlcjYyNTEyNjgx", "avatar_url": "https://avatars.githubusercontent.com/u/62512681?v=4", "gravatar_id": "", "url": "https://api.github.com/users/saicharan2804", "html_url": "https://github.com/saicharan2804", "followers_url": "https://api.github.com/users/... | true | |||||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/6839/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 1, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/6839 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/6839/timeline | json:[] | value:2263761062 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/6839 | value:Remove token arg from CLI examples | value:2024-04-25T14:36:58Z | value:MEMBER | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:https://api.github.com/repos/huggingface/datasets/issues/6839/events | value:False | value:2024-04-26T16:57:40Z | value:Remove token arg from CLI examples.
Fix #6838.
CC: @Wauplin | value:https://api.github.com/repos/huggingface/datasets/issues/6839/comments | value:PR_kwDODunzps5tvC1c | value:closed | value:2 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/6839", "html_url": "https://github.com/huggingface/datasets/pull/6839", "diff_url": "https://github.com/huggingface/datasets/pull/6839.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6839.patch", "merged_at": "2024-04-26T16:57:40Z"} | value:2024-04-26T17:03:51Z | value:https://api.github.com/repos/huggingface/datasets/issues/6839/labels{/name} | value:6839 | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/6838/reactions", "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:https://github.com/huggingface/datasets/issues/6838 | json:[{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/u... | value:https://api.github.com/repos/huggingface/datasets/issues/6838/timeline | json:[] | value:2263674843 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/6838 | value:Remove token arg from CLI examples | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2024-04-25T14:00:38Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:MEMBER | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:https://api.github.com/repos/huggingface/datasets/issues/6838/events | value:False | value:2024-04-26T16:57:41Z | value:As suggested by @Wauplin, see: https://github.com/huggingface/datasets/pull/6831#discussion_r1579492603
> I would not advertise the --token arg in the example as this shouldn't be the recommended way (best to login with env variable or huggingface-cli login) | value:https://api.github.com/repos/huggingface/datasets/issues/6838/comments | value:I_kwDODunzps6G7O_b | value:closed | value:0 | value:2024-04-26T16:57:41Z | value:https://api.github.com/repos/huggingface/datasets/issues/6838/labels{/name} | value:6838 | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | true | |||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/6837/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/issues/6837 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/6837/timeline | json:[] | value:2263273983 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/6837 | value:Cannot use cached dataset without Internet connection (or when servers are down) | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2024-04-25T10:48:20Z | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:NONE | value:https://api.github.com/repos/huggingface/datasets/issues/6837/events | value:False | value:### Describe the bug
I want to be able to use cached dataset from HuggingFace even when I have no Internet connection (or when HuggingFace servers are down, or my company has network issues).
The problem why I can't use it:
`data_files` argument from `datasets.load_dataset()` function get it updates from the... | value:https://api.github.com/repos/huggingface/datasets/issues/6837/comments | value:I_kwDODunzps6G5tH_ | value:open | value:6 | value:2025-01-25T16:36:41Z | value:https://api.github.com/repos/huggingface/datasets/issues/6837/labels{/name} | value:6837 | json:{"login": "DionisMuzenitov", "id": 112088378, "node_id": "U_kgDOBq5VOg", "avatar_url": "https://avatars.githubusercontent.com/u/112088378?v=4", "gravatar_id": "", "url": "https://api.github.com/users/DionisMuzenitov", "html_url": "https://github.com/DionisMuzenitov", "followers_url": "https://api.github.com/users/... | true | |||||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/6836/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/issues/6836 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/6836/timeline | json:[] | value:2262249919 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/6836 | value:ExpectedMoreSplits error on load_dataset when upgrading to 2.19.0 | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2024-04-24T21:52:35Z | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:NONE | value:https://api.github.com/repos/huggingface/datasets/issues/6836/events | value:False | value:### Describe the bug
Hi there, thanks for the great library! We have been using it a lot in torchtune and it's been a huge help for us.
Regarding the bug: the same call to `load_dataset` errors with `ExpectedMoreSplits` in 2.19.0 after working fine in 2.18.0. Full details given in the repro below.
### Steps... | value:https://api.github.com/repos/huggingface/datasets/issues/6836/comments | value:I_kwDODunzps6G1zG_ | value:open | value:3 | value:2024-05-14T04:08:19Z | value:https://api.github.com/repos/huggingface/datasets/issues/6836/labels{/name} | value:6836 | json:{"login": "ebsmothers", "id": 24319399, "node_id": "MDQ6VXNlcjI0MzE5Mzk5", "avatar_url": "https://avatars.githubusercontent.com/u/24319399?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ebsmothers", "html_url": "https://github.com/ebsmothers", "followers_url": "https://api.github.com/users/ebsmother... | true | |||||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/6835/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/6835 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/6835/timeline | json:[] | value:2261079263 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/6835 | value:Support pyarrow LargeListType | value:2024-04-24T11:34:24Z | value:CONTRIBUTOR | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:https://api.github.com/repos/huggingface/datasets/issues/6835/events | value:False | value:2024-08-12T14:43:47Z | value:Fixes #6834 | value:https://api.github.com/repos/huggingface/datasets/issues/6835/comments | value:PR_kwDODunzps5tl2fc | value:closed | value:3 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/6835", "html_url": "https://github.com/huggingface/datasets/pull/6835", "diff_url": "https://github.com/huggingface/datasets/pull/6835.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6835.patch", "merged_at": null} | value:2024-08-12T14:43:47Z | value:https://api.github.com/repos/huggingface/datasets/issues/6835/labels{/name} | value:6835 | json:{"login": "Modexus", "id": 37351874, "node_id": "MDQ6VXNlcjM3MzUxODc0", "avatar_url": "https://avatars.githubusercontent.com/u/37351874?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Modexus", "html_url": "https://github.com/Modexus", "followers_url": "https://api.github.com/users/Modexus/followers"... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/6834/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:https://github.com/huggingface/datasets/issues/6834 | json:[{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/u... | value:https://api.github.com/repos/huggingface/datasets/issues/6834/timeline | json:[] | value:2261078104 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/6834 | value:largelisttype not supported (.from_polars()) | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2024-04-24T11:33:43Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:CONTRIBUTOR | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:https://api.github.com/repos/huggingface/datasets/issues/6834/events | value:False | value:2024-08-12T14:43:46Z | value:### Describe the bug
The following code fails because LargeListType is not supported.
This is especially a problem for .from_polars since polars uses LargeListType.
### Steps to reproduce the bug
```python
import datasets
import polars as pl
df = pl.DataFrame({"list": [[]]})
datasets.Dataset.fro... | value:https://api.github.com/repos/huggingface/datasets/issues/6834/comments | value:I_kwDODunzps6GxVBY | value:closed | value:0 | value:2024-08-12T14:43:46Z | value:https://api.github.com/repos/huggingface/datasets/issues/6834/labels{/name} | value:6834 | json:{"login": "Modexus", "id": 37351874, "node_id": "MDQ6VXNlcjM3MzUxODc0", "avatar_url": "https://avatars.githubusercontent.com/u/37351874?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Modexus", "html_url": "https://github.com/Modexus", "followers_url": "https://api.github.com/users/Modexus/followers"... | true | |||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/6833/reactions", "total_count": 3, "+1": 3, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/issues/6833 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/6833/timeline | json:[] | value:2259731274 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/6833 | value:Super slow iteration with trivial custom transform | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2024-04-23T20:40:59Z | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:NONE | value:https://api.github.com/repos/huggingface/datasets/issues/6833/events | value:False | value:### Describe the bug
Dataset is 10X slower when applying trivial transforms:
```
import time
import numpy as np
from datasets import Dataset, Features, Array2D
a = np.zeros((800, 800))
a = np.stack([a] * 1000)
features = Features({"a": Array2D(shape=(800, 800), dtype="uint8")})
ds1 = Dataset.from_d... | value:https://api.github.com/repos/huggingface/datasets/issues/6833/comments | value:I_kwDODunzps6GsMNK | value:open | value:7 | value:2024-10-08T15:41:18Z | value:https://api.github.com/repos/huggingface/datasets/issues/6833/labels{/name} | value:6833 | json:{"login": "xslittlegrass", "id": 2780075, "node_id": "MDQ6VXNlcjI3ODAwNzU=", "avatar_url": "https://avatars.githubusercontent.com/u/2780075?v=4", "gravatar_id": "", "url": "https://api.github.com/users/xslittlegrass", "html_url": "https://github.com/xslittlegrass", "followers_url": "https://api.github.com/users/xs... | true | |||||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/6832/reactions", "total_count": 2, "+1": 2, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/6832 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/6832/timeline | json:[] | value:2258761447 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/6832 | value:Support downloading specific splits in `load_dataset` | value:2024-04-23T12:32:27Z | value:COLLABORATOR | value:https://api.github.com/repos/huggingface/datasets/issues/6832/events | value:False | value:This PR builds on https://github.com/huggingface/datasets/pull/6639 to support downloading only the specified splits in `load_dataset`. For this to work, a builder's `_split_generators` need to be able to accept the requested splits (as a list) via a `splits` argument to avoid processing the non-requested ones. A... | value:https://api.github.com/repos/huggingface/datasets/issues/6832/comments | value:PR_kwDODunzps5teFoJ | value:open | value:5 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/6832", "html_url": "https://github.com/huggingface/datasets/pull/6832", "diff_url": "https://github.com/huggingface/datasets/pull/6832.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6832.patch", "merged_at": null} | value:2025-07-28T18:30:25Z | value:https://api.github.com/repos/huggingface/datasets/issues/6832/labels{/name} | value:6832 | json:{"login": "mariosasko", "id": 47462742, "node_id": "MDQ6VXNlcjQ3NDYyNzQy", "avatar_url": "https://avatars.githubusercontent.com/u/47462742?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mariosasko", "html_url": "https://github.com/mariosasko", "followers_url": "https://api.github.com/users/mariosask... | value:False | true | |||||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/6831/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/6831 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/6831/timeline | json:[] | value:2258537405 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/6831 | value:Add docs about the CLI | value:2024-04-23T10:41:03Z | value:MEMBER | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:https://api.github.com/repos/huggingface/datasets/issues/6831/events | value:False | value:2024-04-25T10:44:10Z | value:Add docs about the CLI.
Close #6830.
CC: @severo | value:https://api.github.com/repos/huggingface/datasets/issues/6831/comments | value:PR_kwDODunzps5tdTy_ | value:closed | value:3 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/6831", "html_url": "https://github.com/huggingface/datasets/pull/6831", "diff_url": "https://github.com/huggingface/datasets/pull/6831.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6831.patch", "merged_at": "2024-04-25T10:44:10Z"} | value:2024-04-26T16:51:09Z | value:https://api.github.com/repos/huggingface/datasets/issues/6831/labels{/name} | value:6831 | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/6830/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 1, "rocket": 0, "eyes": 0} | 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:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:https://github.com/huggingface/datasets/issues/6830 | json:[{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/u... | value:https://api.github.com/repos/huggingface/datasets/issues/6830/timeline | json:[] | value:2258433178 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/6830 | value:Add a doc page for the convert_to_parquet CLI | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2024-04-23T09:49:04Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:CONTRIBUTOR | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:https://api.github.com/repos/huggingface/datasets/issues/6830/events | value:False | value:2024-04-25T10:44:11Z | value:Follow-up to https://github.com/huggingface/datasets/pull/6795. Useful for https://github.com/huggingface/dataset-viewer/issues/2742. cc @albertvillanova | value:https://api.github.com/repos/huggingface/datasets/issues/6830/comments | value:I_kwDODunzps6GnPSa | value:closed | value:0 | value:2024-04-25T10:44:11Z | value:https://api.github.com/repos/huggingface/datasets/issues/6830/labels{/name} | value:6830 | json:{"login": "severo", "id": 1676121, "node_id": "MDQ6VXNlcjE2NzYxMjE=", "avatar_url": "https://avatars.githubusercontent.com/u/1676121?v=4", "gravatar_id": "", "url": "https://api.github.com/users/severo", "html_url": "https://github.com/severo", "followers_url": "https://api.github.com/users/severo/followers", "fol... | true | |||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/6829/reactions", "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[{"id": 1935892857, "node_id": "MDU6TGFiZWwxOTM1ODkyODU3", "url": "https://api.github.com/repos/huggingface/datasets/labels/bug", "name": "bug", "color": "d73a4a", "default": true, "description": "Something isn't working", "archived_at": null, "archived_by": null}] | value:https://github.com/huggingface/datasets/issues/6829 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/6829/timeline | json:[] | value:2258424577 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/6829 | value:Load and save from/to disk no longer accept pathlib.Path | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2024-04-23T09:44:45Z | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:MEMBER | value:https://api.github.com/repos/huggingface/datasets/issues/6829/events | value:False | value:Reported by @vttrifonov at https://github.com/huggingface/datasets/pull/6704#issuecomment-2071168296:
> This change is breaking in
> https://github.com/huggingface/datasets/blob/f96e74d5c633cd5435dd526adb4a74631eb05c43/src/datasets/arrow_dataset.py#L1515
> when the input is `pathlib.Path`. The issue is that `... | value:https://api.github.com/repos/huggingface/datasets/issues/6829/comments | value:I_kwDODunzps6GnNMB | value:open | value:3 | value:2026-09-02T03:44:03Z | value:https://api.github.com/repos/huggingface/datasets/issues/6829/labels{/name} | value:6829 | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | true | |||||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/6828/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/6828 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/6828/timeline | json:[] | value:2258420421 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/6828 | value:Support PathLike input in save_to_disk / load_from_disk | value:2024-04-23T09:42:38Z | value:MEMBER | value:https://api.github.com/repos/huggingface/datasets/issues/6828/events | value:False | value:https://api.github.com/repos/huggingface/datasets/issues/6828/comments | value:PR_kwDODunzps5tc55y | value:open | value:1 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/6828", "html_url": "https://github.com/huggingface/datasets/pull/6828", "diff_url": "https://github.com/huggingface/datasets/pull/6828.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6828.patch", "merged_at": null} | value:2024-04-23T11:05:52Z | value:https://api.github.com/repos/huggingface/datasets/issues/6828/labels{/name} | value:6828 | json:{"login": "lhoestq", "id": 42851186, "node_id": "MDQ6VXNlcjQyODUxMTg2", "avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lhoestq", "html_url": "https://github.com/lhoestq", "followers_url": "https://api.github.com/users/lhoestq/followers"... | value:False | true | ||||||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/6827/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/issues/6827 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/6827/timeline | json:[] | value:2254011833 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/6827 | value:Loading a remote dataset fails in the last release (v2.19.0) | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2024-04-19T21:11:58Z | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:NONE | value:https://api.github.com/repos/huggingface/datasets/issues/6827/events | value:False | value:While loading a dataset with multiple splits I get an error saying `Couldn't find file at <URL>`
I am loading the dataset like so, nothing out of the ordinary.
This dataset needs a token to access it.
```
token="hf_myhftoken-sdhbdsjgkhbd"
load_dataset("speechcolab/gigaspeech", "test", cache_dir=f"gigaspeec... | value:https://api.github.com/repos/huggingface/datasets/issues/6827/comments | value:I_kwDODunzps6GWX25 | value:open | value:0 | value:2024-04-19T21:13:42Z | value:https://api.github.com/repos/huggingface/datasets/issues/6827/labels{/name} | value:6827 | json:{"login": "zrthxn", "id": 35369637, "node_id": "MDQ6VXNlcjM1MzY5NjM3", "avatar_url": "https://avatars.githubusercontent.com/u/35369637?v=4", "gravatar_id": "", "url": "https://api.github.com/users/zrthxn", "html_url": "https://github.com/zrthxn", "followers_url": "https://api.github.com/users/zrthxn/followers", "f... | true | |||||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/6826/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/6826 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/6826/timeline | json:[] | value:2252445242 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/6826 | value:Set dev version | value:2024-04-19T08:51:42Z | value:MEMBER | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:https://api.github.com/repos/huggingface/datasets/issues/6826/events | value:False | value:2024-04-19T08:52:14Z | value:https://api.github.com/repos/huggingface/datasets/issues/6826/comments | value:PR_kwDODunzps5tJMZh | value:closed | value:2 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/6826", "html_url": "https://github.com/huggingface/datasets/pull/6826", "diff_url": "https://github.com/huggingface/datasets/pull/6826.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6826.patch", "merged_at": "2024-04-19T08:52:13Z"} | value:2024-04-19T09:05:25Z | value:https://api.github.com/repos/huggingface/datasets/issues/6826/labels{/name} | value:6826 | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:False | true | ||||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/6825/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 1} | json:[] | value:https://github.com/huggingface/datasets/pull/6825 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/6825/timeline | json:[] | value:2252404599 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/6825 | value:Release: 2.19.0 | value:2024-04-19T08:29:02Z | value:MEMBER | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:https://api.github.com/repos/huggingface/datasets/issues/6825/events | value:False | value:2024-04-19T08:44:57Z | value:https://api.github.com/repos/huggingface/datasets/issues/6825/comments | value:PR_kwDODunzps5tJEMw | value:closed | value:2 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/6825", "html_url": "https://github.com/huggingface/datasets/pull/6825", "diff_url": "https://github.com/huggingface/datasets/pull/6825.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6825.patch", "merged_at": "2024-04-19T08:44:57Z"} | value:2024-05-04T12:23:26Z | value:https://api.github.com/repos/huggingface/datasets/issues/6825/labels{/name} | value:6825 | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:False | true | ||||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/6824/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/issues/6824 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/6824/timeline | json:[] | value:2251076197 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/6824 | value:Winogrande does not seem to be compatible with datasets version of 1.18.0 | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2024-04-18T16:11:04Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:NONE | json:{"login": "spliew", "id": 7878204, "node_id": "MDQ6VXNlcjc4NzgyMDQ=", "avatar_url": "https://avatars.githubusercontent.com/u/7878204?v=4", "gravatar_id": "", "url": "https://api.github.com/users/spliew", "html_url": "https://github.com/spliew", "followers_url": "https://api.github.com/users/spliew/followers", "fol... | value:https://api.github.com/repos/huggingface/datasets/issues/6824/events | value:False | value:2024-04-19T09:52:33Z | value:### Describe the bug
I get the following error when simply running `load_dataset('winogrande','winogrande_xl')`.
I do not have such an issue in the 1.17.0 version.
```Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python3.10/dist-packages/datasets/load.py"... | value:https://api.github.com/repos/huggingface/datasets/issues/6824/comments | value:I_kwDODunzps6GLLJl | value:closed | value:2 | value:2024-04-19T09:53:15Z | value:https://api.github.com/repos/huggingface/datasets/issues/6824/labels{/name} | value:6824 | json:{"login": "spliew", "id": 7878204, "node_id": "MDQ6VXNlcjc4NzgyMDQ=", "avatar_url": "https://avatars.githubusercontent.com/u/7878204?v=4", "gravatar_id": "", "url": "https://api.github.com/users/spliew", "html_url": "https://github.com/spliew", "followers_url": "https://api.github.com/users/spliew/followers", "fol... | true | ||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/6823/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 1} | json:[] | value:https://github.com/huggingface/datasets/issues/6823 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/6823/timeline | json:[] | value:2250775569 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/6823 | value:Loading problems of Datasets with a single shard | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2024-04-18T13:59:00Z | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:NONE | value:https://api.github.com/repos/huggingface/datasets/issues/6823/events | value:False | value:### Describe the bug
When saving a dataset on disk and it has a single shard it is not loaded as when it is saved in multiple shards. I installed the latest version of datasets via pip.
### Steps to reproduce the bug
The code below reproduces the behavior. All works well when the range of the loop is 10... | value:https://api.github.com/repos/huggingface/datasets/issues/6823/comments | value:I_kwDODunzps6GKBwR | value:open | value:3 | value:2025-10-15T13:31:49Z | value:https://api.github.com/repos/huggingface/datasets/issues/6823/labels{/name} | value:6823 | json:{"login": "andjoer", "id": 60151338, "node_id": "MDQ6VXNlcjYwMTUxMzM4", "avatar_url": "https://avatars.githubusercontent.com/u/60151338?v=4", "gravatar_id": "", "url": "https://api.github.com/users/andjoer", "html_url": "https://github.com/andjoer", "followers_url": "https://api.github.com/users/andjoer/followers"... | true | |||||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/6822/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/6822 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/6822/timeline | json:[] | value:2250316258 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/6822 | value:Fix parquet export infos | value:2024-04-18T10:21:41Z | value:MEMBER | json:{"login": "lhoestq", "id": 42851186, "node_id": "MDQ6VXNlcjQyODUxMTg2", "avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lhoestq", "html_url": "https://github.com/lhoestq", "followers_url": "https://api.github.com/users/lhoestq/followers"... | value:https://api.github.com/repos/huggingface/datasets/issues/6822/events | value:False | value:2024-04-18T11:09:13Z | value:Don't use the parquet export infos when USE_PARQUET_EXPORT is False.
Otherwise the `datasets-server` might reuse erroneous data when re-running a job
this follows https://github.com/huggingface/datasets/pull/6714 | value:https://api.github.com/repos/huggingface/datasets/issues/6822/comments | value:PR_kwDODunzps5tB8aD | value:closed | value:2 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/6822", "html_url": "https://github.com/huggingface/datasets/pull/6822", "diff_url": "https://github.com/huggingface/datasets/pull/6822.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6822.patch", "merged_at": "2024-04-18T11:09:13Z"} | value:2024-04-18T11:15:41Z | value:https://api.github.com/repos/huggingface/datasets/issues/6822/labels{/name} | value:6822 | json:{"login": "lhoestq", "id": 42851186, "node_id": "MDQ6VXNlcjQyODUxMTg2", "avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lhoestq", "html_url": "https://github.com/lhoestq", "followers_url": "https://api.github.com/users/lhoestq/followers"... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/6820/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/6820 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/6820/timeline | json:[] | value:2248471673 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/6820 | value:Allow deleting a subset/config from a no-script dataset | value:2024-04-17T14:41:12Z | value:MEMBER | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:https://api.github.com/repos/huggingface/datasets/issues/6820/events | value:False | value:2024-04-30T09:44:24Z | value:TODO:
- [x] Add docs
- [x] Delete token arg from CLI example
- See: #6839
Close #6810. | value:https://api.github.com/repos/huggingface/datasets/issues/6820/comments | value:PR_kwDODunzps5s7sgy | value:closed | value:6 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/6820", "html_url": "https://github.com/huggingface/datasets/pull/6820", "diff_url": "https://github.com/huggingface/datasets/pull/6820.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6820.patch", "merged_at": "2024-04-30T09:44:24Z"} | value:2024-05-02T07:31:03Z | value:https://api.github.com/repos/huggingface/datasets/issues/6820/labels{/name} | value:6820 | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/6819/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[{"id": 1935892871, "node_id": "MDU6TGFiZWwxOTM1ODkyODcx", "url": "https://api.github.com/repos/huggingface/datasets/labels/enhancement", "name": "enhancement", "color": "a2eeef", "default": true, "description": "New feature or request", "archived_at": null, "archived_by": null}] | json:{"login": "jinchuntan", "id": 79140620, "node_id": "MDQ6VXNlcjc5MTQwNjIw", "avatar_url": "https://avatars.githubusercontent.com/u/79140620?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jinchuntan", "html_url": "https://github.com/jinchuntan", "followers_url": "https://api.github.com/users/jinchunta... | value:https://github.com/huggingface/datasets/issues/6819 | json:[{"login": "jinchuntan", "id": 79140620, "node_id": "MDQ6VXNlcjc5MTQwNjIw", "avatar_url": "https://avatars.githubusercontent.com/u/79140620?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jinchuntan", "html_url": "https://github.com/jinchuntan", "followers_url": "https://api.github.com/users/jinchunt... | value:https://api.github.com/repos/huggingface/datasets/issues/6819/timeline | json:[] | value:2248043797 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/6819 | value:Give more details in `DataFilesNotFoundError` when getting the config names | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2024-04-17T11:19:47Z | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:CONTRIBUTOR | value:https://api.github.com/repos/huggingface/datasets/issues/6819/events | value:False | value:### Feature request
After https://huggingface.co/datasets/cis-lmu/Glot500/commit/39060e01272ff228cc0ce1d31ae53789cacae8c3, the dataset viewer gives the following error:
```
{
"error": "Cannot get the config names for the dataset.",
"cause_exception": "DataFilesNotFoundError",
"cause_message": "No (s... | value:https://api.github.com/repos/huggingface/datasets/issues/6819/comments | value:I_kwDODunzps6F_m0V | value:open | value:2 | value:2026-10-18T02:34:48Z | value:https://api.github.com/repos/huggingface/datasets/issues/6819/labels{/name} | value:6819 | json:{"login": "severo", "id": 1676121, "node_id": "MDQ6VXNlcjE2NzYxMjE=", "avatar_url": "https://avatars.githubusercontent.com/u/1676121?v=4", "gravatar_id": "", "url": "https://api.github.com/users/severo", "html_url": "https://github.com/severo", "followers_url": "https://api.github.com/users/severo/followers", "fol... | true | ||||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/6817/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/6817 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/6817/timeline | json:[] | value:2246578480 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/6817 | value:Support indexable objects in `Dataset.__getitem__` | value:2024-04-16T17:41:27Z | value:COLLABORATOR | json:{"login": "mariosasko", "id": 47462742, "node_id": "MDQ6VXNlcjQ3NDYyNzQy", "avatar_url": "https://avatars.githubusercontent.com/u/47462742?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mariosasko", "html_url": "https://github.com/mariosasko", "followers_url": "https://api.github.com/users/mariosask... | value:https://api.github.com/repos/huggingface/datasets/issues/6817/events | value:False | value:2024-04-16T18:17:29Z | value:As discussed in https://github.com/huggingface/datasets/pull/6816, this is needed to support objects that implement `__index__` such as `np.int64` in `Dataset.__getitem__`. | value:https://api.github.com/repos/huggingface/datasets/issues/6817/comments | value:PR_kwDODunzps5s1RAN | value:closed | value:2 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/6817", "html_url": "https://github.com/huggingface/datasets/pull/6817", "diff_url": "https://github.com/huggingface/datasets/pull/6817.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6817.patch", "merged_at": "2024-04-16T18:17:29Z"} | value:2024-04-16T18:27:44Z | value:https://api.github.com/repos/huggingface/datasets/issues/6817/labels{/name} | value:6817 | json:{"login": "mariosasko", "id": 47462742, "node_id": "MDQ6VXNlcjQ3NDYyNzQy", "avatar_url": "https://avatars.githubusercontent.com/u/47462742?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mariosasko", "html_url": "https://github.com/mariosasko", "followers_url": "https://api.github.com/users/mariosask... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/6816/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/6816 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/6816/timeline | json:[] | value:2246264911 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/6816 | value:Improve typing of Dataset.search, matching definition | value:2024-04-16T14:53:39Z | value:CONTRIBUTOR | json:{"login": "Dref360", "id": 8976546, "node_id": "MDQ6VXNlcjg5NzY1NDY=", "avatar_url": "https://avatars.githubusercontent.com/u/8976546?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Dref360", "html_url": "https://github.com/Dref360", "followers_url": "https://api.github.com/users/Dref360/followers", ... | value:https://api.github.com/repos/huggingface/datasets/issues/6816/events | value:False | value:2024-04-16T15:54:10Z | value:Previously, the output of `score, indices = Dataset.search(...)` would be numpy arrays.
The definition in `SearchResult` is a `List[int]` so this PR now matched the expected type.
The previous behavior is a bit annoying as `Dataset.__getitem__` doesn't support `numpy.int64` which forced me to convert `indic... | value:https://api.github.com/repos/huggingface/datasets/issues/6816/comments | value:PR_kwDODunzps5s0MYO | value:closed | value:3 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/6816", "html_url": "https://github.com/huggingface/datasets/pull/6816", "diff_url": "https://github.com/huggingface/datasets/pull/6816.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6816.patch", "merged_at": null} | value:2024-04-16T15:54:10Z | value:https://api.github.com/repos/huggingface/datasets/issues/6816/labels{/name} | value:6816 | json:{"login": "Dref360", "id": 8976546, "node_id": "MDQ6VXNlcjg5NzY1NDY=", "avatar_url": "https://avatars.githubusercontent.com/u/8976546?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Dref360", "html_url": "https://github.com/Dref360", "followers_url": "https://api.github.com/users/Dref360/followers", ... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/6815/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/6815 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/6815/timeline | json:[] | value:2246197070 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/6815 | value:Remove `os.path.relpath` in `resolve_patterns` | value:2024-04-16T14:23:13Z | value:COLLABORATOR | json:{"login": "mariosasko", "id": 47462742, "node_id": "MDQ6VXNlcjQ3NDYyNzQy", "avatar_url": "https://avatars.githubusercontent.com/u/47462742?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mariosasko", "html_url": "https://github.com/mariosasko", "followers_url": "https://api.github.com/users/mariosask... | value:https://api.github.com/repos/huggingface/datasets/issues/6815/events | value:False | value:2024-04-16T15:58:22Z | value:... to save a few seconds when resolving repos with many data files. | value:https://api.github.com/repos/huggingface/datasets/issues/6815/comments | value:PR_kwDODunzps5sz9eC | value:closed | value:2 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/6815", "html_url": "https://github.com/huggingface/datasets/pull/6815", "diff_url": "https://github.com/huggingface/datasets/pull/6815.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6815.patch", "merged_at": "2024-04-16T15:58:22Z"} | value:2024-04-16T16:06:48Z | value:https://api.github.com/repos/huggingface/datasets/issues/6815/labels{/name} | value:6815 | json:{"login": "mariosasko", "id": 47462742, "node_id": "MDQ6VXNlcjQ3NDYyNzQy", "avatar_url": "https://avatars.githubusercontent.com/u/47462742?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mariosasko", "html_url": "https://github.com/mariosasko", "followers_url": "https://api.github.com/users/mariosask... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/6814/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/issues/6814 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/6814/timeline | json:[] | value:2245857902 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/6814 | value:`map` with `num_proc` > 1 leads to OOM | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2024-04-16T11:56:03Z | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:CONTRIBUTOR | value:https://api.github.com/repos/huggingface/datasets/issues/6814/events | value:False | value:### Describe the bug
When running `map` on parquet dataset loaded from local machine, the RAM usage increases linearly eventually leading to OOM. I was wondering if I should I save the `cache_file` after every n steps in order to prevent this?
### Steps to reproduce the bug
```
ds = load_dataset("parquet"... | value:https://api.github.com/repos/huggingface/datasets/issues/6814/comments | value:I_kwDODunzps6F3RJu | value:open | value:1 | value:2024-04-19T11:53:41Z | value:https://api.github.com/repos/huggingface/datasets/issues/6814/labels{/name} | value:6814 | json:{"login": "bhavitvyamalik", "id": 19718818, "node_id": "MDQ6VXNlcjE5NzE4ODE4", "avatar_url": "https://avatars.githubusercontent.com/u/19718818?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bhavitvyamalik", "html_url": "https://github.com/bhavitvyamalik", "followers_url": "https://api.github.com/use... | true | |||||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/6813/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/6813 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/6813/timeline | json:[] | value:2245626870 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/6813 | value:Add Dataset.take and Dataset.skip | value:2024-04-16T09:53:42Z | value:MEMBER | json:{"login": "lhoestq", "id": 42851186, "node_id": "MDQ6VXNlcjQyODUxMTg2", "avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lhoestq", "html_url": "https://github.com/lhoestq", "followers_url": "https://api.github.com/users/lhoestq/followers"... | value:https://api.github.com/repos/huggingface/datasets/issues/6813/events | value:False | value:2024-04-16T14:06:07Z | value:...to be aligned with IterableDataset.take and IterableDataset.skip | value:https://api.github.com/repos/huggingface/datasets/issues/6813/comments | value:PR_kwDODunzps5sx-9V | value:closed | value:2 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/6813", "html_url": "https://github.com/huggingface/datasets/pull/6813", "diff_url": "https://github.com/huggingface/datasets/pull/6813.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6813.patch", "merged_at": "2024-04-16T14:06:07Z"} | value:2024-04-16T14:12:14Z | value:https://api.github.com/repos/huggingface/datasets/issues/6813/labels{/name} | value:6813 | json:{"login": "lhoestq", "id": 42851186, "node_id": "MDQ6VXNlcjQyODUxMTg2", "avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lhoestq", "html_url": "https://github.com/lhoestq", "followers_url": "https://api.github.com/users/lhoestq/followers"... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/6812/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/6812 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/6812/timeline | json:[] | value:2244898824 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/6812 | value:Run CI | value:2024-04-16T01:12:36Z | value:NONE | json:{"login": "charliermarsh", "id": 1309177, "node_id": "MDQ6VXNlcjEzMDkxNzc=", "avatar_url": "https://avatars.githubusercontent.com/u/1309177?v=4", "gravatar_id": "", "url": "https://api.github.com/users/charliermarsh", "html_url": "https://github.com/charliermarsh", "followers_url": "https://api.github.com/users/ch... | value:https://api.github.com/repos/huggingface/datasets/issues/6812/events | value:False | value:2024-04-16T01:12:41Z | value:https://api.github.com/repos/huggingface/datasets/issues/6812/comments | value:PR_kwDODunzps5svgoq | value:closed | value:1 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/6812", "html_url": "https://github.com/huggingface/datasets/pull/6812", "diff_url": "https://github.com/huggingface/datasets/pull/6812.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6812.patch", "merged_at": null} | value:2024-04-16T01:14:16Z | value:https://api.github.com/repos/huggingface/datasets/issues/6812/labels{/name} | value:6812 | json:{"login": "charliermarsh", "id": 1309177, "node_id": "MDQ6VXNlcjEzMDkxNzc=", "avatar_url": "https://avatars.githubusercontent.com/u/1309177?v=4", "gravatar_id": "", "url": "https://api.github.com/users/charliermarsh", "html_url": "https://github.com/charliermarsh", "followers_url": "https://api.github.com/users/ch... | value:False | true | ||||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/6811/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/6811 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/6811/timeline | json:[] | value:2243656096 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/6811 | value:add allow_primitive_to_str and allow_decimal_to_str instead of allow_number_to_str | value:2024-04-15T13:14:38Z | value:CONTRIBUTOR | json:{"login": "lhoestq", "id": 42851186, "node_id": "MDQ6VXNlcjQyODUxMTg2", "avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lhoestq", "html_url": "https://github.com/lhoestq", "followers_url": "https://api.github.com/users/lhoestq/followers"... | value:https://api.github.com/repos/huggingface/datasets/issues/6811/events | value:False | value:2024-04-16T17:03:17Z | value:Fix #6805 | value:https://api.github.com/repos/huggingface/datasets/issues/6811/comments | value:PR_kwDODunzps5srOtR | value:closed | value:6 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/6811", "html_url": "https://github.com/huggingface/datasets/pull/6811", "diff_url": "https://github.com/huggingface/datasets/pull/6811.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6811.patch", "merged_at": "2024-04-16T17:03:17Z"} | value:2024-07-03T14:59:42Z | value:https://api.github.com/repos/huggingface/datasets/issues/6811/labels{/name} | value:6811 | json:{"login": "Modexus", "id": 37351874, "node_id": "MDQ6VXNlcjM3MzUxODc0", "avatar_url": "https://avatars.githubusercontent.com/u/37351874?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Modexus", "html_url": "https://github.com/Modexus", "followers_url": "https://api.github.com/users/Modexus/followers"... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/6810/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[{"id": 1935892871, "node_id": "MDU6TGFiZWwxOTM1ODkyODcx", "url": "https://api.github.com/repos/huggingface/datasets/labels/enhancement", "name": "enhancement", "color": "a2eeef", "default": true, "description": "New feature or request", "archived_at": null, "archived_by": null}] | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:https://github.com/huggingface/datasets/issues/6810 | json:[{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/u... | value:https://api.github.com/repos/huggingface/datasets/issues/6810/timeline | json:[] | value:2242968745 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/6810 | value:Allow deleting a subset/config from a no-script dataset | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2024-04-15T07:53:26Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:MEMBER | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:https://api.github.com/repos/huggingface/datasets/issues/6810/events | value:False | value:2024-04-30T09:44:25Z | value:As proposed by @BramVanroy, it would be neat to have this functionality through the API. | value:https://api.github.com/repos/huggingface/datasets/issues/6810/comments | value:I_kwDODunzps6FsPyp | value:closed | value:3 | value:2025-01-11T18:40:40Z | value:https://api.github.com/repos/huggingface/datasets/issues/6810/labels{/name} | value:6810 | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | true | |||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/6809/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/6809 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/6809/timeline | json:[] | value:2242956297 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/6809 | value:Make convert_to_parquet CLI command create script branch | value:2024-04-15T07:47:26Z | value:MEMBER | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:https://api.github.com/repos/huggingface/datasets/issues/6809/events | value:False | value:2024-04-17T08:38:18Z | value:Make convert_to_parquet CLI command create a "script" branch and keep the script file on it.
This PR proposes the simplest UX approach: whenever `--revision` is not explicitly passed (i.e., when the script is in the main branch), try to create a "script" branch from the "main" branch; if the "script" branch ex... | value:https://api.github.com/repos/huggingface/datasets/issues/6809/comments | value:PR_kwDODunzps5so0e2 | value:closed | value:3 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/6809", "html_url": "https://github.com/huggingface/datasets/pull/6809", "diff_url": "https://github.com/huggingface/datasets/pull/6809.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6809.patch", "merged_at": "2024-04-17T08:38:18Z"} | value:2024-04-17T08:44:26Z | value:https://api.github.com/repos/huggingface/datasets/issues/6809/labels{/name} | value:6809 | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/6808/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[{"id": 1935892871, "node_id": "MDU6TGFiZWwxOTM1ODkyODcx", "url": "https://api.github.com/repos/huggingface/datasets/labels/enhancement", "name": "enhancement", "color": "a2eeef", "default": true, "description": "New feature or request", "archived_at": null, "archived_by": null}] | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:https://github.com/huggingface/datasets/issues/6808 | json:[{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/u... | value:https://api.github.com/repos/huggingface/datasets/issues/6808/timeline | json:[] | value:2242843611 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/6808 | value:Make convert_to_parquet CLI command create script branch | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2024-04-15T06:46:07Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:MEMBER | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:https://api.github.com/repos/huggingface/datasets/issues/6808/events | value:False | value:2024-04-17T08:38:19Z | value:As proposed by @severo, maybe we should add this functionality as well to the CLI command to convert a script-dataset to Parquet. See: https://github.com/huggingface/datasets/pull/6795#discussion_r1562819168
> When providing support, we sometimes suggest that users store their script in a script branch. What do ... | value:https://api.github.com/repos/huggingface/datasets/issues/6808/comments | value:I_kwDODunzps6FrxPb | value:closed | value:0 | value:2024-04-17T08:38:19Z | value:https://api.github.com/repos/huggingface/datasets/issues/6808/labels{/name} | value:6808 | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | true | |||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/6806/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/6806 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/6806/timeline | json:[] | value:2239435074 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/6806 | value:Fix hf-internal-testing/dataset_with_script commit SHA in CI test | value:2024-04-12T08:47:50Z | value:MEMBER | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:https://api.github.com/repos/huggingface/datasets/issues/6806/events | value:False | value:2024-04-12T09:02:12Z | value:Fix test using latest commit SHA in hf-internal-testing/dataset_with_script dataset: https://huggingface.co/datasets/hf-internal-testing/dataset_with_script/commits/refs%2Fconvert%2Fparquet
Fix #6796. | value:https://api.github.com/repos/huggingface/datasets/issues/6806/comments | value:PR_kwDODunzps5sc8Mb | value:closed | value:2 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/6806", "html_url": "https://github.com/huggingface/datasets/pull/6806", "diff_url": "https://github.com/huggingface/datasets/pull/6806.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6806.patch", "merged_at": "2024-04-12T09:02:12Z"} | value:2024-04-12T09:08:23Z | value:https://api.github.com/repos/huggingface/datasets/issues/6806/labels{/name} | value:6806 | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/6805/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/issues/6805 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/6805/timeline | json:[] | value:2239034951 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/6805 | value:Batched mapping of existing string column casts boolean to string | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2024-04-12T04:21:41Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:NONE | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:https://api.github.com/repos/huggingface/datasets/issues/6805/events | value:False | value:2024-07-03T15:00:07Z | value:### Describe the bug
Let the dataset contain a column named 'a', which is of the string type.
If 'a' is converted to a boolean using batched mapping, the mapper automatically casts the boolean to a string (e.g., True -> 'true').
It only happens when the original column and the mapped column name are identical.... | value:https://api.github.com/repos/huggingface/datasets/issues/6805/comments | value:I_kwDODunzps6FdPZH | value:closed | value:7 | value:2024-07-03T15:00:07Z | value:https://api.github.com/repos/huggingface/datasets/issues/6805/labels{/name} | value:6805 | json:{"login": "starmpcc", "id": 46891489, "node_id": "MDQ6VXNlcjQ2ODkxNDg5", "avatar_url": "https://avatars.githubusercontent.com/u/46891489?v=4", "gravatar_id": "", "url": "https://api.github.com/users/starmpcc", "html_url": "https://github.com/starmpcc", "followers_url": "https://api.github.com/users/starmpcc/follow... | true | ||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/6804/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/6804 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/6804/timeline | json:[] | value:2238035124 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/6804 | value:Fix --repo-type order in cli upload docs | value:2024-04-11T15:39:09Z | value:MEMBER | json:{"login": "lhoestq", "id": 42851186, "node_id": "MDQ6VXNlcjQyODUxMTg2", "avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lhoestq", "html_url": "https://github.com/lhoestq", "followers_url": "https://api.github.com/users/lhoestq/followers"... | value:https://api.github.com/repos/huggingface/datasets/issues/6804/events | value:False | value:2024-04-11T16:18:47Z | value:https://api.github.com/repos/huggingface/datasets/issues/6804/comments | value:PR_kwDODunzps5sYJFF | value:closed | value:2 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/6804", "html_url": "https://github.com/huggingface/datasets/pull/6804", "diff_url": "https://github.com/huggingface/datasets/pull/6804.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6804.patch", "merged_at": "2024-04-11T16:18:47Z"} | value:2024-04-11T16:24:57Z | value:https://api.github.com/repos/huggingface/datasets/issues/6804/labels{/name} | value:6804 | json:{"login": "lhoestq", "id": 42851186, "node_id": "MDQ6VXNlcjQyODUxMTg2", "avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lhoestq", "html_url": "https://github.com/lhoestq", "followers_url": "https://api.github.com/users/lhoestq/followers"... | value:False | true | ||||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/6803/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/6803 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/6803/timeline | json:[] | value:2237933090 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/6803 | value:#6791 Improve type checking around FAISS | value:2024-04-11T14:54:30Z | value:CONTRIBUTOR | json:{"login": "mariosasko", "id": 47462742, "node_id": "MDQ6VXNlcjQ3NDYyNzQy", "avatar_url": "https://avatars.githubusercontent.com/u/47462742?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mariosasko", "html_url": "https://github.com/mariosasko", "followers_url": "https://api.github.com/users/mariosask... | value:https://api.github.com/repos/huggingface/datasets/issues/6803/events | value:False | value:2024-04-11T15:38:04Z | value:Fixes #6791
Small PR to raise a better error when a dataset is not embedded properly. | value:https://api.github.com/repos/huggingface/datasets/issues/6803/comments | value:PR_kwDODunzps5sXyct | value:closed | value:3 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/6803", "html_url": "https://github.com/huggingface/datasets/pull/6803", "diff_url": "https://github.com/huggingface/datasets/pull/6803.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6803.patch", "merged_at": "2024-04-11T15:38:04Z"} | value:2024-04-11T15:44:09Z | value:https://api.github.com/repos/huggingface/datasets/issues/6803/labels{/name} | value:6803 | json:{"login": "Dref360", "id": 8976546, "node_id": "MDQ6VXNlcjg5NzY1NDY=", "avatar_url": "https://avatars.githubusercontent.com/u/8976546?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Dref360", "html_url": "https://github.com/Dref360", "followers_url": "https://api.github.com/users/Dref360/followers", ... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/6802/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/6802 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/6802/timeline | json:[] | value:2237365489 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/6802 | value:Fix typo in docs (upload CLI) | value:2024-04-11T10:05:05Z | value:CONTRIBUTOR | json:{"login": "lhoestq", "id": 42851186, "node_id": "MDQ6VXNlcjQyODUxMTg2", "avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lhoestq", "html_url": "https://github.com/lhoestq", "followers_url": "https://api.github.com/users/lhoestq/followers"... | value:https://api.github.com/repos/huggingface/datasets/issues/6802/events | value:False | value:2024-04-11T13:19:43Z | value:Related to https://huggingface.slack.com/archives/C04RG8YRVB8/p1712643948574129 (interal)
Positional args must be placed before optional args.
Feel free to merge whenever it's ready. | value:https://api.github.com/repos/huggingface/datasets/issues/6802/comments | value:PR_kwDODunzps5sV0m8 | value:closed | value:4 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/6802", "html_url": "https://github.com/huggingface/datasets/pull/6802", "diff_url": "https://github.com/huggingface/datasets/pull/6802.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6802.patch", "merged_at": "2024-04-11T13:19:43Z"} | value:2024-04-11T16:19:00Z | value:https://api.github.com/repos/huggingface/datasets/issues/6802/labels{/name} | value:6802 | json:{"login": "Wauplin", "id": 11801849, "node_id": "MDQ6VXNlcjExODAxODQ5", "avatar_url": "https://avatars.githubusercontent.com/u/11801849?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Wauplin", "html_url": "https://github.com/Wauplin", "followers_url": "https://api.github.com/users/Wauplin/followers"... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/6801/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/issues/6801 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/6801/timeline | json:[] | value:2236911556 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/6801 | value:got fileNotFound | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2024-04-11T04:57:41Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:NONE | json:{"login": "mariosasko", "id": 47462742, "node_id": "MDQ6VXNlcjQ3NDYyNzQy", "avatar_url": "https://avatars.githubusercontent.com/u/47462742?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mariosasko", "html_url": "https://github.com/mariosasko", "followers_url": "https://api.github.com/users/mariosask... | value:https://api.github.com/repos/huggingface/datasets/issues/6801/events | value:False | value:2024-04-12T16:47:43Z | value:### Describe the bug
When I use load_dataset to load the nyanko7/danbooru2023 data set, the cache is read in the form of a symlink. There may be a problem with the arrow_dataset initialization process and I get FileNotFoundError: [Errno 2] No such file or directory: '2945000.jpg'
### Steps to reproduce the bug
... | value:https://api.github.com/repos/huggingface/datasets/issues/6801/comments | value:I_kwDODunzps6FVI_E | value:closed | value:2 | value:2024-04-12T16:47:43Z | value:https://api.github.com/repos/huggingface/datasets/issues/6801/labels{/name} | value:6801 | json:{"login": "laoniandisko", "id": 93729155, "node_id": "U_kgDOBZYxgw", "avatar_url": "https://avatars.githubusercontent.com/u/93729155?v=4", "gravatar_id": "", "url": "https://api.github.com/users/laoniandisko", "html_url": "https://github.com/laoniandisko", "followers_url": "https://api.github.com/users/laoniandisk... | true | ||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/6800/reactions", "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/issues/6800 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/6800/timeline | json:[] | value:2236431288 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/6800 | value:High overhead when loading lots of subsets from the same dataset | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2024-04-10T21:08:57Z | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:NONE | value:https://api.github.com/repos/huggingface/datasets/issues/6800/events | value:False | value:### Describe the bug
I have a multilingual dataset that contains a lot of subsets. Each subset corresponds to a pair of languages, you can see here an example with 250 subsets: [https://hf.co/datasets/loicmagne/open-subtitles-250-bitext-mining](). As part of the MTEB benchmark, we may need to load all the subset... | value:https://api.github.com/repos/huggingface/datasets/issues/6800/comments | value:I_kwDODunzps6FTTu4 | value:open | value:6 | value:2024-04-24T13:48:05Z | value:https://api.github.com/repos/huggingface/datasets/issues/6800/labels{/name} | value:6800 | json:{"login": "loicmagne", "id": 53355258, "node_id": "MDQ6VXNlcjUzMzU1MjU4", "avatar_url": "https://avatars.githubusercontent.com/u/53355258?v=4", "gravatar_id": "", "url": "https://api.github.com/users/loicmagne", "html_url": "https://github.com/loicmagne", "followers_url": "https://api.github.com/users/loicmagne/fo... | true | |||||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/6799/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/6799 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/6799/timeline | json:[] | value:2236124531 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/6799 | value:fix `DatasetBuilder._split_generators` incomplete type annotation | value:2024-04-10T17:46:08Z | value:CONTRIBUTOR | json:{"login": "mariosasko", "id": 47462742, "node_id": "MDQ6VXNlcjQ3NDYyNzQy", "avatar_url": "https://avatars.githubusercontent.com/u/47462742?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mariosasko", "html_url": "https://github.com/mariosasko", "followers_url": "https://api.github.com/users/mariosask... | value:https://api.github.com/repos/huggingface/datasets/issues/6799/events | value:False | value:2024-04-11T15:34:58Z | value:solve #6798:
add missing `StreamingDownloadManager` type annotation to the `dl_manager` argument of the `DatasetBuilder._split_generators` function | value:https://api.github.com/repos/huggingface/datasets/issues/6799/comments | value:PR_kwDODunzps5sRk_r | value:closed | value:3 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/6799", "html_url": "https://github.com/huggingface/datasets/pull/6799", "diff_url": "https://github.com/huggingface/datasets/pull/6799.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6799.patch", "merged_at": "2024-04-11T15:34:58Z"} | value:2024-04-11T15:41:06Z | value:https://api.github.com/repos/huggingface/datasets/issues/6799/labels{/name} | value:6799 | json:{"login": "JonasLoos", "id": 33965649, "node_id": "MDQ6VXNlcjMzOTY1NjQ5", "avatar_url": "https://avatars.githubusercontent.com/u/33965649?v=4", "gravatar_id": "", "url": "https://api.github.com/users/JonasLoos", "html_url": "https://github.com/JonasLoos", "followers_url": "https://api.github.com/users/JonasLoos/fo... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/6798/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/issues/6798 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/6798/timeline | json:[] | value:2235768891 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/6798 | value:`DatasetBuilder._split_generators` incomplete type annotation | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2024-04-10T14:38:50Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:CONTRIBUTOR | json:{"login": "mariosasko", "id": 47462742, "node_id": "MDQ6VXNlcjQ3NDYyNzQy", "avatar_url": "https://avatars.githubusercontent.com/u/47462742?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mariosasko", "html_url": "https://github.com/mariosasko", "followers_url": "https://api.github.com/users/mariosask... | value:https://api.github.com/repos/huggingface/datasets/issues/6798/events | value:False | value:2024-04-11T15:34:59Z | value:### Describe the bug
The [`DatasetBuilder._split_generators`](https://github.com/huggingface/datasets/blob/0f27d7b77c73412cfc50b24354bfd7a3e838202f/src/datasets/builder.py#L1449) function has currently the following signature:
```python
class DatasetBuilder:
def _split_generators(self, dl_manager: Downl... | value:https://api.github.com/repos/huggingface/datasets/issues/6798/comments | value:I_kwDODunzps6FQyA7 | value:closed | value:3 | value:2024-04-11T15:34:59Z | value:https://api.github.com/repos/huggingface/datasets/issues/6798/labels{/name} | value:6798 | json:{"login": "JonasLoos", "id": 33965649, "node_id": "MDQ6VXNlcjMzOTY1NjQ5", "avatar_url": "https://avatars.githubusercontent.com/u/33965649?v=4", "gravatar_id": "", "url": "https://api.github.com/users/JonasLoos", "html_url": "https://github.com/JonasLoos", "followers_url": "https://api.github.com/users/JonasLoos/fo... | true | ||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/6797/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/6797 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/6797/timeline | json:[] | value:2234890097 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/6797 | value:Fix CI test_load_dataset_distributed_with_script | value:2024-04-10T06:57:48Z | value:MEMBER | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:https://api.github.com/repos/huggingface/datasets/issues/6797/events | value:False | value:2024-04-10T08:18:01Z | value:Fix #6796. | value:https://api.github.com/repos/huggingface/datasets/issues/6797/comments | value:PR_kwDODunzps5sNYKZ | value:closed | value:2 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/6797", "html_url": "https://github.com/huggingface/datasets/pull/6797", "diff_url": "https://github.com/huggingface/datasets/pull/6797.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6797.patch", "merged_at": null} | value:2024-04-10T08:25:00Z | value:https://api.github.com/repos/huggingface/datasets/issues/6797/labels{/name} | value:6797 | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/6796/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[{"id": 1935892857, "node_id": "MDU6TGFiZWwxOTM1ODkyODU3", "url": "https://api.github.com/repos/huggingface/datasets/labels/bug", "name": "bug", "color": "d73a4a", "default": true, "description": "Something isn't working", "archived_at": null, "archived_by": null}] | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:https://github.com/huggingface/datasets/issues/6796 | json:[{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/u... | value:https://api.github.com/repos/huggingface/datasets/issues/6796/timeline | json:[] | value:2234887618 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/6796 | value:CI is broken due to hf-internal-testing/dataset_with_script | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2024-04-10T06:56:02Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:MEMBER | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | value:https://api.github.com/repos/huggingface/datasets/issues/6796/events | value:False | value:2024-04-12T09:02:13Z | value:CI is broken for test_load_dataset_distributed_with_script. See: https://github.com/huggingface/datasets/actions/runs/8614926216/job/23609378127
```
FAILED tests/test_load.py::test_load_dataset_distributed_with_script[None] - assert False
+ where False = all(<generator object test_load_dataset_distributed_wi... | value:https://api.github.com/repos/huggingface/datasets/issues/6796/comments | value:I_kwDODunzps6FNa3C | value:closed | value:4 | value:2024-04-12T09:02:13Z | value:https://api.github.com/repos/huggingface/datasets/issues/6796/labels{/name} | value:6796 | json:{"login": "albertvillanova", "id": 8515462, "node_id": "MDQ6VXNlcjg1MTU0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertvillanova", "html_url": "https://github.com/albertvillanova", "followers_url": "https://api.github.com/us... | true |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.