url
stringlengths 61
61
| repository_url
stringclasses 1
value | labels_url
stringlengths 75
75
| comments_url
stringlengths 70
70
| events_url
stringlengths 68
68
| html_url
stringlengths 49
51
| id
int64 936M
2.44B
| node_id
stringlengths 18
32
| number
int64 2.58k
7.09k
| title
stringlengths 1
290
| user
stringlengths 872
1.16k
| labels
stringclasses 71
values | state
stringclasses 2
values | locked
bool 1
class | assignee
stringclasses 59
values | assignees
stringclasses 66
values | milestone
stringclasses 4
values | comments
int64 0
49
| created_at
stringlengths 20
20
| updated_at
stringlengths 20
20
| closed_at
stringlengths 20
20
⌀ | author_association
stringclasses 4
values | active_lock_reason
float64 | body
stringlengths 1
36.2k
⌀ | reactions
stringlengths 194
197
| timeline_url
stringlengths 70
70
| performed_via_github_app
float64 | state_reason
stringclasses 3
values | actual_comments
stringlengths 2
286k
| comments_body
stringlengths 2
193k
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
https://api.github.com/repos/huggingface/datasets/issues/7085 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/7085/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/7085/comments | https://api.github.com/repos/huggingface/datasets/issues/7085/events | https://github.com/huggingface/datasets/issues/7085 | 2,440,008,618 | I_kwDODunzps6Rb5Oq | 7,085 | [Regression] IterableDataset is broken on 2.20.0 | {'avatar_url': 'https://avatars.githubusercontent.com/u/5404177?v=4', 'events_url': 'https://api.github.com/users/AjayP13/events{/privacy}', 'followers_url': 'https://api.github.com/users/AjayP13/followers', 'following_url': 'https://api.github.com/users/AjayP13/following{/other_user}', 'gists_url': 'https://api.github.com/users/AjayP13/gists{/gist_id}', 'gravatar_id': '', 'html_url': 'https://github.com/AjayP13', 'id': 5404177, 'login': 'AjayP13', 'node_id': 'MDQ6VXNlcjU0MDQxNzc=', 'organizations_url': 'https://api.github.com/users/AjayP13/orgs', 'received_events_url': 'https://api.github.com/users/AjayP13/received_events', 'repos_url': 'https://api.github.com/users/AjayP13/repos', 'site_admin': False, 'starred_url': 'https://api.github.com/users/AjayP13/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/AjayP13/subscriptions', 'type': 'User', 'url': 'https://api.github.com/users/AjayP13'} | [] | open | false | null | [] | null | 1 | 2024-07-31T13:01:59Z | 2024-07-31T13:36:34Z | null | NONE | null | ### Describe the bug
In the latest version of datasets there is a major regression, after creating an `IterableDataset` from a generator and applying a few operations (`map`, `select`), you can no longer iterate through the dataset multiple times.
The issue seems to stem from the recent addition of "resumable IterableDatasets" (#6658) (@lhoestq). It seems like it's keeping state when it shouldn't.
### Steps to reproduce the bug
Minimal Reproducible Example (comparing `datasets==2.17.0` and `datasets==2.20.0`)
```
#!/bin/bash
# List of dataset versions to test
versions=("2.17.0" "2.20.0")
# Loop through each version
for version in "${versions[@]}"; do
# Install the specific version of the datasets library
pip3 install -q datasets=="$version" 2>/dev/null
# Run the Python script
python3 - <<EOF
from datasets import IterableDataset
from datasets.features.features import Features, Value
def test_gen():
yield from [{"foo": i} for i in range(10)]
features = Features([("foo", Value("int64"))])
d = IterableDataset.from_generator(test_gen, features=features)
mapped = d.map(lambda row: {"foo": row["foo"] * 2})
column = mapped.select_columns(["foo"])
print("Version $version - Iterate Once:", list(column))
print("Version $version - Iterate Twice:", list(column))
EOF
done
```
The output looks like this:
```
Version 2.17.0 - Iterate Once: [{'foo': 0}, {'foo': 2}, {'foo': 4}, {'foo': 6}, {'foo': 8}, {'foo': 10}, {'foo': 12}, {'foo': 14}, {'foo': 16}, {'foo': 18}]
Version 2.17.0 - Iterate Twice: [{'foo': 0}, {'foo': 2}, {'foo': 4}, {'foo': 6}, {'foo': 8}, {'foo': 10}, {'foo': 12}, {'foo': 14}, {'foo': 16}, {'foo': 18}]
Version 2.20.0 - Iterate Once: [{'foo': 0}, {'foo': 2}, {'foo': 4}, {'foo': 6}, {'foo': 8}, {'foo': 10}, {'foo': 12}, {'foo': 14}, {'foo': 16}, {'foo': 18}]
Version 2.20.0 - Iterate Twice: []
```
### Expected behavior
The expected behavior is it version 2.20.0 should behave the same as 2.17.0.
### Environment info
`datasets==2.20.0` on any platform. | {'+1': 0, '-1': 0, 'confused': 0, 'eyes': 0, 'heart': 0, 'hooray': 0, 'laugh': 0, 'rocket': 0, 'total_count': 0, 'url': 'https://api.github.com/repos/huggingface/datasets/issues/7085/reactions'} | https://api.github.com/repos/huggingface/datasets/issues/7085/timeline | null | null | [{'author_association': 'NONE', 'body': "@lhoestq I detected this regression over on [DataDreamer](https://github.com/datadreamer-dev/DataDreamer)'s test suite. I put in these [monkey patches](https://github.com/datadreamer-dev/DataDreamer/blob/4cbaf9f39cf7bedde72bbaa68346e169788fbecb/src/_patches/datasets_reset_state_hack.py) in case that fixed it our tests failing in case it helps you figure out where this is coming from. I found it hard to reason through the resumable IterableDataset code though, so hopefully you have more intuition to implement a proper fix.", 'created_at': '2024-07-31T13:36:33Z', 'html_url': 'https://github.com/huggingface/datasets/issues/7085#issuecomment-2260545897', 'id': 2260545897, 'issue_url': 'https://api.github.com/repos/huggingface/datasets/issues/7085', 'node_id': 'IC_kwDODunzps6GvTFp', 'performed_via_github_app': None, 'reactions': {'+1': 0, '-1': 0, 'confused': 0, 'eyes': 0, 'heart': 0, 'hooray': 0, 'laugh': 0, 'rocket': 0, 'total_count': 0, 'url': 'https://api.github.com/repos/huggingface/datasets/issues/comments/2260545897/reactions'}, 'updated_at': '2024-07-31T13:36:33Z', 'url': 'https://api.github.com/repos/huggingface/datasets/issues/comments/2260545897', 'user': {'avatar_url': 'https://avatars.githubusercontent.com/u/5404177?v=4', 'events_url': 'https://api.github.com/users/AjayP13/events{/privacy}', 'followers_url': 'https://api.github.com/users/AjayP13/followers', 'following_url': 'https://api.github.com/users/AjayP13/following{/other_user}', 'gists_url': 'https://api.github.com/users/AjayP13/gists{/gist_id}', 'gravatar_id': '', 'html_url': 'https://github.com/AjayP13', 'id': 5404177, 'login': 'AjayP13', 'node_id': 'MDQ6VXNlcjU0MDQxNzc=', 'organizations_url': 'https://api.github.com/users/AjayP13/orgs', 'received_events_url': 'https://api.github.com/users/AjayP13/received_events', 'repos_url': 'https://api.github.com/users/AjayP13/repos', 'site_admin': False, 'starred_url': 'https://api.github.com/users/AjayP13/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/AjayP13/subscriptions', 'type': 'User', 'url': 'https://api.github.com/users/AjayP13'}}] | ["@lhoestq I detected this regression over on [DataDreamer](https://github.com/datadreamer-dev/DataDreamer)'s test suite. I put in these [monkey patches](https://github.com/datadreamer-dev/DataDreamer/blob/4cbaf9f39cf7bedde72bbaa68346e169788fbecb/src/_patches/datasets_reset_state_hack.py) in case that fixed it our tests failing in case it helps you figure out where this is coming from. I found it hard to reason through the resumable IterableDataset code though, so hopefully you have more intuition to implement a proper fix."] |
https://api.github.com/repos/huggingface/datasets/issues/7084 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/7084/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/7084/comments | https://api.github.com/repos/huggingface/datasets/issues/7084/events | https://github.com/huggingface/datasets/issues/7084 | 2,439,519,534 | I_kwDODunzps6RaB0u | 7,084 | More easily support streaming local files | {'avatar_url': 'https://avatars.githubusercontent.com/u/23191892?v=4', 'events_url': 'https://api.github.com/users/fschlatt/events{/privacy}', 'followers_url': 'https://api.github.com/users/fschlatt/followers', 'following_url': 'https://api.github.com/users/fschlatt/following{/other_user}', 'gists_url': 'https://api.github.com/users/fschlatt/gists{/gist_id}', 'gravatar_id': '', 'html_url': 'https://github.com/fschlatt', 'id': 23191892, 'login': 'fschlatt', 'node_id': 'MDQ6VXNlcjIzMTkxODky', 'organizations_url': 'https://api.github.com/users/fschlatt/orgs', 'received_events_url': 'https://api.github.com/users/fschlatt/received_events', 'repos_url': 'https://api.github.com/users/fschlatt/repos', 'site_admin': False, 'starred_url': 'https://api.github.com/users/fschlatt/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/fschlatt/subscriptions', 'type': 'User', 'url': 'https://api.github.com/users/fschlatt'} | [{'color': 'a2eeef', 'default': True, 'description': 'New feature or request', 'id': 1935892871, 'name': 'enhancement', 'node_id': 'MDU6TGFiZWwxOTM1ODkyODcx', 'url': 'https://api.github.com/repos/huggingface/datasets/labels/enhancement'}] | open | false | null | [] | null | 0 | 2024-07-31T09:03:15Z | 2024-07-31T09:05:58Z | null | NONE | null | ### Feature request
Simplify downloading and streaming datasets locally. Specifically, perhaps add an option to `load_dataset(..., streaming="download_first")` or add better support for streaming symlinked or arrow files.
### Motivation
I have downloaded FineWeb-edu locally and currently trying to stream the dataset from the local files. I have both the raw parquet files using `hugginface-cli download --repo-type dataset HuggingFaceFW/fineweb-edu` and the processed arrow files using `load_dataset("HuggingFaceFW/fineweb-edu")`.
Streaming the files locally does not work well for both file types for two different reasons.
**Arrow files**
When running `load_dataset("arrow", data_files={"train": "~/.cache/huggingface/datasets/HuggingFaceFW___fineweb-edu/default/0.0.0/5b89d1ea9319fe101b3cbdacd89a903aca1d6052/fineweb-edu-train-*.arrow"})` resolving the data files is fast, but because `arrow` is not included in the known [extensions file list](https://github.com/huggingface/datasets/blob/ce4a0c573920607bc6c814605734091b06b860e7/src/datasets/utils/file_utils.py#L738) , all files are opened and scanned to determine the compression type. Adding `arrow` to the known extension types resolves this issue.
**Parquet files**
When running `load_dataset("arrow", data_files={"train": "~/.cache/huggingface/hub/dataset-HuggingFaceFW___fineweb-edu/snapshots/5b89d1ea9319fe101b3cbdacd89a903aca1d6052/data/CC-MAIN-*/train-*.parquet"})` the paths do not get resolved because the parquet files are symlinked from the blobs (which contain all files in case there are different versions). This occurs because the [pattern matching](https://github.com/huggingface/datasets/blob/ce4a0c573920607bc6c814605734091b06b860e7/src/datasets/data_files.py#L389) checks if the path is a file and does not check for symlinks. Symlinks (at least on my machine) are of type "other".
### Your contribution
I have created a PR for fixing arrow file streaming and symlinks. However, I have not checked locally if the tests work or new tests need to be added.
IMO, the easiest option would be to add a `streaming=download_first` option, but I'm afraid that exceeds my current knowledge of how the datasets library works. https://github.com/huggingface/datasets/pull/7083 | {'+1': 0, '-1': 0, 'confused': 0, 'eyes': 0, 'heart': 0, 'hooray': 0, 'laugh': 0, 'rocket': 0, 'total_count': 0, 'url': 'https://api.github.com/repos/huggingface/datasets/issues/7084/reactions'} | https://api.github.com/repos/huggingface/datasets/issues/7084/timeline | null | null | [] | [] |
https://api.github.com/repos/huggingface/datasets/issues/7083 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/7083/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/7083/comments | https://api.github.com/repos/huggingface/datasets/issues/7083/events | https://github.com/huggingface/datasets/pull/7083 | 2,439,518,466 | PR_kwDODunzps5292hC | 7,083 | fix streaming from arrow files | {'avatar_url': 'https://avatars.githubusercontent.com/u/23191892?v=4', 'events_url': 'https://api.github.com/users/fschlatt/events{/privacy}', 'followers_url': 'https://api.github.com/users/fschlatt/followers', 'following_url': 'https://api.github.com/users/fschlatt/following{/other_user}', 'gists_url': 'https://api.github.com/users/fschlatt/gists{/gist_id}', 'gravatar_id': '', 'html_url': 'https://github.com/fschlatt', 'id': 23191892, 'login': 'fschlatt', 'node_id': 'MDQ6VXNlcjIzMTkxODky', 'organizations_url': 'https://api.github.com/users/fschlatt/orgs', 'received_events_url': 'https://api.github.com/users/fschlatt/received_events', 'repos_url': 'https://api.github.com/users/fschlatt/repos', 'site_admin': False, 'starred_url': 'https://api.github.com/users/fschlatt/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/fschlatt/subscriptions', 'type': 'User', 'url': 'https://api.github.com/users/fschlatt'} | [] | open | false | null | [] | null | 0 | 2024-07-31T09:02:42Z | 2024-07-31T09:02:42Z | null | NONE | null | null | {'+1': 0, '-1': 0, 'confused': 0, 'eyes': 0, 'heart': 0, 'hooray': 0, 'laugh': 0, 'rocket': 0, 'total_count': 0, 'url': 'https://api.github.com/repos/huggingface/datasets/issues/7083/reactions'} | https://api.github.com/repos/huggingface/datasets/issues/7083/timeline | null | null | [] | [] |
https://api.github.com/repos/huggingface/datasets/issues/7082 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/7082/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/7082/comments | https://api.github.com/repos/huggingface/datasets/issues/7082/events | https://github.com/huggingface/datasets/pull/7082 | 2,437,354,975 | PR_kwDODunzps522dTJ | 7,082 | Support HTTP authentication in non-streaming mode | {'avatar_url': 'https://avatars.githubusercontent.com/u/8515462?v=4', 'events_url': 'https://api.github.com/users/albertvillanova/events{/privacy}', 'followers_url': 'https://api.github.com/users/albertvillanova/followers', 'following_url': 'https://api.github.com/users/albertvillanova/following{/other_user}', 'gists_url': 'https://api.github.com/users/albertvillanova/gists{/gist_id}', 'gravatar_id': '', 'html_url': 'https://github.com/albertvillanova', 'id': 8515462, 'login': 'albertvillanova', 'node_id': 'MDQ6VXNlcjg1MTU0NjI=', 'organizations_url': 'https://api.github.com/users/albertvillanova/orgs', 'received_events_url': 'https://api.github.com/users/albertvillanova/received_events', 'repos_url': 'https://api.github.com/users/albertvillanova/repos', 'site_admin': False, 'starred_url': 'https://api.github.com/users/albertvillanova/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/albertvillanova/subscriptions', 'type': 'User', 'url': 'https://api.github.com/users/albertvillanova'} | [] | open | false | null | [] | null | 1 | 2024-07-30T09:25:49Z | 2024-07-31T08:58:54Z | null | MEMBER | null | Support HTTP authentication in non-streaming mode, by support passing HTTP storage_options in non-streaming mode.
- Note that currently, HTTP authentication is supported only in streaming mode.
For example, this is necessary if a remote HTTP host requires authentication to download the data. | {'+1': 0, '-1': 0, 'confused': 0, 'eyes': 0, 'heart': 0, 'hooray': 0, 'laugh': 0, 'rocket': 0, 'total_count': 0, 'url': 'https://api.github.com/repos/huggingface/datasets/issues/7082/reactions'} | https://api.github.com/repos/huggingface/datasets/issues/7082/timeline | null | null | [{'author_association': 'NONE', 'body': 'The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7082). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.', 'created_at': '2024-07-30T09:28:15Z', 'html_url': 'https://github.com/huggingface/datasets/pull/7082#issuecomment-2257898903', 'id': 2257898903, 'issue_url': 'https://api.github.com/repos/huggingface/datasets/issues/7082', 'node_id': 'IC_kwDODunzps6GlM2X', 'performed_via_github_app': None, 'reactions': {'+1': 0, '-1': 0, 'confused': 0, 'eyes': 0, 'heart': 0, 'hooray': 0, 'laugh': 0, 'rocket': 0, 'total_count': 0, 'url': 'https://api.github.com/repos/huggingface/datasets/issues/comments/2257898903/reactions'}, 'updated_at': '2024-07-30T09:28:15Z', 'url': 'https://api.github.com/repos/huggingface/datasets/issues/comments/2257898903', 'user': {'avatar_url': 'https://avatars.githubusercontent.com/u/99929124?v=4', 'events_url': 'https://api.github.com/users/HuggingFaceDocBuilderDev/events{/privacy}', 'followers_url': 'https://api.github.com/users/HuggingFaceDocBuilderDev/followers', 'following_url': 'https://api.github.com/users/HuggingFaceDocBuilderDev/following{/other_user}', 'gists_url': 'https://api.github.com/users/HuggingFaceDocBuilderDev/gists{/gist_id}', 'gravatar_id': '', 'html_url': 'https://github.com/HuggingFaceDocBuilderDev', 'id': 99929124, 'login': 'HuggingFaceDocBuilderDev', 'node_id': 'U_kgDOBfTMJA', 'organizations_url': 'https://api.github.com/users/HuggingFaceDocBuilderDev/orgs', 'received_events_url': 'https://api.github.com/users/HuggingFaceDocBuilderDev/received_events', 'repos_url': 'https://api.github.com/users/HuggingFaceDocBuilderDev/repos', 'site_admin': False, 'starred_url': 'https://api.github.com/users/HuggingFaceDocBuilderDev/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/HuggingFaceDocBuilderDev/subscriptions', 'type': 'User', 'url': 'https://api.github.com/users/HuggingFaceDocBuilderDev'}}] | ['The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7082). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.'] |
https://api.github.com/repos/huggingface/datasets/issues/7081 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/7081/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/7081/comments | https://api.github.com/repos/huggingface/datasets/issues/7081/events | https://github.com/huggingface/datasets/pull/7081 | 2,437,059,657 | PR_kwDODunzps521cGm | 7,081 | Set load_from_disk path type as PathLike | {'avatar_url': 'https://avatars.githubusercontent.com/u/8515462?v=4', 'events_url': 'https://api.github.com/users/albertvillanova/events{/privacy}', 'followers_url': 'https://api.github.com/users/albertvillanova/followers', 'following_url': 'https://api.github.com/users/albertvillanova/following{/other_user}', 'gists_url': 'https://api.github.com/users/albertvillanova/gists{/gist_id}', 'gravatar_id': '', 'html_url': 'https://github.com/albertvillanova', 'id': 8515462, 'login': 'albertvillanova', 'node_id': 'MDQ6VXNlcjg1MTU0NjI=', 'organizations_url': 'https://api.github.com/users/albertvillanova/orgs', 'received_events_url': 'https://api.github.com/users/albertvillanova/received_events', 'repos_url': 'https://api.github.com/users/albertvillanova/repos', 'site_admin': False, 'starred_url': 'https://api.github.com/users/albertvillanova/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/albertvillanova/subscriptions', 'type': 'User', 'url': 'https://api.github.com/users/albertvillanova'} | [] | closed | false | null | [] | null | 2 | 2024-07-30T07:00:38Z | 2024-07-30T08:30:37Z | 2024-07-30T08:21:50Z | MEMBER | null | Set `load_from_disk` path type as `PathLike`. This way it is aligned with `save_to_disk`. | {'+1': 0, '-1': 0, 'confused': 0, 'eyes': 0, 'heart': 0, 'hooray': 0, 'laugh': 0, 'rocket': 0, 'total_count': 0, 'url': 'https://api.github.com/repos/huggingface/datasets/issues/7081/reactions'} | https://api.github.com/repos/huggingface/datasets/issues/7081/timeline | null | null | [{'author_association': 'NONE', 'body': 'The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7081). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.', 'created_at': '2024-07-30T07:03:10Z', 'html_url': 'https://github.com/huggingface/datasets/pull/7081#issuecomment-2257619731', 'id': 2257619731, 'issue_url': 'https://api.github.com/repos/huggingface/datasets/issues/7081', 'node_id': 'IC_kwDODunzps6GkIsT', 'performed_via_github_app': None, 'reactions': {'+1': 0, '-1': 0, 'confused': 0, 'eyes': 0, 'heart': 0, 'hooray': 0, 'laugh': 0, 'rocket': 0, 'total_count': 0, 'url': 'https://api.github.com/repos/huggingface/datasets/issues/comments/2257619731/reactions'}, 'updated_at': '2024-07-30T07:03:10Z', 'url': 'https://api.github.com/repos/huggingface/datasets/issues/comments/2257619731', 'user': {'avatar_url': 'https://avatars.githubusercontent.com/u/99929124?v=4', 'events_url': 'https://api.github.com/users/HuggingFaceDocBuilderDev/events{/privacy}', 'followers_url': 'https://api.github.com/users/HuggingFaceDocBuilderDev/followers', 'following_url': 'https://api.github.com/users/HuggingFaceDocBuilderDev/following{/other_user}', 'gists_url': 'https://api.github.com/users/HuggingFaceDocBuilderDev/gists{/gist_id}', 'gravatar_id': '', 'html_url': 'https://github.com/HuggingFaceDocBuilderDev', 'id': 99929124, 'login': 'HuggingFaceDocBuilderDev', 'node_id': 'U_kgDOBfTMJA', 'organizations_url': 'https://api.github.com/users/HuggingFaceDocBuilderDev/orgs', 'received_events_url': 'https://api.github.com/users/HuggingFaceDocBuilderDev/received_events', 'repos_url': 'https://api.github.com/users/HuggingFaceDocBuilderDev/repos', 'site_admin': False, 'starred_url': 'https://api.github.com/users/HuggingFaceDocBuilderDev/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/HuggingFaceDocBuilderDev/subscriptions', 'type': 'User', 'url': 'https://api.github.com/users/HuggingFaceDocBuilderDev'}}
{'author_association': 'NONE', 'body': '<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>Show updated benchmarks!</summary>\n\n### Benchmark: benchmark_array_xd.json\n\n| metric | read_batch_formatted_as_numpy after write_array2d | read_batch_formatted_as_numpy after write_flattened_sequence | read_batch_formatted_as_numpy after write_nested_sequence | read_batch_unformated after write_array2d | read_batch_unformated after write_flattened_sequence | read_batch_unformated after write_nested_sequence | read_col_formatted_as_numpy after write_array2d | read_col_formatted_as_numpy after write_flattened_sequence | read_col_formatted_as_numpy after write_nested_sequence | read_col_unformated after write_array2d | read_col_unformated after write_flattened_sequence | read_col_unformated after write_nested_sequence | read_formatted_as_numpy after write_array2d | read_formatted_as_numpy after write_flattened_sequence | read_formatted_as_numpy after write_nested_sequence | read_unformated after write_array2d | read_unformated after write_flattened_sequence | read_unformated after write_nested_sequence | write_array2d | write_flattened_sequence | write_nested_sequence |\n|--------|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|\n| new / old (diff) | 0.005665 / 0.011353 (-0.005688) | 0.004130 / 0.011008 (-0.006878) | 0.064231 / 0.038508 (0.025723) | 0.030738 / 0.023109 (0.007628) | 0.251896 / 0.275898 (-0.024002) | 0.275182 / 0.323480 (-0.048298) | 0.003364 / 0.007986 (-0.004621) | 0.003569 / 0.004328 (-0.000759) | 0.049407 / 0.004250 (0.045157) | 0.048177 / 0.037052 (0.011124) | 0.253739 / 0.258489 (-0.004751) | 0.304087 / 0.293841 (0.010246) | 0.030457 / 0.128546 (-0.098089) | 0.012762 / 0.075646 (-0.062885) | 0.214312 / 0.419271 (-0.204959) | 0.036673 / 0.043533 (-0.006860) | 0.251838 / 0.255139 (-0.003301) | 0.274049 / 0.283200 (-0.009151) | 0.021133 / 0.141683 (-0.120550) | 1.143743 / 1.452155 (-0.308412) | 1.203681 / 1.492716 (-0.289036) |\n\n### Benchmark: benchmark_getitem\\_100B.json\n\n| metric | get_batch_of\\_1024\\_random_rows | get_batch_of\\_1024\\_rows | get_first_row | get_last_row |\n|--------|---|---|---|---|\n| new / old (diff) | 0.094668 / 0.018006 (0.076662) | 0.300323 / 0.000490 (0.299833) | 0.000222 / 0.000200 (0.000022) | 0.000044 / 0.000054 (-0.000010) |\n\n### Benchmark: benchmark_indices_mapping.json\n\n| metric | select | shard | shuffle | sort | train_test_split |\n|--------|---|---|---|---|---|\n| new / old (diff) | 0.018565 / 0.037411 (-0.018846) | 0.066096 / 0.014526 (0.051570) | 0.075700 / 0.176557 (-0.100857) | 0.122185 / 0.737135 (-0.614950) | 0.077688 / 0.296338 (-0.218651) |\n\n### Benchmark: benchmark_iterating.json\n\n| metric | read 5000 | read 50000 | read_batch 50000 10 | read_batch 50000 100 | read_batch 50000 1000 | read_formatted numpy 5000 | read_formatted pandas 5000 | read_formatted tensorflow 5000 | read_formatted torch 5000 | read_formatted_batch numpy 5000 10 | read_formatted_batch numpy 5000 1000 | shuffled read 5000 | shuffled read 50000 | shuffled read_batch 50000 10 | shuffled read_batch 50000 100 | shuffled read_batch 50000 1000 | shuffled read_formatted numpy 5000 | shuffled read_formatted_batch numpy 5000 10 | shuffled read_formatted_batch numpy 5000 1000 |\n|--------|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|\n| new / old (diff) | 0.288804 / 0.215209 (0.073595) | 2.838336 / 2.077655 (0.760681) | 1.530575 / 1.504120 (0.026455) | 1.406716 / 1.541195 (-0.134478) | 1.438885 / 1.468490 (-0.029605) | 0.744809 / 4.584777 (-3.839968) | 2.447992 / 3.745712 (-1.297721) | 3.126261 / 5.269862 (-2.143601) | 1.999687 / 4.565676 (-2.565990) | 0.081536 / 0.424275 (-0.342739) | 0.005827 / 0.007607 (-0.001780) | 0.346367 / 0.226044 (0.120323) | 3.373268 / 2.268929 (1.104339) | 1.890293 / 55.444624 (-53.554332) | 1.590384 / 6.876477 (-5.286093) | 1.652101 / 2.142072 (-0.489971) | 0.805888 / 4.805227 (-3.999339) | 0.137687 / 6.500664 (-6.362977) | 0.044536 / 0.075469 (-0.030933) |\n\n### Benchmark: benchmark_map_filter.json\n\n| metric | filter | map fast-tokenizer batched | map identity | map identity batched | map no-op batched | map no-op batched numpy | map no-op batched pandas | map no-op batched pytorch | map no-op batched tensorflow |\n|--------|---|---|---|---|---|---|---|---|---|\n| new / old (diff) | 0.998393 / 1.841788 (-0.843395) | 12.392241 / 8.074308 (4.317933) | 10.055638 / 10.191392 (-0.135754) | 0.132347 / 0.680424 (-0.548077) | 0.014635 / 0.534201 (-0.519566) | 0.301939 / 0.579283 (-0.277344) | 0.266756 / 0.434364 (-0.167608) | 0.342730 / 0.540337 (-0.197608) | 0.435463 / 1.386936 (-0.951473) |\n\n</details>\nPyArrow==latest\n\n<details>\n<summary>Show updated benchmarks!</summary>\n\n### Benchmark: benchmark_array_xd.json\n\n| metric | read_batch_formatted_as_numpy after write_array2d | read_batch_formatted_as_numpy after write_flattened_sequence | read_batch_formatted_as_numpy after write_nested_sequence | read_batch_unformated after write_array2d | read_batch_unformated after write_flattened_sequence | read_batch_unformated after write_nested_sequence | read_col_formatted_as_numpy after write_array2d | read_col_formatted_as_numpy after write_flattened_sequence | read_col_formatted_as_numpy after write_nested_sequence | read_col_unformated after write_array2d | read_col_unformated after write_flattened_sequence | read_col_unformated after write_nested_sequence | read_formatted_as_numpy after write_array2d | read_formatted_as_numpy after write_flattened_sequence | read_formatted_as_numpy after write_nested_sequence | read_unformated after write_array2d | read_unformated after write_flattened_sequence | read_unformated after write_nested_sequence | write_array2d | write_flattened_sequence | write_nested_sequence |\n|--------|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|\n| new / old (diff) | 0.006421 / 0.011353 (-0.004932) | 0.004494 / 0.011008 (-0.006514) | 0.051315 / 0.038508 (0.012806) | 0.035570 / 0.023109 (0.012460) | 0.271635 / 0.275898 (-0.004263) | 0.297082 / 0.323480 (-0.026398) | 0.004572 / 0.007986 (-0.003414) | 0.002886 / 0.004328 (-0.001443) | 0.049152 / 0.004250 (0.044902) | 0.043000 / 0.037052 (0.005948) | 0.281921 / 0.258489 (0.023432) | 0.321097 / 0.293841 (0.027256) | 0.033488 / 0.128546 (-0.095058) | 0.012835 / 0.075646 (-0.062811) | 0.061831 / 0.419271 (-0.357441) | 0.034674 / 0.043533 (-0.008858) | 0.272885 / 0.255139 (0.017746) | 0.292726 / 0.283200 (0.009527) | 0.019906 / 0.141683 (-0.121777) | 1.132234 / 1.452155 (-0.319920) | 1.155359 / 1.492716 (-0.337357) |\n\n### Benchmark: benchmark_getitem\\_100B.json\n\n| metric | get_batch_of\\_1024\\_random_rows | get_batch_of\\_1024\\_rows | get_first_row | get_last_row |\n|--------|---|---|---|---|\n| new / old (diff) | 0.096943 / 0.018006 (0.078937) | 0.308980 / 0.000490 (0.308490) | 0.000225 / 0.000200 (0.000025) | 0.000047 / 0.000054 (-0.000008) |\n\n### Benchmark: benchmark_indices_mapping.json\n\n| metric | select | shard | shuffle | sort | train_test_split |\n|--------|---|---|---|---|---|\n| new / old (diff) | 0.023551 / 0.037411 (-0.013861) | 0.081682 / 0.014526 (0.067156) | 0.090987 / 0.176557 (-0.085569) | 0.132542 / 0.737135 (-0.604593) | 0.092844 / 0.296338 (-0.203494) |\n\n### Benchmark: benchmark_iterating.json\n\n| metric | read 5000 | read 50000 | read_batch 50000 10 | read_batch 50000 100 | read_batch 50000 1000 | read_formatted numpy 5000 | read_formatted pandas 5000 | read_formatted tensorflow 5000 | read_formatted torch 5000 | read_formatted_batch numpy 5000 10 | read_formatted_batch numpy 5000 1000 | shuffled read 5000 | shuffled read 50000 | shuffled read_batch 50000 10 | shuffled read_batch 50000 100 | shuffled read_batch 50000 1000 | shuffled read_formatted numpy 5000 | shuffled read_formatted_batch numpy 5000 10 | shuffled read_formatted_batch numpy 5000 1000 |\n|--------|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|\n| new / old (diff) | 0.304190 / 0.215209 (0.088981) | 2.958591 / 2.077655 (0.880936) | 1.610211 / 1.504120 (0.106091) | 1.488216 / 1.541195 (-0.052978) | 1.525429 / 1.468490 (0.056939) | 0.752811 / 4.584777 (-3.831966) | 0.967887 / 3.745712 (-2.777825) | 2.982760 / 5.269862 (-2.287102) | 1.996623 / 4.565676 (-2.569053) | 0.080783 / 0.424275 (-0.343492) | 0.005337 / 0.007607 (-0.002270) | 0.354996 / 0.226044 (0.128951) | 3.540788 / 2.268929 (1.271860) | 1.997445 / 55.444624 (-53.447179) | 1.682232 / 6.876477 (-5.194245) | 1.883198 / 2.142072 (-0.258875) | 0.814444 / 4.805227 (-3.990783) | 0.135798 / 6.500664 (-6.364867) | 0.041750 / 0.075469 (-0.033719) |\n\n### Benchmark: benchmark_map_filter.json\n\n| metric | filter | map fast-tokenizer batched | map identity | map identity batched | map no-op batched | map no-op batched numpy | map no-op batched pandas | map no-op batched pytorch | map no-op batched tensorflow |\n|--------|---|---|---|---|---|---|---|---|---|\n| new / old (diff) | 1.048688 / 1.841788 (-0.793099) | 13.122809 / 8.074308 (5.048501) | 10.893354 / 10.191392 (0.701962) | 0.133710 / 0.680424 (-0.546713) | 0.016357 / 0.534201 (-0.517844) | 0.304364 / 0.579283 (-0.274919) | 0.126457 / 0.434364 (-0.307907) | 0.345747 / 0.540337 (-0.194591) | 0.441620 / 1.386936 (-0.945316) |\n\n</details>\n</details>\n\n![](https://cml.dev/watermark.png#27ea8e8ead3e76bb07aa645f882945495d238ef3 "CML watermark")\n', 'created_at': '2024-07-30T08:30:36Z', 'html_url': 'https://github.com/huggingface/datasets/pull/7081#issuecomment-2257778820', 'id': 2257778820, 'issue_url': 'https://api.github.com/repos/huggingface/datasets/issues/7081', 'node_id': 'IC_kwDODunzps6GkviE', 'performed_via_github_app': {'created_at': '2018-07-30T09:30:17Z', 'description': 'Automate your workflow from idea to production', 'events': array(['branch_protection_rule', 'check_run', 'check_suite', 'create',
'delete', 'deployment', 'deployment_status', 'discussion',
'discussion_comment', 'fork', 'gollum', 'issues', 'issue_comment',
'label', 'merge_group', 'milestone', 'page_build', 'project',
'project_card', 'project_column', 'public', 'pull_request',
'pull_request_review', 'pull_request_review_comment', 'push',
'registry_package', 'release', 'repository', 'repository_dispatch',
'status', 'watch', 'workflow_dispatch', 'workflow_run'],
dtype=object), 'external_url': 'https://help.github.com/en/actions', 'html_url': 'https://github.com/apps/github-actions', 'id': 15368, 'name': 'GitHub Actions', 'node_id': 'MDM6QXBwMTUzNjg=', 'owner': {'avatar_url': 'https://avatars.githubusercontent.com/u/9919?v=4', 'events_url': 'https://api.github.com/users/github/events{/privacy}', 'followers_url': 'https://api.github.com/users/github/followers', 'following_url': 'https://api.github.com/users/github/following{/other_user}', 'gists_url': 'https://api.github.com/users/github/gists{/gist_id}', 'gravatar_id': '', 'html_url': 'https://github.com/github', 'id': 9919, 'login': 'github', 'node_id': 'MDEyOk9yZ2FuaXphdGlvbjk5MTk=', 'organizations_url': 'https://api.github.com/users/github/orgs', 'received_events_url': 'https://api.github.com/users/github/received_events', 'repos_url': 'https://api.github.com/users/github/repos', 'site_admin': False, 'starred_url': 'https://api.github.com/users/github/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/github/subscriptions', 'type': 'Organization', 'url': 'https://api.github.com/users/github'}, 'permissions': {'actions': 'write', 'administration': 'read', 'attestations': 'write', 'checks': 'write', 'contents': 'write', 'deployments': 'write', 'discussions': 'write', 'issues': 'write', 'merge_queues': 'write', 'metadata': 'read', 'packages': 'write', 'pages': 'write', 'pull_requests': 'write', 'repository_hooks': 'write', 'repository_projects': 'write', 'security_events': 'write', 'statuses': 'write', 'vulnerability_alerts': 'read'}, 'slug': 'github-actions', 'updated_at': '2024-04-10T20:33:16Z'}, 'reactions': {'+1': 0, '-1': 0, 'confused': 0, 'eyes': 0, 'heart': 0, 'hooray': 0, 'laugh': 0, 'rocket': 0, 'total_count': 0, 'url': 'https://api.github.com/repos/huggingface/datasets/issues/comments/2257778820/reactions'}, 'updated_at': '2024-07-30T08:30:36Z', 'url': 'https://api.github.com/repos/huggingface/datasets/issues/comments/2257778820', 'user': {'avatar_url': 'https://avatars.githubusercontent.com/in/15368?v=4', 'events_url': 'https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}', 'followers_url': 'https://api.github.com/users/github-actions%5Bbot%5D/followers', 'following_url': 'https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}', 'gists_url': 'https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}', 'gravatar_id': '', 'html_url': 'https://github.com/apps/github-actions', 'id': 41898282, 'login': 'github-actions[bot]', 'node_id': 'MDM6Qm90NDE4OTgyODI=', 'organizations_url': 'https://api.github.com/users/github-actions%5Bbot%5D/orgs', 'received_events_url': 'https://api.github.com/users/github-actions%5Bbot%5D/received_events', 'repos_url': 'https://api.github.com/users/github-actions%5Bbot%5D/repos', 'site_admin': False, 'starred_url': 'https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/github-actions%5Bbot%5D/subscriptions', 'type': 'Bot', 'url': 'https://api.github.com/users/github-actions%5Bbot%5D'}} ] | ['The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7081). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.'
'<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>Show updated benchmarks!</summary>\n\n### Benchmark: benchmark_array_xd.json\n\n| metric | read_batch_formatted_as_numpy after write_array2d | read_batch_formatted_as_numpy after write_flattened_sequence | read_batch_formatted_as_numpy after write_nested_sequence | read_batch_unformated after write_array2d | read_batch_unformated after write_flattened_sequence | read_batch_unformated after write_nested_sequence | read_col_formatted_as_numpy after write_array2d | read_col_formatted_as_numpy after write_flattened_sequence | read_col_formatted_as_numpy after write_nested_sequence | read_col_unformated after write_array2d | read_col_unformated after write_flattened_sequence | read_col_unformated after write_nested_sequence | read_formatted_as_numpy after write_array2d | read_formatted_as_numpy after write_flattened_sequence | read_formatted_as_numpy after write_nested_sequence | read_unformated after write_array2d | read_unformated after write_flattened_sequence | read_unformated after write_nested_sequence | write_array2d | write_flattened_sequence | write_nested_sequence |\n|--------|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|\n| new / old (diff) | 0.005665 / 0.011353 (-0.005688) | 0.004130 / 0.011008 (-0.006878) | 0.064231 / 0.038508 (0.025723) | 0.030738 / 0.023109 (0.007628) | 0.251896 / 0.275898 (-0.024002) | 0.275182 / 0.323480 (-0.048298) | 0.003364 / 0.007986 (-0.004621) | 0.003569 / 0.004328 (-0.000759) | 0.049407 / 0.004250 (0.045157) | 0.048177 / 0.037052 (0.011124) | 0.253739 / 0.258489 (-0.004751) | 0.304087 / 0.293841 (0.010246) | 0.030457 / 0.128546 (-0.098089) | 0.012762 / 0.075646 (-0.062885) | 0.214312 / 0.419271 (-0.204959) | 0.036673 / 0.043533 (-0.006860) | 0.251838 / 0.255139 (-0.003301) | 0.274049 / 0.283200 (-0.009151) | 0.021133 / 0.141683 (-0.120550) | 1.143743 / 1.452155 (-0.308412) | 1.203681 / 1.492716 (-0.289036) |\n\n### Benchmark: benchmark_getitem\\_100B.json\n\n| metric | get_batch_of\\_1024\\_random_rows | get_batch_of\\_1024\\_rows | get_first_row | get_last_row |\n|--------|---|---|---|---|\n| new / old (diff) | 0.094668 / 0.018006 (0.076662) | 0.300323 / 0.000490 (0.299833) | 0.000222 / 0.000200 (0.000022) | 0.000044 / 0.000054 (-0.000010) |\n\n### Benchmark: benchmark_indices_mapping.json\n\n| metric | select | shard | shuffle | sort | train_test_split |\n|--------|---|---|---|---|---|\n| new / old (diff) | 0.018565 / 0.037411 (-0.018846) | 0.066096 / 0.014526 (0.051570) | 0.075700 / 0.176557 (-0.100857) | 0.122185 / 0.737135 (-0.614950) | 0.077688 / 0.296338 (-0.218651) |\n\n### Benchmark: benchmark_iterating.json\n\n| metric | read 5000 | read 50000 | read_batch 50000 10 | read_batch 50000 100 | read_batch 50000 1000 | read_formatted numpy 5000 | read_formatted pandas 5000 | read_formatted tensorflow 5000 | read_formatted torch 5000 | read_formatted_batch numpy 5000 10 | read_formatted_batch numpy 5000 1000 | shuffled read 5000 | shuffled read 50000 | shuffled read_batch 50000 10 | shuffled read_batch 50000 100 | shuffled read_batch 50000 1000 | shuffled read_formatted numpy 5000 | shuffled read_formatted_batch numpy 5000 10 | shuffled read_formatted_batch numpy 5000 1000 |\n|--------|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|\n| new / old (diff) | 0.288804 / 0.215209 (0.073595) | 2.838336 / 2.077655 (0.760681) | 1.530575 / 1.504120 (0.026455) | 1.406716 / 1.541195 (-0.134478) | 1.438885 / 1.468490 (-0.029605) | 0.744809 / 4.584777 (-3.839968) | 2.447992 / 3.745712 (-1.297721) | 3.126261 / 5.269862 (-2.143601) | 1.999687 / 4.565676 (-2.565990) | 0.081536 / 0.424275 (-0.342739) | 0.005827 / 0.007607 (-0.001780) | 0.346367 / 0.226044 (0.120323) | 3.373268 / 2.268929 (1.104339) | 1.890293 / 55.444624 (-53.554332) | 1.590384 / 6.876477 (-5.286093) | 1.652101 / 2.142072 (-0.489971) | 0.805888 / 4.805227 (-3.999339) | 0.137687 / 6.500664 (-6.362977) | 0.044536 / 0.075469 (-0.030933) |\n\n### Benchmark: benchmark_map_filter.json\n\n| metric | filter | map fast-tokenizer batched | map identity | map identity batched | map no-op batched | map no-op batched numpy | map no-op batched pandas | map no-op batched pytorch | map no-op batched tensorflow |\n|--------|---|---|---|---|---|---|---|---|---|\n| new / old (diff) | 0.998393 / 1.841788 (-0.843395) | 12.392241 / 8.074308 (4.317933) | 10.055638 / 10.191392 (-0.135754) | 0.132347 / 0.680424 (-0.548077) | 0.014635 / 0.534201 (-0.519566) | 0.301939 / 0.579283 (-0.277344) | 0.266756 / 0.434364 (-0.167608) | 0.342730 / 0.540337 (-0.197608) | 0.435463 / 1.386936 (-0.951473) |\n\n</details>\nPyArrow==latest\n\n<details>\n<summary>Show updated benchmarks!</summary>\n\n### Benchmark: benchmark_array_xd.json\n\n| metric | read_batch_formatted_as_numpy after write_array2d | read_batch_formatted_as_numpy after write_flattened_sequence | read_batch_formatted_as_numpy after write_nested_sequence | read_batch_unformated after write_array2d | read_batch_unformated after write_flattened_sequence | read_batch_unformated after write_nested_sequence | read_col_formatted_as_numpy after write_array2d | read_col_formatted_as_numpy after write_flattened_sequence | read_col_formatted_as_numpy after write_nested_sequence | read_col_unformated after write_array2d | read_col_unformated after write_flattened_sequence | read_col_unformated after write_nested_sequence | read_formatted_as_numpy after write_array2d | read_formatted_as_numpy after write_flattened_sequence | read_formatted_as_numpy after write_nested_sequence | read_unformated after write_array2d | read_unformated after write_flattened_sequence | read_unformated after write_nested_sequence | write_array2d | write_flattened_sequence | write_nested_sequence |\n|--------|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|\n| new / old (diff) | 0.006421 / 0.011353 (-0.004932) | 0.004494 / 0.011008 (-0.006514) | 0.051315 / 0.038508 (0.012806) | 0.035570 / 0.023109 (0.012460) | 0.271635 / 0.275898 (-0.004263) | 0.297082 / 0.323480 (-0.026398) | 0.004572 / 0.007986 (-0.003414) | 0.002886 / 0.004328 (-0.001443) | 0.049152 / 0.004250 (0.044902) | 0.043000 / 0.037052 (0.005948) | 0.281921 / 0.258489 (0.023432) | 0.321097 / 0.293841 (0.027256) | 0.033488 / 0.128546 (-0.095058) | 0.012835 / 0.075646 (-0.062811) | 0.061831 / 0.419271 (-0.357441) | 0.034674 / 0.043533 (-0.008858) | 0.272885 / 0.255139 (0.017746) | 0.292726 / 0.283200 (0.009527) | 0.019906 / 0.141683 (-0.121777) | 1.132234 / 1.452155 (-0.319920) | 1.155359 / 1.492716 (-0.337357) |\n\n### Benchmark: benchmark_getitem\\_100B.json\n\n| metric | get_batch_of\\_1024\\_random_rows | get_batch_of\\_1024\\_rows | get_first_row | get_last_row |\n|--------|---|---|---|---|\n| new / old (diff) | 0.096943 / 0.018006 (0.078937) | 0.308980 / 0.000490 (0.308490) | 0.000225 / 0.000200 (0.000025) | 0.000047 / 0.000054 (-0.000008) |\n\n### Benchmark: benchmark_indices_mapping.json\n\n| metric | select | shard | shuffle | sort | train_test_split |\n|--------|---|---|---|---|---|\n| new / old (diff) | 0.023551 / 0.037411 (-0.013861) | 0.081682 / 0.014526 (0.067156) | 0.090987 / 0.176557 (-0.085569) | 0.132542 / 0.737135 (-0.604593) | 0.092844 / 0.296338 (-0.203494) |\n\n### Benchmark: benchmark_iterating.json\n\n| metric | read 5000 | read 50000 | read_batch 50000 10 | read_batch 50000 100 | read_batch 50000 1000 | read_formatted numpy 5000 | read_formatted pandas 5000 | read_formatted tensorflow 5000 | read_formatted torch 5000 | read_formatted_batch numpy 5000 10 | read_formatted_batch numpy 5000 1000 | shuffled read 5000 | shuffled read 50000 | shuffled read_batch 50000 10 | shuffled read_batch 50000 100 | shuffled read_batch 50000 1000 | shuffled read_formatted numpy 5000 | shuffled read_formatted_batch numpy 5000 10 | shuffled read_formatted_batch numpy 5000 1000 |\n|--------|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|\n| new / old (diff) | 0.304190 / 0.215209 (0.088981) | 2.958591 / 2.077655 (0.880936) | 1.610211 / 1.504120 (0.106091) | 1.488216 / 1.541195 (-0.052978) | 1.525429 / 1.468490 (0.056939) | 0.752811 / 4.584777 (-3.831966) | 0.967887 / 3.745712 (-2.777825) | 2.982760 / 5.269862 (-2.287102) | 1.996623 / 4.565676 (-2.569053) | 0.080783 / 0.424275 (-0.343492) | 0.005337 / 0.007607 (-0.002270) | 0.354996 / 0.226044 (0.128951) | 3.540788 / 2.268929 (1.271860) | 1.997445 / 55.444624 (-53.447179) | 1.682232 / 6.876477 (-5.194245) | 1.883198 / 2.142072 (-0.258875) | 0.814444 / 4.805227 (-3.990783) | 0.135798 / 6.500664 (-6.364867) | 0.041750 / 0.075469 (-0.033719) |\n\n### Benchmark: benchmark_map_filter.json\n\n| metric | filter | map fast-tokenizer batched | map identity | map identity batched | map no-op batched | map no-op batched numpy | map no-op batched pandas | map no-op batched pytorch | map no-op batched tensorflow |\n|--------|---|---|---|---|---|---|---|---|---|\n| new / old (diff) | 1.048688 / 1.841788 (-0.793099) | 13.122809 / 8.074308 (5.048501) | 10.893354 / 10.191392 (0.701962) | 0.133710 / 0.680424 (-0.546713) | 0.016357 / 0.534201 (-0.517844) | 0.304364 / 0.579283 (-0.274919) | 0.126457 / 0.434364 (-0.307907) | 0.345747 / 0.540337 (-0.194591) | 0.441620 / 1.386936 (-0.945316) |\n\n</details>\n</details>\n\n![](https://cml.dev/watermark.png#27ea8e8ead3e76bb07aa645f882945495d238ef3 "CML watermark")\n'] |
https://api.github.com/repos/huggingface/datasets/issues/7080 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/7080/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/7080/comments | https://api.github.com/repos/huggingface/datasets/issues/7080/events | https://github.com/huggingface/datasets/issues/7080 | 2,434,275,664 | I_kwDODunzps6RGBlQ | 7,080 | Generating train split takes a long time | {'avatar_url': 'https://avatars.githubusercontent.com/u/35648800?v=4', 'events_url': 'https://api.github.com/users/alexanderswerdlow/events{/privacy}', 'followers_url': 'https://api.github.com/users/alexanderswerdlow/followers', 'following_url': 'https://api.github.com/users/alexanderswerdlow/following{/other_user}', 'gists_url': 'https://api.github.com/users/alexanderswerdlow/gists{/gist_id}', 'gravatar_id': '', 'html_url': 'https://github.com/alexanderswerdlow', 'id': 35648800, 'login': 'alexanderswerdlow', 'node_id': 'MDQ6VXNlcjM1NjQ4ODAw', 'organizations_url': 'https://api.github.com/users/alexanderswerdlow/orgs', 'received_events_url': 'https://api.github.com/users/alexanderswerdlow/received_events', 'repos_url': 'https://api.github.com/users/alexanderswerdlow/repos', 'site_admin': False, 'starred_url': 'https://api.github.com/users/alexanderswerdlow/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/alexanderswerdlow/subscriptions', 'type': 'User', 'url': 'https://api.github.com/users/alexanderswerdlow'} | [] | open | false | null | [] | null | 0 | 2024-07-29T01:42:43Z | 2024-07-29T01:42:43Z | null | NONE | null | ### Describe the bug
Loading a simple webdataset takes ~45 minutes.
### Steps to reproduce the bug
```
from datasets import load_dataset
dataset = load_dataset("PixArt-alpha/SAM-LLaVA-Captions10M")
```
### Expected behavior
The dataset should load immediately as it does when loaded through a normal indexed WebDataset loader. Generating splits should be optional and there should be a message showing how to disable it.
### Environment info
- `datasets` version: 2.20.0
- Platform: Linux-4.18.0-372.32.1.el8_6.x86_64-x86_64-with-glibc2.28
- Python version: 3.10.14
- `huggingface_hub` version: 0.24.1
- PyArrow version: 16.1.0
- Pandas version: 2.2.2
- `fsspec` version: 2024.5.0 | {'+1': 0, '-1': 0, 'confused': 0, 'eyes': 0, 'heart': 0, 'hooray': 0, 'laugh': 0, 'rocket': 0, 'total_count': 0, 'url': 'https://api.github.com/repos/huggingface/datasets/issues/7080/reactions'} | https://api.github.com/repos/huggingface/datasets/issues/7080/timeline | null | null | [] | [] |
https://api.github.com/repos/huggingface/datasets/issues/7079 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/7079/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/7079/comments | https://api.github.com/repos/huggingface/datasets/issues/7079/events | https://github.com/huggingface/datasets/issues/7079 | 2,433,363,298 | I_kwDODunzps6RCi1i | 7,079 | HfHubHTTPError: 500 Server Error: Internal Server Error for url: | {'avatar_url': 'https://avatars.githubusercontent.com/u/147971?v=4', 'events_url': 'https://api.github.com/users/neoneye/events{/privacy}', 'followers_url': 'https://api.github.com/users/neoneye/followers', 'following_url': 'https://api.github.com/users/neoneye/following{/other_user}', 'gists_url': 'https://api.github.com/users/neoneye/gists{/gist_id}', 'gravatar_id': '', 'html_url': 'https://github.com/neoneye', 'id': 147971, 'login': 'neoneye', 'node_id': 'MDQ6VXNlcjE0Nzk3MQ==', 'organizations_url': 'https://api.github.com/users/neoneye/orgs', 'received_events_url': 'https://api.github.com/users/neoneye/received_events', 'repos_url': 'https://api.github.com/users/neoneye/repos', 'site_admin': False, 'starred_url': 'https://api.github.com/users/neoneye/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/neoneye/subscriptions', 'type': 'User', 'url': 'https://api.github.com/users/neoneye'} | [] | closed | false | null | [] | null | 15 | 2024-07-27T08:21:03Z | 2024-07-27T20:06:44Z | 2024-07-27T19:52:30Z | NONE | null | ### Describe the bug
newly uploaded datasets, since yesterday, yields an error.
old datasets, works fine.
Seems like the datasets api server returns a 500
I'm getting the same error, when I invoke `load_dataset` with my dataset.
Long discussion about it here, but I'm not sure anyone from huggingface have seen it.
https://discuss.huggingface.co/t/hfhubhttperror-500-server-error-internal-server-error-for-url/99580/1
### Steps to reproduce the bug
this api url:
https://huggingface.co/api/datasets/neoneye/simon-arc-shape-v4-rev3
respond with:
```
{"error":"Internal Error - We're working hard to fix this as soon as possible!"}
```
### Expected behavior
return no error with newer datasets.
With older datasets I can load the datasets fine.
### Environment info
# Browser
When I access the api in the browser:
https://huggingface.co/api/datasets/neoneye/simon-arc-shape-v4-rev3
```
{"error":"Internal Error - We're working hard to fix this as soon as possible!"}
```
### Request headers
```
Accept text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8
Accept-Encoding gzip, deflate, br, zstd
Accept-Language en-US,en;q=0.5
Connection keep-alive
Host huggingface.co
Priority u=1
Sec-Fetch-Dest document
Sec-Fetch-Mode navigate
Sec-Fetch-Site cross-site
Upgrade-Insecure-Requests 1
User-Agent Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:127.0) Gecko/20100101 Firefox/127.0
```
### Response headers
```
X-Firefox-Spdy h2
access-control-allow-origin https://huggingface.co
access-control-expose-headers X-Repo-Commit,X-Request-Id,X-Error-Code,X-Error-Message,X-Total-Count,ETag,Link,Accept-Ranges,Content-Range
content-length 80
content-type application/json; charset=utf-8
cross-origin-opener-policy same-origin
date Fri, 26 Jul 2024 19:09:45 GMT
etag W/"50-9qrwU+BNI4SD0Fe32p/nofkmv0c"
referrer-policy strict-origin-when-cross-origin
vary Origin
via 1.1 1624c79cd07e6098196697a6a7907e4a.cloudfront.net (CloudFront)
x-amz-cf-id SP8E7n5qRaP6i9c9G83dNAiOzJBU4GXSrDRAcVNTomY895K35H0nJQ==
x-amz-cf-pop CPH50-C1
x-cache Error from cloudfront
x-error-message Internal Error - We're working hard to fix this as soon as possible!
x-powered-by huggingface-moon
x-request-id Root=1-66a3f479-026417465ef42f49349fdca1
``` | {'+1': 0, '-1': 0, 'confused': 0, 'eyes': 4, 'heart': 3, 'hooray': 0, 'laugh': 0, 'rocket': 0, 'total_count': 7, 'url': 'https://api.github.com/repos/huggingface/datasets/issues/7079/reactions'} | https://api.github.com/repos/huggingface/datasets/issues/7079/timeline | null | completed | [{'author_association': 'NONE', 'body': 'same issue here. @albertvillanova @lhoestq ', 'created_at': '2024-07-27T09:47:29Z', 'html_url': 'https://github.com/huggingface/datasets/issues/7079#issuecomment-2254096175', 'id': 2254096175, 'issue_url': 'https://api.github.com/repos/huggingface/datasets/issues/7079', 'node_id': 'IC_kwDODunzps6GWscv', 'performed_via_github_app': None, 'reactions': {'+1': 2, '-1': 0, 'confused': 0, 'eyes': 0, 'heart': 0, 'hooray': 0, 'laugh': 0, 'rocket': 0, 'total_count': 2, 'url': 'https://api.github.com/repos/huggingface/datasets/issues/comments/2254096175/reactions'}, 'updated_at': '2024-07-27T09:52:29Z', 'url': 'https://api.github.com/repos/huggingface/datasets/issues/comments/2254096175', 'user': {'avatar_url': 'https://avatars.githubusercontent.com/u/33200481?v=4', 'events_url': 'https://api.github.com/users/PosoSAgapo/events{/privacy}', 'followers_url': 'https://api.github.com/users/PosoSAgapo/followers', 'following_url': 'https://api.github.com/users/PosoSAgapo/following{/other_user}', 'gists_url': 'https://api.github.com/users/PosoSAgapo/gists{/gist_id}', 'gravatar_id': '', 'html_url': 'https://github.com/PosoSAgapo', 'id': 33200481, 'login': 'PosoSAgapo', 'node_id': 'MDQ6VXNlcjMzMjAwNDgx', 'organizations_url': 'https://api.github.com/users/PosoSAgapo/orgs', 'received_events_url': 'https://api.github.com/users/PosoSAgapo/received_events', 'repos_url': 'https://api.github.com/users/PosoSAgapo/repos', 'site_admin': False, 'starred_url': 'https://api.github.com/users/PosoSAgapo/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/PosoSAgapo/subscriptions', 'type': 'User', 'url': 'https://api.github.com/users/PosoSAgapo'}}
{'author_association': 'NONE', 'body': 'Also impacted by this issue in many of my datasets (though not all) - in my case, this also seems to affect datasets that have been updated recently. Git cloning and the web interface still work:\r\n- https://huggingface.co/api/datasets/acmc/cheat_reduced\r\n- https://huggingface.co/api/datasets/acmc/ghostbuster_reuter_reduced\r\n- https://huggingface.co/api/datasets/acmc/ghostbuster_wp_reduced\r\n- https://huggingface.co/api/datasets/acmc/ghostbuster_essay_reduced\r\n\r\nOddly enough, the system status looks good: https://status.huggingface.co/', 'created_at': '2024-07-27T09:56:35Z', 'html_url': 'https://github.com/huggingface/datasets/issues/7079#issuecomment-2254098006', 'id': 2254098006, 'issue_url': 'https://api.github.com/repos/huggingface/datasets/issues/7079', 'node_id': 'IC_kwDODunzps6GWs5W', 'performed_via_github_app': None, 'reactions': {'+1': 0, '-1': 0, 'confused': 0, 'eyes': 1, 'heart': 0, 'hooray': 0, 'laugh': 0, 'rocket': 0, 'total_count': 1, 'url': 'https://api.github.com/repos/huggingface/datasets/issues/comments/2254098006/reactions'}, 'updated_at': '2024-07-27T10:03:00Z', 'url': 'https://api.github.com/repos/huggingface/datasets/issues/comments/2254098006', 'user': {'avatar_url': 'https://avatars.githubusercontent.com/u/20495460?v=4', 'events_url': 'https://api.github.com/users/ACMCMC/events{/privacy}', 'followers_url': 'https://api.github.com/users/ACMCMC/followers', 'following_url': 'https://api.github.com/users/ACMCMC/following{/other_user}', 'gists_url': 'https://api.github.com/users/ACMCMC/gists{/gist_id}', 'gravatar_id': '', 'html_url': 'https://github.com/ACMCMC', 'id': 20495460, 'login': 'ACMCMC', 'node_id': 'MDQ6VXNlcjIwNDk1NDYw', 'organizations_url': 'https://api.github.com/users/ACMCMC/orgs', 'received_events_url': 'https://api.github.com/users/ACMCMC/received_events', 'repos_url': 'https://api.github.com/users/ACMCMC/repos', 'site_admin': False, 'starred_url': 'https://api.github.com/users/ACMCMC/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/ACMCMC/subscriptions', 'type': 'User', 'url': 'https://api.github.com/users/ACMCMC'}}
{'author_association': 'NONE', 'body': 'Hey how to download these datasets using git cloning?', 'created_at': '2024-07-27T10:17:27Z', 'html_url': 'https://github.com/huggingface/datasets/issues/7079#issuecomment-2254103533', 'id': 2254103533, 'issue_url': 'https://api.github.com/repos/huggingface/datasets/issues/7079', 'node_id': 'IC_kwDODunzps6GWuPt', 'performed_via_github_app': None, 'reactions': {'+1': 0, '-1': 0, 'confused': 0, 'eyes': 0, 'heart': 0, 'hooray': 0, 'laugh': 0, 'rocket': 0, 'total_count': 0, 'url': 'https://api.github.com/repos/huggingface/datasets/issues/comments/2254103533/reactions'}, 'updated_at': '2024-07-27T10:17:27Z', 'url': 'https://api.github.com/repos/huggingface/datasets/issues/comments/2254103533', 'user': {'avatar_url': 'https://avatars.githubusercontent.com/u/40931412?v=4', 'events_url': 'https://api.github.com/users/codeboy5/events{/privacy}', 'followers_url': 'https://api.github.com/users/codeboy5/followers', 'following_url': 'https://api.github.com/users/codeboy5/following{/other_user}', 'gists_url': 'https://api.github.com/users/codeboy5/gists{/gist_id}', 'gravatar_id': '', 'html_url': 'https://github.com/codeboy5', 'id': 40931412, 'login': 'codeboy5', 'node_id': 'MDQ6VXNlcjQwOTMxNDEy', 'organizations_url': 'https://api.github.com/users/codeboy5/orgs', 'received_events_url': 'https://api.github.com/users/codeboy5/received_events', 'repos_url': 'https://api.github.com/users/codeboy5/repos', 'site_admin': False, 'starred_url': 'https://api.github.com/users/codeboy5/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/codeboy5/subscriptions', 'type': 'User', 'url': 'https://api.github.com/users/codeboy5'}}
{'author_association': 'NONE', 'body': 'Also reported here\r\nhttps://github.com/huggingface/huggingface_hub/issues/2425', 'created_at': '2024-07-27T10:53:42Z', 'html_url': 'https://github.com/huggingface/datasets/issues/7079#issuecomment-2254112777', 'id': 2254112777, 'issue_url': 'https://api.github.com/repos/huggingface/datasets/issues/7079', 'node_id': 'IC_kwDODunzps6GWwgJ', 'performed_via_github_app': None, 'reactions': {'+1': 0, '-1': 0, 'confused': 0, 'eyes': 0, 'heart': 0, 'hooray': 0, 'laugh': 0, 'rocket': 0, 'total_count': 0, 'url': 'https://api.github.com/repos/huggingface/datasets/issues/comments/2254112777/reactions'}, 'updated_at': '2024-07-27T10:53:42Z', 'url': 'https://api.github.com/repos/huggingface/datasets/issues/comments/2254112777', 'user': {'avatar_url': 'https://avatars.githubusercontent.com/u/147971?v=4', 'events_url': 'https://api.github.com/users/neoneye/events{/privacy}', 'followers_url': 'https://api.github.com/users/neoneye/followers', 'following_url': 'https://api.github.com/users/neoneye/following{/other_user}', 'gists_url': 'https://api.github.com/users/neoneye/gists{/gist_id}', 'gravatar_id': '', 'html_url': 'https://github.com/neoneye', 'id': 147971, 'login': 'neoneye', 'node_id': 'MDQ6VXNlcjE0Nzk3MQ==', 'organizations_url': 'https://api.github.com/users/neoneye/orgs', 'received_events_url': 'https://api.github.com/users/neoneye/received_events', 'repos_url': 'https://api.github.com/users/neoneye/repos', 'site_admin': False, 'starred_url': 'https://api.github.com/users/neoneye/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/neoneye/subscriptions', 'type': 'User', 'url': 'https://api.github.com/users/neoneye'}}
{'author_association': 'NONE', 'body': 'I have been getting the same error for the past 8 hours as well', 'created_at': '2024-07-27T11:53:25Z', 'html_url': 'https://github.com/huggingface/datasets/issues/7079#issuecomment-2254127471', 'id': 2254127471, 'issue_url': 'https://api.github.com/repos/huggingface/datasets/issues/7079', 'node_id': 'IC_kwDODunzps6GW0Fv', 'performed_via_github_app': None, 'reactions': {'+1': 0, '-1': 0, 'confused': 0, 'eyes': 0, 'heart': 0, 'hooray': 0, 'laugh': 0, 'rocket': 0, 'total_count': 0, 'url': 'https://api.github.com/repos/huggingface/datasets/issues/comments/2254127471/reactions'}, 'updated_at': '2024-07-27T11:53:25Z', 'url': 'https://api.github.com/repos/huggingface/datasets/issues/comments/2254127471', 'user': {'avatar_url': 'https://avatars.githubusercontent.com/u/82018089?v=4', 'events_url': 'https://api.github.com/users/nedith/events{/privacy}', 'followers_url': 'https://api.github.com/users/nedith/followers', 'following_url': 'https://api.github.com/users/nedith/following{/other_user}', 'gists_url': 'https://api.github.com/users/nedith/gists{/gist_id}', 'gravatar_id': '', 'html_url': 'https://github.com/nedith', 'id': 82018089, 'login': 'nedith', 'node_id': 'MDQ6VXNlcjgyMDE4MDg5', 'organizations_url': 'https://api.github.com/users/nedith/orgs', 'received_events_url': 'https://api.github.com/users/nedith/received_events', 'repos_url': 'https://api.github.com/users/nedith/repos', 'site_admin': False, 'starred_url': 'https://api.github.com/users/nedith/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/nedith/subscriptions', 'type': 'User', 'url': 'https://api.github.com/users/nedith'}}
{'author_association': 'NONE', 'body': 'Same error since yesterday, fails on any new dataset created', 'created_at': '2024-07-27T13:29:27Z', 'html_url': 'https://github.com/huggingface/datasets/issues/7079#issuecomment-2254150175', 'id': 2254150175, 'issue_url': 'https://api.github.com/repos/huggingface/datasets/issues/7079', 'node_id': 'IC_kwDODunzps6GW5of', 'performed_via_github_app': None, 'reactions': {'+1': 0, '-1': 0, 'confused': 0, 'eyes': 0, 'heart': 0, 'hooray': 0, 'laugh': 0, 'rocket': 0, 'total_count': 0, 'url': 'https://api.github.com/repos/huggingface/datasets/issues/comments/2254150175/reactions'}, 'updated_at': '2024-07-27T13:29:27Z', 'url': 'https://api.github.com/repos/huggingface/datasets/issues/comments/2254150175', 'user': {'avatar_url': 'https://avatars.githubusercontent.com/u/23705091?v=4', 'events_url': 'https://api.github.com/users/daniel-dona/events{/privacy}', 'followers_url': 'https://api.github.com/users/daniel-dona/followers', 'following_url': 'https://api.github.com/users/daniel-dona/following{/other_user}', 'gists_url': 'https://api.github.com/users/daniel-dona/gists{/gist_id}', 'gravatar_id': '', 'html_url': 'https://github.com/daniel-dona', 'id': 23705091, 'login': 'daniel-dona', 'node_id': 'MDQ6VXNlcjIzNzA1MDkx', 'organizations_url': 'https://api.github.com/users/daniel-dona/orgs', 'received_events_url': 'https://api.github.com/users/daniel-dona/received_events', 'repos_url': 'https://api.github.com/users/daniel-dona/repos', 'site_admin': False, 'starred_url': 'https://api.github.com/users/daniel-dona/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/daniel-dona/subscriptions', 'type': 'User', 'url': 'https://api.github.com/users/daniel-dona'}}
{'author_association': 'NONE', 'body': 'Same here. I cannot download the HelpSteer2 dataset: https://huggingface.co/datasets/nvidia/HelpSteer2 which has been uploaded about a month ago', 'created_at': '2024-07-27T14:18:37Z', 'html_url': 'https://github.com/huggingface/datasets/issues/7079#issuecomment-2254162006', 'id': 2254162006, 'issue_url': 'https://api.github.com/repos/huggingface/datasets/issues/7079', 'node_id': 'IC_kwDODunzps6GW8hW', 'performed_via_github_app': None, 'reactions': {'+1': 0, '-1': 0, 'confused': 0, 'eyes': 0, 'heart': 0, 'hooray': 0, 'laugh': 0, 'rocket': 0, 'total_count': 0, 'url': 'https://api.github.com/repos/huggingface/datasets/issues/comments/2254162006/reactions'}, 'updated_at': '2024-07-27T14:18:37Z', 'url': 'https://api.github.com/repos/huggingface/datasets/issues/comments/2254162006', 'user': {'avatar_url': 'https://avatars.githubusercontent.com/u/39263767?v=4', 'events_url': 'https://api.github.com/users/scottsuk0306/events{/privacy}', 'followers_url': 'https://api.github.com/users/scottsuk0306/followers', 'following_url': 'https://api.github.com/users/scottsuk0306/following{/other_user}', 'gists_url': 'https://api.github.com/users/scottsuk0306/gists{/gist_id}', 'gravatar_id': '', 'html_url': 'https://github.com/scottsuk0306', 'id': 39263767, 'login': 'scottsuk0306', 'node_id': 'MDQ6VXNlcjM5MjYzNzY3', 'organizations_url': 'https://api.github.com/users/scottsuk0306/orgs', 'received_events_url': 'https://api.github.com/users/scottsuk0306/received_events', 'repos_url': 'https://api.github.com/users/scottsuk0306/repos', 'site_admin': False, 'starred_url': 'https://api.github.com/users/scottsuk0306/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/scottsuk0306/subscriptions', 'type': 'User', 'url': 'https://api.github.com/users/scottsuk0306'}}
{'author_association': 'NONE', 'body': "> Hey how to download these datasets using git cloning?\n\nYou'll find a guide [here](https://huggingface.co/docs/hub/en/datasets-downloading) 👍🏻", 'created_at': '2024-07-27T14:26:11Z', 'html_url': 'https://github.com/huggingface/datasets/issues/7079#issuecomment-2254163626', 'id': 2254163626, 'issue_url': 'https://api.github.com/repos/huggingface/datasets/issues/7079', 'node_id': 'IC_kwDODunzps6GW86q', 'performed_via_github_app': None, 'reactions': {'+1': 0, '-1': 0, 'confused': 0, 'eyes': 0, 'heart': 0, 'hooray': 0, 'laugh': 0, 'rocket': 0, 'total_count': 0, 'url': 'https://api.github.com/repos/huggingface/datasets/issues/comments/2254163626/reactions'}, 'updated_at': '2024-07-27T14:26:11Z', 'url': 'https://api.github.com/repos/huggingface/datasets/issues/comments/2254163626', 'user': {'avatar_url': 'https://avatars.githubusercontent.com/u/20495460?v=4', 'events_url': 'https://api.github.com/users/ACMCMC/events{/privacy}', 'followers_url': 'https://api.github.com/users/ACMCMC/followers', 'following_url': 'https://api.github.com/users/ACMCMC/following{/other_user}', 'gists_url': 'https://api.github.com/users/ACMCMC/gists{/gist_id}', 'gravatar_id': '', 'html_url': 'https://github.com/ACMCMC', 'id': 20495460, 'login': 'ACMCMC', 'node_id': 'MDQ6VXNlcjIwNDk1NDYw', 'organizations_url': 'https://api.github.com/users/ACMCMC/orgs', 'received_events_url': 'https://api.github.com/users/ACMCMC/received_events', 'repos_url': 'https://api.github.com/users/ACMCMC/repos', 'site_admin': False, 'starred_url': 'https://api.github.com/users/ACMCMC/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/ACMCMC/subscriptions', 'type': 'User', 'url': 'https://api.github.com/users/ACMCMC'}}
{'author_association': 'NONE', 'body': 'Same here for imdb dataset', 'created_at': '2024-07-27T17:09:03Z', 'html_url': 'https://github.com/huggingface/datasets/issues/7079#issuecomment-2254202511', 'id': 2254202511, 'issue_url': 'https://api.github.com/repos/huggingface/datasets/issues/7079', 'node_id': 'IC_kwDODunzps6GXGaP', 'performed_via_github_app': None, 'reactions': {'+1': 0, '-1': 0, 'confused': 0, 'eyes': 0, 'heart': 0, 'hooray': 0, 'laugh': 0, 'rocket': 0, 'total_count': 0, 'url': 'https://api.github.com/repos/huggingface/datasets/issues/comments/2254202511/reactions'}, 'updated_at': '2024-07-27T17:09:03Z', 'url': 'https://api.github.com/repos/huggingface/datasets/issues/comments/2254202511', 'user': {'avatar_url': 'https://avatars.githubusercontent.com/u/71060236?v=4', 'events_url': 'https://api.github.com/users/ooolivia2333/events{/privacy}', 'followers_url': 'https://api.github.com/users/ooolivia2333/followers', 'following_url': 'https://api.github.com/users/ooolivia2333/following{/other_user}', 'gists_url': 'https://api.github.com/users/ooolivia2333/gists{/gist_id}', 'gravatar_id': '', 'html_url': 'https://github.com/ooolivia2333', 'id': 71060236, 'login': 'ooolivia2333', 'node_id': 'MDQ6VXNlcjcxMDYwMjM2', 'organizations_url': 'https://api.github.com/users/ooolivia2333/orgs', 'received_events_url': 'https://api.github.com/users/ooolivia2333/received_events', 'repos_url': 'https://api.github.com/users/ooolivia2333/repos', 'site_admin': False, 'starred_url': 'https://api.github.com/users/ooolivia2333/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/ooolivia2333/subscriptions', 'type': 'User', 'url': 'https://api.github.com/users/ooolivia2333'}}
{'author_association': 'NONE', 'body': 'It also happens with this dataset: https://huggingface.co/datasets/ylacombe/jenny-tts-6h-tagged', 'created_at': '2024-07-27T17:16:55Z', 'html_url': 'https://github.com/huggingface/datasets/issues/7079#issuecomment-2254204316', 'id': 2254204316, 'issue_url': 'https://api.github.com/repos/huggingface/datasets/issues/7079', 'node_id': 'IC_kwDODunzps6GXG2c', 'performed_via_github_app': None, 'reactions': {'+1': 0, '-1': 0, 'confused': 0, 'eyes': 0, 'heart': 0, 'hooray': 0, 'laugh': 0, 'rocket': 0, 'total_count': 0, 'url': 'https://api.github.com/repos/huggingface/datasets/issues/comments/2254204316/reactions'}, 'updated_at': '2024-07-27T17:16:55Z', 'url': 'https://api.github.com/repos/huggingface/datasets/issues/comments/2254204316', 'user': {'avatar_url': 'https://avatars.githubusercontent.com/u/117389560?v=4', 'events_url': 'https://api.github.com/users/iakovialexiou/events{/privacy}', 'followers_url': 'https://api.github.com/users/iakovialexiou/followers', 'following_url': 'https://api.github.com/users/iakovialexiou/following{/other_user}', 'gists_url': 'https://api.github.com/users/iakovialexiou/gists{/gist_id}', 'gravatar_id': '', 'html_url': 'https://github.com/iakovialexiou', 'id': 117389560, 'login': 'iakovialexiou', 'node_id': 'U_kgDOBv84-A', 'organizations_url': 'https://api.github.com/users/iakovialexiou/orgs', 'received_events_url': 'https://api.github.com/users/iakovialexiou/received_events', 'repos_url': 'https://api.github.com/users/iakovialexiou/repos', 'site_admin': False, 'starred_url': 'https://api.github.com/users/iakovialexiou/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/iakovialexiou/subscriptions', 'type': 'User', 'url': 'https://api.github.com/users/iakovialexiou'}}
{'author_association': 'NONE', 'body': 'same here for all datsets in the sentence-tramsformers repo and related collections.\r\n\r\nsame issue with dataset that i recently uploaded on my repo.\r\nseems that the upload date of the datset is not relevat (getting this issue with both old datasets and newer ones)\r\n\r\nfor some reason, i was able to get the dataset by turning it private and accessing it with the id token (accessing it as public while providing the token doesn not work)..... but i can say if that is just a random coincidence.\r\n\r\nseems not much deterministic, for a specific dataset (sentence-transformer nq ) , that was "down" since some hours , worked for like 5-10 minutes, then stopped again\r\n\r\nnow even this dataset (that worked since some min ago, and that i\'m in the middle of processing steps) stopped working: _https://huggingface.co/datasets/bobox/msmarco-bm25-EduScore/_\r\n\r\nas already pointed out, there are no updates on **_https://status.huggingface.co/_**\r\n\r\n\\n\r\n\\n\r\n\r\nan example of the whole error message:\r\n``` \r\nHfHubHTTPError \r\n\r\n[/usr/local/lib/python3.10/dist-packages/datasets/load.py](https://localhost:8080/#) in load_dataset(path, name, data_dir, data_files, split, cache_dir, features, download_config, download_mode, verification_mode, ignore_verifications, keep_in_memory, save_infos, revision, token, use_auth_token, task, streaming, num_proc, storage_options, trust_remote_code, **config_kwargs)\r\n 2592 \r\n 2593 # Create a dataset builder\r\n-> 2594 builder_instance = load_dataset_builder(\r\n 2595 path=path,\r\n 2596 name=name,\r\n\r\n[/usr/local/lib/python3.10/dist-packages/datasets/load.py](https://localhost:8080/#) in load_dataset_builder(path, name, data_dir, data_files, cache_dir, features, download_config, download_mode, revision, token, use_auth_token, storage_options, trust_remote_code, _require_default_config_name, **config_kwargs)\r\n 2264 download_config = download_config.copy() if download_config else DownloadConfig()\r\n 2265 download_config.storage_options.update(storage_options)\r\n-> 2266 dataset_module = dataset_module_factory(\r\n 2267 path,\r\n 2268 revision=revision,\r\n\r\n[/usr/local/lib/python3.10/dist-packages/datasets/load.py](https://localhost:8080/#) in dataset_module_factory(path, revision, download_config, download_mode, dynamic_modules_path, data_dir, data_files, cache_dir, trust_remote_code, _require_default_config_name, _require_custom_configs, **download_kwargs)\r\n 1912 f"Couldn\'t find \'{path}\' on the Hugging Face Hub either: {type(e1).__name__}: {e1}"\r\n 1913 ) from None\r\n-> 1914 raise e1 from None\r\n 1915 else:\r\n 1916 raise FileNotFoundError(\r\n\r\n[/usr/local/lib/python3.10/dist-packages/datasets/load.py](https://localhost:8080/#) in dataset_module_factory(path, revision, download_config, download_mode, dynamic_modules_path, data_dir, data_files, cache_dir, trust_remote_code, _require_default_config_name, _require_custom_configs, **download_kwargs)\r\n 1832 hf_api = HfApi(config.HF_ENDPOINT)\r\n 1833 try:\r\n-> 1834 dataset_info = hf_api.dataset_info(\r\n 1835 repo_id=path,\r\n 1836 revision=revision,\r\n\r\n[/usr/local/lib/python3.10/dist-packages/huggingface_hub/utils/_validators.py](https://localhost:8080/#) in _inner_fn(*args, **kwargs)\r\n 112 kwargs = smoothly_deprecate_use_auth_token(fn_name=fn.__name__, has_token=has_token, kwargs=kwargs)\r\n 113 \r\n--> 114 return fn(*args, **kwargs)\r\n 115 \r\n 116 return _inner_fn # type: ignore\r\n\r\n[/usr/local/lib/python3.10/dist-packages/huggingface_hub/hf_api.py](https://localhost:8080/#) in dataset_info(self, repo_id, revision, timeout, files_metadata, token)\r\n 2362 \r\n 2363 r = get_session().get(path, headers=headers, timeout=timeout, params=params)\r\n-> 2364 hf_raise_for_status(r)\r\n 2365 data = r.json()\r\n 2366 return DatasetInfo(**data)\r\n\r\n[/usr/local/lib/python3.10/dist-packages/huggingface_hub/utils/_errors.py](https://localhost:8080/#) in hf_raise_for_status(response, endpoint_name)\r\n 369 # Convert `HTTPError` into a `HfHubHTTPError` to display request information\r\n 370 # as well (request id and/or server error message)\r\n--> 371 raise HfHubHTTPError(str(e), response=response) from e\r\n 372 \r\n 373 \r\n\r\nHfHubHTTPError: 500 Server Error: Internal Server Error for url: https://huggingface.co/api/datasets/bobox/xSum-processed (Request ID: Root=1-66a527f0-756cfbc35cc466f075382289;7d5dc06a-37e9-4c22-874d-92b0b1023276)\r\n\r\nInternal Error - We\'re working hard to fix this as soon as possible!\r\n``` ', 'created_at': '2024-07-27T17:18:38Z', 'html_url': 'https://github.com/huggingface/datasets/issues/7079#issuecomment-2254204715', 'id': 2254204715, 'issue_url': 'https://api.github.com/repos/huggingface/datasets/issues/7079', 'node_id': 'IC_kwDODunzps6GXG8r', 'performed_via_github_app': None, 'reactions': {'+1': 1, '-1': 0, 'confused': 0, 'eyes': 0, 'heart': 0, 'hooray': 0, 'laugh': 0, 'rocket': 0, 'total_count': 1, 'url': 'https://api.github.com/repos/huggingface/datasets/issues/comments/2254204715/reactions'}, 'updated_at': '2024-07-27T17:39:46Z', 'url': 'https://api.github.com/repos/huggingface/datasets/issues/comments/2254204715', 'user': {'avatar_url': 'https://avatars.githubusercontent.com/u/82122978?v=4', 'events_url': 'https://api.github.com/users/bobox2997/events{/privacy}', 'followers_url': 'https://api.github.com/users/bobox2997/followers', 'following_url': 'https://api.github.com/users/bobox2997/following{/other_user}', 'gists_url': 'https://api.github.com/users/bobox2997/gists{/gist_id}', 'gravatar_id': '', 'html_url': 'https://github.com/bobox2997', 'id': 82122978, 'login': 'bobox2997', 'node_id': 'MDQ6VXNlcjgyMTIyOTc4', 'organizations_url': 'https://api.github.com/users/bobox2997/orgs', 'received_events_url': 'https://api.github.com/users/bobox2997/received_events', 'repos_url': 'https://api.github.com/users/bobox2997/repos', 'site_admin': False, 'starred_url': 'https://api.github.com/users/bobox2997/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/bobox2997/subscriptions', 'type': 'User', 'url': 'https://api.github.com/users/bobox2997'}}
{'author_association': 'MEMBER', 'body': "we're working on a fix !", 'created_at': '2024-07-27T19:04:33Z', 'html_url': 'https://github.com/huggingface/datasets/issues/7079#issuecomment-2254229407', 'id': 2254229407, 'issue_url': 'https://api.github.com/repos/huggingface/datasets/issues/7079', 'node_id': 'IC_kwDODunzps6GXM-f', 'performed_via_github_app': None, 'reactions': {'+1': 0, '-1': 0, 'confused': 0, 'eyes': 0, 'heart': 6, 'hooray': 0, 'laugh': 0, 'rocket': 0, 'total_count': 6, 'url': 'https://api.github.com/repos/huggingface/datasets/issues/comments/2254229407/reactions'}, 'updated_at': '2024-07-27T19:04:33Z', 'url': 'https://api.github.com/repos/huggingface/datasets/issues/comments/2254229407', 'user': {'avatar_url': 'https://avatars.githubusercontent.com/u/42851186?v=4', 'events_url': 'https://api.github.com/users/lhoestq/events{/privacy}', 'followers_url': 'https://api.github.com/users/lhoestq/followers', 'following_url': 'https://api.github.com/users/lhoestq/following{/other_user}', 'gists_url': 'https://api.github.com/users/lhoestq/gists{/gist_id}', 'gravatar_id': '', 'html_url': 'https://github.com/lhoestq', 'id': 42851186, 'login': 'lhoestq', 'node_id': 'MDQ6VXNlcjQyODUxMTg2', 'organizations_url': 'https://api.github.com/users/lhoestq/orgs', 'received_events_url': 'https://api.github.com/users/lhoestq/received_events', 'repos_url': 'https://api.github.com/users/lhoestq/repos', 'site_admin': False, 'starred_url': 'https://api.github.com/users/lhoestq/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/lhoestq/subscriptions', 'type': 'User', 'url': 'https://api.github.com/users/lhoestq'}}
{'author_association': 'MEMBER', 'body': 'We fixed the issue, you can load datasets again, sorry for the inconvenience !', 'created_at': '2024-07-27T19:41:41Z', 'html_url': 'https://github.com/huggingface/datasets/issues/7079#issuecomment-2254236923', 'id': 2254236923, 'issue_url': 'https://api.github.com/repos/huggingface/datasets/issues/7079', 'node_id': 'IC_kwDODunzps6GXOz7', 'performed_via_github_app': None, 'reactions': {'+1': 0, '-1': 0, 'confused': 0, 'eyes': 0, 'heart': 5, 'hooray': 0, 'laugh': 0, 'rocket': 0, 'total_count': 5, 'url': 'https://api.github.com/repos/huggingface/datasets/issues/comments/2254236923/reactions'}, 'updated_at': '2024-07-27T19:41:41Z', 'url': 'https://api.github.com/repos/huggingface/datasets/issues/comments/2254236923', 'user': {'avatar_url': 'https://avatars.githubusercontent.com/u/42851186?v=4', 'events_url': 'https://api.github.com/users/lhoestq/events{/privacy}', 'followers_url': 'https://api.github.com/users/lhoestq/followers', 'following_url': 'https://api.github.com/users/lhoestq/following{/other_user}', 'gists_url': 'https://api.github.com/users/lhoestq/gists{/gist_id}', 'gravatar_id': '', 'html_url': 'https://github.com/lhoestq', 'id': 42851186, 'login': 'lhoestq', 'node_id': 'MDQ6VXNlcjQyODUxMTg2', 'organizations_url': 'https://api.github.com/users/lhoestq/orgs', 'received_events_url': 'https://api.github.com/users/lhoestq/received_events', 'repos_url': 'https://api.github.com/users/lhoestq/repos', 'site_admin': False, 'starred_url': 'https://api.github.com/users/lhoestq/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/lhoestq/subscriptions', 'type': 'User', 'url': 'https://api.github.com/users/lhoestq'}}
{'author_association': 'NONE', 'body': "I can confirm, it's working now. I can load the dataset, yay. Thank you @lhoestq ", 'created_at': '2024-07-27T19:52:30Z', 'html_url': 'https://github.com/huggingface/datasets/issues/7079#issuecomment-2254238960', 'id': 2254238960, 'issue_url': 'https://api.github.com/repos/huggingface/datasets/issues/7079', 'node_id': 'IC_kwDODunzps6GXPTw', 'performed_via_github_app': None, 'reactions': {'+1': 0, '-1': 0, 'confused': 0, 'eyes': 0, 'heart': 0, 'hooray': 0, 'laugh': 0, 'rocket': 0, 'total_count': 0, 'url': 'https://api.github.com/repos/huggingface/datasets/issues/comments/2254238960/reactions'}, 'updated_at': '2024-07-27T19:52:30Z', 'url': 'https://api.github.com/repos/huggingface/datasets/issues/comments/2254238960', 'user': {'avatar_url': 'https://avatars.githubusercontent.com/u/147971?v=4', 'events_url': 'https://api.github.com/users/neoneye/events{/privacy}', 'followers_url': 'https://api.github.com/users/neoneye/followers', 'following_url': 'https://api.github.com/users/neoneye/following{/other_user}', 'gists_url': 'https://api.github.com/users/neoneye/gists{/gist_id}', 'gravatar_id': '', 'html_url': 'https://github.com/neoneye', 'id': 147971, 'login': 'neoneye', 'node_id': 'MDQ6VXNlcjE0Nzk3MQ==', 'organizations_url': 'https://api.github.com/users/neoneye/orgs', 'received_events_url': 'https://api.github.com/users/neoneye/received_events', 'repos_url': 'https://api.github.com/users/neoneye/repos', 'site_admin': False, 'starred_url': 'https://api.github.com/users/neoneye/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/neoneye/subscriptions', 'type': 'User', 'url': 'https://api.github.com/users/neoneye'}}
{'author_association': 'NONE', 'body': '@lhoestq thank you so much! ', 'created_at': '2024-07-27T20:06:43Z', 'html_url': 'https://github.com/huggingface/datasets/issues/7079#issuecomment-2254242017', 'id': 2254242017, 'issue_url': 'https://api.github.com/repos/huggingface/datasets/issues/7079', 'node_id': 'IC_kwDODunzps6GXQDh', 'performed_via_github_app': None, 'reactions': {'+1': 0, '-1': 0, 'confused': 0, 'eyes': 0, 'heart': 0, 'hooray': 0, 'laugh': 0, 'rocket': 0, 'total_count': 0, 'url': 'https://api.github.com/repos/huggingface/datasets/issues/comments/2254242017/reactions'}, 'updated_at': '2024-07-27T20:06:43Z', 'url': 'https://api.github.com/repos/huggingface/datasets/issues/comments/2254242017', 'user': {'avatar_url': 'https://avatars.githubusercontent.com/u/82122978?v=4', 'events_url': 'https://api.github.com/users/bobox2997/events{/privacy}', 'followers_url': 'https://api.github.com/users/bobox2997/followers', 'following_url': 'https://api.github.com/users/bobox2997/following{/other_user}', 'gists_url': 'https://api.github.com/users/bobox2997/gists{/gist_id}', 'gravatar_id': '', 'html_url': 'https://github.com/bobox2997', 'id': 82122978, 'login': 'bobox2997', 'node_id': 'MDQ6VXNlcjgyMTIyOTc4', 'organizations_url': 'https://api.github.com/users/bobox2997/orgs', 'received_events_url': 'https://api.github.com/users/bobox2997/received_events', 'repos_url': 'https://api.github.com/users/bobox2997/repos', 'site_admin': False, 'starred_url': 'https://api.github.com/users/bobox2997/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/bobox2997/subscriptions', 'type': 'User', 'url': 'https://api.github.com/users/bobox2997'}}] | ['same issue here. @albertvillanova @lhoestq '
'Also impacted by this issue in many of my datasets (though not all) - in my case, this also seems to affect datasets that have been updated recently. Git cloning and the web interface still work:\r\n- https://huggingface.co/api/datasets/acmc/cheat_reduced\r\n- https://huggingface.co/api/datasets/acmc/ghostbuster_reuter_reduced\r\n- https://huggingface.co/api/datasets/acmc/ghostbuster_wp_reduced\r\n- https://huggingface.co/api/datasets/acmc/ghostbuster_essay_reduced\r\n\r\nOddly enough, the system status looks good: https://status.huggingface.co/'
'Hey how to download these datasets using git cloning?'
'Also reported here\r\nhttps://github.com/huggingface/huggingface_hub/issues/2425'
'I have been getting the same error for the past 8 hours as well'
'Same error since yesterday, fails on any new dataset created'
'Same here. I cannot download the HelpSteer2 dataset: https://huggingface.co/datasets/nvidia/HelpSteer2 which has been uploaded about a month ago'
"> Hey how to download these datasets using git cloning?\n\nYou'll find a guide [here](https://huggingface.co/docs/hub/en/datasets-downloading) 👍🏻"
'Same here for imdb dataset'
'It also happens with this dataset: https://huggingface.co/datasets/ylacombe/jenny-tts-6h-tagged'
'same here for all datsets in the sentence-tramsformers repo and related collections.\r\n\r\nsame issue with dataset that i recently uploaded on my repo.\r\nseems that the upload date of the datset is not relevat (getting this issue with both old datasets and newer ones)\r\n\r\nfor some reason, i was able to get the dataset by turning it private and accessing it with the id token (accessing it as public while providing the token doesn not work)..... but i can say if that is just a random coincidence.\r\n\r\nseems not much deterministic, for a specific dataset (sentence-transformer nq ) , that was "down" since some hours , worked for like 5-10 minutes, then stopped again\r\n\r\nnow even this dataset (that worked since some min ago, and that i\'m in the middle of processing steps) stopped working: _https://huggingface.co/datasets/bobox/msmarco-bm25-EduScore/_\r\n\r\nas already pointed out, there are no updates on **_https://status.huggingface.co/_**\r\n\r\n\\n\r\n\\n\r\n\r\nan example of the whole error message:\r\n``` \r\nHfHubHTTPError \r\n\r\n[/usr/local/lib/python3.10/dist-packages/datasets/load.py](https://localhost:8080/#) in load_dataset(path, name, data_dir, data_files, split, cache_dir, features, download_config, download_mode, verification_mode, ignore_verifications, keep_in_memory, save_infos, revision, token, use_auth_token, task, streaming, num_proc, storage_options, trust_remote_code, **config_kwargs)\r\n 2592 \r\n 2593 # Create a dataset builder\r\n-> 2594 builder_instance = load_dataset_builder(\r\n 2595 path=path,\r\n 2596 name=name,\r\n\r\n[/usr/local/lib/python3.10/dist-packages/datasets/load.py](https://localhost:8080/#) in load_dataset_builder(path, name, data_dir, data_files, cache_dir, features, download_config, download_mode, revision, token, use_auth_token, storage_options, trust_remote_code, _require_default_config_name, **config_kwargs)\r\n 2264 download_config = download_config.copy() if download_config else DownloadConfig()\r\n 2265 download_config.storage_options.update(storage_options)\r\n-> 2266 dataset_module = dataset_module_factory(\r\n 2267 path,\r\n 2268 revision=revision,\r\n\r\n[/usr/local/lib/python3.10/dist-packages/datasets/load.py](https://localhost:8080/#) in dataset_module_factory(path, revision, download_config, download_mode, dynamic_modules_path, data_dir, data_files, cache_dir, trust_remote_code, _require_default_config_name, _require_custom_configs, **download_kwargs)\r\n 1912 f"Couldn\'t find \'{path}\' on the Hugging Face Hub either: {type(e1).__name__}: {e1}"\r\n 1913 ) from None\r\n-> 1914 raise e1 from None\r\n 1915 else:\r\n 1916 raise FileNotFoundError(\r\n\r\n[/usr/local/lib/python3.10/dist-packages/datasets/load.py](https://localhost:8080/#) in dataset_module_factory(path, revision, download_config, download_mode, dynamic_modules_path, data_dir, data_files, cache_dir, trust_remote_code, _require_default_config_name, _require_custom_configs, **download_kwargs)\r\n 1832 hf_api = HfApi(config.HF_ENDPOINT)\r\n 1833 try:\r\n-> 1834 dataset_info = hf_api.dataset_info(\r\n 1835 repo_id=path,\r\n 1836 revision=revision,\r\n\r\n[/usr/local/lib/python3.10/dist-packages/huggingface_hub/utils/_validators.py](https://localhost:8080/#) in _inner_fn(*args, **kwargs)\r\n 112 kwargs = smoothly_deprecate_use_auth_token(fn_name=fn.__name__, has_token=has_token, kwargs=kwargs)\r\n 113 \r\n--> 114 return fn(*args, **kwargs)\r\n 115 \r\n 116 return _inner_fn # type: ignore\r\n\r\n[/usr/local/lib/python3.10/dist-packages/huggingface_hub/hf_api.py](https://localhost:8080/#) in dataset_info(self, repo_id, revision, timeout, files_metadata, token)\r\n 2362 \r\n 2363 r = get_session().get(path, headers=headers, timeout=timeout, params=params)\r\n-> 2364 hf_raise_for_status(r)\r\n 2365 data = r.json()\r\n 2366 return DatasetInfo(**data)\r\n\r\n[/usr/local/lib/python3.10/dist-packages/huggingface_hub/utils/_errors.py](https://localhost:8080/#) in hf_raise_for_status(response, endpoint_name)\r\n 369 # Convert `HTTPError` into a `HfHubHTTPError` to display request information\r\n 370 # as well (request id and/or server error message)\r\n--> 371 raise HfHubHTTPError(str(e), response=response) from e\r\n 372 \r\n 373 \r\n\r\nHfHubHTTPError: 500 Server Error: Internal Server Error for url: https://huggingface.co/api/datasets/bobox/xSum-processed (Request ID: Root=1-66a527f0-756cfbc35cc466f075382289;7d5dc06a-37e9-4c22-874d-92b0b1023276)\r\n\r\nInternal Error - We\'re working hard to fix this as soon as possible!\r\n``` '
"we're working on a fix !"
'We fixed the issue, you can load datasets again, sorry for the inconvenience !'
"I can confirm, it's working now. I can load the dataset, yay. Thank you @lhoestq "
'@lhoestq thank you so much! '] |
https://api.github.com/repos/huggingface/datasets/issues/7078 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/7078/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/7078/comments | https://api.github.com/repos/huggingface/datasets/issues/7078/events | https://github.com/huggingface/datasets/pull/7078 | 2,433,270,271 | PR_kwDODunzps52oq4n | 7,078 | Fix CI test_convert_to_parquet | {'avatar_url': 'https://avatars.githubusercontent.com/u/8515462?v=4', 'events_url': 'https://api.github.com/users/albertvillanova/events{/privacy}', 'followers_url': 'https://api.github.com/users/albertvillanova/followers', 'following_url': 'https://api.github.com/users/albertvillanova/following{/other_user}', 'gists_url': 'https://api.github.com/users/albertvillanova/gists{/gist_id}', 'gravatar_id': '', 'html_url': 'https://github.com/albertvillanova', 'id': 8515462, 'login': 'albertvillanova', 'node_id': 'MDQ6VXNlcjg1MTU0NjI=', 'organizations_url': 'https://api.github.com/users/albertvillanova/orgs', 'received_events_url': 'https://api.github.com/users/albertvillanova/received_events', 'repos_url': 'https://api.github.com/users/albertvillanova/repos', 'site_admin': False, 'starred_url': 'https://api.github.com/users/albertvillanova/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/albertvillanova/subscriptions', 'type': 'User', 'url': 'https://api.github.com/users/albertvillanova'} | [] | closed | false | null | [] | null | 2 | 2024-07-27T05:32:40Z | 2024-07-27T05:50:57Z | 2024-07-27T05:44:32Z | MEMBER | null | Fix `test_convert_to_parquet` by patching `HfApi.preupload_lfs_files` and revert temporary fix:
- #7074 | {'+1': 0, '-1': 0, 'confused': 0, 'eyes': 0, 'heart': 0, 'hooray': 0, 'laugh': 0, 'rocket': 0, 'total_count': 0, 'url': 'https://api.github.com/repos/huggingface/datasets/issues/7078/reactions'} | https://api.github.com/repos/huggingface/datasets/issues/7078/timeline | null | null | [{'author_association': 'NONE', 'body': 'The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7078). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.', 'created_at': '2024-07-27T05:35:10Z', 'html_url': 'https://github.com/huggingface/datasets/pull/7078#issuecomment-2253783576', 'id': 2253783576, 'issue_url': 'https://api.github.com/repos/huggingface/datasets/issues/7078', 'node_id': 'IC_kwDODunzps6GVgIY', 'performed_via_github_app': None, 'reactions': {'+1': 0, '-1': 0, 'confused': 0, 'eyes': 0, 'heart': 0, 'hooray': 0, 'laugh': 0, 'rocket': 0, 'total_count': 0, 'url': 'https://api.github.com/repos/huggingface/datasets/issues/comments/2253783576/reactions'}, 'updated_at': '2024-07-27T05:35:10Z', 'url': 'https://api.github.com/repos/huggingface/datasets/issues/comments/2253783576', 'user': {'avatar_url': 'https://avatars.githubusercontent.com/u/99929124?v=4', 'events_url': 'https://api.github.com/users/HuggingFaceDocBuilderDev/events{/privacy}', 'followers_url': 'https://api.github.com/users/HuggingFaceDocBuilderDev/followers', 'following_url': 'https://api.github.com/users/HuggingFaceDocBuilderDev/following{/other_user}', 'gists_url': 'https://api.github.com/users/HuggingFaceDocBuilderDev/gists{/gist_id}', 'gravatar_id': '', 'html_url': 'https://github.com/HuggingFaceDocBuilderDev', 'id': 99929124, 'login': 'HuggingFaceDocBuilderDev', 'node_id': 'U_kgDOBfTMJA', 'organizations_url': 'https://api.github.com/users/HuggingFaceDocBuilderDev/orgs', 'received_events_url': 'https://api.github.com/users/HuggingFaceDocBuilderDev/received_events', 'repos_url': 'https://api.github.com/users/HuggingFaceDocBuilderDev/repos', 'site_admin': False, 'starred_url': 'https://api.github.com/users/HuggingFaceDocBuilderDev/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/HuggingFaceDocBuilderDev/subscriptions', 'type': 'User', 'url': 'https://api.github.com/users/HuggingFaceDocBuilderDev'}}
{'author_association': 'NONE', 'body': '<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>Show updated benchmarks!</summary>\n\n### Benchmark: benchmark_array_xd.json\n\n| metric | read_batch_formatted_as_numpy after write_array2d | read_batch_formatted_as_numpy after write_flattened_sequence | read_batch_formatted_as_numpy after write_nested_sequence | read_batch_unformated after write_array2d | read_batch_unformated after write_flattened_sequence | read_batch_unformated after write_nested_sequence | read_col_formatted_as_numpy after write_array2d | read_col_formatted_as_numpy after write_flattened_sequence | read_col_formatted_as_numpy after write_nested_sequence | read_col_unformated after write_array2d | read_col_unformated after write_flattened_sequence | read_col_unformated after write_nested_sequence | read_formatted_as_numpy after write_array2d | read_formatted_as_numpy after write_flattened_sequence | read_formatted_as_numpy after write_nested_sequence | read_unformated after write_array2d | read_unformated after write_flattened_sequence | read_unformated after write_nested_sequence | write_array2d | write_flattened_sequence | write_nested_sequence |\n|--------|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|\n| new / old (diff) | 0.005262 / 0.011353 (-0.006090) | 0.003733 / 0.011008 (-0.007275) | 0.062619 / 0.038508 (0.024111) | 0.029491 / 0.023109 (0.006382) | 0.248947 / 0.275898 (-0.026951) | 0.278741 / 0.323480 (-0.044739) | 0.003173 / 0.007986 (-0.004813) | 0.002777 / 0.004328 (-0.001551) | 0.049344 / 0.004250 (0.045094) | 0.043103 / 0.037052 (0.006051) | 0.252402 / 0.258489 (-0.006087) | 0.288030 / 0.293841 (-0.005811) | 0.029425 / 0.128546 (-0.099121) | 0.012058 / 0.075646 (-0.063589) | 0.204509 / 0.419271 (-0.214762) | 0.035721 / 0.043533 (-0.007812) | 0.249121 / 0.255139 (-0.006018) | 0.272171 / 0.283200 (-0.011029) | 0.019515 / 0.141683 (-0.122168) | 1.130088 / 1.452155 (-0.322067) | 1.148856 / 1.492716 (-0.343860) |\n\n### Benchmark: benchmark_getitem\\_100B.json\n\n| metric | get_batch_of\\_1024\\_random_rows | get_batch_of\\_1024\\_rows | get_first_row | get_last_row |\n|--------|---|---|---|---|\n| new / old (diff) | 0.093613 / 0.018006 (0.075607) | 0.300830 / 0.000490 (0.300340) | 0.000219 / 0.000200 (0.000019) | 0.000043 / 0.000054 (-0.000011) |\n\n### Benchmark: benchmark_indices_mapping.json\n\n| metric | select | shard | shuffle | sort | train_test_split |\n|--------|---|---|---|---|---|\n| new / old (diff) | 0.018381 / 0.037411 (-0.019030) | 0.061515 / 0.014526 (0.046989) | 0.074370 / 0.176557 (-0.102186) | 0.120751 / 0.737135 (-0.616384) | 0.074971 / 0.296338 (-0.221367) |\n\n### Benchmark: benchmark_iterating.json\n\n| metric | read 5000 | read 50000 | read_batch 50000 10 | read_batch 50000 100 | read_batch 50000 1000 | read_formatted numpy 5000 | read_formatted pandas 5000 | read_formatted tensorflow 5000 | read_formatted torch 5000 | read_formatted_batch numpy 5000 10 | read_formatted_batch numpy 5000 1000 | shuffled read 5000 | shuffled read 50000 | shuffled read_batch 50000 10 | shuffled read_batch 50000 100 | shuffled read_batch 50000 1000 | shuffled read_formatted numpy 5000 | shuffled read_formatted_batch numpy 5000 10 | shuffled read_formatted_batch numpy 5000 1000 |\n|--------|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|\n| new / old (diff) | 0.280499 / 0.215209 (0.065290) | 2.763114 / 2.077655 (0.685459) | 1.458696 / 1.504120 (-0.045424) | 1.331214 / 1.541195 (-0.209981) | 1.343157 / 1.468490 (-0.125333) | 0.732775 / 4.584777 (-3.852002) | 2.381485 / 3.745712 (-1.364227) | 2.930117 / 5.269862 (-2.339745) | 1.887617 / 4.565676 (-2.678059) | 0.080543 / 0.424275 (-0.343732) | 0.005136 / 0.007607 (-0.002471) | 0.336924 / 0.226044 (0.110879) | 3.343071 / 2.268929 (1.074142) | 1.823677 / 55.444624 (-53.620948) | 1.572300 / 6.876477 (-5.304176) | 1.564040 / 2.142072 (-0.578032) | 0.802369 / 4.805227 (-4.002858) | 0.135198 / 6.500664 (-6.365466) | 0.041499 / 0.075469 (-0.033970) |\n\n### Benchmark: benchmark_map_filter.json\n\n| metric | filter | map fast-tokenizer batched | map identity | map identity batched | map no-op batched | map no-op batched numpy | map no-op batched pandas | map no-op batched pytorch | map no-op batched tensorflow |\n|--------|---|---|---|---|---|---|---|---|---|\n| new / old (diff) | 0.961202 / 1.841788 (-0.880585) | 11.275695 / 8.074308 (3.201387) | 9.508052 / 10.191392 (-0.683340) | 0.136921 / 0.680424 (-0.543503) | 0.014055 / 0.534201 (-0.520146) | 0.300076 / 0.579283 (-0.279208) | 0.263403 / 0.434364 (-0.170961) | 0.340871 / 0.540337 (-0.199466) | 0.433452 / 1.386936 (-0.953484) |\n\n</details>\nPyArrow==latest\n\n<details>\n<summary>Show updated benchmarks!</summary>\n\n### Benchmark: benchmark_array_xd.json\n\n| metric | read_batch_formatted_as_numpy after write_array2d | read_batch_formatted_as_numpy after write_flattened_sequence | read_batch_formatted_as_numpy after write_nested_sequence | read_batch_unformated after write_array2d | read_batch_unformated after write_flattened_sequence | read_batch_unformated after write_nested_sequence | read_col_formatted_as_numpy after write_array2d | read_col_formatted_as_numpy after write_flattened_sequence | read_col_formatted_as_numpy after write_nested_sequence | read_col_unformated after write_array2d | read_col_unformated after write_flattened_sequence | read_col_unformated after write_nested_sequence | read_formatted_as_numpy after write_array2d | read_formatted_as_numpy after write_flattened_sequence | read_formatted_as_numpy after write_nested_sequence | read_unformated after write_array2d | read_unformated after write_flattened_sequence | read_unformated after write_nested_sequence | write_array2d | write_flattened_sequence | write_nested_sequence |\n|--------|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|\n| new / old (diff) | 0.005683 / 0.011353 (-0.005670) | 0.003596 / 0.011008 (-0.007412) | 0.049913 / 0.038508 (0.011405) | 0.033275 / 0.023109 (0.010166) | 0.266011 / 0.275898 (-0.009887) | 0.295182 / 0.323480 (-0.028298) | 0.004336 / 0.007986 (-0.003649) | 0.002787 / 0.004328 (-0.001541) | 0.049035 / 0.004250 (0.044784) | 0.039833 / 0.037052 (0.002781) | 0.283520 / 0.258489 (0.025031) | 0.317437 / 0.293841 (0.023596) | 0.032578 / 0.128546 (-0.095968) | 0.011744 / 0.075646 (-0.063902) | 0.060174 / 0.419271 (-0.359097) | 0.034182 / 0.043533 (-0.009351) | 0.271821 / 0.255139 (0.016682) | 0.292189 / 0.283200 (0.008989) | 0.017045 / 0.141683 (-0.124638) | 1.127742 / 1.452155 (-0.324413) | 1.180621 / 1.492716 (-0.312095) |\n\n### Benchmark: benchmark_getitem\\_100B.json\n\n| metric | get_batch_of\\_1024\\_random_rows | get_batch_of\\_1024\\_rows | get_first_row | get_last_row |\n|--------|---|---|---|---|\n| new / old (diff) | 0.093798 / 0.018006 (0.075792) | 0.310715 / 0.000490 (0.310226) | 0.000213 / 0.000200 (0.000013) | 0.000046 / 0.000054 (-0.000009) |\n\n### Benchmark: benchmark_indices_mapping.json\n\n| metric | select | shard | shuffle | sort | train_test_split |\n|--------|---|---|---|---|---|\n| new / old (diff) | 0.022379 / 0.037411 (-0.015032) | 0.076823 / 0.014526 (0.062298) | 0.088086 / 0.176557 (-0.088471) | 0.128926 / 0.737135 (-0.608210) | 0.089187 / 0.296338 (-0.207151) |\n\n### Benchmark: benchmark_iterating.json\n\n| metric | read 5000 | read 50000 | read_batch 50000 10 | read_batch 50000 100 | read_batch 50000 1000 | read_formatted numpy 5000 | read_formatted pandas 5000 | read_formatted tensorflow 5000 | read_formatted torch 5000 | read_formatted_batch numpy 5000 10 | read_formatted_batch numpy 5000 1000 | shuffled read 5000 | shuffled read 50000 | shuffled read_batch 50000 10 | shuffled read_batch 50000 100 | shuffled read_batch 50000 1000 | shuffled read_formatted numpy 5000 | shuffled read_formatted_batch numpy 5000 10 | shuffled read_formatted_batch numpy 5000 1000 |\n|--------|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|\n| new / old (diff) | 0.293982 / 0.215209 (0.078773) | 2.930932 / 2.077655 (0.853277) | 1.576425 / 1.504120 (0.072305) | 1.445163 / 1.541195 (-0.096031) | 1.462118 / 1.468490 (-0.006372) | 0.725816 / 4.584777 (-3.858961) | 0.949767 / 3.745712 (-2.795945) | 2.832821 / 5.269862 (-2.437041) | 1.897064 / 4.565676 (-2.668612) | 0.079853 / 0.424275 (-0.344423) | 0.005352 / 0.007607 (-0.002255) | 0.344551 / 0.226044 (0.118507) | 3.442506 / 2.268929 (1.173578) | 1.938700 / 55.444624 (-53.505925) | 1.662205 / 6.876477 (-5.214272) | 1.769061 / 2.142072 (-0.373011) | 0.818089 / 4.805227 (-3.987139) | 0.134612 / 6.500664 (-6.366052) | 0.040419 / 0.075469 (-0.035050) |\n\n### Benchmark: benchmark_map_filter.json\n\n| metric | filter | map fast-tokenizer batched | map identity | map identity batched | map no-op batched | map no-op batched numpy | map no-op batched pandas | map no-op batched pytorch | map no-op batched tensorflow |\n|--------|---|---|---|---|---|---|---|---|---|\n| new / old (diff) | 1.032267 / 1.841788 (-0.809521) | 11.902598 / 8.074308 (3.828290) | 10.342229 / 10.191392 (0.150837) | 0.140509 / 0.680424 (-0.539915) | 0.015593 / 0.534201 (-0.518608) | 0.303326 / 0.579283 (-0.275957) | 0.127391 / 0.434364 (-0.306973) | 0.342095 / 0.540337 (-0.198243) | 0.438978 / 1.386936 (-0.947958) |\n\n</details>\n</details>\n\n![](https://cml.dev/watermark.png#30000fb6ca53126917ee17e1b1987f94f07a1569 "CML watermark")\n', 'created_at': '2024-07-27T05:50:56Z', 'html_url': 'https://github.com/huggingface/datasets/pull/7078#issuecomment-2253790424', 'id': 2253790424, 'issue_url': 'https://api.github.com/repos/huggingface/datasets/issues/7078', 'node_id': 'IC_kwDODunzps6GVhzY', 'performed_via_github_app': {'created_at': '2018-07-30T09:30:17Z', 'description': 'Automate your workflow from idea to production', 'events': array(['branch_protection_rule', 'check_run', 'check_suite', 'create',
'delete', 'deployment', 'deployment_status', 'discussion',
'discussion_comment', 'fork', 'gollum', 'issues', 'issue_comment',
'label', 'merge_group', 'milestone', 'page_build', 'project',
'project_card', 'project_column', 'public', 'pull_request',
'pull_request_review', 'pull_request_review_comment', 'push',
'registry_package', 'release', 'repository', 'repository_dispatch',
'status', 'watch', 'workflow_dispatch', 'workflow_run'],
dtype=object), 'external_url': 'https://help.github.com/en/actions', 'html_url': 'https://github.com/apps/github-actions', 'id': 15368, 'name': 'GitHub Actions', 'node_id': 'MDM6QXBwMTUzNjg=', 'owner': {'avatar_url': 'https://avatars.githubusercontent.com/u/9919?v=4', 'events_url': 'https://api.github.com/users/github/events{/privacy}', 'followers_url': 'https://api.github.com/users/github/followers', 'following_url': 'https://api.github.com/users/github/following{/other_user}', 'gists_url': 'https://api.github.com/users/github/gists{/gist_id}', 'gravatar_id': '', 'html_url': 'https://github.com/github', 'id': 9919, 'login': 'github', 'node_id': 'MDEyOk9yZ2FuaXphdGlvbjk5MTk=', 'organizations_url': 'https://api.github.com/users/github/orgs', 'received_events_url': 'https://api.github.com/users/github/received_events', 'repos_url': 'https://api.github.com/users/github/repos', 'site_admin': False, 'starred_url': 'https://api.github.com/users/github/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/github/subscriptions', 'type': 'Organization', 'url': 'https://api.github.com/users/github'}, 'permissions': {'actions': 'write', 'administration': 'read', 'attestations': 'write', 'checks': 'write', 'contents': 'write', 'deployments': 'write', 'discussions': 'write', 'issues': 'write', 'merge_queues': 'write', 'metadata': 'read', 'packages': 'write', 'pages': 'write', 'pull_requests': 'write', 'repository_hooks': 'write', 'repository_projects': 'write', 'security_events': 'write', 'statuses': 'write', 'vulnerability_alerts': 'read'}, 'slug': 'github-actions', 'updated_at': '2024-04-10T20:33:16Z'}, 'reactions': {'+1': 0, '-1': 0, 'confused': 0, 'eyes': 0, 'heart': 0, 'hooray': 0, 'laugh': 0, 'rocket': 0, 'total_count': 0, 'url': 'https://api.github.com/repos/huggingface/datasets/issues/comments/2253790424/reactions'}, 'updated_at': '2024-07-27T05:50:56Z', 'url': 'https://api.github.com/repos/huggingface/datasets/issues/comments/2253790424', 'user': {'avatar_url': 'https://avatars.githubusercontent.com/in/15368?v=4', 'events_url': 'https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}', 'followers_url': 'https://api.github.com/users/github-actions%5Bbot%5D/followers', 'following_url': 'https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}', 'gists_url': 'https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}', 'gravatar_id': '', 'html_url': 'https://github.com/apps/github-actions', 'id': 41898282, 'login': 'github-actions[bot]', 'node_id': 'MDM6Qm90NDE4OTgyODI=', 'organizations_url': 'https://api.github.com/users/github-actions%5Bbot%5D/orgs', 'received_events_url': 'https://api.github.com/users/github-actions%5Bbot%5D/received_events', 'repos_url': 'https://api.github.com/users/github-actions%5Bbot%5D/repos', 'site_admin': False, 'starred_url': 'https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/github-actions%5Bbot%5D/subscriptions', 'type': 'Bot', 'url': 'https://api.github.com/users/github-actions%5Bbot%5D'}} ] | ['The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7078). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.'
'<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>Show updated benchmarks!</summary>\n\n### Benchmark: benchmark_array_xd.json\n\n| metric | read_batch_formatted_as_numpy after write_array2d | read_batch_formatted_as_numpy after write_flattened_sequence | read_batch_formatted_as_numpy after write_nested_sequence | read_batch_unformated after write_array2d | read_batch_unformated after write_flattened_sequence | read_batch_unformated after write_nested_sequence | read_col_formatted_as_numpy after write_array2d | read_col_formatted_as_numpy after write_flattened_sequence | read_col_formatted_as_numpy after write_nested_sequence | read_col_unformated after write_array2d | read_col_unformated after write_flattened_sequence | read_col_unformated after write_nested_sequence | read_formatted_as_numpy after write_array2d | read_formatted_as_numpy after write_flattened_sequence | read_formatted_as_numpy after write_nested_sequence | read_unformated after write_array2d | read_unformated after write_flattened_sequence | read_unformated after write_nested_sequence | write_array2d | write_flattened_sequence | write_nested_sequence |\n|--------|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|\n| new / old (diff) | 0.005262 / 0.011353 (-0.006090) | 0.003733 / 0.011008 (-0.007275) | 0.062619 / 0.038508 (0.024111) | 0.029491 / 0.023109 (0.006382) | 0.248947 / 0.275898 (-0.026951) | 0.278741 / 0.323480 (-0.044739) | 0.003173 / 0.007986 (-0.004813) | 0.002777 / 0.004328 (-0.001551) | 0.049344 / 0.004250 (0.045094) | 0.043103 / 0.037052 (0.006051) | 0.252402 / 0.258489 (-0.006087) | 0.288030 / 0.293841 (-0.005811) | 0.029425 / 0.128546 (-0.099121) | 0.012058 / 0.075646 (-0.063589) | 0.204509 / 0.419271 (-0.214762) | 0.035721 / 0.043533 (-0.007812) | 0.249121 / 0.255139 (-0.006018) | 0.272171 / 0.283200 (-0.011029) | 0.019515 / 0.141683 (-0.122168) | 1.130088 / 1.452155 (-0.322067) | 1.148856 / 1.492716 (-0.343860) |\n\n### Benchmark: benchmark_getitem\\_100B.json\n\n| metric | get_batch_of\\_1024\\_random_rows | get_batch_of\\_1024\\_rows | get_first_row | get_last_row |\n|--------|---|---|---|---|\n| new / old (diff) | 0.093613 / 0.018006 (0.075607) | 0.300830 / 0.000490 (0.300340) | 0.000219 / 0.000200 (0.000019) | 0.000043 / 0.000054 (-0.000011) |\n\n### Benchmark: benchmark_indices_mapping.json\n\n| metric | select | shard | shuffle | sort | train_test_split |\n|--------|---|---|---|---|---|\n| new / old (diff) | 0.018381 / 0.037411 (-0.019030) | 0.061515 / 0.014526 (0.046989) | 0.074370 / 0.176557 (-0.102186) | 0.120751 / 0.737135 (-0.616384) | 0.074971 / 0.296338 (-0.221367) |\n\n### Benchmark: benchmark_iterating.json\n\n| metric | read 5000 | read 50000 | read_batch 50000 10 | read_batch 50000 100 | read_batch 50000 1000 | read_formatted numpy 5000 | read_formatted pandas 5000 | read_formatted tensorflow 5000 | read_formatted torch 5000 | read_formatted_batch numpy 5000 10 | read_formatted_batch numpy 5000 1000 | shuffled read 5000 | shuffled read 50000 | shuffled read_batch 50000 10 | shuffled read_batch 50000 100 | shuffled read_batch 50000 1000 | shuffled read_formatted numpy 5000 | shuffled read_formatted_batch numpy 5000 10 | shuffled read_formatted_batch numpy 5000 1000 |\n|--------|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|\n| new / old (diff) | 0.280499 / 0.215209 (0.065290) | 2.763114 / 2.077655 (0.685459) | 1.458696 / 1.504120 (-0.045424) | 1.331214 / 1.541195 (-0.209981) | 1.343157 / 1.468490 (-0.125333) | 0.732775 / 4.584777 (-3.852002) | 2.381485 / 3.745712 (-1.364227) | 2.930117 / 5.269862 (-2.339745) | 1.887617 / 4.565676 (-2.678059) | 0.080543 / 0.424275 (-0.343732) | 0.005136 / 0.007607 (-0.002471) | 0.336924 / 0.226044 (0.110879) | 3.343071 / 2.268929 (1.074142) | 1.823677 / 55.444624 (-53.620948) | 1.572300 / 6.876477 (-5.304176) | 1.564040 / 2.142072 (-0.578032) | 0.802369 / 4.805227 (-4.002858) | 0.135198 / 6.500664 (-6.365466) | 0.041499 / 0.075469 (-0.033970) |\n\n### Benchmark: benchmark_map_filter.json\n\n| metric | filter | map fast-tokenizer batched | map identity | map identity batched | map no-op batched | map no-op batched numpy | map no-op batched pandas | map no-op batched pytorch | map no-op batched tensorflow |\n|--------|---|---|---|---|---|---|---|---|---|\n| new / old (diff) | 0.961202 / 1.841788 (-0.880585) | 11.275695 / 8.074308 (3.201387) | 9.508052 / 10.191392 (-0.683340) | 0.136921 / 0.680424 (-0.543503) | 0.014055 / 0.534201 (-0.520146) | 0.300076 / 0.579283 (-0.279208) | 0.263403 / 0.434364 (-0.170961) | 0.340871 / 0.540337 (-0.199466) | 0.433452 / 1.386936 (-0.953484) |\n\n</details>\nPyArrow==latest\n\n<details>\n<summary>Show updated benchmarks!</summary>\n\n### Benchmark: benchmark_array_xd.json\n\n| metric | read_batch_formatted_as_numpy after write_array2d | read_batch_formatted_as_numpy after write_flattened_sequence | read_batch_formatted_as_numpy after write_nested_sequence | read_batch_unformated after write_array2d | read_batch_unformated after write_flattened_sequence | read_batch_unformated after write_nested_sequence | read_col_formatted_as_numpy after write_array2d | read_col_formatted_as_numpy after write_flattened_sequence | read_col_formatted_as_numpy after write_nested_sequence | read_col_unformated after write_array2d | read_col_unformated after write_flattened_sequence | read_col_unformated after write_nested_sequence | read_formatted_as_numpy after write_array2d | read_formatted_as_numpy after write_flattened_sequence | read_formatted_as_numpy after write_nested_sequence | read_unformated after write_array2d | read_unformated after write_flattened_sequence | read_unformated after write_nested_sequence | write_array2d | write_flattened_sequence | write_nested_sequence |\n|--------|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|\n| new / old (diff) | 0.005683 / 0.011353 (-0.005670) | 0.003596 / 0.011008 (-0.007412) | 0.049913 / 0.038508 (0.011405) | 0.033275 / 0.023109 (0.010166) | 0.266011 / 0.275898 (-0.009887) | 0.295182 / 0.323480 (-0.028298) | 0.004336 / 0.007986 (-0.003649) | 0.002787 / 0.004328 (-0.001541) | 0.049035 / 0.004250 (0.044784) | 0.039833 / 0.037052 (0.002781) | 0.283520 / 0.258489 (0.025031) | 0.317437 / 0.293841 (0.023596) | 0.032578 / 0.128546 (-0.095968) | 0.011744 / 0.075646 (-0.063902) | 0.060174 / 0.419271 (-0.359097) | 0.034182 / 0.043533 (-0.009351) | 0.271821 / 0.255139 (0.016682) | 0.292189 / 0.283200 (0.008989) | 0.017045 / 0.141683 (-0.124638) | 1.127742 / 1.452155 (-0.324413) | 1.180621 / 1.492716 (-0.312095) |\n\n### Benchmark: benchmark_getitem\\_100B.json\n\n| metric | get_batch_of\\_1024\\_random_rows | get_batch_of\\_1024\\_rows | get_first_row | get_last_row |\n|--------|---|---|---|---|\n| new / old (diff) | 0.093798 / 0.018006 (0.075792) | 0.310715 / 0.000490 (0.310226) | 0.000213 / 0.000200 (0.000013) | 0.000046 / 0.000054 (-0.000009) |\n\n### Benchmark: benchmark_indices_mapping.json\n\n| metric | select | shard | shuffle | sort | train_test_split |\n|--------|---|---|---|---|---|\n| new / old (diff) | 0.022379 / 0.037411 (-0.015032) | 0.076823 / 0.014526 (0.062298) | 0.088086 / 0.176557 (-0.088471) | 0.128926 / 0.737135 (-0.608210) | 0.089187 / 0.296338 (-0.207151) |\n\n### Benchmark: benchmark_iterating.json\n\n| metric | read 5000 | read 50000 | read_batch 50000 10 | read_batch 50000 100 | read_batch 50000 1000 | read_formatted numpy 5000 | read_formatted pandas 5000 | read_formatted tensorflow 5000 | read_formatted torch 5000 | read_formatted_batch numpy 5000 10 | read_formatted_batch numpy 5000 1000 | shuffled read 5000 | shuffled read 50000 | shuffled read_batch 50000 10 | shuffled read_batch 50000 100 | shuffled read_batch 50000 1000 | shuffled read_formatted numpy 5000 | shuffled read_formatted_batch numpy 5000 10 | shuffled read_formatted_batch numpy 5000 1000 |\n|--------|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|\n| new / old (diff) | 0.293982 / 0.215209 (0.078773) | 2.930932 / 2.077655 (0.853277) | 1.576425 / 1.504120 (0.072305) | 1.445163 / 1.541195 (-0.096031) | 1.462118 / 1.468490 (-0.006372) | 0.725816 / 4.584777 (-3.858961) | 0.949767 / 3.745712 (-2.795945) | 2.832821 / 5.269862 (-2.437041) | 1.897064 / 4.565676 (-2.668612) | 0.079853 / 0.424275 (-0.344423) | 0.005352 / 0.007607 (-0.002255) | 0.344551 / 0.226044 (0.118507) | 3.442506 / 2.268929 (1.173578) | 1.938700 / 55.444624 (-53.505925) | 1.662205 / 6.876477 (-5.214272) | 1.769061 / 2.142072 (-0.373011) | 0.818089 / 4.805227 (-3.987139) | 0.134612 / 6.500664 (-6.366052) | 0.040419 / 0.075469 (-0.035050) |\n\n### Benchmark: benchmark_map_filter.json\n\n| metric | filter | map fast-tokenizer batched | map identity | map identity batched | map no-op batched | map no-op batched numpy | map no-op batched pandas | map no-op batched pytorch | map no-op batched tensorflow |\n|--------|---|---|---|---|---|---|---|---|---|\n| new / old (diff) | 1.032267 / 1.841788 (-0.809521) | 11.902598 / 8.074308 (3.828290) | 10.342229 / 10.191392 (0.150837) | 0.140509 / 0.680424 (-0.539915) | 0.015593 / 0.534201 (-0.518608) | 0.303326 / 0.579283 (-0.275957) | 0.127391 / 0.434364 (-0.306973) | 0.342095 / 0.540337 (-0.198243) | 0.438978 / 1.386936 (-0.947958) |\n\n</details>\n</details>\n\n![](https://cml.dev/watermark.png#30000fb6ca53126917ee17e1b1987f94f07a1569 "CML watermark")\n'] |
https://api.github.com/repos/huggingface/datasets/issues/7077 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/7077/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/7077/comments | https://api.github.com/repos/huggingface/datasets/issues/7077/events | https://github.com/huggingface/datasets/issues/7077 | 2,432,345,489 | I_kwDODunzps6Q-qWR | 7,077 | column_names ignored by load_dataset() when loading CSV file | {'avatar_url': 'https://avatars.githubusercontent.com/u/9130265?v=4', 'events_url': 'https://api.github.com/users/luismsgomes/events{/privacy}', 'followers_url': 'https://api.github.com/users/luismsgomes/followers', 'following_url': 'https://api.github.com/users/luismsgomes/following{/other_user}', 'gists_url': 'https://api.github.com/users/luismsgomes/gists{/gist_id}', 'gravatar_id': '', 'html_url': 'https://github.com/luismsgomes', 'id': 9130265, 'login': 'luismsgomes', 'node_id': 'MDQ6VXNlcjkxMzAyNjU=', 'organizations_url': 'https://api.github.com/users/luismsgomes/orgs', 'received_events_url': 'https://api.github.com/users/luismsgomes/received_events', 'repos_url': 'https://api.github.com/users/luismsgomes/repos', 'site_admin': False, 'starred_url': 'https://api.github.com/users/luismsgomes/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/luismsgomes/subscriptions', 'type': 'User', 'url': 'https://api.github.com/users/luismsgomes'} | [] | open | false | null | [] | null | 1 | 2024-07-26T14:18:04Z | 2024-07-30T07:52:26Z | null | NONE | null | ### Describe the bug
load_dataset() ignores the column_names kwarg when loading a CSV file. Instead, it uses whatever values are on the first line of the file.
### Steps to reproduce the bug
Call `load_dataset` to load data from a CSV file and specify `column_names` kwarg.
### Expected behavior
The resulting dataset should have the specified column names **and** the first line of the file should be considered as data values.
### Environment info
- `datasets` version: 2.20.0
- Platform: Linux-5.10.0-30-cloud-amd64-x86_64-with-glibc2.31
- Python version: 3.9.2
- `huggingface_hub` version: 0.24.2
- PyArrow version: 17.0.0
- Pandas version: 2.2.2
- `fsspec` version: 2024.5.0 | {'+1': 0, '-1': 0, 'confused': 0, 'eyes': 0, 'heart': 0, 'hooray': 0, 'laugh': 0, 'rocket': 0, 'total_count': 0, 'url': 'https://api.github.com/repos/huggingface/datasets/issues/7077/reactions'} | https://api.github.com/repos/huggingface/datasets/issues/7077/timeline | null | null | [{'author_association': 'MEMBER', 'body': 'I confirm that `column_names` values are not copied to `names` variable because in this case `CsvConfig.__post_init__` is not called: `CsvConfig` is instantiated with default values and afterwards the `config_kwargs` are used to overwrite its attributes.\r\n\r\n@luismsgomes in the meantime, you can avoid the bug if you pass `names` instead of `column_names`.', 'created_at': '2024-07-30T07:52:25Z', 'html_url': 'https://github.com/huggingface/datasets/issues/7077#issuecomment-2257704156', 'id': 2257704156, 'issue_url': 'https://api.github.com/repos/huggingface/datasets/issues/7077', 'node_id': 'IC_kwDODunzps6GkdTc', 'performed_via_github_app': None, 'reactions': {'+1': 0, '-1': 0, 'confused': 0, 'eyes': 0, 'heart': 0, 'hooray': 0, 'laugh': 0, 'rocket': 0, 'total_count': 0, 'url': 'https://api.github.com/repos/huggingface/datasets/issues/comments/2257704156/reactions'}, 'updated_at': '2024-07-30T07:52:25Z', 'url': 'https://api.github.com/repos/huggingface/datasets/issues/comments/2257704156', 'user': {'avatar_url': 'https://avatars.githubusercontent.com/u/8515462?v=4', 'events_url': 'https://api.github.com/users/albertvillanova/events{/privacy}', 'followers_url': 'https://api.github.com/users/albertvillanova/followers', 'following_url': 'https://api.github.com/users/albertvillanova/following{/other_user}', 'gists_url': 'https://api.github.com/users/albertvillanova/gists{/gist_id}', 'gravatar_id': '', 'html_url': 'https://github.com/albertvillanova', 'id': 8515462, 'login': 'albertvillanova', 'node_id': 'MDQ6VXNlcjg1MTU0NjI=', 'organizations_url': 'https://api.github.com/users/albertvillanova/orgs', 'received_events_url': 'https://api.github.com/users/albertvillanova/received_events', 'repos_url': 'https://api.github.com/users/albertvillanova/repos', 'site_admin': False, 'starred_url': 'https://api.github.com/users/albertvillanova/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/albertvillanova/subscriptions', 'type': 'User', 'url': 'https://api.github.com/users/albertvillanova'}}] | ['I confirm that `column_names` values are not copied to `names` variable because in this case `CsvConfig.__post_init__` is not called: `CsvConfig` is instantiated with default values and afterwards the `config_kwargs` are used to overwrite its attributes.\r\n\r\n@luismsgomes in the meantime, you can avoid the bug if you pass `names` instead of `column_names`.'] |
https://api.github.com/repos/huggingface/datasets/issues/7076 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/7076/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/7076/comments | https://api.github.com/repos/huggingface/datasets/issues/7076/events | https://github.com/huggingface/datasets/pull/7076 | 2,432,275,393 | PR_kwDODunzps52lTDe | 7,076 | 🧪 Do not mock create_commit | {'avatar_url': 'https://avatars.githubusercontent.com/u/342922?v=4', 'events_url': 'https://api.github.com/users/coyotte508/events{/privacy}', 'followers_url': 'https://api.github.com/users/coyotte508/followers', 'following_url': 'https://api.github.com/users/coyotte508/following{/other_user}', 'gists_url': 'https://api.github.com/users/coyotte508/gists{/gist_id}', 'gravatar_id': '', 'html_url': 'https://github.com/coyotte508', 'id': 342922, 'login': 'coyotte508', 'node_id': 'MDQ6VXNlcjM0MjkyMg==', 'organizations_url': 'https://api.github.com/users/coyotte508/orgs', 'received_events_url': 'https://api.github.com/users/coyotte508/received_events', 'repos_url': 'https://api.github.com/users/coyotte508/repos', 'site_admin': False, 'starred_url': 'https://api.github.com/users/coyotte508/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/coyotte508/subscriptions', 'type': 'User', 'url': 'https://api.github.com/users/coyotte508'} | [] | closed | false | null | [] | null | 1 | 2024-07-26T13:44:42Z | 2024-07-27T05:48:17Z | 2024-07-27T05:48:17Z | MEMBER | null | null | {'+1': 0, '-1': 0, 'confused': 0, 'eyes': 0, 'heart': 0, 'hooray': 0, 'laugh': 0, 'rocket': 0, 'total_count': 0, 'url': 'https://api.github.com/repos/huggingface/datasets/issues/7076/reactions'} | https://api.github.com/repos/huggingface/datasets/issues/7076/timeline | null | null | [{'author_association': 'NONE', 'body': 'The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7076). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.', 'created_at': '2024-07-26T13:47:57Z', 'html_url': 'https://github.com/huggingface/datasets/pull/7076#issuecomment-2252806964', 'id': 2252806964, 'issue_url': 'https://api.github.com/repos/huggingface/datasets/issues/7076', 'node_id': 'IC_kwDODunzps6GRxs0', 'performed_via_github_app': None, 'reactions': {'+1': 0, '-1': 0, 'confused': 0, 'eyes': 0, 'heart': 0, 'hooray': 0, 'laugh': 0, 'rocket': 0, 'total_count': 0, 'url': 'https://api.github.com/repos/huggingface/datasets/issues/comments/2252806964/reactions'}, 'updated_at': '2024-07-26T13:47:57Z', 'url': 'https://api.github.com/repos/huggingface/datasets/issues/comments/2252806964', 'user': {'avatar_url': 'https://avatars.githubusercontent.com/u/99929124?v=4', 'events_url': 'https://api.github.com/users/HuggingFaceDocBuilderDev/events{/privacy}', 'followers_url': 'https://api.github.com/users/HuggingFaceDocBuilderDev/followers', 'following_url': 'https://api.github.com/users/HuggingFaceDocBuilderDev/following{/other_user}', 'gists_url': 'https://api.github.com/users/HuggingFaceDocBuilderDev/gists{/gist_id}', 'gravatar_id': '', 'html_url': 'https://github.com/HuggingFaceDocBuilderDev', 'id': 99929124, 'login': 'HuggingFaceDocBuilderDev', 'node_id': 'U_kgDOBfTMJA', 'organizations_url': 'https://api.github.com/users/HuggingFaceDocBuilderDev/orgs', 'received_events_url': 'https://api.github.com/users/HuggingFaceDocBuilderDev/received_events', 'repos_url': 'https://api.github.com/users/HuggingFaceDocBuilderDev/repos', 'site_admin': False, 'starred_url': 'https://api.github.com/users/HuggingFaceDocBuilderDev/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/HuggingFaceDocBuilderDev/subscriptions', 'type': 'User', 'url': 'https://api.github.com/users/HuggingFaceDocBuilderDev'}}] | ['The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7076). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.'] |
https://api.github.com/repos/huggingface/datasets/issues/7075 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/7075/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/7075/comments | https://api.github.com/repos/huggingface/datasets/issues/7075/events | https://github.com/huggingface/datasets/pull/7075 | 2,432,027,412 | PR_kwDODunzps52kciD | 7,075 | Update required soxr version from pre-release to release | {'avatar_url': 'https://avatars.githubusercontent.com/u/8515462?v=4', 'events_url': 'https://api.github.com/users/albertvillanova/events{/privacy}', 'followers_url': 'https://api.github.com/users/albertvillanova/followers', 'following_url': 'https://api.github.com/users/albertvillanova/following{/other_user}', 'gists_url': 'https://api.github.com/users/albertvillanova/gists{/gist_id}', 'gravatar_id': '', 'html_url': 'https://github.com/albertvillanova', 'id': 8515462, 'login': 'albertvillanova', 'node_id': 'MDQ6VXNlcjg1MTU0NjI=', 'organizations_url': 'https://api.github.com/users/albertvillanova/orgs', 'received_events_url': 'https://api.github.com/users/albertvillanova/received_events', 'repos_url': 'https://api.github.com/users/albertvillanova/repos', 'site_admin': False, 'starred_url': 'https://api.github.com/users/albertvillanova/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/albertvillanova/subscriptions', 'type': 'User', 'url': 'https://api.github.com/users/albertvillanova'} | [] | closed | false | null | [] | null | 2 | 2024-07-26T11:24:35Z | 2024-07-26T11:46:52Z | 2024-07-26T11:40:49Z | MEMBER | null | Update required `soxr` version from pre-release to release 0.4.0: https://github.com/dofuuz/python-soxr/releases/tag/v0.4.0 | {'+1': 0, '-1': 0, 'confused': 0, 'eyes': 0, 'heart': 0, 'hooray': 0, 'laugh': 0, 'rocket': 0, 'total_count': 0, 'url': 'https://api.github.com/repos/huggingface/datasets/issues/7075/reactions'} | https://api.github.com/repos/huggingface/datasets/issues/7075/timeline | null | null | [{'author_association': 'NONE', 'body': 'The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7075). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.', 'created_at': '2024-07-26T11:27:04Z', 'html_url': 'https://github.com/huggingface/datasets/pull/7075#issuecomment-2252559946', 'id': 2252559946, 'issue_url': 'https://api.github.com/repos/huggingface/datasets/issues/7075', 'node_id': 'IC_kwDODunzps6GQ1ZK', 'performed_via_github_app': None, 'reactions': {'+1': 0, '-1': 0, 'confused': 0, 'eyes': 0, 'heart': 0, 'hooray': 0, 'laugh': 0, 'rocket': 0, 'total_count': 0, 'url': 'https://api.github.com/repos/huggingface/datasets/issues/comments/2252559946/reactions'}, 'updated_at': '2024-07-26T11:27:04Z', 'url': 'https://api.github.com/repos/huggingface/datasets/issues/comments/2252559946', 'user': {'avatar_url': 'https://avatars.githubusercontent.com/u/99929124?v=4', 'events_url': 'https://api.github.com/users/HuggingFaceDocBuilderDev/events{/privacy}', 'followers_url': 'https://api.github.com/users/HuggingFaceDocBuilderDev/followers', 'following_url': 'https://api.github.com/users/HuggingFaceDocBuilderDev/following{/other_user}', 'gists_url': 'https://api.github.com/users/HuggingFaceDocBuilderDev/gists{/gist_id}', 'gravatar_id': '', 'html_url': 'https://github.com/HuggingFaceDocBuilderDev', 'id': 99929124, 'login': 'HuggingFaceDocBuilderDev', 'node_id': 'U_kgDOBfTMJA', 'organizations_url': 'https://api.github.com/users/HuggingFaceDocBuilderDev/orgs', 'received_events_url': 'https://api.github.com/users/HuggingFaceDocBuilderDev/received_events', 'repos_url': 'https://api.github.com/users/HuggingFaceDocBuilderDev/repos', 'site_admin': False, 'starred_url': 'https://api.github.com/users/HuggingFaceDocBuilderDev/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/HuggingFaceDocBuilderDev/subscriptions', 'type': 'User', 'url': 'https://api.github.com/users/HuggingFaceDocBuilderDev'}}
{'author_association': 'NONE', 'body': '<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>Show updated benchmarks!</summary>\n\n### Benchmark: benchmark_array_xd.json\n\n| metric | read_batch_formatted_as_numpy after write_array2d | read_batch_formatted_as_numpy after write_flattened_sequence | read_batch_formatted_as_numpy after write_nested_sequence | read_batch_unformated after write_array2d | read_batch_unformated after write_flattened_sequence | read_batch_unformated after write_nested_sequence | read_col_formatted_as_numpy after write_array2d | read_col_formatted_as_numpy after write_flattened_sequence | read_col_formatted_as_numpy after write_nested_sequence | read_col_unformated after write_array2d | read_col_unformated after write_flattened_sequence | read_col_unformated after write_nested_sequence | read_formatted_as_numpy after write_array2d | read_formatted_as_numpy after write_flattened_sequence | read_formatted_as_numpy after write_nested_sequence | read_unformated after write_array2d | read_unformated after write_flattened_sequence | read_unformated after write_nested_sequence | write_array2d | write_flattened_sequence | write_nested_sequence |\n|--------|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|\n| new / old (diff) | 0.005717 / 0.011353 (-0.005636) | 0.004102 / 0.011008 (-0.006906) | 0.064343 / 0.038508 (0.025835) | 0.031510 / 0.023109 (0.008400) | 0.254534 / 0.275898 (-0.021364) | 0.275080 / 0.323480 (-0.048400) | 0.004243 / 0.007986 (-0.003742) | 0.002782 / 0.004328 (-0.001546) | 0.049554 / 0.004250 (0.045303) | 0.045291 / 0.037052 (0.008239) | 0.264118 / 0.258489 (0.005629) | 0.296476 / 0.293841 (0.002635) | 0.030298 / 0.128546 (-0.098248) | 0.012646 / 0.075646 (-0.063000) | 0.208403 / 0.419271 (-0.210869) | 0.036365 / 0.043533 (-0.007168) | 0.250294 / 0.255139 (-0.004845) | 0.276057 / 0.283200 (-0.007143) | 0.018687 / 0.141683 (-0.122996) | 1.128970 / 1.452155 (-0.323184) | 1.170923 / 1.492716 (-0.321793) |\n\n### Benchmark: benchmark_getitem\\_100B.json\n\n| metric | get_batch_of\\_1024\\_random_rows | get_batch_of\\_1024\\_rows | get_first_row | get_last_row |\n|--------|---|---|---|---|\n| new / old (diff) | 0.134953 / 0.018006 (0.116947) | 0.301722 / 0.000490 (0.301232) | 0.000242 / 0.000200 (0.000042) | 0.000050 / 0.000054 (-0.000005) |\n\n### Benchmark: benchmark_indices_mapping.json\n\n| metric | select | shard | shuffle | sort | train_test_split |\n|--------|---|---|---|---|---|\n| new / old (diff) | 0.019650 / 0.037411 (-0.017761) | 0.063404 / 0.014526 (0.048878) | 0.074883 / 0.176557 (-0.101674) | 0.122846 / 0.737135 (-0.614289) | 0.077410 / 0.296338 (-0.218928) |\n\n### Benchmark: benchmark_iterating.json\n\n| metric | read 5000 | read 50000 | read_batch 50000 10 | read_batch 50000 100 | read_batch 50000 1000 | read_formatted numpy 5000 | read_formatted pandas 5000 | read_formatted tensorflow 5000 | read_formatted torch 5000 | read_formatted_batch numpy 5000 10 | read_formatted_batch numpy 5000 1000 | shuffled read 5000 | shuffled read 50000 | shuffled read_batch 50000 10 | shuffled read_batch 50000 100 | shuffled read_batch 50000 1000 | shuffled read_formatted numpy 5000 | shuffled read_formatted_batch numpy 5000 10 | shuffled read_formatted_batch numpy 5000 1000 |\n|--------|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|\n| new / old (diff) | 0.287710 / 0.215209 (0.072501) | 2.813834 / 2.077655 (0.736179) | 1.454710 / 1.504120 (-0.049410) | 1.327303 / 1.541195 (-0.213891) | 1.375064 / 1.468490 (-0.093426) | 0.746831 / 4.584777 (-3.837946) | 2.361008 / 3.745712 (-1.384705) | 3.080869 / 5.269862 (-2.188993) | 1.969927 / 4.565676 (-2.595749) | 0.081045 / 0.424275 (-0.343230) | 0.005168 / 0.007607 (-0.002440) | 0.342657 / 0.226044 (0.116613) | 3.404883 / 2.268929 (1.135955) | 1.840761 / 55.444624 (-53.603863) | 1.535400 / 6.876477 (-5.341076) | 1.584613 / 2.142072 (-0.557460) | 0.828003 / 4.805227 (-3.977224) | 0.135564 / 6.500664 (-6.365100) | 0.042717 / 0.075469 (-0.032752) |\n\n### Benchmark: benchmark_map_filter.json\n\n| metric | filter | map fast-tokenizer batched | map identity | map identity batched | map no-op batched | map no-op batched numpy | map no-op batched pandas | map no-op batched pytorch | map no-op batched tensorflow |\n|--------|---|---|---|---|---|---|---|---|---|\n| new / old (diff) | 0.985301 / 1.841788 (-0.856487) | 11.945913 / 8.074308 (3.871605) | 9.887577 / 10.191392 (-0.303815) | 0.141261 / 0.680424 (-0.539163) | 0.014961 / 0.534201 (-0.519240) | 0.304134 / 0.579283 (-0.275150) | 0.264733 / 0.434364 (-0.169631) | 0.349993 / 0.540337 (-0.190345) | 0.440390 / 1.386936 (-0.946546) |\n\n</details>\nPyArrow==latest\n\n<details>\n<summary>Show updated benchmarks!</summary>\n\n### Benchmark: benchmark_array_xd.json\n\n| metric | read_batch_formatted_as_numpy after write_array2d | read_batch_formatted_as_numpy after write_flattened_sequence | read_batch_formatted_as_numpy after write_nested_sequence | read_batch_unformated after write_array2d | read_batch_unformated after write_flattened_sequence | read_batch_unformated after write_nested_sequence | read_col_formatted_as_numpy after write_array2d | read_col_formatted_as_numpy after write_flattened_sequence | read_col_formatted_as_numpy after write_nested_sequence | read_col_unformated after write_array2d | read_col_unformated after write_flattened_sequence | read_col_unformated after write_nested_sequence | read_formatted_as_numpy after write_array2d | read_formatted_as_numpy after write_flattened_sequence | read_formatted_as_numpy after write_nested_sequence | read_unformated after write_array2d | read_unformated after write_flattened_sequence | read_unformated after write_nested_sequence | write_array2d | write_flattened_sequence | write_nested_sequence |\n|--------|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|\n| new / old (diff) | 0.006145 / 0.011353 (-0.005207) | 0.004259 / 0.011008 (-0.006749) | 0.051245 / 0.038508 (0.012737) | 0.034873 / 0.023109 (0.011764) | 0.274149 / 0.275898 (-0.001749) | 0.299761 / 0.323480 (-0.023719) | 0.004457 / 0.007986 (-0.003529) | 0.002938 / 0.004328 (-0.001390) | 0.049547 / 0.004250 (0.045297) | 0.042441 / 0.037052 (0.005389) | 0.284961 / 0.258489 (0.026472) | 0.322197 / 0.293841 (0.028356) | 0.033850 / 0.128546 (-0.094696) | 0.012615 / 0.075646 (-0.063031) | 0.061967 / 0.419271 (-0.357304) | 0.035229 / 0.043533 (-0.008304) | 0.273941 / 0.255139 (0.018802) | 0.293395 / 0.283200 (0.010195) | 0.020566 / 0.141683 (-0.121117) | 1.173423 / 1.452155 (-0.278732) | 1.219948 / 1.492716 (-0.272768) |\n\n### Benchmark: benchmark_getitem\\_100B.json\n\n| metric | get_batch_of\\_1024\\_random_rows | get_batch_of\\_1024\\_rows | get_first_row | get_last_row |\n|--------|---|---|---|---|\n| new / old (diff) | 0.096131 / 0.018006 (0.078125) | 0.305548 / 0.000490 (0.305059) | 0.000217 / 0.000200 (0.000017) | 0.000044 / 0.000054 (-0.000011) |\n\n### Benchmark: benchmark_indices_mapping.json\n\n| metric | select | shard | shuffle | sort | train_test_split |\n|--------|---|---|---|---|---|\n| new / old (diff) | 0.023847 / 0.037411 (-0.013564) | 0.079536 / 0.014526 (0.065010) | 0.088889 / 0.176557 (-0.087667) | 0.129181 / 0.737135 (-0.607954) | 0.090879 / 0.296338 (-0.205460) |\n\n### Benchmark: benchmark_iterating.json\n\n| metric | read 5000 | read 50000 | read_batch 50000 10 | read_batch 50000 100 | read_batch 50000 1000 | read_formatted numpy 5000 | read_formatted pandas 5000 | read_formatted tensorflow 5000 | read_formatted torch 5000 | read_formatted_batch numpy 5000 10 | read_formatted_batch numpy 5000 1000 | shuffled read 5000 | shuffled read 50000 | shuffled read_batch 50000 10 | shuffled read_batch 50000 100 | shuffled read_batch 50000 1000 | shuffled read_formatted numpy 5000 | shuffled read_formatted_batch numpy 5000 10 | shuffled read_formatted_batch numpy 5000 1000 |\n|--------|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|\n| new / old (diff) | 0.299315 / 0.215209 (0.084106) | 2.952656 / 2.077655 (0.875001) | 1.587354 / 1.504120 (0.083234) | 1.453420 / 1.541195 (-0.087774) | 1.501784 / 1.468490 (0.033294) | 0.711481 / 4.584777 (-3.873296) | 0.971790 / 3.745712 (-2.773922) | 2.897636 / 5.269862 (-2.372226) | 1.947086 / 4.565676 (-2.618591) | 0.079700 / 0.424275 (-0.344575) | 0.005395 / 0.007607 (-0.002212) | 0.351340 / 0.226044 (0.125296) | 3.416472 / 2.268929 (1.147543) | 2.007559 / 55.444624 (-53.437066) | 1.660401 / 6.876477 (-5.216076) | 1.837049 / 2.142072 (-0.305024) | 0.817306 / 4.805227 (-3.987921) | 0.135176 / 6.500664 (-6.365488) | 0.041477 / 0.075469 (-0.033992) |\n\n### Benchmark: benchmark_map_filter.json\n\n| metric | filter | map fast-tokenizer batched | map identity | map identity batched | map no-op batched | map no-op batched numpy | map no-op batched pandas | map no-op batched pytorch | map no-op batched tensorflow |\n|--------|---|---|---|---|---|---|---|---|---|\n| new / old (diff) | 1.030033 / 1.841788 (-0.811755) | 12.528661 / 8.074308 (4.454353) | 10.603212 / 10.191392 (0.411820) | 0.142434 / 0.680424 (-0.537989) | 0.015603 / 0.534201 (-0.518598) | 0.304516 / 0.579283 (-0.274767) | 0.125324 / 0.434364 (-0.309040) | 0.343092 / 0.540337 (-0.197245) | 0.443359 / 1.386936 (-0.943577) |\n\n</details>\n</details>\n\n![](https://cml.dev/watermark.png#45c5b3daacd7af212cae4c848a56e14d3cac291f "CML watermark")\n', 'created_at': '2024-07-26T11:46:51Z', 'html_url': 'https://github.com/huggingface/datasets/pull/7075#issuecomment-2252590870', 'id': 2252590870, 'issue_url': 'https://api.github.com/repos/huggingface/datasets/issues/7075', 'node_id': 'IC_kwDODunzps6GQ88W', 'performed_via_github_app': {'created_at': '2018-07-30T09:30:17Z', 'description': 'Automate your workflow from idea to production', 'events': array(['branch_protection_rule', 'check_run', 'check_suite', 'create',
'delete', 'deployment', 'deployment_status', 'discussion',
'discussion_comment', 'fork', 'gollum', 'issues', 'issue_comment',
'label', 'merge_group', 'milestone', 'page_build', 'project',
'project_card', 'project_column', 'public', 'pull_request',
'pull_request_review', 'pull_request_review_comment', 'push',
'registry_package', 'release', 'repository', 'repository_dispatch',
'status', 'watch', 'workflow_dispatch', 'workflow_run'],
dtype=object), 'external_url': 'https://help.github.com/en/actions', 'html_url': 'https://github.com/apps/github-actions', 'id': 15368, 'name': 'GitHub Actions', 'node_id': 'MDM6QXBwMTUzNjg=', 'owner': {'avatar_url': 'https://avatars.githubusercontent.com/u/9919?v=4', 'events_url': 'https://api.github.com/users/github/events{/privacy}', 'followers_url': 'https://api.github.com/users/github/followers', 'following_url': 'https://api.github.com/users/github/following{/other_user}', 'gists_url': 'https://api.github.com/users/github/gists{/gist_id}', 'gravatar_id': '', 'html_url': 'https://github.com/github', 'id': 9919, 'login': 'github', 'node_id': 'MDEyOk9yZ2FuaXphdGlvbjk5MTk=', 'organizations_url': 'https://api.github.com/users/github/orgs', 'received_events_url': 'https://api.github.com/users/github/received_events', 'repos_url': 'https://api.github.com/users/github/repos', 'site_admin': False, 'starred_url': 'https://api.github.com/users/github/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/github/subscriptions', 'type': 'Organization', 'url': 'https://api.github.com/users/github'}, 'permissions': {'actions': 'write', 'administration': 'read', 'attestations': 'write', 'checks': 'write', 'contents': 'write', 'deployments': 'write', 'discussions': 'write', 'issues': 'write', 'merge_queues': 'write', 'metadata': 'read', 'packages': 'write', 'pages': 'write', 'pull_requests': 'write', 'repository_hooks': 'write', 'repository_projects': 'write', 'security_events': 'write', 'statuses': 'write', 'vulnerability_alerts': 'read'}, 'slug': 'github-actions', 'updated_at': '2024-04-10T20:33:16Z'}, 'reactions': {'+1': 0, '-1': 0, 'confused': 0, 'eyes': 0, 'heart': 0, 'hooray': 0, 'laugh': 0, 'rocket': 0, 'total_count': 0, 'url': 'https://api.github.com/repos/huggingface/datasets/issues/comments/2252590870/reactions'}, 'updated_at': '2024-07-26T11:46:51Z', 'url': 'https://api.github.com/repos/huggingface/datasets/issues/comments/2252590870', 'user': {'avatar_url': 'https://avatars.githubusercontent.com/in/15368?v=4', 'events_url': 'https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}', 'followers_url': 'https://api.github.com/users/github-actions%5Bbot%5D/followers', 'following_url': 'https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}', 'gists_url': 'https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}', 'gravatar_id': '', 'html_url': 'https://github.com/apps/github-actions', 'id': 41898282, 'login': 'github-actions[bot]', 'node_id': 'MDM6Qm90NDE4OTgyODI=', 'organizations_url': 'https://api.github.com/users/github-actions%5Bbot%5D/orgs', 'received_events_url': 'https://api.github.com/users/github-actions%5Bbot%5D/received_events', 'repos_url': 'https://api.github.com/users/github-actions%5Bbot%5D/repos', 'site_admin': False, 'starred_url': 'https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/github-actions%5Bbot%5D/subscriptions', 'type': 'Bot', 'url': 'https://api.github.com/users/github-actions%5Bbot%5D'}} ] | ['The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7075). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.'
'<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>Show updated benchmarks!</summary>\n\n### Benchmark: benchmark_array_xd.json\n\n| metric | read_batch_formatted_as_numpy after write_array2d | read_batch_formatted_as_numpy after write_flattened_sequence | read_batch_formatted_as_numpy after write_nested_sequence | read_batch_unformated after write_array2d | read_batch_unformated after write_flattened_sequence | read_batch_unformated after write_nested_sequence | read_col_formatted_as_numpy after write_array2d | read_col_formatted_as_numpy after write_flattened_sequence | read_col_formatted_as_numpy after write_nested_sequence | read_col_unformated after write_array2d | read_col_unformated after write_flattened_sequence | read_col_unformated after write_nested_sequence | read_formatted_as_numpy after write_array2d | read_formatted_as_numpy after write_flattened_sequence | read_formatted_as_numpy after write_nested_sequence | read_unformated after write_array2d | read_unformated after write_flattened_sequence | read_unformated after write_nested_sequence | write_array2d | write_flattened_sequence | write_nested_sequence |\n|--------|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|\n| new / old (diff) | 0.005717 / 0.011353 (-0.005636) | 0.004102 / 0.011008 (-0.006906) | 0.064343 / 0.038508 (0.025835) | 0.031510 / 0.023109 (0.008400) | 0.254534 / 0.275898 (-0.021364) | 0.275080 / 0.323480 (-0.048400) | 0.004243 / 0.007986 (-0.003742) | 0.002782 / 0.004328 (-0.001546) | 0.049554 / 0.004250 (0.045303) | 0.045291 / 0.037052 (0.008239) | 0.264118 / 0.258489 (0.005629) | 0.296476 / 0.293841 (0.002635) | 0.030298 / 0.128546 (-0.098248) | 0.012646 / 0.075646 (-0.063000) | 0.208403 / 0.419271 (-0.210869) | 0.036365 / 0.043533 (-0.007168) | 0.250294 / 0.255139 (-0.004845) | 0.276057 / 0.283200 (-0.007143) | 0.018687 / 0.141683 (-0.122996) | 1.128970 / 1.452155 (-0.323184) | 1.170923 / 1.492716 (-0.321793) |\n\n### Benchmark: benchmark_getitem\\_100B.json\n\n| metric | get_batch_of\\_1024\\_random_rows | get_batch_of\\_1024\\_rows | get_first_row | get_last_row |\n|--------|---|---|---|---|\n| new / old (diff) | 0.134953 / 0.018006 (0.116947) | 0.301722 / 0.000490 (0.301232) | 0.000242 / 0.000200 (0.000042) | 0.000050 / 0.000054 (-0.000005) |\n\n### Benchmark: benchmark_indices_mapping.json\n\n| metric | select | shard | shuffle | sort | train_test_split |\n|--------|---|---|---|---|---|\n| new / old (diff) | 0.019650 / 0.037411 (-0.017761) | 0.063404 / 0.014526 (0.048878) | 0.074883 / 0.176557 (-0.101674) | 0.122846 / 0.737135 (-0.614289) | 0.077410 / 0.296338 (-0.218928) |\n\n### Benchmark: benchmark_iterating.json\n\n| metric | read 5000 | read 50000 | read_batch 50000 10 | read_batch 50000 100 | read_batch 50000 1000 | read_formatted numpy 5000 | read_formatted pandas 5000 | read_formatted tensorflow 5000 | read_formatted torch 5000 | read_formatted_batch numpy 5000 10 | read_formatted_batch numpy 5000 1000 | shuffled read 5000 | shuffled read 50000 | shuffled read_batch 50000 10 | shuffled read_batch 50000 100 | shuffled read_batch 50000 1000 | shuffled read_formatted numpy 5000 | shuffled read_formatted_batch numpy 5000 10 | shuffled read_formatted_batch numpy 5000 1000 |\n|--------|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|\n| new / old (diff) | 0.287710 / 0.215209 (0.072501) | 2.813834 / 2.077655 (0.736179) | 1.454710 / 1.504120 (-0.049410) | 1.327303 / 1.541195 (-0.213891) | 1.375064 / 1.468490 (-0.093426) | 0.746831 / 4.584777 (-3.837946) | 2.361008 / 3.745712 (-1.384705) | 3.080869 / 5.269862 (-2.188993) | 1.969927 / 4.565676 (-2.595749) | 0.081045 / 0.424275 (-0.343230) | 0.005168 / 0.007607 (-0.002440) | 0.342657 / 0.226044 (0.116613) | 3.404883 / 2.268929 (1.135955) | 1.840761 / 55.444624 (-53.603863) | 1.535400 / 6.876477 (-5.341076) | 1.584613 / 2.142072 (-0.557460) | 0.828003 / 4.805227 (-3.977224) | 0.135564 / 6.500664 (-6.365100) | 0.042717 / 0.075469 (-0.032752) |\n\n### Benchmark: benchmark_map_filter.json\n\n| metric | filter | map fast-tokenizer batched | map identity | map identity batched | map no-op batched | map no-op batched numpy | map no-op batched pandas | map no-op batched pytorch | map no-op batched tensorflow |\n|--------|---|---|---|---|---|---|---|---|---|\n| new / old (diff) | 0.985301 / 1.841788 (-0.856487) | 11.945913 / 8.074308 (3.871605) | 9.887577 / 10.191392 (-0.303815) | 0.141261 / 0.680424 (-0.539163) | 0.014961 / 0.534201 (-0.519240) | 0.304134 / 0.579283 (-0.275150) | 0.264733 / 0.434364 (-0.169631) | 0.349993 / 0.540337 (-0.190345) | 0.440390 / 1.386936 (-0.946546) |\n\n</details>\nPyArrow==latest\n\n<details>\n<summary>Show updated benchmarks!</summary>\n\n### Benchmark: benchmark_array_xd.json\n\n| metric | read_batch_formatted_as_numpy after write_array2d | read_batch_formatted_as_numpy after write_flattened_sequence | read_batch_formatted_as_numpy after write_nested_sequence | read_batch_unformated after write_array2d | read_batch_unformated after write_flattened_sequence | read_batch_unformated after write_nested_sequence | read_col_formatted_as_numpy after write_array2d | read_col_formatted_as_numpy after write_flattened_sequence | read_col_formatted_as_numpy after write_nested_sequence | read_col_unformated after write_array2d | read_col_unformated after write_flattened_sequence | read_col_unformated after write_nested_sequence | read_formatted_as_numpy after write_array2d | read_formatted_as_numpy after write_flattened_sequence | read_formatted_as_numpy after write_nested_sequence | read_unformated after write_array2d | read_unformated after write_flattened_sequence | read_unformated after write_nested_sequence | write_array2d | write_flattened_sequence | write_nested_sequence |\n|--------|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|\n| new / old (diff) | 0.006145 / 0.011353 (-0.005207) | 0.004259 / 0.011008 (-0.006749) | 0.051245 / 0.038508 (0.012737) | 0.034873 / 0.023109 (0.011764) | 0.274149 / 0.275898 (-0.001749) | 0.299761 / 0.323480 (-0.023719) | 0.004457 / 0.007986 (-0.003529) | 0.002938 / 0.004328 (-0.001390) | 0.049547 / 0.004250 (0.045297) | 0.042441 / 0.037052 (0.005389) | 0.284961 / 0.258489 (0.026472) | 0.322197 / 0.293841 (0.028356) | 0.033850 / 0.128546 (-0.094696) | 0.012615 / 0.075646 (-0.063031) | 0.061967 / 0.419271 (-0.357304) | 0.035229 / 0.043533 (-0.008304) | 0.273941 / 0.255139 (0.018802) | 0.293395 / 0.283200 (0.010195) | 0.020566 / 0.141683 (-0.121117) | 1.173423 / 1.452155 (-0.278732) | 1.219948 / 1.492716 (-0.272768) |\n\n### Benchmark: benchmark_getitem\\_100B.json\n\n| metric | get_batch_of\\_1024\\_random_rows | get_batch_of\\_1024\\_rows | get_first_row | get_last_row |\n|--------|---|---|---|---|\n| new / old (diff) | 0.096131 / 0.018006 (0.078125) | 0.305548 / 0.000490 (0.305059) | 0.000217 / 0.000200 (0.000017) | 0.000044 / 0.000054 (-0.000011) |\n\n### Benchmark: benchmark_indices_mapping.json\n\n| metric | select | shard | shuffle | sort | train_test_split |\n|--------|---|---|---|---|---|\n| new / old (diff) | 0.023847 / 0.037411 (-0.013564) | 0.079536 / 0.014526 (0.065010) | 0.088889 / 0.176557 (-0.087667) | 0.129181 / 0.737135 (-0.607954) | 0.090879 / 0.296338 (-0.205460) |\n\n### Benchmark: benchmark_iterating.json\n\n| metric | read 5000 | read 50000 | read_batch 50000 10 | read_batch 50000 100 | read_batch 50000 1000 | read_formatted numpy 5000 | read_formatted pandas 5000 | read_formatted tensorflow 5000 | read_formatted torch 5000 | read_formatted_batch numpy 5000 10 | read_formatted_batch numpy 5000 1000 | shuffled read 5000 | shuffled read 50000 | shuffled read_batch 50000 10 | shuffled read_batch 50000 100 | shuffled read_batch 50000 1000 | shuffled read_formatted numpy 5000 | shuffled read_formatted_batch numpy 5000 10 | shuffled read_formatted_batch numpy 5000 1000 |\n|--------|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|\n| new / old (diff) | 0.299315 / 0.215209 (0.084106) | 2.952656 / 2.077655 (0.875001) | 1.587354 / 1.504120 (0.083234) | 1.453420 / 1.541195 (-0.087774) | 1.501784 / 1.468490 (0.033294) | 0.711481 / 4.584777 (-3.873296) | 0.971790 / 3.745712 (-2.773922) | 2.897636 / 5.269862 (-2.372226) | 1.947086 / 4.565676 (-2.618591) | 0.079700 / 0.424275 (-0.344575) | 0.005395 / 0.007607 (-0.002212) | 0.351340 / 0.226044 (0.125296) | 3.416472 / 2.268929 (1.147543) | 2.007559 / 55.444624 (-53.437066) | 1.660401 / 6.876477 (-5.216076) | 1.837049 / 2.142072 (-0.305024) | 0.817306 / 4.805227 (-3.987921) | 0.135176 / 6.500664 (-6.365488) | 0.041477 / 0.075469 (-0.033992) |\n\n### Benchmark: benchmark_map_filter.json\n\n| metric | filter | map fast-tokenizer batched | map identity | map identity batched | map no-op batched | map no-op batched numpy | map no-op batched pandas | map no-op batched pytorch | map no-op batched tensorflow |\n|--------|---|---|---|---|---|---|---|---|---|\n| new / old (diff) | 1.030033 / 1.841788 (-0.811755) | 12.528661 / 8.074308 (4.454353) | 10.603212 / 10.191392 (0.411820) | 0.142434 / 0.680424 (-0.537989) | 0.015603 / 0.534201 (-0.518598) | 0.304516 / 0.579283 (-0.274767) | 0.125324 / 0.434364 (-0.309040) | 0.343092 / 0.540337 (-0.197245) | 0.443359 / 1.386936 (-0.943577) |\n\n</details>\n</details>\n\n![](https://cml.dev/watermark.png#45c5b3daacd7af212cae4c848a56e14d3cac291f "CML watermark")\n'] |
End of preview. Expand
in Dataset Viewer.
Description
The data is set of GitGub issues posted by users to ask for help in their coding, data were crowled using GitHub API and preprocessed to be easier to use.
Data Preprocessing
- Famous: we set famous issue to be True when it get a one or higher reacts to it
- actual_comment: list of objects contains all the comments and their related inforamtion
- comments_body: list of extracted comments body from the actual_comment column
Usage
The dataset can be used in training for sequence text classification and question awnswering or help to finetune chatbots that might be used to help solve coding problems with up to date data. Below areas the model can be used to:
- Tagging Classifier
- Semantic Search "Search Engine"
- Question Answering
- Text Generation "possibly"
Get the Data
You may use below code to fetch up the data into your machine
data = load_dataset('HamzaNaser/GitHub_Issues',split='train')
data
- Downloads last month
- 0