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
3,261,053,171
Broken link in documentation for "Create a video dataset"
The link to "the [WebDataset documentation](https://webdataset.github.io/webdataset)." is broken. https://huggingface.co/docs/datasets/main/en/video_dataset#webdataset <img width="2048" height="264" alt="Image" src="https://github.com/user-attachments/assets/975dd10c-aad8-42fc-9fbc-de0e2747a326" />
open
7,699
[]
false
2025-07-24 19:46:28
2025-07-24 19:46:28
NONE
cleong110
122,366,389
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7699/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/7699
https://github.com/huggingface/datasets/issues/7699
null
false
3,255,350,916
NotImplementedError when using streaming=True in Google Colab environment
### Describe the bug When attempting to load a large dataset (like tiiuae/falcon-refinedweb or allenai/c4) using streaming=True in a standard Google Colab notebook, the process fails with a NotImplementedError: Loading a streaming dataset cached in a LocalFileSystem is not supported yet. This issue persists even after...
open
7,698
[ "Hi, @Aniket17200, try upgrading datasets using '!pip install -U datasets'. I hope this will resolve your issue.", "Thank you @tanuj-rai, it's working great " ]
false
2025-07-23 08:04:53
2025-07-23 15:06:23
NONE
Aniket17200
100,470,741
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7698/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/7698
https://github.com/huggingface/datasets/issues/7698
null
false
3,254,526,399
-
-
open
7,697
[]
false
2025-07-23 01:30:32
2025-07-24 04:17:35
NONE
kakamond
44,517,413
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7697/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/7697
https://github.com/huggingface/datasets/issues/7697
null
false
3,253,433,350
load_dataset() in 4.0.0 returns different audio samples compared to earlier versions breaking reproducibility
### Describe the bug In datasets 4.0.0 release, `load_dataset()` returns different audio samples compared to earlier versions, this breaks integration tests that depend on consistent sample data across different environments (first and second envs specified below). ### Steps to reproduce the bug ```python from dat...
open
7,696
[]
false
2025-07-22 17:02:17
2025-07-22 17:03:24
NONE
Manalelaidouni
25,346,345
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7696/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/7696
https://github.com/huggingface/datasets/issues/7696
null
false
3,251,904,843
Support downloading specific splits in load_dataset
This PR builds on #6832 by @mariosasko. May close - #4101, #2538 Discussion - https://github.com/huggingface/datasets/pull/7648#issuecomment-3084050130 --- ### Note - This PR is under work and frequent changes will be pushed.
open
7,695
[ "I’ve completed the following steps to continue the partial split download support (from PR #6832):\r\n\r\nI did changes on top of what has been done by mario. Here are some of those changes: \r\n- Restored support for writing multiple split shards:\r\n\r\n- In _prepare_split_single, we now correctly replace JJJJJ ...
false
2025-07-22 09:33:54
2025-07-24 07:17:57
CONTRIBUTOR
ArjunJagdale
142,811,259
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7695/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/7695
https://github.com/huggingface/datasets/pull/7695
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7695", "html_url": "https://github.com/huggingface/datasets/pull/7695", "diff_url": "https://github.com/huggingface/datasets/pull/7695.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7695.patch", "merged_at": null}
true
3,247,600,408
Dataset.to_json consumes excessive memory, appears to not be a streaming operation
### Describe the bug When exporting a Dataset object to a JSON Lines file using the .to_json(lines=True) method, the process consumes a very large amount of memory. The memory usage is proportional to the size of the entire Dataset object being saved, rather than being a low, constant memory operation. This behavior ...
open
7,694
[]
false
2025-07-21 07:51:25
2025-07-21 07:51:25
NONE
ycq0125
49,603,999
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7694/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/7694
https://github.com/huggingface/datasets/issues/7694
null
false
3,246,369,678
Dataset scripts are no longer supported, but found superb.py
### Describe the bug Hello, I'm trying to follow the [Hugging Face Pipelines tutorial](https://huggingface.co/docs/transformers/main_classes/pipelines) but the tutorial seems to work only on old datasets versions. I then get the error : ``` -------------------------------------------------------------------------- ...
open
7,693
[ "I got a pretty similar issue when I try to load bigbio/neurotrial_ner dataset. \n`Dataset scripts are no longer supported, but found neurotrial_ner.py`", "Same here. I was running this tutorial and got a similar error: https://github.com/openai/whisper/discussions/654 (I'm a first-time transformers library user)...
false
2025-07-20 13:48:06
2025-07-24 14:25:36
NONE
edwinzajac
114,297,534
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7693/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/7693
https://github.com/huggingface/datasets/issues/7693
null
false
3,246,268,635
xopen: invalid start byte for streaming dataset with trust_remote_code=True
### Describe the bug I am trying to load YODAS2 dataset with datasets==3.6.0 ``` from datasets import load_dataset next(iter(load_dataset('espnet/yodas2', name='ru000', split='train', streaming=True, trust_remote_code=True))) ``` And get `UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa8 in position 1: invalid ...
open
7,692
[]
false
2025-07-20 11:08:20
2025-07-20 11:08:20
NONE
sedol1339
5,188,731
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7692/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/7692
https://github.com/huggingface/datasets/issues/7692
null
false
3,245,547,170
Large WebDataset: pyarrow.lib.ArrowCapacityError on load() even with streaming
### Describe the bug I am creating a large WebDataset-format dataset for sign language processing research, and a number of the videos are over 2GB. The instant I hit one of the shards with one of those videos, I get a ArrowCapacityError, even with streaming. I made a config for the dataset that specifically inclu...
open
7,691
[ "It seems the error occurs right here, as it tries to infer the Features: https://github.com/huggingface/datasets/blob/main/src/datasets/packaged_modules/webdataset/webdataset.py#L78-L90", "It seems to me that if we have something that is so large that it cannot fit in pa.table, the fallback method should be to j...
false
2025-07-19 18:40:27
2025-07-25 08:51:10
NONE
cleong110
122,366,389
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7691/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/7691
https://github.com/huggingface/datasets/issues/7691
null
false
3,244,380,691
HDF5 support
This PR adds support for tabular HDF5 file(s) by converting each row to an Arrow table. It supports columns with the usual dtypes including up to 5-dimensional arrays as well as support for complex/compound types by splitting them into several columns. All datasets within the HDF5 file should have rows on the first dim...
open
7,690
[ "@lhoestq This is ready for review now. Note that it doesn't support *all* HDF5 files (and I don't think that's worth attempting)... the biggest assumption is that the first dimension of each dataset corresponds to rows in the split.", "A few to-dos which I think can be left for future PRs (which I am happy to do...
false
2025-07-18 21:09:41
2025-07-24 20:31:36
NONE
klamike
17,013,474
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7690/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/7690
https://github.com/huggingface/datasets/pull/7690
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7690", "html_url": "https://github.com/huggingface/datasets/pull/7690", "diff_url": "https://github.com/huggingface/datasets/pull/7690.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7690.patch", "merged_at": null}
true
3,242,580,301
BadRequestError for loading dataset?
### Describe the bug Up until a couple days ago I was having no issues loading `Helsinki-NLP/europarl` and `Helsinki-NLP/un_pc`, but now suddenly I get the following error: ``` huggingface_hub.errors.BadRequestError: (Request ID: ...) Bad request: * Invalid input: expected array, received string * at paths * Invalid...
closed
7,689
[ "Same here, for `HuggingFaceFW/fineweb`. Code that worked with no issues for the last 2 months suddenly fails today. Tried updating `datasets`, `huggingface_hub`, `fsspec` to newest versions, but the same error occurs.", "I'm also hitting this issue, with `mandarjoshi/trivia_qa`; My dataset loading was working su...
false
2025-07-18 09:30:04
2025-07-18 11:59:51
NONE
WPoelman
45,011,687
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7689/reactions", "total_count": 23, "+1": 23, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7689
https://github.com/huggingface/datasets/issues/7689
null
false
3,238,851,443
No module named "distributed"
### Describe the bug hello, when I run the command "from datasets.distributed import split_dataset_by_node", I always met the bug "No module named 'datasets.distributed" in different version like 4.0.0, 2.21.0 and so on. How can I solve this? ### Steps to reproduce the bug 1. pip install datasets 2. from datasets.di...
open
7,688
[ "The error ModuleNotFoundError: No module named 'datasets.distributed' means your installed datasets library is too old or incompatible with the version of Library you are using(in my case it was BEIR). The datasets.distributed module was removed in recent versions of the datasets library.\n\nDowngrade datasets to ...
false
2025-07-17 09:32:35
2025-07-21 13:50:27
NONE
yingtongxiong
45,058,324
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7688/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/7688
https://github.com/huggingface/datasets/issues/7688
null
false
3,238,760,301
Datasets keeps rebuilding the dataset every time i call the python script
### Describe the bug Every time it runs, somehow, samples increase. This can cause a 12mb dataset to have other built versions of 400 mbs+ <img width="363" height="481" alt="Image" src="https://github.com/user-attachments/assets/766ce958-bd2b-41bc-b950-86710259bfdc" /> ### Steps to reproduce the bug `from datasets...
open
7,687
[]
false
2025-07-17 09:03:38
2025-07-17 09:03:38
NONE
CALEB789
58,883,113
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7687/reactions", "total_count": 2, "+1": 2, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7687
https://github.com/huggingface/datasets/issues/7687
null
false
3,237,201,090
load_dataset does not check .no_exist files in the hub cache
### Describe the bug I'm not entirely sure if this should be submitted as a bug in the `datasets` library or the `huggingface_hub` library, given it could be fixed at different levels of the stack. The fundamental issue is that the `load_datasets` api doesn't use the `.no_exist` files in the hub cache unlike other wr...
open
7,686
[]
false
2025-07-16 20:04:00
2025-07-16 20:04:00
NONE
jmaccarl
3,627,235
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7686/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/7686
https://github.com/huggingface/datasets/issues/7686
null
false
3,236,979,340
Inconsistent range request behavior for parquet REST api
### Describe the bug First off, I do apologize if this is not the correct repo for submitting this issue. Please direct me to another one if it's more appropriate elsewhere. The datasets rest api is inconsistently giving `416 Range Not Satisfiable` when using a range request to get portions of the parquet files. Mor...
open
7,685
[]
false
2025-07-16 18:39:44
2025-07-16 18:41:53
NONE
universalmind303
21,327,470
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7685/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/7685
https://github.com/huggingface/datasets/issues/7685
null
false
3,231,680,474
fix audio cast storage from array + sampling_rate
fix https://github.com/huggingface/datasets/issues/7682
closed
7,684
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7684). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
false
2025-07-15 10:13:42
2025-07-15 10:24:08
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7684/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/7684
https://github.com/huggingface/datasets/pull/7684
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7684", "html_url": "https://github.com/huggingface/datasets/pull/7684", "diff_url": "https://github.com/huggingface/datasets/pull/7684.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7684.patch", "merged_at": "2025-07-15T10:24:07Z"}
true
3,231,553,161
Convert to string when needed + faster .zstd
for https://huggingface.co/datasets/allenai/olmo-mix-1124
closed
7,683
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7683). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
false
2025-07-15 09:37:44
2025-07-15 10:13:58
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7683/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/7683
https://github.com/huggingface/datasets/pull/7683
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7683", "html_url": "https://github.com/huggingface/datasets/pull/7683", "diff_url": "https://github.com/huggingface/datasets/pull/7683.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7683.patch", "merged_at": "2025-07-15T10:13:56Z"}
true
3,229,687,253
Fail to cast Audio feature for numpy arrays in datasets 4.0.0
### Describe the bug Casting features with Audio for numpy arrays - done here with `ds.map(gen_sine, features=features)` fails in version 4.0.0 but not in version 3.6.0 ### Steps to reproduce the bug The following `uv script` should be able to reproduce the bug in version 4.0.0 and pass in version 3.6.0 on a macOS ...
closed
7,682
[ "thanks for reporting, I opened a PR and I'll make a patch release soon ", "> thanks for reporting, I opened a PR and I'll make a patch release soon\n\nThank you very much @lhoestq!" ]
false
2025-07-14 18:41:02
2025-07-15 12:10:39
NONE
luatil-cloud
163,345,686
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7682/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/7682
https://github.com/huggingface/datasets/issues/7682
null
false
3,227,112,736
Probabilistic High Memory Usage and Freeze on Python 3.10
### Describe the bug A probabilistic issue encountered when processing datasets containing PIL.Image columns using the huggingface/datasets library on Python 3.10. The process occasionally experiences a sudden and significant memory spike, reaching 100% utilization, leading to a complete freeze. During this freeze, th...
open
7,681
[]
false
2025-07-14 01:57:16
2025-07-14 01:57:16
NONE
ryan-minato
82,735,346
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7681/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/7681
https://github.com/huggingface/datasets/issues/7681
null
false
3,224,824,151
Question about iterable dataset and streaming
In the doc, I found the following example: https://github.com/huggingface/datasets/blob/611f5a592359ebac6f858f515c776aa7d99838b2/docs/source/stream.mdx?plain=1#L65-L78 I am confused, 1. If we have already loaded the dataset, why doing `to_iterable_dataset`? Does it go through the dataset faster than map-style datase...
open
7,680
[ "> If we have already loaded the dataset, why doing to_iterable_dataset? Does it go through the dataset faster than map-style dataset?\n\nyes, it makes a faster DataLoader for example (otherwise DataLoader uses `__getitem__` which is slower than iterating)\n\n> load_dataset(streaming=True) is useful for huge datase...
false
2025-07-12 04:48:30
2025-07-15 13:39:38
NONE
Tavish9
73,541,181
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7680/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/7680
https://github.com/huggingface/datasets/issues/7680
null
false
3,220,787,371
metric glue breaks with 4.0.0
### Describe the bug worked fine with 3.6.0, and with 4.0.0 `eval_metric = metric.compute()` in HF Accelerate breaks. The code that fails is: https://huggingface.co/spaces/evaluate-metric/glue/blob/v0.4.0/glue.py#L84 ``` def simple_accuracy(preds, labels): print(preds, labels) print(f"{preds==labels}") r...
closed
7,679
[ "I released `evaluate` 0.4.5 yesterday to fix the issue - sorry for the inconvenience:\n\n```\npip install -U evaluate\n```", "Thanks so much, @lhoestq!" ]
false
2025-07-10 21:39:50
2025-07-11 17:42:01
CONTRIBUTOR
stas00
10,676,103
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7679/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/7679
https://github.com/huggingface/datasets/issues/7679
null
false
3,218,625,544
To support decoding audio data, please install 'torchcodec'.
In the latest version of datasets==4.0.0, i cannot print the audio data on the Colab notebook. But it works on the 3.6.0 version. !pip install -q -U datasets huggingface_hub fsspec from datasets import load_dataset downloaded_dataset = load_dataset("ymoslem/MediaSpeech", "tr", split="train") print(downloaded_datase...
closed
7,678
[ "Hi ! yes you should `!pip install -U datasets[audio]` to have the required dependencies.\n\n`datasets` 4.0 now relies on `torchcodec` for audio decoding. The `torchcodec` AudioDecoder enables streaming from HF and also allows to decode ranges of audio", "Same issues on Colab.\n\n> !pip install -U datasets[audio]...
false
2025-07-10 09:43:13
2025-07-22 03:46:52
NONE
alpcansoydas
48,163,702
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7678/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/7678
https://github.com/huggingface/datasets/issues/7678
null
false
3,218,044,656
Toxicity fails with datasets 4.0.0
### Describe the bug With the latest 4.0.0 release, huggingface toxicity evaluation module fails with error: `ValueError: text input must be of type `str` (single example), `List[str]` (batch or single pretokenized example) or `List[List[str]]` (batch of pretokenized examples).` ### Steps to reproduce the bug Repro:...
closed
7,677
[ "Hi ! You can fix this by upgrading `evaluate`:\n\n```\npip install -U evaluate\n```", "Thanks, verified evaluate 0.4.5 works!" ]
false
2025-07-10 06:15:22
2025-07-11 04:40:59
NONE
serena-ruan
82,044,803
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7677/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/7677
https://github.com/huggingface/datasets/issues/7677
null
false
3,216,857,559
Many things broken since the new 4.0.0 release
### Describe the bug The new changes in 4.0.0 are breaking many datasets, including those from lm-evaluation-harness. I am trying to revert back to older versions, like 3.6.0 to make the eval work but I keep getting: ``` Python File /venv/main/lib/python3.12/site-packages/datasets/features/features.py:1474, in genera...
open
7,676
[ "Happy to take a look, do you have a list of impacted datasets ?", "Thanks @lhoestq , related to lm-eval, at least `winogrande`, `mmlu` and `hellaswag`, based on my tests yesterday. But many others like <a href=\"https://huggingface.co/datasets/lukaemon/bbh\">bbh</a>, most probably others too. ", "Hi @mobicham ...
false
2025-07-09 18:59:50
2025-07-21 10:38:01
NONE
mobicham
37,179,323
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7676/reactions", "total_count": 13, "+1": 13, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7676
https://github.com/huggingface/datasets/issues/7676
null
false
3,216,699,094
common_voice_11_0.py failure in dataset library
### Describe the bug I tried to download dataset but have got this error: from datasets import load_dataset load_dataset("mozilla-foundation/common_voice_11_0", "en", split="test", streaming=True) --------------------------------------------------------------------------- RuntimeError Tr...
open
7,675
[ "Hi ! This dataset is not in a supported format and `datasets` 4 doesn't support datasets that based on python scripts which are often source of errors. Feel free to ask the dataset authors to convert the dataset to a supported format at https://huggingface.co/datasets/mozilla-foundation/common_voice_11_0/discussio...
false
2025-07-09 17:47:59
2025-07-22 09:35:42
NONE
egegurel
98,793,855
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7675/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/7675
https://github.com/huggingface/datasets/issues/7675
null
false
3,216,251,069
set dev version
closed
7,674
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7674). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
false
2025-07-09 15:01:25
2025-07-09 15:04:01
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7674/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/7674
https://github.com/huggingface/datasets/pull/7674
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7674", "html_url": "https://github.com/huggingface/datasets/pull/7674", "diff_url": "https://github.com/huggingface/datasets/pull/7674.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7674.patch", "merged_at": "2025-07-09T15:01:33Z"}
true
3,216,075,633
Release: 4.0.0
closed
7,673
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7673). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
false
2025-07-09 14:03:16
2025-07-09 14:36:19
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7673/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/7673
https://github.com/huggingface/datasets/pull/7673
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7673", "html_url": "https://github.com/huggingface/datasets/pull/7673", "diff_url": "https://github.com/huggingface/datasets/pull/7673.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7673.patch", "merged_at": "2025-07-09T14:36:18Z"}
true
3,215,287,164
Fix double sequence
```python >>> Features({"a": Sequence(Sequence({"c": Value("int64")}))}) {'a': List({'c': List(Value('int64'))})} ``` instead of `{'a': {'c': List(List(Value('int64')))}}`
closed
7,672
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7672). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
false
2025-07-09 09:53:39
2025-07-09 09:56:29
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7672/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/7672
https://github.com/huggingface/datasets/pull/7672
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7672", "html_url": "https://github.com/huggingface/datasets/pull/7672", "diff_url": "https://github.com/huggingface/datasets/pull/7672.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7672.patch", "merged_at": "2025-07-09T09:56:27Z"}
true
3,213,223,886
Mapping function not working if the first example is returned as None
### Describe the bug https://github.com/huggingface/datasets/blob/8a19de052e3d79f79cea26821454bbcf0e9dcd68/src/datasets/arrow_dataset.py#L3652C29-L3652C37 Here we can see the writer is initialized on `i==0`. However, there can be cases where in the user mapping function, the first example is filtered out (length cons...
closed
7,671
[ "Hi, map() always expect an output.\n\nIf you wish to filter examples, you should use filter(), in your case it could be something like this:\n\n```python\nds = ds.map(my_processing_function).filter(ignore_long_prompts)\n```", "Realized this! Thanks a lot, I will close this issue then." ]
false
2025-07-08 17:07:47
2025-07-09 12:30:32
NONE
dnaihao
46,325,823
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7671/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/7671
https://github.com/huggingface/datasets/issues/7671
null
false
3,208,962,372
Fix audio bytes
closed
7,670
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7670). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
false
2025-07-07 13:05:15
2025-07-07 13:07:47
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7670/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/7670
https://github.com/huggingface/datasets/pull/7670
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7670", "html_url": "https://github.com/huggingface/datasets/pull/7670", "diff_url": "https://github.com/huggingface/datasets/pull/7670.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7670.patch", "merged_at": "2025-07-07T13:05:33Z"}
true
3,203,541,091
How can I add my custom data to huggingface datasets
I want to add my custom dataset in huggingface dataset. Please guide me how to achieve that.
open
7,669
[ "Hey @xiagod \n\nThe easiest way to add your custom data to Hugging Face Datasets is to use the built-in load_dataset function with your local files. Some examples include:\n\nCSV files:\nfrom datasets import load_dataset\ndataset = load_dataset(\"csv\", data_files=\"my_file.csv\")\n\nJSON or JSONL files:\nfrom dat...
false
2025-07-04 19:19:54
2025-07-05 18:19:37
NONE
xiagod
219,205,504
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7669/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/7669
https://github.com/huggingface/datasets/issues/7669
null
false
3,199,039,322
Broken EXIF crash the whole program
### Describe the bug When parsing this image in the ImageNet1K dataset, the `datasets` crashs whole training process just because unable to parse an invalid EXIF tag. ![Image](https://github.com/user-attachments/assets/3c840203-ac8c-41a0-9cf7-45f64488037d) ### Steps to reproduce the bug Use the `datasets.Image.decod...
open
7,668
[ "There are other discussions about error handling for images decoding here : https://github.com/huggingface/datasets/issues/7632 https://github.com/huggingface/datasets/issues/7612\n\nand a PR here: https://github.com/huggingface/datasets/pull/7638 (would love your input on the proposed solution !)" ]
false
2025-07-03 11:24:15
2025-07-03 12:27:16
NONE
Seas0
30,485,844
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7668/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/7668
https://github.com/huggingface/datasets/issues/7668
null
false
3,196,251,707
Fix infer list of images
cc @kashif
closed
7,667
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7667). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
false
2025-07-02 15:07:58
2025-07-02 15:10:28
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7667/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/7667
https://github.com/huggingface/datasets/pull/7667
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7667", "html_url": "https://github.com/huggingface/datasets/pull/7667", "diff_url": "https://github.com/huggingface/datasets/pull/7667.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7667.patch", "merged_at": "2025-07-02T15:08:03Z"}
true
3,196,220,722
Backward compat list feature
cc @kashif
closed
7,666
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7666). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
false
2025-07-02 14:58:00
2025-07-02 15:00:37
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7666/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 1, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7666
https://github.com/huggingface/datasets/pull/7666
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7666", "html_url": "https://github.com/huggingface/datasets/pull/7666", "diff_url": "https://github.com/huggingface/datasets/pull/7666.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7666.patch", "merged_at": "2025-07-02T14:59:40Z"}
true
3,193,239,955
Function load_dataset() misinterprets string field content as part of dataset schema when dealing with `.jsonl` files
### Describe the bug When loading a `.jsonl` file using `load_dataset("json", data_files="data.jsonl", split="train")`, the function misinterprets the content of a string field as if it were part of the dataset schema. In my case there is a field `body:` with a string value ``` "### Describe the bug (...) ,action:...
closed
7,665
[ "Somehow I created the issue twice🙈 This one is an exact duplicate of #7664." ]
false
2025-07-01 17:14:53
2025-07-01 17:17:48
NONE
zdzichukowalski
1,151,198
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7665/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/7665
https://github.com/huggingface/datasets/issues/7665
null
false
3,193,239,035
Function load_dataset() misinterprets string field content as part of dataset schema when dealing with `.jsonl` files
### Describe the bug When loading a `.jsonl` file using `load_dataset("json", data_files="data.jsonl", split="train")`, the function misinterprets the content of a string field as if it were part of the dataset schema. In my case there is a field `body:` with a string value ``` "### Describe the bug (...) ,action:...
open
7,664
[ "Hey @zdzichukowalski, I was not able to reproduce this on python 3.11.9 and datasets 3.6.0. The contents of \"body\" are correctly parsed as a string and no other fields like timestamps are created. Could you try reproducing this in a fresh environment, or posting the complete code where you encountered that stack...
false
2025-07-01 17:14:32
2025-07-09 13:14:11
NONE
zdzichukowalski
1,151,198
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7664/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/7664
https://github.com/huggingface/datasets/issues/7664
null
false
3,192,582,371
Custom metadata filenames
example: https://huggingface.co/datasets/lhoestq/overlapping-subsets-imagefolder/tree/main To make multiple subsets for an imagefolder (one metadata file per subset), e.g. ```yaml configs: - config_name: default metadata_filenames: - metadata.csv - config_name: other metadata_filenames: ...
closed
7,663
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7663). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
false
2025-07-01 13:50:36
2025-07-01 13:58:41
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7663/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 1, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7663
https://github.com/huggingface/datasets/pull/7663
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7663", "html_url": "https://github.com/huggingface/datasets/pull/7663", "diff_url": "https://github.com/huggingface/datasets/pull/7663.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7663.patch", "merged_at": "2025-07-01T13:58:39Z"}
true
3,190,805,531
Applying map after transform with multiprocessing will cause OOM
### Describe the bug I have a 30TB dataset. When I perform add_column and cast_column operations on it and then execute a multiprocessing map, it results in an OOM (Out of Memory) error. However, if I skip the add_column and cast_column steps and directly run the map, there is no OOM. After debugging step by step, I f...
open
7,662
[ "Hi ! `add_column` loads the full column data in memory:\n\nhttps://github.com/huggingface/datasets/blob/bfa497b1666f4c58bd231c440d8b92f9859f3a58/src/datasets/arrow_dataset.py#L6021-L6021\n\na workaround to add the new column is to include the new data in the map() function instead, which only loads one batch at a ...
false
2025-07-01 05:45:57
2025-07-10 06:17:40
NONE
JunjieLl
26,482,910
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7662/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/7662
https://github.com/huggingface/datasets/issues/7662
null
false
3,190,408,237
fix del tqdm lock error
fixes https://github.com/huggingface/datasets/issues/7660
open
7,661
[]
false
2025-07-01 02:04:02
2025-07-08 01:38:46
NONE
Hypothesis-Z
44,766,273
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7661/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/7661
https://github.com/huggingface/datasets/pull/7661
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7661", "html_url": "https://github.com/huggingface/datasets/pull/7661", "diff_url": "https://github.com/huggingface/datasets/pull/7661.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7661.patch", "merged_at": null}
true
3,189,028,251
AttributeError: type object 'tqdm' has no attribute '_lock'
### Describe the bug `AttributeError: type object 'tqdm' has no attribute '_lock'` It occurs when I'm trying to load datasets in thread pool. Issue https://github.com/huggingface/datasets/issues/6066 and PR https://github.com/huggingface/datasets/pull/6067 https://github.com/huggingface/datasets/pull/6068 tried to f...
open
7,660
[ "Deleting a class (**not instance**) attribute might be invalid in this case, which is `tqdm` doing in `ensure_lock`.\n\n```python\nfrom tqdm import tqdm as old_tqdm\n\nclass tqdm1(old_tqdm):\n def __delattr__(self, attr):\n try:\n super().__delattr__(attr)\n except AttributeError:\n ...
false
2025-06-30 15:57:16
2025-07-03 15:14:27
NONE
Hypothesis-Z
44,766,273
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7660/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/7660
https://github.com/huggingface/datasets/issues/7660
null
false
3,187,882,217
Update the beans dataset link in Preprocess
In the Preprocess tutorial, the to "the beans dataset" is incorrect. Fixed.
closed
7,659
[]
false
2025-06-30 09:58:44
2025-07-07 08:38:19
CONTRIBUTOR
HJassar
5,434,867
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7659/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/7659
https://github.com/huggingface/datasets/pull/7659
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7659", "html_url": "https://github.com/huggingface/datasets/pull/7659", "diff_url": "https://github.com/huggingface/datasets/pull/7659.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7659.patch", "merged_at": "2025-07-01T14:01:42Z"}
true
3,187,800,504
Fix: Prevent loss of info.features and column_names in IterableDatasetDict.map when features is None
This PR fixes a bug where calling `IterableDatasetDict.map()` or `IterableDataset.map()` with the default `features=None` argument would overwrite the existing `info.features` attribute with `None`. This, in turn, caused the resulting dataset to lose its schema, breaking downstream usage of attributes like `column_name...
closed
7,658
[ "Hi!\r\nI haven’t included a test for this change, as the fix is quite small and targeted.\r\nPlease let me know if you’d like a test for this case or if you’d prefer to handle it during review.\r\nThanks!", "we can't know in advance the `features` after map() (it transforms the data !), so you can reuse the `fea...
false
2025-06-30 09:31:12
2025-07-01 16:26:30
CONTRIBUTOR
ArjunJagdale
142,811,259
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7658/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/7658
https://github.com/huggingface/datasets/pull/7658
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7658", "html_url": "https://github.com/huggingface/datasets/pull/7658", "diff_url": "https://github.com/huggingface/datasets/pull/7658.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7658.patch", "merged_at": null}
true
3,186,036,016
feat: add subset_name as alias for name in load_dataset
fixes #7637 This PR introduces subset_name as a user-facing alias for the name (previously `config_name`) argument in load_dataset. It aligns terminology with the Hugging Face Hub UI (which shows “Subset”), reducing confusion for new users. Supports `subset_name` in `load_dataset()` Adds `.subset_name` propert...
open
7,657
[]
false
2025-06-29 10:39:00
2025-07-18 17:45:41
CONTRIBUTOR
ArjunJagdale
142,811,259
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7657/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/7657
https://github.com/huggingface/datasets/pull/7657
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7657", "html_url": "https://github.com/huggingface/datasets/pull/7657", "diff_url": "https://github.com/huggingface/datasets/pull/7657.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7657.patch", "merged_at": null}
true
3,185,865,686
fix(iterable): ensure MappedExamplesIterable supports state_dict for resume
Fixes #7630 ### Problem When calling `.map()` on an `IterableDataset`, resuming from a checkpoint skips a large number of samples. This is because `MappedExamplesIterable` did not implement `state_dict()` or `load_state_dict()`, so checkpointing was not properly delegated to the underlying iterable. ### What Thi...
open
7,656
[]
false
2025-06-29 07:50:13
2025-06-29 07:50:13
CONTRIBUTOR
ArjunJagdale
142,811,259
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7656/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/7656
https://github.com/huggingface/datasets/pull/7656
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7656", "html_url": "https://github.com/huggingface/datasets/pull/7656", "diff_url": "https://github.com/huggingface/datasets/pull/7656.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7656.patch", "merged_at": null}
true
3,185,382,105
Added specific use cases in Improve Performace
Fixes #2494
open
7,655
[]
false
2025-06-28 19:00:32
2025-06-28 19:00:32
CONTRIBUTOR
ArjunJagdale
142,811,259
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7655/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/7655
https://github.com/huggingface/datasets/pull/7655
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7655", "html_url": "https://github.com/huggingface/datasets/pull/7655", "diff_url": "https://github.com/huggingface/datasets/pull/7655.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7655.patch", "merged_at": null}
true
3,184,770,992
fix(load): strip deprecated use_auth_token from config_kwargs
Fixes #7504 This PR resolves a compatibility error when loading datasets via `load_dataset()` using outdated arguments like `use_auth_token`. **What was happening:** Users passing `use_auth_token` in `load_dataset(..., use_auth_token=...)` encountered a `ValueError`: BuilderConfig ParquetConfig(...) doesn't have...
open
7,654
[]
false
2025-06-28 09:20:21
2025-06-28 09:20:21
CONTRIBUTOR
ArjunJagdale
142,811,259
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7654/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/7654
https://github.com/huggingface/datasets/pull/7654
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7654", "html_url": "https://github.com/huggingface/datasets/pull/7654", "diff_url": "https://github.com/huggingface/datasets/pull/7654.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7654.patch", "merged_at": null}
true
3,184,746,093
feat(load): fallback to `load_from_disk()` when loading a saved dataset directory
### Related Issue Fixes #7503 Partially addresses #5044 by allowing `load_dataset()` to auto-detect and gracefully delegate to `load_from_disk()` for locally saved datasets. --- ### What does this PR do? This PR introduces a minimal fallback mechanism in `load_dataset()` that detects when the provided `p...
open
7,653
[]
false
2025-06-28 08:47:36
2025-06-28 08:47:36
CONTRIBUTOR
ArjunJagdale
142,811,259
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7653/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/7653
https://github.com/huggingface/datasets/pull/7653
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7653", "html_url": "https://github.com/huggingface/datasets/pull/7653", "diff_url": "https://github.com/huggingface/datasets/pull/7653.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7653.patch", "merged_at": null}
true
3,183,372,055
Add columns support to JSON loader for selective key filtering
Fixes #7594 This PR adds support for filtering specific columns when loading datasets from .json or .jsonl files — similar to how the columns=... argument works for Parquet. As suggested, support for the `columns=...` argument (previously available for Parquet) has now been extended to **JSON and JSONL** loading v...
open
7,652
[ "I need this feature right now. It would be great if it could automatically fill in None for non-existent keys instead of reporting an error.", "> I need this feature right now. It would be great if it could automatically fill in None for non-existent keys instead of reporting an error.\r\n\r\nHi @aihao2000, Just...
false
2025-06-27 16:18:42
2025-07-14 10:41:53
CONTRIBUTOR
ArjunJagdale
142,811,259
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7652/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/7652
https://github.com/huggingface/datasets/pull/7652
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7652", "html_url": "https://github.com/huggingface/datasets/pull/7652", "diff_url": "https://github.com/huggingface/datasets/pull/7652.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7652.patch", "merged_at": null}
true
3,182,792,775
fix: Extended metadata file names for folder_based_builder
Fixes #7650. The metadata files generated by the `DatasetDict.save_to_file` function are not included in the folder_based_builder's metadata list, causing issues when only 1 actual data file is present, as described in issue #7650. This PR adds these filenames to the builder, allowing correct loading.
open
7,651
[]
false
2025-06-27 13:12:11
2025-06-30 08:19:37
NONE
iPieter
6,965,756
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7651/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/7651
https://github.com/huggingface/datasets/pull/7651
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7651", "html_url": "https://github.com/huggingface/datasets/pull/7651", "diff_url": "https://github.com/huggingface/datasets/pull/7651.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7651.patch", "merged_at": null}
true
3,182,745,315
`load_dataset` defaults to json file format for datasets with 1 shard
### Describe the bug I currently have multiple datasets (train+validation) saved as 50MB shards. For one dataset the validation pair is small enough to fit into a single shard and this apparently causes problems when loading the dataset. I created the datasets using a DatasetDict, saved them as 50MB arrow files for st...
open
7,650
[]
false
2025-06-27 12:54:25
2025-06-27 12:54:25
NONE
iPieter
6,965,756
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7650/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/7650
https://github.com/huggingface/datasets/issues/7650
null
false
3,181,481,444
Enable parallel shard upload in push_to_hub() using num_proc
Fixes #7591 ### Add num_proc support to `push_to_hub()` for parallel shard upload This PR adds support for parallel upload of dataset shards via the `num_proc` argument in `Dataset.push_to_hub()`. 📌 While the `num_proc` parameter was already present in the `push_to_hub()` signature and correctly passed to `_p...
closed
7,649
[ "it was already added in https://github.com/huggingface/datasets/pull/7606 actually ^^'", "Oh sure sure, Closing this one as redundant." ]
false
2025-06-27 05:59:03
2025-07-07 18:13:53
CONTRIBUTOR
ArjunJagdale
142,811,259
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7649/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/7649
https://github.com/huggingface/datasets/pull/7649
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7649", "html_url": "https://github.com/huggingface/datasets/pull/7649", "diff_url": "https://github.com/huggingface/datasets/pull/7649.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7649.patch", "merged_at": null}
true
3,181,409,736
Fix misleading add_column() usage example in docstring
Fixes #7611 This PR fixes the usage example in the Dataset.add_column() docstring, which previously implied that add_column() modifies the dataset in-place. Why: The method returns a new dataset with the additional column, and users must assign the result to a variable to preserve the change. This should make...
closed
7,648
[ "I believe there are other occurences of cases like this, like select_columns, select, filter, shard and flatten, could you also fix the docstring for them as well before we merge ?", "Done! @lhoestq! I've updated the docstring examples for the following methods to clarify that they return new datasets instead of...
false
2025-06-27 05:27:04
2025-07-20 16:07:49
CONTRIBUTOR
ArjunJagdale
142,811,259
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7648/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/7648
https://github.com/huggingface/datasets/pull/7648
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7648", "html_url": "https://github.com/huggingface/datasets/pull/7648", "diff_url": "https://github.com/huggingface/datasets/pull/7648.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7648.patch", "merged_at": "2025-07-17T13:14:17Z"}
true
3,178,952,517
loading mozilla-foundation--common_voice_11_0 fails
### Describe the bug Hello everyone, i am trying to load `mozilla-foundation--common_voice_11_0` and it fails. Reproducer ``` import datasets datasets.load_dataset("mozilla-foundation/common_voice_11_0", "en", split="test", streaming=True, trust_remote_code=True) ``` and it fails with ``` File ~/opt/envs/.../lib/py...
open
7,647
[ "@claude Could you please address this issue", "kinda related: https://github.com/huggingface/datasets/issues/7675" ]
false
2025-06-26 12:23:48
2025-07-10 14:49:30
NONE
pavel-esir
5,703,039
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7647/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/7647
https://github.com/huggingface/datasets/issues/7647
null
false
3,178,036,854
Introduces automatic subset-level grouping for folder-based dataset builders #7066
Fixes #7066 This PR introduces automatic **subset-level grouping** for folder-based dataset builders by: 1. Adding a utility function `group_files_by_subset()` that clusters files by root name (ignoring digits and shard suffixes). 2. Integrating this logic into `FolderBasedBuilder._split_generators()` to yield one...
open
7,646
[ "It adds automatic grouping of files into subsets based on their root name (e.g., `train0.jsonl`, `train1.jsonl` → `\"train\"`), as discussed above. The logic is integrated into `FolderBasedBuilder` and is fully tested + documented.\r\n\r\nLet me know if any changes are needed — happy to iterate!", "Hi ! I believ...
false
2025-06-26 07:01:37
2025-07-14 10:42:56
CONTRIBUTOR
ArjunJagdale
142,811,259
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7646/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/7646
https://github.com/huggingface/datasets/pull/7646
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7646", "html_url": "https://github.com/huggingface/datasets/pull/7646", "diff_url": "https://github.com/huggingface/datasets/pull/7646.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7646.patch", "merged_at": null}
true
3,176,810,164
`ClassLabel` docs: Correct value for unknown labels
This small change fixes the documentation to to be compliant with what happens in `encode_example`. https://github.com/huggingface/datasets/blob/e71b0b19d79c7531f9b9bea7c09916b5f6157f42/src/datasets/features/features.py#L1126-L1129
open
7,645
[]
false
2025-06-25 20:01:35
2025-06-25 20:01:35
NONE
l-uuz
56,924,246
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7645/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/7645
https://github.com/huggingface/datasets/pull/7645
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7645", "html_url": "https://github.com/huggingface/datasets/pull/7645", "diff_url": "https://github.com/huggingface/datasets/pull/7645.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7645.patch", "merged_at": null}
true
3,176,363,492
fix sequence ci
fix error from https://github.com/huggingface/datasets/pull/7643
closed
7,644
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7644). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
false
2025-06-25 17:07:55
2025-06-25 17:10:30
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7644/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/7644
https://github.com/huggingface/datasets/pull/7644
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7644", "html_url": "https://github.com/huggingface/datasets/pull/7644", "diff_url": "https://github.com/huggingface/datasets/pull/7644.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7644.patch", "merged_at": "2025-06-25T17:08:01Z"}
true
3,176,354,431
Backward compat sequence instance
useful to still get `isinstance(Sequence(Value("int64")), Sequence)`for downstream libs like evaluate
closed
7,643
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7643). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
false
2025-06-25 17:05:09
2025-06-25 17:07:40
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7643/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/7643
https://github.com/huggingface/datasets/pull/7643
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7643", "html_url": "https://github.com/huggingface/datasets/pull/7643", "diff_url": "https://github.com/huggingface/datasets/pull/7643.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7643.patch", "merged_at": "2025-06-25T17:05:43Z"}
true
3,176,025,890
fix length for ci
closed
7,642
[]
false
2025-06-25 15:10:38
2025-06-25 15:11:53
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7642/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/7642
https://github.com/huggingface/datasets/pull/7642
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7642", "html_url": "https://github.com/huggingface/datasets/pull/7642", "diff_url": "https://github.com/huggingface/datasets/pull/7642.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7642.patch", "merged_at": "2025-06-25T15:11:51Z"}
true
3,175,953,405
update docs and docstrings
closed
7,641
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7641). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
false
2025-06-25 14:48:58
2025-06-25 14:51:46
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7641/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/7641
https://github.com/huggingface/datasets/pull/7641
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7641", "html_url": "https://github.com/huggingface/datasets/pull/7641", "diff_url": "https://github.com/huggingface/datasets/pull/7641.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7641.patch", "merged_at": "2025-06-25T14:49:33Z"}
true
3,175,914,924
better features repr
following the addition of List in #7634 before: ```python In [3]: ds.features Out[3]: {'json': {'id': Value(dtype='string', id=None), 'metadata:transcript': [{'end': Value(dtype='float64', id=None), 'start': Value(dtype='float64', id=None), 'transcript': Value(dtype='string', id=None), 'wor...
closed
7,640
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7640). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
false
2025-06-25 14:37:32
2025-06-25 14:46:47
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7640/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/7640
https://github.com/huggingface/datasets/pull/7640
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7640", "html_url": "https://github.com/huggingface/datasets/pull/7640", "diff_url": "https://github.com/huggingface/datasets/pull/7640.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7640.patch", "merged_at": "2025-06-25T14:46:45Z"}
true
3,175,616,169
fix save_infos
closed
7,639
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7639). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
false
2025-06-25 13:16:26
2025-06-25 13:19:33
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7639/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/7639
https://github.com/huggingface/datasets/pull/7639
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7639", "html_url": "https://github.com/huggingface/datasets/pull/7639", "diff_url": "https://github.com/huggingface/datasets/pull/7639.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7639.patch", "merged_at": "2025-06-25T13:16:33Z"}
true
3,172,645,391
Add ignore_decode_errors option to Image feature for robust decoding #7612
This PR implements support for robust image decoding in the `Image` feature, as discussed in issue #7612. ## 🔧 What was added - A new boolean field: `ignore_decode_errors` (default: `False`) - If set to `True`, any exceptions during decoding will be caught, and `None` will be returned instead of raising an error ...
open
7,638
[ "cc @lhoestq", "I think splitting the error handling for the main image decoding process and the metadata decoding process is possibly a bit nicer, as some images do render correctly, but their metadata might be invalid and cause the pipeline to fail, which I've encountered recently as in #7668.\r\n\r\nThe [`deco...
false
2025-06-24 16:47:51
2025-07-04 07:07:30
CONTRIBUTOR
ArjunJagdale
142,811,259
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7638/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/7638
https://github.com/huggingface/datasets/pull/7638
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7638", "html_url": "https://github.com/huggingface/datasets/pull/7638", "diff_url": "https://github.com/huggingface/datasets/pull/7638.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7638.patch", "merged_at": null}
true
3,171,883,522
Introduce subset_name as an alias of config_name
### Feature request Add support for `subset_name` as an alias for `config_name` in the datasets library and related tools (such as loading scripts, documentation, and metadata). ### Motivation The Hugging Face Hub dataset viewer displays a column named **"Subset"**, which refers to what is currently technically call...
open
7,637
[ "I second this! When you come from the Hub, the intuitive question is \"how do I set the subset name\", and it's not easily answered from the docs: `subset_name` would answer this directly.", "I've submitted PR [#7657](https://github.com/huggingface/datasets/pull/7657) to introduce subset_name as a user-facing al...
false
2025-06-24 12:49:01
2025-07-01 16:08:33
MEMBER
albertvillanova
8,515,462
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/7637/reactions", "total_count": 2, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 1, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7637
https://github.com/huggingface/datasets/issues/7637
null
false
3,170,878,167
"open" in globals()["__builtins__"], an error occurs: "TypeError: argument of type 'module' is not iterable"
When I run the following code, an error occurs: "TypeError: argument of type 'module' is not iterable" ```python print("open" in globals()["__builtins__"]) ``` Traceback (most recent call last): File "./main.py", line 2, in <module> print("open" in globals()["__builtins__"]) ^^^^^^^^^^^^^^^^^^^^^^ TypeE...
open
7,636
[ "@kuanyan9527 Your query is indeed valid. Following could be its reasoning:\n\nQuoting from https://stackoverflow.com/a/11181607:\n\"By default, when in the `__main__` module,` __builtins__` is the built-in module `__builtin__` (note: no 's'); when in any other module, `__builtins__` is an alias for the dictionary ...
false
2025-06-24 08:09:39
2025-07-10 04:13:16
NONE
kuanyan9527
51,187,979
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7636/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/7636
https://github.com/huggingface/datasets/issues/7636
null
false
3,170,486,408
Fix: Preserve float columns in JSON loader when values are integer-like (e.g. 0.0, 1.0)
This PR fixes a bug in the JSON loader where columns containing float values like `[0.0, 1.0, 2.0]` were being implicitly coerced to `int`, due to pandas or Arrow type inference. This caused issues downstream in statistics computation (e.g., dataset-viewer) where such columns were incorrectly labeled as `"int"` inst...
open
7,635
[]
false
2025-06-24 06:16:48
2025-06-24 06:16:48
CONTRIBUTOR
ArjunJagdale
142,811,259
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7635/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/7635
https://github.com/huggingface/datasets/pull/7635
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7635", "html_url": "https://github.com/huggingface/datasets/pull/7635", "diff_url": "https://github.com/huggingface/datasets/pull/7635.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7635.patch", "merged_at": null}
true
3,169,389,653
Replace Sequence by List
Sequence is just a utility that we need to keep for backward compatibility. And `[ ]` was used instead but doesn't allow passing the length of the list. This PR removes most mentions of Sequence and usage of `[ ]` and defines a proper List type instead. before: `Sequence(Value("int64"))` or `[Value("int64")]` no...
closed
7,634
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7634). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
false
2025-06-23 20:35:48
2025-06-25 13:59:13
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7634/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/7634
https://github.com/huggingface/datasets/pull/7634
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7634", "html_url": "https://github.com/huggingface/datasets/pull/7634", "diff_url": "https://github.com/huggingface/datasets/pull/7634.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7634.patch", "merged_at": "2025-06-25T13:59:11Z"}
true
3,168,399,637
Proposal: Small Tamil Discourse Coherence Dataset.
I’m a beginner from NIT Srinagar proposing a dataset of 50 Tamil text pairs for discourse coherence (coherent/incoherent labels) to support NLP research in low-resource languages. - Size: 50 samples - Format: CSV with columns (text1, text2, label) - Use case: Training NLP models for coherence I’ll use GitHub’s web edit...
open
7,633
[]
false
2025-06-23 14:24:40
2025-06-23 14:24:40
NONE
bikkiNitSrinagar
66,418,501
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7633/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/7633
https://github.com/huggingface/datasets/issues/7633
null
false
3,168,283,589
Graceful Error Handling for cast_column("image", Image(decode=True)) in Hugging Face Datasets
### Feature request Currently, when using dataset.cast_column("image", Image(decode=True)), the pipeline throws an error and halts if any image in the dataset is invalid or corrupted (e.g., truncated files, incorrect formats, unreachable URLs). This behavior disrupts large-scale processing where a few faulty samples a...
open
7,632
[ "Hi! This is now handled in PR #7638", "Thank you for implementing the suggestion it would be great help in our use case. " ]
false
2025-06-23 13:49:24
2025-07-08 06:52:53
NONE
ganiket19
37,377,515
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/7632/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/7632
https://github.com/huggingface/datasets/issues/7632
null
false
3,165,127,657
Pass user-agent from DownloadConfig into fsspec storage_options
Fixes part of issue #6046 ### Problem The `user-agent` defined in `DownloadConfig` was not passed down to fsspec-based filesystems like `HfFileSystem`, which prevents proper identification/tracking of client requests. ### Solution Added support for injecting the `user-agent` into `storage_options["headers"]` wi...
open
7,631
[ "- This PR assumes that `HfFileSystem` in `huggingface_hub` supports receiving `headers` in `storage_options`. If not, a follow-up PR can be opened to add this support to `HfFileSystem.__init__`.\r\n- No test was added for this since it’s a config passthrough. If needed, I’d be happy to add one." ]
false
2025-06-21 14:22:25
2025-06-21 14:25:28
CONTRIBUTOR
ArjunJagdale
142,811,259
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7631/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/7631
https://github.com/huggingface/datasets/pull/7631
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7631", "html_url": "https://github.com/huggingface/datasets/pull/7631", "diff_url": "https://github.com/huggingface/datasets/pull/7631.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7631.patch", "merged_at": null}
true
3,164,650,900
[bug] resume from ckpt skips samples if .map is applied
### Describe the bug resume from ckpt skips samples if .map is applied Maybe related: https://github.com/huggingface/datasets/issues/7538 ### Steps to reproduce the bug ```python from datasets import Dataset from datasets.distributed import split_dataset_by_node # Create dataset with map transformation def create...
open
7,630
[ "Thanks for reporting this — it looks like a separate but related bug to #7538, which involved sample loss when resuming an `IterableDataset` wrapped in `FormattedExamplesIterable`. That was resolved in #7553 by re-batching the iterable to track offset correctly.\n\nIn this case, the issue seems to arise specifical...
false
2025-06-21 01:50:03
2025-06-29 07:51:32
NONE
felipemello1
23,004,953
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7630/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/7630
https://github.com/huggingface/datasets/issues/7630
null
false
3,161,169,782
Add test for `as_iterable_dataset()` method in DatasetBuilder
This PR adds a test for the new `as_iterable_dataset()` method introduced in PR #7628. The test: - Loads a builder using `load_dataset_builder("c4", "en")` - Runs `download_and_prepare()` - Streams examples using `builder.as_iterable_dataset(split="train[:100]")` - Verifies streamed examples contain the "text" f...
open
7,629
[]
false
2025-06-19 19:23:55
2025-06-19 19:23:55
CONTRIBUTOR
ArjunJagdale
142,811,259
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7629/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/7629
https://github.com/huggingface/datasets/pull/7629
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7629", "html_url": "https://github.com/huggingface/datasets/pull/7629", "diff_url": "https://github.com/huggingface/datasets/pull/7629.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7629.patch", "merged_at": null}
true
3,161,156,461
Add `as_iterable_dataset()` method to DatasetBuilder for streaming from cached Arrow files
This PR implements `builder.as_iterable_dataset(split=...)` as discussed in #5481. It allows users to load an `IterableDataset` directly from cached Arrow files (using ArrowReader and ArrowExamplesIterable), without loading the full dataset into memory. This is useful for large-scale training scenarios where memo...
open
7,628
[]
false
2025-06-19 19:15:41
2025-06-19 19:15:41
CONTRIBUTOR
ArjunJagdale
142,811,259
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7628/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/7628
https://github.com/huggingface/datasets/pull/7628
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7628", "html_url": "https://github.com/huggingface/datasets/pull/7628", "diff_url": "https://github.com/huggingface/datasets/pull/7628.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7628.patch", "merged_at": null}
true
3,160,544,390
Creating a HF Dataset from lakeFS with S3 storage takes too much time!
Hi, I’m new to HF dataset and I tried to create datasets based on data versioned in **lakeFS** _(**MinIO** S3 bucket as storage backend)_ Here I’m using ±30000 PIL image from MNIST data however it is taking around 12min to execute, which is a lot! From what I understand, it is loading the images into cache then buil...
closed
7,627
[ "### > Update\n\nThe bottleneck, from what I understand, was making one network request per file\n\nFor 30k images, this meant 30k separate GET requests to the MinIO server through the S3 API, and that was killing the performance\n\nUsing webDataset to transform the large number of files to few .tar files and passi...
false
2025-06-19 14:28:41
2025-06-23 12:39:10
NONE
Thunderhead-exe
118,734,142
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7627/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/7627
https://github.com/huggingface/datasets/issues/7627
null
false
3,159,322,138
feat(map): reuse unchanged columns when input_columns specified to reduce disk usage (#6013)
## Summary This PR addresses [#6013](https://github.com/huggingface/datasets/issues/6013) by reusing unchanged columns from the original dataset in the `map()` method when `input_columns` is specified. ## What’s Implemented - Injected logic at the end of `Dataset.map()` to: - Identify untouched columns not ...
open
7,626
[]
false
2025-06-19 07:41:45
2025-07-18 17:36:35
CONTRIBUTOR
ArjunJagdale
142,811,259
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7626/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/7626
https://github.com/huggingface/datasets/pull/7626
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7626", "html_url": "https://github.com/huggingface/datasets/pull/7626", "diff_url": "https://github.com/huggingface/datasets/pull/7626.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7626.patch", "merged_at": null}
true
3,159,016,001
feat: Add h5folder dataset loader for HDF5 support
### Related Issue Closes #3113 ### What does this PR do? This PR introduces a new dataset loader module called **`h5folder`** to support loading datasets stored in **HDF5 (.h5)** format. It allows users to do: ```python from datasets import load_dataset dataset = load_dataset("h5folder", data_dir="path/t...
open
7,625
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7625). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "I guess test failed cause import os, import h5py, and import datasets lines are not alp...
false
2025-06-19 05:39:10
2025-06-26 05:44:26
CONTRIBUTOR
ArjunJagdale
142,811,259
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7625/reactions", "total_count": 3, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 3, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7625
https://github.com/huggingface/datasets/pull/7625
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7625", "html_url": "https://github.com/huggingface/datasets/pull/7625", "diff_url": "https://github.com/huggingface/datasets/pull/7625.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7625.patch", "merged_at": null}
true
3,156,136,624
#Dataset Make "image" column appear first in dataset preview UI
Hi! #Dataset I’m currently uploading a dataset that includes an `"image"` column (PNG files), along with some metadata columns. The dataset is loaded from a .jsonl file. My goal is to have the "image" column appear as the first column in the dataset card preview UI on the :hugs: Hub. However, at the moment, the `"im...
closed
7,624
[ "Hi ! It should follow the same order as the order of the keys in the metadata file", "Hi! Thank you for your answer. \n\nAs you said it, I I forced every key in every JSON to have an order using `collections. OrderedDict` in Python. Now, it works!\n\nTY" ]
false
2025-06-18 09:25:19
2025-06-20 07:46:43
NONE
jcerveto
98,875,217
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7624/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/7624
https://github.com/huggingface/datasets/issues/7624
null
false
3,154,519,684
fix: raise error in FolderBasedBuilder when data_dir and data_files are missing
### Related Issues/PRs Fixes #6152 --- ### What changes are proposed in this pull request? This PR adds a dedicated validation check in the `_info()` method of the `FolderBasedBuilder` class to ensure that users provide either `data_dir` or `data_files` when loading folder-based datasets (such as `audiofold...
closed
7,623
[ "@lhoestq Moved the logic to FolderBasedBuilder._info() as discussed in previous PR (#7618). Let me know if anything else is needed — happy to update!", "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7623). All of your documentation changes will be reflected on that endpoin...
false
2025-06-17 19:16:34
2025-06-18 14:18:41
CONTRIBUTOR
ArjunJagdale
142,811,259
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7623/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/7623
https://github.com/huggingface/datasets/pull/7623
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7623", "html_url": "https://github.com/huggingface/datasets/pull/7623", "diff_url": "https://github.com/huggingface/datasets/pull/7623.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7623.patch", "merged_at": "2025-06-18T14:18:41Z"}
true
3,154,398,557
Guard against duplicate builder_kwargs/config_kwargs in load_dataset_…
…builder (#4910 ) ### What does this PR do? Fixes edge case in `load_dataset_builder` by raising a `TypeError` if the same key exists in both `builder_kwargs` and `config_kwargs`. ### Implementation details - Added a guard clause in `load_dataset_builder` to detect duplicate keys between `builder_kwargs` an...
closed
7,622
[ "Hi folks, this PR fixes the duplicate-kwargs edge case and includes a unit test. Would love a review when you have a moment!\r\n\r\n@zach-huggingface\r\n@SunMarc " ]
false
2025-06-17 18:28:35
2025-07-23 14:06:20
NONE
Shohail-Ismail
149,825,575
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7622/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/7622
https://github.com/huggingface/datasets/pull/7622
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7622", "html_url": "https://github.com/huggingface/datasets/pull/7622", "diff_url": "https://github.com/huggingface/datasets/pull/7622.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7622.patch", "merged_at": null}
true
3,153,780,963
minor docs data aug
closed
7,621
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7621). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
false
2025-06-17 14:46:57
2025-06-17 14:50:28
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7621/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/7621
https://github.com/huggingface/datasets/pull/7621
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7621", "html_url": "https://github.com/huggingface/datasets/pull/7621", "diff_url": "https://github.com/huggingface/datasets/pull/7621.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7621.patch", "merged_at": "2025-06-17T14:47:11Z"}
true
3,153,565,183
Fixes in docs
before release 4.0 (I also did minor improvements to `features` to not show their `id=None` in their `__repr__()`)
closed
7,620
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7620). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
false
2025-06-17 13:41:54
2025-06-17 13:58:26
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7620/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/7620
https://github.com/huggingface/datasets/pull/7620
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7620", "html_url": "https://github.com/huggingface/datasets/pull/7620", "diff_url": "https://github.com/huggingface/datasets/pull/7620.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7620.patch", "merged_at": "2025-06-17T13:58:24Z"}
true
3,153,058,517
`from_list` fails while `from_generator` works for large datasets
### Describe the bug I am constructing a large time series dataset and observed that first constructing a list of entries and then using `Dataset.from_list` led to a crash as the number of items became large. However, this is not a problem when using `Dataset.from_generator`. ### Steps to reproduce the bug #### Snip...
open
7,619
[ "@lhoestq any thoughts on this? ", "Thanks for the report! This behavior is expected due to how `from_list()` and `from_generator()` differ internally.\n\n- `from_list()` builds the entire dataset in memory at once, which can easily exceed limits (especially with variable-length arrays or millions of rows). The A...
false
2025-06-17 10:58:55
2025-06-29 16:34:44
NONE
abdulfatir
4,028,948
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7619/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/7619
https://github.com/huggingface/datasets/issues/7619
null
false
3,148,912,897
fix: raise error when folder-based datasets are loaded without data_dir or data_files
### Related Issues/PRs <!-- Uncomment 'Resolve' if this PR can close the linked items. --> <!-- Resolve --> #6152 --- ### What changes are proposed in this pull request? This PR adds an early validation step for folder-based datasets (like `audiofolder`) to prevent silent fallback behavior. **Before t...
open
7,618
[ "Great ! Since this logic is specific to one builder class maybe this check can be in the class definition ? I think you can put it in FolderBasedBuilder's `_info()` method." ]
false
2025-06-16 07:43:59
2025-06-16 12:13:26
CONTRIBUTOR
ArjunJagdale
142,811,259
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7618/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/7618
https://github.com/huggingface/datasets/pull/7618
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7618", "html_url": "https://github.com/huggingface/datasets/pull/7618", "diff_url": "https://github.com/huggingface/datasets/pull/7618.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7618.patch", "merged_at": null}
true
3,148,102,085
Unwanted column padding in nested lists of dicts
```python from datasets import Dataset dataset = Dataset.from_dict({ "messages": [ [ {"a": "...",}, {"b": "...",}, ], ] }) print(dataset[0]) ``` What I get: ``` {'messages': [{'a': '...', 'b': None}, {'a': None, 'b': '...'}]} ``` What I want: ``` {'messages': [{'a': '...
closed
7,617
[ "Answer from @lhoestq:\n\n> No\n> This is because Arrow and Parquet a columnar format: they require a fixed type for each column. So if you have nested dicts, each item should have the same subfields\n\nThe way around I found is the handle it after sampling with this function:\n\n```python\ndef remove_padding(examp...
false
2025-06-15 22:06:17
2025-06-16 13:43:31
MEMBER
qgallouedec
45,557,362
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7617/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/7617
https://github.com/huggingface/datasets/issues/7617
null
false
3,144,506,665
Torchcodec decoding
Closes #7607 ## New signatures ### Audio ```python Audio(sampling_rate: Optional[int] = None, mono: bool = True, decode: bool = True, stream_index: Optional[int] = None) Audio.encode_example(self, value: Union[str, bytes, bytearray, dict, "AudioDecoder"]) -> dict Audio.decode_example(self, value: dict, token_...
closed
7,616
[ "@lhoestq any updates on when this will be merged? Let me know if theres anything you need from my end.", "Btw I plan to release `datasets` 4.0 after your PR, this will be a major milestone :)", "@lhoestq just pushed the new changes.", "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs...
false
2025-06-13 19:06:07
2025-06-19 18:25:49
CONTRIBUTOR
TyTodd
49,127,578
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7616/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 1, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7616
https://github.com/huggingface/datasets/pull/7616
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7616", "html_url": "https://github.com/huggingface/datasets/pull/7616", "diff_url": "https://github.com/huggingface/datasets/pull/7616.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7616.patch", "merged_at": "2025-06-19T18:25:48Z"}
true
3,143,443,498
remove unused code
closed
7,615
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7615). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
false
2025-06-13 12:37:30
2025-06-13 12:39:59
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7615/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/7615
https://github.com/huggingface/datasets/pull/7615
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7615", "html_url": "https://github.com/huggingface/datasets/pull/7615", "diff_url": "https://github.com/huggingface/datasets/pull/7615.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7615.patch", "merged_at": "2025-06-13T12:37:40Z"}
true
3,143,381,638
Lazy column
Same as https://github.com/huggingface/datasets/pull/7564 but for `Dataset`, cc @TopCoder2K FYI e.g. `ds[col]` now returns a lazy Column instead of a list This way calling `ds[col][idx]` only loads the required data in memory (bonus: also supports subfields access with `ds[col][subcol][idx]`) the breaking c...
closed
7,614
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7614). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
false
2025-06-13 12:12:57
2025-06-17 13:08:51
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7614/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/7614
https://github.com/huggingface/datasets/pull/7614
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7614", "html_url": "https://github.com/huggingface/datasets/pull/7614", "diff_url": "https://github.com/huggingface/datasets/pull/7614.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7614.patch", "merged_at": "2025-06-17T13:08:49Z"}
true
3,142,819,991
fix parallel push_to_hub in dataset_dict
closed
7,613
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7613). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
false
2025-06-13 09:02:24
2025-06-13 12:30:23
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7613/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/7613
https://github.com/huggingface/datasets/pull/7613
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7613", "html_url": "https://github.com/huggingface/datasets/pull/7613", "diff_url": "https://github.com/huggingface/datasets/pull/7613.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7613.patch", "merged_at": "2025-06-13T12:30:22Z"}
true
3,141,905,049
Provide an option of robust dataset iterator with error handling
### Feature request Adding an option to skip corrupted data samples. Currently the datasets behavior is throwing errors if the data sample if corrupted and let user aware and handle the data corruption. When I tried to try-catch the error at user level, the iterator will raise StopIteration when I called next() again....
open
7,612
[ "Hi ! Maybe we can add a parameter to the Image() type to make it to return `None` instead of raising an error in case of corruption ? Would that help ?", "Hi! 👋🏼 I just opened PR [#7638](https://github.com/huggingface/datasets/pull/7638) to address this issue.\n\n### 🔧 What it does:\nIt adds an `ignore_decode...
false
2025-06-13 00:40:48
2025-06-24 16:52:30
NONE
wwwjn
40,016,222
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/7612/reactions", "total_count": 2, "+1": 2, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7612
https://github.com/huggingface/datasets/issues/7612
null
false
3,141,383,940
Code example for dataset.add_column() does not reflect correct way to use function
https://github.com/huggingface/datasets/blame/38d4d0e11e22fdbc4acf373d2421d25abeb43439/src/datasets/arrow_dataset.py#L5925C10-L5925C10 The example seems to suggest that dataset.add_column() can add column inplace, however, this is wrong -- it cannot. It returns a new dataset with the column added to it.
closed
7,611
[ "Hi @shaily99 \n\nThanks for pointing this out — you're absolutely right!\n\nThe current example in the docstring for add_column() implies in-place modification, which is misleading since add_column() actually returns a new dataset.", "#self-assign\n" ]
false
2025-06-12 19:42:29
2025-07-17 13:14:18
NONE
shaily99
31,388,649
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7611/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/7611
https://github.com/huggingface/datasets/issues/7611
null
false
3,141,281,560
i cant confirm email
### Describe the bug This is dificult, I cant confirm email because I'm not get any email! I cant post forum because I cant confirm email! I can send help desk because... no exist on web page. paragraph 44 ### Steps to reproduce the bug rthjrtrt ### Expected behavior ewtgfwetgf ### Environment info sdgfswdegfwe
open
7,610
[ "Will you please clarify the issue by some screenshots or more in-depth explanation?", "![Image](https://github.com/user-attachments/assets/ebe58239-72ef-43f6-a849-35736878fbf3)\nThis is clarify answer. I have not received a letter.\n\n**The graphic at the top shows how I don't get any letter. Can you show in a c...
false
2025-06-12 18:58:49
2025-06-27 14:36:47
NONE
lykamspam
187,984,415
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7610/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/7610
https://github.com/huggingface/datasets/issues/7610
null
false
3,140,373,128
Update `_dill.py` to use `co_linetable` for Python 3.10+ in place of `co_lnotab`
Not 100% about this one, but it seems to be recommended. ``` /fsx/qgallouedec/miniconda3/envs/trl/lib/python3.12/site-packages/datasets/utils/_dill.py:385: DeprecationWarning: co_lnotab is deprecated, use co_lines instead. ``` Tests pass locally. And the warning is gone with this change. https://peps.python.or...
closed
7,609
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7609). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "not 100% sure either, I tried removing unnecessary checks - let me know if they sound g...
false
2025-06-12 13:47:01
2025-06-16 12:14:10
MEMBER
qgallouedec
45,557,362
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7609/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/7609
https://github.com/huggingface/datasets/pull/7609
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7609", "html_url": "https://github.com/huggingface/datasets/pull/7609", "diff_url": "https://github.com/huggingface/datasets/pull/7609.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7609.patch", "merged_at": "2025-06-16T12:14:08Z"}
true
3,137,564,259
Tests typing and fixes for push_to_hub
todo: - [x] fix TestPushToHub.test_push_dataset_dict_to_hub_iterable_num_proc
closed
7,608
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7608). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
false
2025-06-11 17:13:52
2025-06-12 21:15:23
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7608/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/7608
https://github.com/huggingface/datasets/pull/7608
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7608", "html_url": "https://github.com/huggingface/datasets/pull/7608", "diff_url": "https://github.com/huggingface/datasets/pull/7608.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7608.patch", "merged_at": "2025-06-12T21:15:21Z"}
true
3,135,722,560
Video and audio decoding with torchcodec
### Feature request Pytorch is migrating video processing to torchcodec and it's pretty cool. It would be nice to migrate both the audio and video features to use torchcodec instead of torchaudio/video. ### Motivation My use case is I'm working on a multimodal AV model, and what's nice about torchcodec is I can extr...
closed
7,607
[ "Good idea ! let me know if you have any question or if I can help", "@lhoestq Almost finished, but I'm having trouble understanding this test case.\nThis is how it looks originally. The `map` function is called, and then `with_format` is called. According to the test case example[\"video\"] is supposed to be a V...
false
2025-06-11 07:02:30
2025-06-19 18:25:49
CONTRIBUTOR
TyTodd
49,127,578
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/7607/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/7607
https://github.com/huggingface/datasets/issues/7607
null
false
3,133,848,546
Add `num_proc=` to `.push_to_hub()` (Dataset and IterableDataset)
closed
7,606
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7606). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
false
2025-06-10 14:35:10
2025-06-11 16:47:28
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7606/reactions", "total_count": 7, "+1": 0, "-1": 0, "laugh": 0, "hooray": 7, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7606
https://github.com/huggingface/datasets/pull/7606
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7606", "html_url": "https://github.com/huggingface/datasets/pull/7606", "diff_url": "https://github.com/huggingface/datasets/pull/7606.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7606.patch", "merged_at": "2025-06-11T16:47:25Z"}
true
3,131,636,882
Make `push_to_hub` atomic (#7600)
closed
7,605
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7605). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "Hi ! unfortunately we can't allow atomic commits for commits with hundreds of files add...
false
2025-06-09 22:29:38
2025-06-23 19:32:08
NONE
sharvil
391,004
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7605/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/7605
https://github.com/huggingface/datasets/pull/7605
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7605", "html_url": "https://github.com/huggingface/datasets/pull/7605", "diff_url": "https://github.com/huggingface/datasets/pull/7605.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7605.patch", "merged_at": null}
true
3,130,837,169
Docs and more methods for IterableDataset: push_to_hub, to_parquet...
to_csv, to_json, to_sql, to_pandas, to_polars, to_dict, to_list
closed
7,604
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7604). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
false
2025-06-09 16:44:40
2025-06-10 13:15:23
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7604/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/7604
https://github.com/huggingface/datasets/pull/7604
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7604", "html_url": "https://github.com/huggingface/datasets/pull/7604", "diff_url": "https://github.com/huggingface/datasets/pull/7604.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7604.patch", "merged_at": "2025-06-10T13:15:21Z"}
true
3,130,394,563
No TF in win tests
closed
7,603
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7603). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
false
2025-06-09 13:56:34
2025-06-09 15:33:31
MEMBER
lhoestq
42,851,186
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7603/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/7603
https://github.com/huggingface/datasets/pull/7603
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7603", "html_url": "https://github.com/huggingface/datasets/pull/7603", "diff_url": "https://github.com/huggingface/datasets/pull/7603.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7603.patch", "merged_at": "2025-06-09T15:33:30Z"}
true
3,128,758,924
Enhance error handling and input validation across multiple modules
This PR improves the robustness and user experience by: 1. **Audio Module**: - Added clear error messages when required fields ('path' or 'bytes') are missing in audio encoding 2. **DatasetDict**: - Enhanced key access error messages to show available splits when an invalid key is accessed 3. **NonMuta...
open
7,602
[]
false
2025-06-08 23:01:06
2025-06-08 23:01:06
NONE
mohiuddin-khan-shiam
147,746,955
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7602/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/7602
https://github.com/huggingface/datasets/pull/7602
{"url": "https://api.github.com/repos/huggingface/datasets/pulls/7602", "html_url": "https://github.com/huggingface/datasets/pull/7602", "diff_url": "https://github.com/huggingface/datasets/pull/7602.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7602.patch", "merged_at": null}
true
3,127,296,182
`push_to_hub` is not concurrency safe (dataset schema corruption)
### Describe the bug Concurrent processes modifying and pushing a dataset can overwrite each others' dataset card, leaving the dataset unusable. Consider this scenario: - we have an Arrow dataset - there are `N` configs of the dataset - there are `N` independent processes operating on each of the individual configs (...
closed
7,600
[ "@lhoestq can you please take a look? I've submitted a PR that fixes this issue. Thanks.", "Thanks for the ping ! As I said in https://github.com/huggingface/datasets/pull/7605 there is maybe a more general approach using retries :)", "Dropping this due to inactivity; we've implemented push_to_hub outside of HF...
false
2025-06-07 17:28:56
2025-06-23 19:36:37
NONE
sharvil
391,004
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7600/reactions", "total_count": 5, "+1": 5, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}
https://api.github.com/repos/huggingface/datasets/issues/7600
https://github.com/huggingface/datasets/issues/7600
null
false
3,125,620,119
My already working dataset (when uploaded few months ago) now is ignoring metadata.jsonl
### Describe the bug Hi everyone, I uploaded my dataset https://huggingface.co/datasets/PRAIG/SMB a few months ago while I was waiting for a conference acceptance response. Without modifying anything in the dataset repository now the Dataset viewer is not rendering the metadata.jsonl annotations, neither it is being d...
closed
7,599
[ "Maybe its been a recent update, but i can manage to load the metadata.jsonl separately from the images with:\n\n```\nmetadata = load_dataset(\"PRAIG/SMB\", split=\"train\", data_files=[\"*.jsonl\"])\nimages = load_dataset(\"PRAIG/SMB\", split=\"train\")\n```\nDo you know it this is an expected behaviour? This make...
false
2025-06-06 18:59:00
2025-06-16 15:18:00
NONE
JuanCarlosMartinezSevilla
97,530,443
User
[]
{"url": "https://api.github.com/repos/huggingface/datasets/issues/7599/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/7599
https://github.com/huggingface/datasets/issues/7599
null
false