id
int64
599M
3.26B
title
stringlengths
1
290
body
stringlengths
0
228k
state
stringclasses
2 values
number
int64
1
7.7k
comments
listlengths
0
30
locked
bool
1 class
created_at
stringdate
2020-04-14 10:18:02
2025-07-24 19:46:28
updated_at
stringdate
2020-04-27 16:04:17
2025-07-25 11:56:51
author_association
stringclasses
4 values
user_login
stringlengths
3
26
user_id
int64
3.5k
219M
user_type
stringclasses
1 value
labels
stringclasses
81 values
reactions
stringlengths
191
197
url
stringlengths
58
61
html_url
stringlengths
46
51
pull_request
stringlengths
289
315
is_pull_request
bool
2 classes
2,967,034,060
Columns in the dataset obtained though load_dataset do not correspond to the one in the dataset viewer since 3.4.0
### Describe the bug I have noticed that on my dataset named [BrunoHays/Accueil_UBS](https://huggingface.co/datasets/BrunoHays/Accueil_UBS), since the version 3.4.0, every column except audio is missing when I load the dataset. Interestingly, the dataset viewer still shows the correct columns ### Steps to reproduce ...
closed
7,495
[ "Hi, the dataset viewer shows all the possible columns and their types, but `load_dataset()` iterates through all the columns that you defined. It seems that you only have one column (‘audio’) defined in your dataset because when I ran `print(ds.column_names)`, the only name I got was “audio”. You need to clearly d...
false
2025-04-02 17:01:11
2025-07-02 23:24:57
CONTRIBUTOR
bruno-hays
48,770,768
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7495/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7495
https://github.com/huggingface/datasets/issues/7495
null
false
2,965,347,685
Broken links in pdf loading documentation
### Describe the bug Hi, just a couple of small issues I ran into while reading the docs for [loading pdf data](https://huggingface.co/docs/datasets/main/en/document_load): 1. The link for the [`Create a pdf dataset`](https://huggingface.co/docs/datasets/main/en/document_load#pdffolder) points to https://huggingface....
closed
7,494
[ "thanks for reporting ! I fixed the links, the docs will be updated in the next release" ]
false
2025-04-02 06:45:22
2025-04-15 13:36:25
NONE
VyoJ
75,789,232
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7494/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7494
https://github.com/huggingface/datasets/issues/7494
null
false
2,964,025,179
push_to_hub does not upload videos
### Describe the bug Hello, I would like to upload a video dataset (some .mp4 files and some segments within them), i.e. rows correspond to subsequences from videos. Videos might be referenced by several rows. I created a dataset locally and it references the videos and the video readers can read them correctly. I u...
open
7,493
[ "Hi ! the `Video` type is still experimental, and in particular `push_to_hub` doesn't upload videos at the moment (only the paths).\n\nThere is an open question to either upload the videos inside the Parquet files, or rather have them as separate files (which is great to enable remote seeking/streaming)" ]
false
2025-04-01 17:00:20
2025-04-15 12:34:23
NONE
DominikVincent
9,339,403
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7493/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7493
https://github.com/huggingface/datasets/issues/7493
null
false
2,959,088,568
Closes #7457
This PR updates the documentation to include the HF_DATASETS_CACHE environment variable, which allows users to customize the cache location for datasets—similar to HF_HUB_CACHE for models.
closed
7,492
[ "This PR fixes issue #7457" ]
false
2025-03-30 20:41:20
2025-04-13 22:05:07
CONTRIBUTOR
Harry-Yang0518
129,883,215
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7492/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7492
https://github.com/huggingface/datasets/pull/7492
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7492", "html_url": "https://github.com/huggingface/datasets/pull/7492", "diff_url": "https://github.com/huggingface/datasets/pull/7492.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7492.patch", "merged_at": null}
true
2,959,085,647
docs: update cache.mdx to include HF_DATASETS_CACHE documentation
closed
7,491
[ "Already included HF_DATASETS_CACHE" ]
false
2025-03-30 20:35:03
2025-03-30 20:36:40
CONTRIBUTOR
Harry-Yang0518
129,883,215
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7491/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7491
https://github.com/huggingface/datasets/pull/7491
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7491", "html_url": "https://github.com/huggingface/datasets/pull/7491", "diff_url": "https://github.com/huggingface/datasets/pull/7491.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7491.patch", "merged_at": null}
true
2,958,826,222
(refactor) remove redundant logic in _check_valid_index_key
This PR contributes a minor refactor, in a small function in `src/datasets/formatting/formatting.py`. No change in logic. In the original code, there are separate if-conditionals for `isinstance(key, range)` and `isinstance(key, Iterable)`, with essentially the same logic. This PR combines these two using a sin...
open
7,490
[]
false
2025-03-30 11:45:42
2025-03-30 11:50:22
NONE
suzyahyah
2,980,993
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7490/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7490
https://github.com/huggingface/datasets/pull/7490
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7490", "html_url": "https://github.com/huggingface/datasets/pull/7490", "diff_url": "https://github.com/huggingface/datasets/pull/7490.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7490.patch", "merged_at": null}
true
2,958,204,763
fix: loading of datasets from Disk(#7373)
Fixes dataset loading from disk by ensuring that memory maps and streams are properly closed. For more details, see https://github.com/huggingface/datasets/issues/7373.
open
7,489
[ "@nepfaff Could you confirm if this fixes the issue for you? I checked Memray, and everything looked good on my end.\r\n\r\nInstall: `pip install git+https://github.com/sam-hey/datasets.git@fix/concatenate_datasets`\r\n", "Will aim to get to this soon. I don't have a rapid testing pipeline setup but need to wait ...
false
2025-03-29 16:22:58
2025-04-24 16:36:36
NONE
sam-hey
40,773,225
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7489/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7489
https://github.com/huggingface/datasets/pull/7489
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7489", "html_url": "https://github.com/huggingface/datasets/pull/7489", "diff_url": "https://github.com/huggingface/datasets/pull/7489.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7489.patch", "merged_at": null}
true
2,956,559,358
Support underscore int read instruction
close https://github.com/huggingface/datasets/issues/7481
closed
7,488
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7488). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "you rock, Quentin - thank you!" ]
false
2025-03-28 16:01:15
2025-03-28 16:20:44
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7488/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7488
https://github.com/huggingface/datasets/pull/7488
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7488", "html_url": "https://github.com/huggingface/datasets/pull/7488", "diff_url": "https://github.com/huggingface/datasets/pull/7488.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7488.patch", "merged_at": "2025-03-28T16:20:43Z"}
true
2,956,533,448
Write pdf in map
Fix this error when mapping a PDF dataset ``` pyarrow.lib.ArrowInvalid: Could not convert <pdfplumber.pdf.PDF object at 0x13498ee40> with type PDF: did not recognize Python value type when inferring an Arrow data type ``` and also let map() outputs be lists of images or pdfs
closed
7,487
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7487). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
false
2025-03-28 15:49:25
2025-03-28 17:09:53
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7487/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7487
https://github.com/huggingface/datasets/pull/7487
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7487", "html_url": "https://github.com/huggingface/datasets/pull/7487", "diff_url": "https://github.com/huggingface/datasets/pull/7487.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7487.patch", "merged_at": "2025-03-28T17:09:51Z"}
true
2,954,042,179
`shared_datadir` fixture is missing
### Describe the bug Running the tests for the latest release fails due to missing `shared_datadir` fixture. ### Steps to reproduce the bug Running `pytest` while building a package for Arch Linux leads to these errors: ``` ==================================== ERRORS ==================================== _________ E...
closed
7,486
[ "OK I was missing the `pytest-datadir` package. Sorry for the noise!" ]
false
2025-03-27 18:17:12
2025-03-27 19:49:11
NONE
lahwaacz
1,289,205
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7486/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7486
https://github.com/huggingface/datasets/issues/7486
null
false
2,953,696,519
set dev version
closed
7,485
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7485). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
false
2025-03-27 16:39:34
2025-03-27 16:41:59
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7485/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7485
https://github.com/huggingface/datasets/pull/7485
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7485", "html_url": "https://github.com/huggingface/datasets/pull/7485", "diff_url": "https://github.com/huggingface/datasets/pull/7485.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7485.patch", "merged_at": "2025-03-27T16:39:42Z"}
true
2,953,677,168
release: 3.5.0
closed
7,484
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7484). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
false
2025-03-27 16:33:27
2025-03-27 16:35:44
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7484/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7484
https://github.com/huggingface/datasets/pull/7484
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7484", "html_url": "https://github.com/huggingface/datasets/pull/7484", "diff_url": "https://github.com/huggingface/datasets/pull/7484.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7484.patch", "merged_at": "2025-03-27T16:34:22Z"}
true
2,951,856,468
Support skip_trying_type
This PR addresses Issue #7472 cc: @lhoestq
closed
7,483
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7483). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "Cool ! Can you run `make style` to fix code formatting ?\r\n\r\nI was also thinking of ...
false
2025-03-27 07:07:20
2025-04-29 04:14:57
CONTRIBUTOR
yoshitomo-matsubara
11,156,001
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7483/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7483
https://github.com/huggingface/datasets/pull/7483
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7483", "html_url": "https://github.com/huggingface/datasets/pull/7483", "diff_url": "https://github.com/huggingface/datasets/pull/7483.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7483.patch", "merged_at": "2025-04-09T09:53:10Z"}
true
2,950,890,368
Implement capability to restore non-nullability in Features
This PR attempts to keep track of non_nullable pyarrow fields when converting a `pa.Schema` to `Features`. At the same time, when outputting the `arrow_schema`, the original non-nullable fields are restored. This allows for more consistent behavior and avoids breaking behavior as illustrated in #7479. I am by no mea...
closed
7,482
[ "Interestingly, this does not close #7479. The Features are not correctly maintained when calling `from_dict` with the custom Features.", "Unfortunately this PR does not fix the reported issue. After more digging:\r\n\r\n- when the dataset is created, nullability information is lost in Features;\r\n- even with th...
false
2025-03-26 22:16:09
2025-05-15 15:00:59
CONTRIBUTOR
BramVanroy
2,779,410
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7482/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7482
https://github.com/huggingface/datasets/pull/7482
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7482", "html_url": "https://github.com/huggingface/datasets/pull/7482", "diff_url": "https://github.com/huggingface/datasets/pull/7482.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7482.patch", "merged_at": null}
true
2,950,692,971
deal with python `10_000` legal number in slice syntax
### Feature request ``` In [6]: ds = datasets.load_dataset("HuggingFaceH4/ultrachat_200k", split="train_sft[:1000]") In [7]: ds = datasets.load_dataset("HuggingFaceH4/ultrachat_200k", split="train_sft[:1_000]") [dozens of frames skipped] File /usr/local/lib/python3.10/dist-packages/datasets/arrow_reader.py:444, in _s...
closed
7,481
[ "should be an easy fix, I opened a PR" ]
false
2025-03-26 20:10:54
2025-03-28 16:20:44
NONE
sfc-gh-sbekman
196,988,264
User
[{"id": 1935892871, "node_id": "MDU6TGFiZWwxOTM1ODkyODcx", "url": "https://api.github.com/repos/huggingface/datasets/labels/enhancement", "name": "enhancement", "color": "a2eeef", "default": true, "description": "New feature or request"}]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7481/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7481
https://github.com/huggingface/datasets/issues/7481
null
false
2,950,315,214
HF_DATASETS_CACHE ignored?
### Describe the bug I'm struggling to get things to respect HF_DATASETS_CACHE. Rationale: I'm on a system that uses NFS for homedir, so downloading to NFS is expensive, slow, and wastes valuable quota compared to local disk. Instead, it seems to rely mostly on HF_HUB_CACHE. Current version: 3.2.1dev. In the process...
open
7,480
[ "FWIW, it does eventually write to /tmp/roller/datasets when generating the final version.", "Hey, I’d love to work on this issue but I am a beginner, can I work it with you?", "Hi @lhoestq,\nI'd like to look into this issue but I'm still learning. Could you share any quick pointers on the HF_DATASETS_CACHE beh...
false
2025-03-26 17:19:34
2025-04-28 10:16:16
NONE
stephenroller
31,896
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7480/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7480
https://github.com/huggingface/datasets/issues/7480
null
false
2,950,235,396
Features.from_arrow_schema is destructive
### Describe the bug I came across this, perhaps niche, bug where `Features` does not/cannot account for pyarrow's `nullable=False` option in Fields. Interestingly, I found that in regular "flat" fields this does not necessarily lead to conflicts, but when a non-nullable field is in a struct, an incompatibility arises...
open
7,479
[]
false
2025-03-26 16:46:43
2025-03-26 16:46:58
CONTRIBUTOR
BramVanroy
2,779,410
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7479/reactions", "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7479
https://github.com/huggingface/datasets/issues/7479
null
false
2,948,993,461
update fsspec 2025.3.0
It appears there have been two releases of fsspec since this dependency was last updated, it would be great if Datasets could be updated so that it didn't hold back the usage of newer fsspec versions in consuming projects. PR based on https://github.com/huggingface/datasets/pull/7352
closed
7,478
[ "Sorry for tagging you @lhoestq but since you merged the linked PR, I wondered if you might be able to help me get this triaged so it can be reviewed/rejected etc. 🙏🏼 ", "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7478). All of your documentation changes will be reflec...
false
2025-03-26 09:53:05
2025-03-28 19:15:54
CONTRIBUTOR
peteski22
487,783
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7478/reactions", "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7478
https://github.com/huggingface/datasets/pull/7478
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7478", "html_url": "https://github.com/huggingface/datasets/pull/7478", "diff_url": "https://github.com/huggingface/datasets/pull/7478.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7478.patch", "merged_at": "2025-03-28T15:51:54Z"}
true
2,947,169,460
What is the canonical way to compress a Dataset?
Given that Arrow is the preferred backend for a Dataset, what is a user supposed to do if they want concurrent reads, concurrent writes AND on-disk compression for a larger dataset? Parquet would be the obvious answer except that there is no native support for writing sharded, parquet datasets concurrently [[1](https:...
open
7,477
[ "I saw this post by @lhoestq: https://discuss.huggingface.co/t/increased-arrow-table-size-by-factor-of-2/26561/4 suggesting that there is at least some internal code for writing sharded parquet datasets non-concurrently. This appears to be that code: https://github.com/huggingface/datasets/blob/94ccd1b4fada8a92cea...
false
2025-03-25 16:47:51
2025-04-03 09:13:11
NONE
eric-czech
6,130,352
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7477/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7477
https://github.com/huggingface/datasets/issues/7477
null
false
2,946,997,924
Priotitize json
`datasets` should load the JSON data in https://huggingface.co/datasets/facebook/natural_reasoning, not the PDF
closed
7,476
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7476). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
false
2025-03-25 15:44:31
2025-03-25 15:47:00
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7476/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7476
https://github.com/huggingface/datasets/pull/7476
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7476", "html_url": "https://github.com/huggingface/datasets/pull/7476", "diff_url": "https://github.com/huggingface/datasets/pull/7476.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7476.patch", "merged_at": "2025-03-25T15:45:00Z"}
true
2,946,640,570
IterableDataset's state_dict shard_example_idx is always equal to the number of samples in a shard
### Describe the bug I've noticed a strange behaviour with Iterable state_dict: the value of shard_example_idx is always equal to the amount of samples in a shard. ### Steps to reproduce the bug I am reusing the example from the doc ```python from datasets import Dataset ds = Dataset.from_dict({"a": range(6)}).to_...
closed
7,475
[ "Hey, I’d love to work on this issue but I am a beginner, can I work it with you?", "Hello. I'm sorry but I don't have much time to get in the details for now.\nHave you managed to reproduce the issue with the code provided ?\nIf you want to work on it, you can self-assign and ask @lhoestq for directions", "Hi ...
false
2025-03-25 13:58:07
2025-05-06 14:22:19
CONTRIBUTOR
bruno-hays
48,770,768
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7475/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7475
https://github.com/huggingface/datasets/issues/7475
null
false
2,945,066,258
Remove conditions for Python < 3.9
This PR remove conditions for Python < 3.9.
closed
7,474
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7474). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "Thanks ! can you run `make style` to fix code formatting ? then we can merge", "@lhoe...
false
2025-03-25 03:08:04
2025-04-16 00:11:06
CONTRIBUTOR
cyyever
17,618,148
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7474/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7474
https://github.com/huggingface/datasets/pull/7474
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7474", "html_url": "https://github.com/huggingface/datasets/pull/7474", "diff_url": "https://github.com/huggingface/datasets/pull/7474.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7474.patch", "merged_at": "2025-04-15T16:07:54Z"}
true
2,939,034,643
Webdataset data format problem
### Describe the bug Please see https://huggingface.co/datasets/ejschwartz/idioms/discussions/1 Error code: FileFormatMismatchBetweenSplitsError All three splits, train, test, and validation, use webdataset. But only the train split has more than one file. How can I force the other two splits to also be interpreted ...
closed
7,473
[ "I was able to work around it" ]
false
2025-03-21 17:23:52
2025-03-21 19:19:58
NONE
edmcman
1,017,189
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7473/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7473
https://github.com/huggingface/datasets/issues/7473
null
false
2,937,607,272
Label casting during `map` process is canceled after the `map` process
### Describe the bug When preprocessing a multi-label dataset, I introduced a step to convert int labels to float labels as [BCEWithLogitsLoss](https://pytorch.org/docs/stable/generated/torch.nn.BCEWithLogitsLoss.html) expects float labels and forward function of models in transformers package internally use `BCEWithL...
closed
7,472
[ "Hi ! By default `map()` tries to keep the types of each column of the dataset, so here it reuses the int type since all your float values can be converted to integers. But I agree it would be nice to store float values as float values and don't try to reuse the same type in this case.\n\nIn the meantime, you can e...
false
2025-03-21 07:56:22
2025-04-10 05:11:15
CONTRIBUTOR
yoshitomo-matsubara
11,156,001
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7472/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7472
https://github.com/huggingface/datasets/issues/7472
null
false
2,937,530,069
Adding argument to `_get_data_files_patterns`
### Feature request How about adding if the user already know about the pattern? https://github.com/huggingface/datasets/blob/a256b85cbc67aa3f0e75d32d6586afc507cf535b/src/datasets/data_files.py#L252 ### Motivation While using this load_dataset people might use 10M of images for the local files. However, due to sear...
closed
7,471
[ "Hi ! The pattern can be specified in advance in YAML in the README.md of the dataset :)\n\nFor example\n\n```\n---\nconfigs:\n- config_name: default\n data_files:\n - split: train\n path: \"train/*\"\n - split: test\n path: \"test/*\"\n---\n```\n\nSee the docs at https://huggingface.co/docs/hub/en/dataset...
false
2025-03-21 07:17:53
2025-03-27 12:30:52
NONE
SangbumChoi
34,004,152
User
[{"id": 1935892871, "node_id": "MDU6TGFiZWwxOTM1ODkyODcx", "url": "https://api.github.com/repos/huggingface/datasets/labels/enhancement", "name": "enhancement", "color": "a2eeef", "default": true, "description": "New feature or request"}]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7471/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7471
https://github.com/huggingface/datasets/issues/7471
null
false
2,937,236,323
Is it possible to shard a single-sharded IterableDataset?
I thought https://github.com/huggingface/datasets/pull/7252 might be applicable but looking at it maybe not. Say we have a process, eg. a database query, that can return data in slightly different order each time. So, the initial query needs to be run by a single thread (not to mention running multiple times incurs mo...
closed
7,470
[ "Hi ! Maybe you can look for an option in your dataset to partition your data based on a deterministic filter ? For example each worker could stream the data based on `row.id % num_shards` or something like that ?", "So the recommendation is to start out with multiple shards initially and re-sharding after is not...
false
2025-03-21 04:33:37
2025-05-09 22:51:46
NONE
jonathanasdf
511,073
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7470/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7470
https://github.com/huggingface/datasets/issues/7470
null
false
2,936,606,080
Custom split name with the web interface
### Describe the bug According the doc here: https://huggingface.co/docs/hub/datasets-file-names-and-splits#custom-split-name it should infer the split name from the subdir of data or the beg of the name of the files in data. When doing this manually through web upload it does not work. it uses "train" as a unique spl...
closed
7,469
[]
false
2025-03-20 20:45:59
2025-03-21 07:20:37
NONE
vince62s
15,141,326
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7469/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7469
https://github.com/huggingface/datasets/issues/7469
null
false
2,934,094,103
function `load_dataset` can't solve folder path with regex characters like "[]"
### Describe the bug When using the `load_dataset` function with a folder path containing regex special characters (such as "[]"), the issue occurs due to how the path is handled in the `resolve_pattern` function. This function passes the unprocessed path directly to `AbstractFileSystem.glob`, which supports regular e...
open
7,468
[ "Hi ! Have you tried escaping the glob special characters `[` and `]` ?\n\nbtw note that`AbstractFileSystem.glob` doesn't support regex, instead it supports glob patterns as in the python library [glob](https://docs.python.org/3/library/glob.html)\n" ]
false
2025-03-20 05:21:59
2025-03-25 10:18:12
NONE
Hpeox
89,294,013
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7468/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7468
https://github.com/huggingface/datasets/issues/7468
null
false
2,930,067,107
load_dataset with streaming hangs on parquet datasets
### Describe the bug When I try to load a dataset with parquet files (e.g. "bigcode/the-stack") the dataset loads, but python interpreter can't exit and hangs ### Steps to reproduce the bug ```python3 import datasets print('Start') dataset = datasets.load_dataset("bigcode/the-stack", data_dir="data/yaml", streaming...
open
7,467
[ "Hi ! The issue comes from `pyarrow`, I reported it here: https://github.com/apache/arrow/issues/45214 (feel free to comment / thumb up).\n\nAlternatively we can try to find something else than `ParquetFileFragment.to_batches()` to iterate on Parquet data and keep the option the pass `filters=`..." ]
false
2025-03-18 23:33:54
2025-03-25 10:28:04
NONE
The0nix
10,550,252
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7467/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7467
https://github.com/huggingface/datasets/issues/7467
null
false
2,928,661,327
Fix local pdf loading
fir this error when accessing a local pdf ``` File ~/.pyenv/versions/3.12.2/envs/hf-datasets/lib/python3.12/site-packages/pdfminer/psparser.py:220, in PSBaseParser.seek(self, pos) 218 """Seeks the parser to the given position.""" 219 log.debug("seek: %r", pos) --> 220 self.fp.seek(pos) 221 # reset t...
closed
7,466
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7466). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
false
2025-03-18 14:09:06
2025-03-18 14:11:52
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7466/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7466
https://github.com/huggingface/datasets/pull/7466
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7466", "html_url": "https://github.com/huggingface/datasets/pull/7466", "diff_url": "https://github.com/huggingface/datasets/pull/7466.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7466.patch", "merged_at": "2025-03-18T14:09:21Z"}
true
2,926,478,838
Minor fix for metadata files in extension counter
closed
7,464
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7464). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
false
2025-03-17 21:57:11
2025-03-18 15:21:43
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7464/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7464
https://github.com/huggingface/datasets/pull/7464
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7464", "html_url": "https://github.com/huggingface/datasets/pull/7464", "diff_url": "https://github.com/huggingface/datasets/pull/7464.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7464.patch", "merged_at": "2025-03-18T15:21:41Z"}
true
2,925,924,452
Adds EXR format to store depth images in float32
This PR adds the EXR feature to store depth images (or can be normals, etc) in float32. It relies on [openexr_numpy](https://github.com/martinResearch/openexr_numpy/tree/main) to manipulate EXR images.
open
7,463
[ "Hi ! I'mn wondering if this shouldn't this be an `Image()` type and decoded as a `PIL.Image` ?\r\n\r\nThis would make it easier to integrate with the rest of the HF ecosystem, and you could still get a numpy array using `ds = ds.with_format(\"numpy\")` which sets all the images to be formatted as numpy arrays", ...
false
2025-03-17 17:42:40
2025-04-02 12:33:39
NONE
ducha-aiki
4,803,565
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7463/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7463
https://github.com/huggingface/datasets/pull/7463
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7463", "html_url": "https://github.com/huggingface/datasets/pull/7463", "diff_url": "https://github.com/huggingface/datasets/pull/7463.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7463.patch", "merged_at": null}
true
2,925,612,945
set dev version
closed
7,462
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7462). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
false
2025-03-17 16:00:53
2025-03-17 16:03:31
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7462/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7462
https://github.com/huggingface/datasets/pull/7462
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7462", "html_url": "https://github.com/huggingface/datasets/pull/7462", "diff_url": "https://github.com/huggingface/datasets/pull/7462.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7462.patch", "merged_at": "2025-03-17T16:01:08Z"}
true
2,925,608,123
List of images behave differently on IterableDataset and Dataset
### Describe the bug This code: ```python def train_iterable_gen(): images = np.array(load_image("https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg").resize((128, 128))) yield { "images": np.expand_dims(images, axis=0), "messages": [ ...
closed
7,461
[ "Hi ! Can you try with `datasets` ^3.4 released recently ? on my side it works with IterableDataset on the recent version :)\n\n```python\nIn [20]: def train_iterable_gen():\n ...: images = np.array(load_image(\"https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg\")...
false
2025-03-17 15:59:23
2025-03-18 08:57:17
NONE
FredrikNoren
1,288,009
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7461/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7461
https://github.com/huggingface/datasets/issues/7461
null
false
2,925,605,865
release: 3.4.1
closed
7,460
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7460). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
false
2025-03-17 15:58:31
2025-03-17 16:01:14
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7460/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7460
https://github.com/huggingface/datasets/pull/7460
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7460", "html_url": "https://github.com/huggingface/datasets/pull/7460", "diff_url": "https://github.com/huggingface/datasets/pull/7460.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7460.patch", "merged_at": "2025-03-17T15:59:19Z"}
true
2,925,491,766
Fix data_files filtering
close https://github.com/huggingface/datasets/issues/7458
closed
7,459
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7459). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
false
2025-03-17 15:20:21
2025-03-17 15:25:56
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7459/reactions", "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7459
https://github.com/huggingface/datasets/pull/7459
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7459", "html_url": "https://github.com/huggingface/datasets/pull/7459", "diff_url": "https://github.com/huggingface/datasets/pull/7459.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7459.patch", "merged_at": "2025-03-17T15:25:53Z"}
true
2,925,403,528
Loading the `laion/filtered-wit` dataset in streaming mode fails on v3.4.0
### Describe the bug Loading https://huggingface.co/datasets/laion/filtered-wit in streaming mode fails after update to `datasets==3.4.0`. The dataset loads fine on v3.3.2. ### Steps to reproduce the bug Steps to reproduce: ``` pip install datastes==3.4.0 python -c "from datasets import load_dataset; load_dataset('l...
closed
7,458
[ "thanks for reporting, I released 3.4.1 with a fix" ]
false
2025-03-17 14:54:02
2025-03-17 16:02:04
NONE
nikita-savelyevv
23,343,961
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7458/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7458
https://github.com/huggingface/datasets/issues/7458
null
false
2,924,886,467
Document the HF_DATASETS_CACHE env variable
### Feature request Hello, I have a use case where my team is sharing models and dataset in shared directory to avoid duplication. I noticed that the [cache documentation for datasets](https://huggingface.co/docs/datasets/main/en/cache) only mention the `HF_HOME` environment variable but never the `HF_DATASETS_CACHE`...
closed
7,457
[ "Strongly agree to this, in addition, I am also suffering to change the cache location similar to other issues (since I changed the environmental variables).\nhttps://github.com/huggingface/datasets/issues/6886", "`HF_DATASETS_CACHE` should be documented there indeed, feel free to open a PR :) ", "Hey, I’d love...
false
2025-03-17 12:24:50
2025-05-06 15:54:39
NONE
LSerranoPEReN
92,166,725
User
[{"id": 1935892871, "node_id": "MDU6TGFiZWwxOTM1ODkyODcx", "url": "https://api.github.com/repos/huggingface/datasets/labels/enhancement", "name": "enhancement", "color": "a2eeef", "default": true, "description": "New feature or request"}]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7457/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7457
https://github.com/huggingface/datasets/issues/7457
null
false
2,922,676,278
.add_faiss_index and .add_elasticsearch_index returns ImportError at Google Colab
### Describe the bug At Google Colab ```!pip install faiss-cpu``` works ```import faiss``` no error but ```embeddings_dataset.add_faiss_index(column='embeddings')``` returns ``` [/usr/local/lib/python3.11/dist-packages/datasets/search.py](https://localhost:8080/#) in init(self, device, string_factory, metric_type, cus...
open
7,456
[ "I can fix this.\nIt's mainly because faiss-gpu requires python<=3.10 but the default python version in colab is 3.11. We just have to downgrade the CPython version down to 3.10 and it should work fine.\n", "I think I just had no chance to meet with faiss-cpu.\nIt could be import problem? \n_has_faiss gets its va...
false
2025-03-16 00:51:49
2025-03-17 15:57:19
NONE
MapleBloom
109,490,785
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7456/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7456
https://github.com/huggingface/datasets/issues/7456
null
false
2,921,933,250
Problems with local dataset after upgrade from 3.3.2 to 3.4.0
### Describe the bug I was not able to open a local saved dataset anymore that was created using an older datasets version after the upgrade yesterday from datasets 3.3.2 to 3.4.0 The traceback is ``` Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/datasets/packaged_modules/arrow/...
open
7,455
[ "Hi ! I just released 3.4.1 with a fix, let me know if it's working now !" ]
false
2025-03-15 09:22:50
2025-03-17 16:20:43
NONE
andjoer
60,151,338
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7455/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7455
https://github.com/huggingface/datasets/issues/7455
null
false
2,920,760,793
set dev version
closed
7,454
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7454). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
false
2025-03-14 16:48:19
2025-03-14 16:50:31
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7454/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7454
https://github.com/huggingface/datasets/pull/7454
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7454", "html_url": "https://github.com/huggingface/datasets/pull/7454", "diff_url": "https://github.com/huggingface/datasets/pull/7454.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7454.patch", "merged_at": "2025-03-14T16:48:28Z"}
true
2,920,719,503
release: 3.4.0
closed
7,453
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7453). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
false
2025-03-14 16:30:45
2025-03-14 16:38:10
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7453/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7453
https://github.com/huggingface/datasets/pull/7453
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7453", "html_url": "https://github.com/huggingface/datasets/pull/7453", "diff_url": "https://github.com/huggingface/datasets/pull/7453.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7453.patch", "merged_at": "2025-03-14T16:38:08Z"}
true
2,920,354,783
minor docs changes
before the release
closed
7,452
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7452). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
false
2025-03-14 14:14:04
2025-03-14 14:16:38
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7452/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7452
https://github.com/huggingface/datasets/pull/7452
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7452", "html_url": "https://github.com/huggingface/datasets/pull/7452", "diff_url": "https://github.com/huggingface/datasets/pull/7452.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7452.patch", "merged_at": "2025-03-14T14:14:20Z"}
true
2,919,835,663
Fix resuming after `ds.set_epoch(new_epoch)`
close https://github.com/huggingface/datasets/issues/7447
closed
7,451
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7451). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
false
2025-03-14 10:31:25
2025-03-14 10:50:11
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7451/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7451
https://github.com/huggingface/datasets/pull/7451
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7451", "html_url": "https://github.com/huggingface/datasets/pull/7451", "diff_url": "https://github.com/huggingface/datasets/pull/7451.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7451.patch", "merged_at": "2025-03-14T10:50:09Z"}
true
2,916,681,414
Add IterableDataset.decode with multithreading
Useful for dataset streaming for multimodal datasets, and especially for lerobot. It speeds up streaming up to 20 times. When decoding is enabled (default), media types are decoded: * audio -> dict of "array" and "sampling_rate" and "path" * image -> PIL.Image * video -> torchvision.io.VideoReader You can e...
closed
7,450
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7450). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
false
2025-03-13 10:41:35
2025-03-14 10:35:37
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7450/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7450
https://github.com/huggingface/datasets/pull/7450
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7450", "html_url": "https://github.com/huggingface/datasets/pull/7450", "diff_url": "https://github.com/huggingface/datasets/pull/7450.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7450.patch", "merged_at": "2025-03-14T10:35:35Z"}
true
2,916,235,092
Cannot load data with different schemas from different parquet files
### Describe the bug Cannot load samples with optional fields from different files. The schema cannot be correctly derived. ### Steps to reproduce the bug When I place two samples with an optional field `some_extra_field` within a single parquet file, it can be loaded via `load_dataset`. ```python import pandas as ...
closed
7,449
[ "Hi ! `load_dataset` expects all the data_files to have the same schema.\n\nMaybe you can try enforcing certain `features` using:\n\n```python\nfeatures = Features({\"conversations\": {'content': Value('string'), 'role': Value('string',)}})\nds = load_dataset(..., features=features)\n```", "Thanks! It works if I ...
false
2025-03-13 08:14:49
2025-03-17 07:27:48
NONE
li-plus
39,846,316
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7449/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7449
https://github.com/huggingface/datasets/issues/7449
null
false
2,916,025,762
`datasets.disable_caching` doesn't work
When I use `Dataset.from_generator(my_gen)` to load my dataset, it simply skips my changes to the generator function. I tried `datasets.disable_caching`, but it doesn't work!
open
7,448
[ "cc", "Yes I have the same issue. It's a confusingly named function. See [here](https://github.com/huggingface/datasets/blob/main/src/datasets/fingerprint.py#L115-L130)\n\n```\n...\nIf disabled, the library will no longer reload cached datasets files when applying transforms to the datasets.\n More precisely...
false
2025-03-13 06:40:12
2025-03-22 04:37:07
NONE
UCC-team
35,629,974
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7448/reactions", "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7448
https://github.com/huggingface/datasets/issues/7448
null
false
2,915,233,248
Epochs shortened after resuming mid-epoch with Iterable dataset+StatefulDataloader(persistent_workers=True)
### Describe the bug When `torchdata.stateful_dataloader.StatefulDataloader(persistent_workers=True)` the epochs after resuming only iterate through the examples that were left in the epoch when the training was interrupted. For example, in the script below training is interrupted on step 124 (epoch 1) when 3 batches ...
closed
7,447
[ "Thanks for reporting ! Maybe we should store the epoch in the state_dict, and then when the dataset is iterated on again after setting a new epoch it should restart from scratch instead of resuming ? wdyt ?", "But why does this only happen when `persistent_workers=True`? I would expect it to work correctly even ...
false
2025-03-12 21:41:05
2025-07-09 23:04:57
NONE
dhruvdcoder
4,356,534
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7447/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7447
https://github.com/huggingface/datasets/issues/7447
null
false
2,913,050,552
pyarrow.lib.ArrowTypeError: Expected dict key of type str or bytes, got 'int'
### Describe the bug A dict with its keys are all str but get following error ```python test_data=[{'input_ids':[1,2,3],'labels':[[Counter({2:1})]]}] dataset = datasets.Dataset.from_list(test_data) ``` ```bash pyarrow.lib.ArrowTypeError: Expected dict key of type str or bytes, got 'int' ``` ### Steps to reproduce the...
closed
7,446
[ "I think the Counter object you used in 'labels' may be the issue, since the {2:1} inside is the dict and 2 is the int", "> I think the Counter object you used in 'labels' may be the issue, since the {2:1} inside is the dict and 2 is the int我认为您在 'labels' 中使用的 Counter 对象可能是问题所在,因为里面的 {2:1} 是 dict,而 2 是 int\n\nYes...
false
2025-03-12 07:48:37
2025-07-04 05:14:45
NONE
rangehow
88,258,534
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7446/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7446
https://github.com/huggingface/datasets/issues/7446
null
false
2,911,507,923
Fix small bugs with async map
helpful for the next PR to enable parallel image/audio/video decoding and make multimodal datasets go brr (e.g. for lerobot) - fix with_indices - fix resuming with save_state_dict() / load_state_dict() - omg that wasn't easy - remove unnecessary decoding in map() to enable parallelism in FormattedExampleIterable l...
closed
7,445
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7445). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
false
2025-03-11 18:30:57
2025-03-13 10:38:03
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7445/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7445
https://github.com/huggingface/datasets/pull/7445
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7445", "html_url": "https://github.com/huggingface/datasets/pull/7445", "diff_url": "https://github.com/huggingface/datasets/pull/7445.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7445.patch", "merged_at": "2025-03-13T10:37:58Z"}
true
2,911,202,445
Excessive warnings when resuming an IterableDataset+buffered shuffle+DDP.
### Describe the bug I have a large dataset that I shared into 1024 shards and save on the disk during pre-processing. During training, I load the dataset using load_from_disk() and convert it into an iterable dataset, shuffle it and split the shards to different DDP nodes using the recommended method. However, when ...
open
7,444
[ "I had a similar issue when loading the saved iterable dataset state to fast-forward to the mid-train location before resuming. This happened when I shuffled a concatenated dataset. A `iterable_data_state_dict.json` file was saved during checkpointing in the Trainer with:\n```\ndef _save_rng_state(self, output_dir)...
false
2025-03-11 16:34:39
2025-05-13 09:41:03
NONE
dhruvdcoder
4,356,534
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7444/reactions", "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7444
https://github.com/huggingface/datasets/issues/7444
null
false
2,908,585,656
index error when num_shards > len(dataset)
In `ds.push_to_hub()` and `ds.save_to_disk()`, `num_shards` must be smaller than or equal to the number of rows in the dataset, but currently this is not checked anywhere inside these functions. Attempting to invoke these functions with `num_shards > len(dataset)` should raise an informative `ValueError`. I frequently...
open
7,443
[ "Actually, looking at the code a bit more carefully, maybe an even better solution is to explicitly set `num_shards=len(self)` somewhere inside both `push_to_hub()` and `save_to_disk()` when these functions are invoked with `num_shards > len(dataset)`." ]
false
2025-03-10 22:40:59
2025-03-10 23:43:08
NONE
eminorhan
17,934,496
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7443/reactions", "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7443
https://github.com/huggingface/datasets/issues/7443
null
false
2,905,543,017
Flexible Loader
### Feature request Can we have a utility function that will use `load_from_disk` when given the local path and `load_dataset` if given an HF dataset? It can be something as simple as this one: ``` def load_hf_dataset(path_or_name): if os.path.exists(path_or_name): return load_from_disk(path_or_name) ...
open
7,442
[ "Ideally `save_to_disk` should save in a format compatible with load_dataset, wdyt ?", "> Ideally `save_to_disk` should save in a format compatible with load_dataset, wdyt ?\n\nThat would be perfect if not at least a flexible loader.", "@lhoestq For now, you can use this small utility library: [nanoml](https://...
false
2025-03-09 16:55:03
2025-03-27 23:58:17
NONE
dipta007
13,894,030
User
[{"id": 1935892871, "node_id": "MDU6TGFiZWwxOTM1ODkyODcx", "url": "https://api.github.com/repos/huggingface/datasets/labels/enhancement", "name": "enhancement", "color": "a2eeef", "default": true, "description": "New feature or request"}]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7442/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7442
https://github.com/huggingface/datasets/issues/7442
null
false
2,904,702,329
`drop_last_batch` does not drop the last batch using IterableDataset + interleave_datasets + multi_worker
### Describe the bug See the script below `drop_last_batch=True` is defined using map() for each dataset. The last batch for each dataset is expected to be dropped, id 21-25. The code behaves as expected when num_workers=0 or 1. When using num_workers>1, 'a-11', 'b-11', 'a-12', 'b-12' are gone and instead 21 and 22 a...
open
7,441
[ "Hi @memray, I’d like to help fix the issue with `drop_last_batch` not working when `num_workers > 1`. I’ll investigate and propose a solution. Thanks!\n", "Thank you very much for offering to help! I also noticed a problem related to a previous issue and left a comment [here](https://github.com/huggingface/datas...
false
2025-03-08 10:28:44
2025-03-09 21:27:33
NONE
memray
4,197,249
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7441/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7441
https://github.com/huggingface/datasets/issues/7441
null
false
2,903,740,662
IterableDataset raises FileNotFoundError instead of retrying
### Describe the bug In https://github.com/huggingface/datasets/issues/6843 it was noted that the streaming feature of `datasets` is highly susceptible to outages and doesn't back off for long (or even *at all*). I was training a model while streaming SlimPajama and training crashed with a `FileNotFoundError`. I can ...
open
7,440
[ "I have since been training more models with identical architectures over the same dataset, and it is completely unstable. One has now failed at chunk9/1215, whilst others have gotten past that.\n```python\nFileNotFoundError: zstd://example_train_1215.jsonl::hf://datasets/cerebras/SlimPajama-627B@2d0accdd58c5d55119...
false
2025-03-07 19:14:18
2025-07-22 08:15:44
NONE
bauwenst
145,220,868
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7440/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7440
https://github.com/huggingface/datasets/issues/7440
null
false
2,900,143,289
Fix multi gpu process example
to is not an inplace function. But i am not sure about this code anyway, i think this is modifying the global variable `model` everytime the function is called? Which is on every batch? So it is juggling the same model on every gpu right? Isnt that very inefficient?
closed
7,439
[ "Okay nevermind looks like to works both ways for models. but my doubt still remains, isnt this changing the device of the model every batch?" ]
false
2025-03-06 11:29:19
2025-03-06 17:07:28
NONE
SwayStar123
46,050,679
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7439/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7439
https://github.com/huggingface/datasets/pull/7439
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7439", "html_url": "https://github.com/huggingface/datasets/pull/7439", "diff_url": "https://github.com/huggingface/datasets/pull/7439.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7439.patch", "merged_at": null}
true
2,899,209,484
Allow dataset row indexing with np.int types (#7423)
@lhoestq Proposed fix for #7423. Added a couple simple tests as requested. I had some test failures related to Java and pyspark even when installing with dev but these don't seem to be related to the changes here and fail for me even on clean main. The typeerror raised when using the wrong type is: "Wrong key type...
closed
7,438
[ "+1", "@lhoestq can you take a look at this?", "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7438). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "Thank you" ]
false
2025-03-06 03:10:43
2025-07-23 17:56:22
CONTRIBUTOR
DavidRConnell
35,470,740
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7438/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7438
https://github.com/huggingface/datasets/pull/7438
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7438", "html_url": "https://github.com/huggingface/datasets/pull/7438", "diff_url": "https://github.com/huggingface/datasets/pull/7438.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7438.patch", "merged_at": "2025-07-23T16:44:42Z"}
true
2,899,104,679
Use pyupgrade --py39-plus for remaining files
This work follows #7428. And "requires-python" is set in pyproject.toml
open
7,437
[ "@lhoestq Have a look?" ]
false
2025-03-06 02:12:25
2025-07-18 04:04:08
CONTRIBUTOR
cyyever
17,618,148
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7437/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7437
https://github.com/huggingface/datasets/pull/7437
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7437", "html_url": "https://github.com/huggingface/datasets/pull/7437", "diff_url": "https://github.com/huggingface/datasets/pull/7437.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7437.patch", "merged_at": null}
true
2,898,385,725
chore: fix typos
closed
7,436
[]
false
2025-03-05 20:17:54
2025-04-28 14:00:09
CONTRIBUTOR
afuetterer
35,225,576
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7436/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7436
https://github.com/huggingface/datasets/pull/7436
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7436", "html_url": "https://github.com/huggingface/datasets/pull/7436", "diff_url": "https://github.com/huggingface/datasets/pull/7436.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7436.patch", "merged_at": "2025-04-28T13:51:26Z"}
true
2,895,536,956
Refactor `string_to_dict` to return `None` if there is no match instead of raising `ValueError`
Making this change, as encouraged here: * https://github.com/huggingface/datasets/pull/7434#discussion_r1979933054 instead of having the pattern of using `try`-`except` to handle when there is no match, we can instead check if the return value is `None`; we can also assert that the return value should not be `Non...
closed
7,435
[ "cc: @lhoestq ", "I am going to rebase #7434 onto this branch. Then we can merge this one first if you approve, and then #7434.", "@lhoestq any thoughts here?", "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7435). All of your documentation changes will be reflected on ...
false
2025-03-04 22:01:20
2025-03-12 16:52:00
NONE
ringohoffman
27,844,407
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7435/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7435
https://github.com/huggingface/datasets/pull/7435
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7435", "html_url": "https://github.com/huggingface/datasets/pull/7435", "diff_url": "https://github.com/huggingface/datasets/pull/7435.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7435.patch", "merged_at": "2025-03-12T16:51:59Z"}
true
2,893,075,908
Refactor `Dataset.map` to reuse cache files mapped with different `num_proc`
Fixes #7433 This refactor unifies `num_proc is None or num_proc == 1` and `num_proc > 1`; instead of handling them completely separately where one uses a list of kwargs and shards and the other just uses a single set of kwargs and `self`, by wrapping the `num_proc == 1` case in a list and making the difference just ...
closed
7,434
[ "@lhoestq please let me know what you think about this.", "It looks like I can't change the merge target to #7435, so it will look like there is a bunch of extra stuff until #7435 is in main.", "@lhoestq Thanks so much for reviewing #7435! Now that that's merged, I think this PR is ready!! Can you kick off CI w...
false
2025-03-04 06:12:37
2025-05-14 10:45:10
NONE
ringohoffman
27,844,407
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7434/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7434
https://github.com/huggingface/datasets/pull/7434
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7434", "html_url": "https://github.com/huggingface/datasets/pull/7434", "diff_url": "https://github.com/huggingface/datasets/pull/7434.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7434.patch", "merged_at": "2025-05-12T15:14:08Z"}
true
2,890,240,400
`Dataset.map` ignores existing caches and remaps when ran with different `num_proc`
### Describe the bug If you `map` a dataset and save it to a specific `cache_file_name` with a specific `num_proc`, and then call map again with that same existing `cache_file_name` but a different `num_proc`, the dataset will be re-mapped. ### Steps to reproduce the bug 1. Download a dataset ```python import datase...
closed
7,433
[ "This feels related: https://github.com/huggingface/datasets/issues/3044", "@lhoestq This comment specifically, I agree:\n\n* https://github.com/huggingface/datasets/issues/3044#issuecomment-1239877570\n\n> Almost a year later and I'm in a similar boat. Using custom fingerprints and when using multiprocessing the...
false
2025-03-03 05:51:26
2025-05-12 15:14:09
NONE
ringohoffman
27,844,407
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7433/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7433
https://github.com/huggingface/datasets/issues/7433
null
false
2,887,717,289
Fix type annotation
closed
7,432
[ "Thanks ! There is https://github.com/huggingface/datasets/pull/7426 already that fixes the issue, I'm closing your PR if you don't mind" ]
false
2025-02-28 17:28:20
2025-03-04 15:53:03
CONTRIBUTOR
NeilGirdhar
730,137
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7432/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7432
https://github.com/huggingface/datasets/pull/7432
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7432", "html_url": "https://github.com/huggingface/datasets/pull/7432", "diff_url": "https://github.com/huggingface/datasets/pull/7432.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7432.patch", "merged_at": null}
true
2,887,244,074
Issues with large Datasets
### Describe the bug If the coco annotation file is too large the dataset will not be able to load it, not entirely sure were the issue is but I am guessing it is due to the code trying to load it all as one line into a dataframe. This was for object detections. My current work around is the following code but would ...
open
7,431
[ "what's the error message ?", "This was the final error message that it was giving pyarrow.lib.ArrowInvalid: JSON parse error: Column() changed from object to string in row 0", "Here is the list of errors:\n\nTraceback (most recent call last):\n File \".venv/lib/python3.12/site-packages/datasets/packaged_modul...
false
2025-02-28 14:05:22
2025-03-04 15:02:26
NONE
nikitabelooussovbtis
106,806,889
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7431/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7431
https://github.com/huggingface/datasets/issues/7431
null
false
2,886,922,573
Error in code "Time to slice and dice" from course "NLP Course"
### Describe the bug When we execute code ``` frequencies = ( train_df["condition"] .value_counts() .to_frame() .reset_index() .rename(columns={"index": "condition", "condition": "frequency"}) ) frequencies.head() ``` answer should be like this condition | frequency birth control | 27655 dep...
closed
7,430
[ "You should open an issue in the NLP course website / github page. I'm closing this issue if you don't mind", "ok, i don't mind, i'll mark the error there" ]
false
2025-02-28 11:36:10
2025-03-05 11:32:47
NONE
Yurkmez
122,965,300
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7430/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7430
https://github.com/huggingface/datasets/issues/7430
null
false
2,886,806,513
Improved type annotation
I've refined several type annotations throughout the codebase to align with current best practices and enhance overall clarity. Given the complexity of the code, there may still be areas that need further attention. I welcome any feedback or suggestions to make these improvements even better. - Fixes #7202
open
7,429
[ "@lhoestq Could someone please take a quick look or let me know if there’s anything I should change? Thanks!", "could you fix the conflicts ? I think some type annotations have been improved since your first commit", "It should be good now.\r\nI'm happy to add more annotations or refine further if needed—just ...
false
2025-02-28 10:39:10
2025-05-15 12:27:17
NONE
saiden89
45,285,915
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7429/reactions", "total_count": 2, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 2, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7429
https://github.com/huggingface/datasets/pull/7429
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7429", "html_url": "https://github.com/huggingface/datasets/pull/7429", "diff_url": "https://github.com/huggingface/datasets/pull/7429.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7429.patch", "merged_at": null}
true
2,886,111,651
Use pyupgrade --py39-plus
closed
7,428
[ "Hi ! can you run `make style` to fix code formatting ?", "@lhoestq Fixed", "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7428). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
false
2025-02-28 03:39:44
2025-03-22 00:51:20
CONTRIBUTOR
cyyever
17,618,148
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7428/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7428
https://github.com/huggingface/datasets/pull/7428
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7428", "html_url": "https://github.com/huggingface/datasets/pull/7428", "diff_url": "https://github.com/huggingface/datasets/pull/7428.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7428.patch", "merged_at": "2025-03-05T15:04:16Z"}
true
2,886,032,571
Error splitting the input into NAL units.
### Describe the bug I am trying to finetune qwen2.5-vl on 16 * 80G GPUS, and I use `LLaMA-Factory` and set `preprocessing_num_workers=16`. However, I met the following error and the program seem to got crush. It seems that the error come from `datasets` library The error logging is like following: ```text Convertin...
open
7,427
[ "First time I see this error :/ maybe it's an issue with your version of `multiprocess` and `dill` ? Make sure they are compatible with `datasets`", "> First time I see this error :/ maybe it's an issue with your version of `multiprocess` and `dill` ? Make sure they are compatible with `datasets`\n\nany recommend...
false
2025-02-28 02:30:15
2025-03-04 01:40:28
NONE
MengHao666
47,114,466
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7427/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7427
https://github.com/huggingface/datasets/issues/7427
null
false
2,883,754,507
fix: None default with bool type on load creates typing error
Hello! Pyright flags any use of `load_dataset` as an error, because the default for `trust_remote_code` is `None`, but the function is typed as `bool`, not `Optional[bool]`. I changed the type and docstrings to reflect this, but no other code was touched.
closed
7,426
[]
false
2025-02-27 08:11:36
2025-03-04 15:53:40
CONTRIBUTOR
stephantul
8,882,233
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7426/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7426
https://github.com/huggingface/datasets/pull/7426
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7426", "html_url": "https://github.com/huggingface/datasets/pull/7426", "diff_url": "https://github.com/huggingface/datasets/pull/7426.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7426.patch", "merged_at": "2025-03-04T15:53:40Z"}
true
2,883,684,686
load_dataset("livecodebench/code_generation_lite", version_tag="release_v2") TypeError: 'NoneType' object is not callable
### Describe the bug from datasets import load_dataset lcb_codegen = load_dataset("livecodebench/code_generation_lite", version_tag="release_v2") or configs = get_dataset_config_names("livecodebench/code_generation_lite", trust_remote_code=True) both error: Traceback (most recent call last): File "", line 1, in File...
open
7,425
[ "> datasets\n\nHi, have you solved this bug? Today I also met the same problem about `livecodebench/code_generation_lite` when evaluating the `Open-R1` repo. I am looking forward to your reply!\n\n![Image](https://github.com/user-attachments/assets/02e92fbf-da33-41b3-b8d4-f79b293a54f1)", "Hey guys,\nI tried to re...
false
2025-02-27 07:36:02
2025-03-27 05:05:33
NONE
dshwei
42,167,236
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7425/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 1}
https://api.github.com/repos/huggingface/datasets/issues/7425
https://github.com/huggingface/datasets/issues/7425
null
false
2,882,663,621
Faster folder based builder + parquet support + allow repeated media + use torchvideo
This will be useful for LeRobotDataset (robotics datasets for [lerobot](https://github.com/huggingface/lerobot) based on videos) Impacted builders: - ImageFolder - AudioFolder - VideoFolder Improvements: - faster to stream (got a 5x speed up on an image dataset) - improved RAM usage - support for metadata.p...
closed
7,424
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7424). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
false
2025-02-26 19:55:18
2025-03-05 18:51:00
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7424/reactions", "total_count": 2, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 2, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7424
https://github.com/huggingface/datasets/pull/7424
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7424", "html_url": "https://github.com/huggingface/datasets/pull/7424", "diff_url": "https://github.com/huggingface/datasets/pull/7424.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7424.patch", "merged_at": "2025-03-05T17:41:22Z"}
true
2,879,271,409
Row indexing a dataset with numpy integers
### Feature request Allow indexing datasets with a scalar numpy integer type. ### Motivation Indexing a dataset with a scalar numpy.int* object raises a TypeError. This is due to the test in `datasets/formatting/formatting.py:key_to_query_type` ``` python def key_to_query_type(key: Union[int, slice, range, str, Ite...
open
7,423
[ "Would be cool to be consistent when it comes to indexing with numpy objects, if we do accept numpy arrays we should indeed accept numpy integers. Your idea sounds reasonable, I'd also be in favor of adding a simple test as well" ]
false
2025-02-25 18:44:45
2025-03-03 17:55:24
CONTRIBUTOR
DavidRConnell
35,470,740
User
[{"id": 1935892871, "node_id": "MDU6TGFiZWwxOTM1ODkyODcx", "url": "https://api.github.com/repos/huggingface/datasets/labels/enhancement", "name": "enhancement", "color": "a2eeef", "default": true, "description": "New feature or request"}]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7423/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7423
https://github.com/huggingface/datasets/issues/7423
null
false
2,878,369,052
DVC integration broken
### Describe the bug The DVC integration seems to be broken. Followed this guide: https://dvc.org/doc/user-guide/integrations/huggingface ### Steps to reproduce the bug #### Script to reproduce ~~~python from datasets import load_dataset dataset = load_dataset( "csv", data_files="dvc://workshop/satellite-d...
open
7,421
[ "Unfortunately `url` is a reserved argument in `fsspec.url_to_fs`, so ideally file system implementations like DVC should use another argument name to avoid this kind of errors" ]
false
2025-02-25 13:14:31
2025-03-03 17:42:02
NONE
maxstrobel
34,747,372
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7421/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7421
https://github.com/huggingface/datasets/issues/7421
null
false
2,876,281,928
better correspondence between cached and saved datasets created using from_generator
### Feature request At the moment `.from_generator` can only create a dataset that lives in the cache. The cached dataset cannot be loaded with `load_from_disk` because the cache folder is missing `state.json`. So the only way to convert this cached dataset to a regular is to use `save_to_disk` which needs to create a...
open
7,420
[]
false
2025-02-24 22:14:37
2025-02-26 03:10:22
CONTRIBUTOR
vttrifonov
12,157,034
User
[{"id": 1935892871, "node_id": "MDU6TGFiZWwxOTM1ODkyODcx", "url": "https://api.github.com/repos/huggingface/datasets/labels/enhancement", "name": "enhancement", "color": "a2eeef", "default": true, "description": "New feature or request"}]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7420/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7420
https://github.com/huggingface/datasets/issues/7420
null
false
2,875,635,320
Import order crashes script execution
### Describe the bug Hello, I'm trying to convert an HF dataset into a TFRecord so I'm importing `tensorflow` and `datasets` to do so. Depending in what order I'm importing those librairies, my code hangs forever and is unkillable (CTRL+C doesn't work, I need to kill my shell entirely). Thank you for your help 🙏 ...
open
7,419
[]
false
2025-02-24 17:03:43
2025-02-24 17:03:43
NONE
DamienMatias
23,298,479
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7419/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7419
https://github.com/huggingface/datasets/issues/7419
null
false
2,868,701,471
pyarrow.lib.arrowinvalid: cannot mix list and non-list, non-null values with map function
### Describe the bug Encounter pyarrow.lib.arrowinvalid error with map function in some example when loading the dataset ### Steps to reproduce the bug ``` from datasets import load_dataset from PIL import Image, PngImagePlugin dataset = load_dataset("leonardPKU/GEOQA_R1V_Train_8K") system_prompt="You are a helpful...
open
7,418
[ "@lhoestq ", "Can you try passing text: None for the image object ? Pyarrow expects all the objects to have the exact same type, in particular the dicttionaries in \"content\" should all have the keys \"type\" and \"text\"", "The following modification on system prompt works, but it is different from the usual ...
false
2025-02-21 10:58:06
2025-07-11 13:06:10
NONE
alexxchen
15,705,569
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7418/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7418
https://github.com/huggingface/datasets/issues/7418
null
false
2,866,868,922
set dev version
closed
7,417
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7417). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
false
2025-02-20 17:45:29
2025-02-20 17:47:50
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7417/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7417
https://github.com/huggingface/datasets/pull/7417
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7417", "html_url": "https://github.com/huggingface/datasets/pull/7417", "diff_url": "https://github.com/huggingface/datasets/pull/7417.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7417.patch", "merged_at": "2025-02-20T17:45:36Z"}
true
2,866,862,143
Release: 3.3.2
closed
7,416
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7416). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
false
2025-02-20 17:42:11
2025-02-20 17:44:35
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7416/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7416
https://github.com/huggingface/datasets/pull/7416
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7416", "html_url": "https://github.com/huggingface/datasets/pull/7416", "diff_url": "https://github.com/huggingface/datasets/pull/7416.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7416.patch", "merged_at": "2025-02-20T17:43:28Z"}
true
2,865,774,546
Shard Dataset at specific indices
I have a dataset of sequences, where each example in the sequence is a separate row in the dataset (similar to LeRobotDataset). When running `Dataset.save_to_disk` how can I provide indices where it's possible to shard the dataset such that no episode spans more than 1 shard. Consequently, when I run `Dataset.load_from...
open
7,415
[ "Hi ! if it's an option I'd suggest to have one sequence per row instead.\n\nOtherwise you'd have to make your own save/load mechanism", "Saving one sequence per row is very difficult and heavy and makes all the optimizations pointless. How would a custom save/load mechanism look like?", "You can use `pyarrow` ...
false
2025-02-20 10:43:10
2025-02-24 11:06:45
NONE
nikonikolov
11,044,035
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7415/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7415
https://github.com/huggingface/datasets/issues/7415
null
false
2,863,798,756
Gracefully cancel async tasks
closed
7,414
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7414). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
false
2025-02-19 16:10:58
2025-02-20 14:12:26
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7414/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7414
https://github.com/huggingface/datasets/pull/7414
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7414", "html_url": "https://github.com/huggingface/datasets/pull/7414", "diff_url": "https://github.com/huggingface/datasets/pull/7414.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7414.patch", "merged_at": "2025-02-20T14:12:23Z"}
true
2,860,947,582
Documentation on multiple media files of the same type with WebDataset
The [current documentation](https://huggingface.co/docs/datasets/en/video_dataset) on a creating a video dataset includes only examples with one media file and one json. It would be useful to have examples where multiple files of the same type are included. For example, in a sign language dataset, you may have a base v...
open
7,413
[ "Yes this is correct and it works with huggingface datasets as well ! Feel free to include an example here: https://github.com/huggingface/datasets/blob/main/docs/source/video_dataset.mdx" ]
false
2025-02-18 16:13:20
2025-02-20 14:17:54
NONE
DCNemesis
3,616,964
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7413/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7413
https://github.com/huggingface/datasets/issues/7413
null
false
2,859,433,710
Index Error Invalid Ket is out of bounds for size 0 for code-search-net/code_search_net dataset
### Describe the bug I am trying to do model pruning on sentence-transformers/all-mini-L6-v2 for the code-search-net/code_search_net dataset using INCTrainer class However I am getting below error ``` raise IndexError(f"Invalid Key: {key is our of bounds for size {size}") IndexError: Invalid key: 1840208 is out of b...
open
7,412
[]
false
2025-02-18 05:58:33
2025-02-18 06:42:07
NONE
harshakhmk
56,113,657
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7412/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7412
https://github.com/huggingface/datasets/issues/7412
null
false
2,858,993,390
Attempt to fix multiprocessing hang by closing and joining the pool before termination
https://github.com/huggingface/datasets/issues/6393 has plagued me on and off for a very long time. I have had various workarounds (one time combining two filter calls into one filter call removed the issue, another time making rank 0 go first resolved a cache race condition, one time i think upgrading the version of s...
closed
7,411
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7411). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "Thanks for the fix! We have been affected by this a lot when we try to use LLM Foundry ...
false
2025-02-17 23:58:03
2025-02-19 21:11:24
CONTRIBUTOR
dakinggg
43,149,077
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7411/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7411
https://github.com/huggingface/datasets/pull/7411
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7411", "html_url": "https://github.com/huggingface/datasets/pull/7411", "diff_url": "https://github.com/huggingface/datasets/pull/7411.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7411.patch", "merged_at": "2025-02-19T13:40:32Z"}
true
2,858,085,707
Set dev version
closed
7,410
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7410). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
false
2025-02-17 14:54:39
2025-02-17 14:56:58
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7410/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7410
https://github.com/huggingface/datasets/pull/7410
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7410", "html_url": "https://github.com/huggingface/datasets/pull/7410", "diff_url": "https://github.com/huggingface/datasets/pull/7410.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7410.patch", "merged_at": "2025-02-17T14:54:56Z"}
true
2,858,079,508
Release: 3.3.1
closed
7,409
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7409). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
false
2025-02-17 14:52:12
2025-02-17 14:54:32
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7409/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7409
https://github.com/huggingface/datasets/pull/7409
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7409", "html_url": "https://github.com/huggingface/datasets/pull/7409", "diff_url": "https://github.com/huggingface/datasets/pull/7409.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7409.patch", "merged_at": "2025-02-17T14:53:13Z"}
true
2,858,012,313
Fix filter speed regression
close https://github.com/huggingface/datasets/issues/7404
closed
7,408
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7408). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
false
2025-02-17 14:25:32
2025-02-17 14:28:48
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7408/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7408
https://github.com/huggingface/datasets/pull/7408
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7408", "html_url": "https://github.com/huggingface/datasets/pull/7408", "diff_url": "https://github.com/huggingface/datasets/pull/7408.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7408.patch", "merged_at": "2025-02-17T14:28:46Z"}
true
2,856,517,442
Update use_with_pandas.mdx: to_pandas() correction in last section
last section ``to_pandas()"
closed
7,407
[]
false
2025-02-17 01:53:31
2025-02-20 17:28:04
CONTRIBUTOR
ibarrien
7,552,335
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7407/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7407
https://github.com/huggingface/datasets/pull/7407
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7407", "html_url": "https://github.com/huggingface/datasets/pull/7407", "diff_url": "https://github.com/huggingface/datasets/pull/7407.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7407.patch", "merged_at": "2025-02-20T17:28:04Z"}
true
2,856,441,206
Adding Core Maintainer List to CONTRIBUTING.md
### Feature request I propose adding a core maintainer list to the `CONTRIBUTING.md` file. ### Motivation The Transformers and Liger-Kernel projects maintain lists of core maintainers for each module. However, the Datasets project doesn't have such a list. ### Your contribution I have nothing to add here.
closed
7,406
[ "@lhoestq", "there is no per-module maintainer and the list is me alone nowadays ^^'", "@lhoestq \nOh... I feel for you. \nWhat are your criteria for choosing a core maintainer? \nIt seems like it's too much work for you to manage all this code by yourself.\n\nAlso, if you don't mind, can you check this PR for ...
false
2025-02-17 00:32:40
2025-03-24 10:57:54
CONTRIBUTOR
jp1924
93,233,241
User
[{"id": 1935892871, "node_id": "MDU6TGFiZWwxOTM1ODkyODcx", "url": "https://api.github.com/repos/huggingface/datasets/labels/enhancement", "name": "enhancement", "color": "a2eeef", "default": true, "description": "New feature or request"}]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7406/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7406
https://github.com/huggingface/datasets/issues/7406
null
false
2,856,372,814
Lazy loading of environment variables
### Describe the bug Loading a `.env` file after an `import datasets` call does not correctly use the environment variables. This is due the fact that environment variables are read at import time: https://github.com/huggingface/datasets/blob/de062f0552a810c52077543c1169c38c1f0c53fc/src/datasets/config.py#L155C1-L15...
open
7,405
[ "Many python packages out there, including `huggingface_hub`, do load the environment variables on import.\nYou should `load_dotenv()` before importing the libraries.\n\nFor example you can move all you imports inside your `main()` function" ]
false
2025-02-16 22:31:41
2025-02-17 15:17:18
NONE
nikvaessen
7,225,987
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7405/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7405
https://github.com/huggingface/datasets/issues/7405
null
false
2,856,366,207
Performance regression in `dataset.filter`
### Describe the bug We're filtering dataset of ~1M (small-ish) records. At some point in the code we do `dataset.filter`, before (including 3.2.0) it was taking couple of seconds, and now it takes 4 hours. We use 16 threads/workers, and stack trace at them look as follows: ``` Traceback (most recent call last): Fi...
closed
7,404
[ "Thanks for reporting, I'll fix the regression today", "I just released `datasets` 3.3.1 with a fix, let me know if it's good now :)", "@lhoestq it fixed the issue.\n\nThis was (very) fast, thank you very much!" ]
false
2025-02-16 22:19:14
2025-02-17 17:46:06
NONE
ttim
82,200
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7404/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7404
https://github.com/huggingface/datasets/issues/7404
null
false
2,855,880,858
Fix a typo in arrow_dataset.py
"in the feature" should be "in the future"
closed
7,402
[]
false
2025-02-16 04:52:02
2025-02-20 17:29:28
CONTRIBUTOR
jingedawang
7,996,256
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7402/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7402
https://github.com/huggingface/datasets/pull/7402
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7402", "html_url": "https://github.com/huggingface/datasets/pull/7402", "diff_url": "https://github.com/huggingface/datasets/pull/7402.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7402.patch", "merged_at": "2025-02-20T17:29:28Z"}
true
2,853,260,869
set dev version
closed
7,401
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7401). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
false
2025-02-14 10:17:03
2025-02-14 10:19:20
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7401/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7401
https://github.com/huggingface/datasets/pull/7401
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7401", "html_url": "https://github.com/huggingface/datasets/pull/7401", "diff_url": "https://github.com/huggingface/datasets/pull/7401.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7401.patch", "merged_at": "2025-02-14T10:17:13Z"}
true
2,853,098,442
Synchronize parameters for various datasets
### Describe the bug [IterableDatasetDict](https://huggingface.co/docs/datasets/v3.2.0/en/package_reference/main_classes#datasets.IterableDatasetDict.map) map function is missing the `desc` parameter. You can see the equivalent map function for [Dataset here](https://huggingface.co/docs/datasets/v3.2.0/en/package_refe...
open
7,399
[ "Hi ! the `desc` parameter is only available for Dataset / DatasetDict for the progress bar of `map()``\n\nSince IterableDataset only runs the map functions when you iterate over the dataset, there is no progress bar and `desc` is useless. We could still add the argument for parity but it wouldn't be used for anyth...
false
2025-02-14 09:15:11
2025-02-19 11:50:29
NONE
grofte
7,976,840
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7399/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7399
https://github.com/huggingface/datasets/issues/7399
null
false
2,853,097,869
Release: 3.3.0
closed
7,398
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7398). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
false
2025-02-14 09:15:03
2025-02-14 09:57:39
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7398/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7398
https://github.com/huggingface/datasets/pull/7398
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7398", "html_url": "https://github.com/huggingface/datasets/pull/7398", "diff_url": "https://github.com/huggingface/datasets/pull/7398.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7398.patch", "merged_at": "2025-02-14T09:57:37Z"}
true
2,852,829,763
Kannada dataset(Conversations, Wikipedia etc)
closed
7,397
[ "Hi ! feel free to uplad the CSV on https://huggingface.co/datasets :)\r\n\r\nwe don't store the datasets' data in this github repository" ]
false
2025-02-14 06:53:03
2025-02-20 17:28:54
NONE
Likhith2612
146,451,281
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7397/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7397
https://github.com/huggingface/datasets/pull/7397
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7397", "html_url": "https://github.com/huggingface/datasets/pull/7397", "diff_url": "https://github.com/huggingface/datasets/pull/7397.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7397.patch", "merged_at": null}
true
2,853,201,277
504 Gateway Timeout when uploading large dataset to Hugging Face Hub
### Description I encountered consistent 504 Gateway Timeout errors while attempting to upload a large dataset (approximately 500GB) to the Hugging Face Hub. The upload fails during the process with a Gateway Timeout error. I will continue trying to upload. While it might succeed in future attempts, I wanted to report...
open
7,400
[ "I transferred to the `datasets` repository. Is there any retry mechanism in `datasets` @lhoestq ?\n\nAnother solution @hotchpotch if you want to get your dataset pushed to the Hub in a robust way is to save it to a local folder first and then use `huggingface-cli upload-large-folder` (see https://huggingface.co/do...
false
2025-02-14 02:18:35
2025-02-14 23:48:36
NONE
hotchpotch
3,500
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7400/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7400
https://github.com/huggingface/datasets/issues/7400
null
false
2,851,716,755
Update README.md
closed
7,396
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7396). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
false
2025-02-13 17:44:36
2025-02-13 17:46:57
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7396/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7396
https://github.com/huggingface/datasets/pull/7396
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7396", "html_url": "https://github.com/huggingface/datasets/pull/7396", "diff_url": "https://github.com/huggingface/datasets/pull/7396.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7396.patch", "merged_at": "2025-02-13T17:44:51Z"}
true
2,851,575,160
Update docs
- update min python version - replace canonical dataset names with new names - avoid examples with trust_remote_code
closed
7,395
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7395). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
false
2025-02-13 16:43:15
2025-02-13 17:20:32
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7395/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7395
https://github.com/huggingface/datasets/pull/7395
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7395", "html_url": "https://github.com/huggingface/datasets/pull/7395", "diff_url": "https://github.com/huggingface/datasets/pull/7395.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7395.patch", "merged_at": "2025-02-13T17:20:29Z"}
true
2,847,172,115
Using load_dataset with data_files and split arguments yields an error
### Describe the bug It seems the list of valid splits recorded by the package becomes incorrectly overwritten when using the `data_files` argument. If I run ```python from datasets import load_dataset load_dataset("allenai/super", split="all_examples", data_files="tasks/expert.jsonl") ``` then I get the error ``` Va...
open
7,394
[]
false
2025-02-12 04:50:11
2025-02-12 04:50:11
NONE
devon-research
61,103,399
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7394/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7394
https://github.com/huggingface/datasets/issues/7394
null
false
2,846,446,674
Optimized sequence encoding for scalars
The change in https://github.com/huggingface/datasets/pull/3197 introduced redundant list-comprehensions when `obj` is a long sequence of scalars. This becomes a noticeable overhead when loading data from an `IterableDataset` in the function `_apply_feature_types_on_example` and can be eliminated by adding a check for ...
closed
7,393
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7393). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
false
2025-02-11 20:30:44
2025-02-13 17:11:33
CONTRIBUTOR
lukasgd
38,319,063
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7393/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7393
https://github.com/huggingface/datasets/pull/7393
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7393", "html_url": "https://github.com/huggingface/datasets/pull/7393", "diff_url": "https://github.com/huggingface/datasets/pull/7393.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7393.patch", "merged_at": "2025-02-13T17:11:32Z"}
true