id
int64
599M
3.48B
number
int64
1
7.8k
title
stringlengths
1
290
state
stringclasses
2 values
comments
listlengths
0
30
created_at
timestamp[s]date
2020-04-14 10:18:02
2025-10-05 06:37:50
updated_at
timestamp[s]date
2020-04-27 16:04:17
2025-10-05 10:32:43
closed_at
timestamp[s]date
2020-04-14 12:01:40
2025-10-01 13:56:03
body
stringlengths
0
228k
user
stringlengths
3
26
html_url
stringlengths
46
51
pull_request
dict
is_pull_request
bool
2 classes
3,253,433,350
7,696
load_dataset() in 4.0.0 returns different audio samples compared to earlier versions breaking reproducibility
closed
[ "Hi ! This is because `datasets` now uses the FFmpeg-based library `torchcodec` instead of the libsndfile-based library `soundfile` to decode audio data. Those two have different decoding implementations", "I’m all for torchcodec, good luck with the migration!" ]
2025-07-22T17:02:17
2025-07-30T14:22:21
2025-07-30T14:22:21
### 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...
Manalelaidouni
https://github.com/huggingface/datasets/issues/7696
null
false
3,251,904,843
7,695
Support downloading specific splits in load_dataset
closed
[ "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 ...
2025-07-22T09:33:54
2025-07-28T17:33:30
2025-07-28T17:15:45
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.
ArjunJagdale
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
7,694
Dataset.to_json consumes excessive memory, appears to not be a streaming operation
open
[ "Hi ! to_json is memory efficient and writes the data by batch:\n\nhttps://github.com/huggingface/datasets/blob/d9861d86be222884dabbd534a2db770c70c9b558/src/datasets/io/json.py#L153-L159\n\nWhat memory are you mesuring ? If you are mesuring RSS, it is likely that it counts the memory mapped data of the dataset. Mem...
2025-07-21T07:51:25
2025-07-25T14:42:21
null
### 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 ...
ycq0125
https://github.com/huggingface/datasets/issues/7694
null
false
3,246,369,678
7,693
Dataset scripts are no longer supported, but found superb.py
open
[ "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)...
2025-07-20T13:48:06
2025-09-04T10:32:12
null
### 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 : ``` -------------------------------------------------------------------------- ...
edwinzajac
https://github.com/huggingface/datasets/issues/7693
null
false
3,246,268,635
7,692
xopen: invalid start byte for streaming dataset with trust_remote_code=True
open
[ "Hi ! it would be cool to convert this dataset to Parquet. This will make it work for `datasets>=4.0`, enable the Dataset Viewer and make it more reliable to load/stream (currently it uses a loading script in python and those are known for having issues sometimes)\n\nusing `datasets==3.6.0`, here is the command to ...
2025-07-20T11:08:20
2025-07-25T14:38:54
null
### 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 ...
sedol1339
https://github.com/huggingface/datasets/issues/7692
null
false
3,245,547,170
7,691
Large WebDataset: pyarrow.lib.ArrowCapacityError on load() even with streaming
open
[ "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...
2025-07-19T18:40:27
2025-07-25T08:51:10
null
### 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...
cleong110
https://github.com/huggingface/datasets/issues/7691
null
false
3,244,380,691
7,690
HDF5 support
closed
[ "A few to-dos which I think can be left for future PRs (which I am happy to do/help with -- just this one is already huge 😄 ):\r\n- [Enum types](https://docs.h5py.org/en/stable/special.html#enumerated-types)\r\n- HDF5 [io](https://github.com/huggingface/datasets/tree/main/src/datasets/io)\r\n- [dataset-viewer](htt...
2025-07-18T21:09:41
2025-08-19T15:18:58
2025-08-19T13:28:53
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 using `Features(dict)`. All datasets within the HDF5 file should have rows on the first dimension (group...
klamike
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": "2025-08-19T13:28...
true
3,242,580,301
7,689
BadRequestError for loading dataset?
closed
[ "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...
2025-07-18T09:30:04
2025-07-18T11:59:51
2025-07-18T11:52:29
### 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...
WPoelman
https://github.com/huggingface/datasets/issues/7689
null
false
3,238,851,443
7,688
No module named "distributed"
open
[ "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 ...
2025-07-17T09:32:35
2025-07-25T15:14:19
null
### 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...
yingtongxiong
https://github.com/huggingface/datasets/issues/7688
null
false
3,238,760,301
7,687
Datasets keeps rebuilding the dataset every time i call the python script
open
[ "here is the code to load the dataset form the cache:\n\n```python\ns = load_dataset('databricks/databricks-dolly-15k')['train']\n```\n\nif you pass the location of a local directory it will create a new cache based on that directory content" ]
2025-07-17T09:03:38
2025-07-25T15:21:31
null
### 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...
CALEB789
https://github.com/huggingface/datasets/issues/7687
null
false
3,237,201,090
7,686
load_dataset does not check .no_exist files in the hub cache
open
[]
2025-07-16T20:04:00
2025-07-16T20:04:00
null
### 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...
jmaccarl
https://github.com/huggingface/datasets/issues/7686
null
false
3,236,979,340
7,685
Inconsistent range request behavior for parquet REST api
open
[ "This is a weird bug, is it a range that is supposed to be satisfiable ? I mean, is it on the boundraries ?\n\nLet me know if you'r e still having the issue, in case it was just a transient bug", "@lhoestq yes the ranges are supposed to be satisfiable, and _sometimes_ they are. \n\nThe head requests show that it ...
2025-07-16T18:39:44
2025-08-11T08:16:54
null
### 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...
universalmind303
https://github.com/huggingface/datasets/issues/7685
null
false
3,231,680,474
7,684
fix audio cast storage from array + sampling_rate
closed
[ "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." ]
2025-07-15T10:13:42
2025-07-15T10:24:08
2025-07-15T10:24:07
fix https://github.com/huggingface/datasets/issues/7682
lhoestq
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...
true
3,231,553,161
7,683
Convert to string when needed + faster .zstd
closed
[ "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." ]
2025-07-15T09:37:44
2025-07-15T10:13:58
2025-07-15T10:13:56
for https://huggingface.co/datasets/allenai/olmo-mix-1124
lhoestq
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...
true
3,229,687,253
7,682
Fail to cast Audio feature for numpy arrays in datasets 4.0.0
closed
[ "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!" ]
2025-07-14T18:41:02
2025-07-15T12:10:39
2025-07-15T10:24:08
### 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 ...
luatil-cloud
https://github.com/huggingface/datasets/issues/7682
null
false
3,227,112,736
7,681
Probabilistic High Memory Usage and Freeze on Python 3.10
open
[]
2025-07-14T01:57:16
2025-07-14T01:57:16
null
### 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...
ryan-minato
https://github.com/huggingface/datasets/issues/7681
null
false
3,224,824,151
7,680
Question about iterable dataset and streaming
open
[ "> 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...
2025-07-12T04:48:30
2025-08-01T13:01:48
null
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...
Tavish9
https://github.com/huggingface/datasets/issues/7680
null
false
3,220,787,371
7,679
metric glue breaks with 4.0.0
closed
[ "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!" ]
2025-07-10T21:39:50
2025-07-11T17:42:01
2025-07-11T17:42:01
### 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...
stas00
https://github.com/huggingface/datasets/issues/7679
null
false
3,218,625,544
7,678
To support decoding audio data, please install 'torchcodec'.
closed
[ "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]...
2025-07-10T09:43:13
2025-07-22T03:46:52
2025-07-11T05:05:42
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...
alpcansoydas
https://github.com/huggingface/datasets/issues/7678
null
false
3,218,044,656
7,677
Toxicity fails with datasets 4.0.0
closed
[ "Hi ! You can fix this by upgrading `evaluate`:\n\n```\npip install -U evaluate\n```", "Thanks, verified evaluate 0.4.5 works!" ]
2025-07-10T06:15:22
2025-07-11T04:40:59
2025-07-11T04:40:59
### 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:...
serena-ruan
https://github.com/huggingface/datasets/issues/7677
null
false
3,216,857,559
7,676
Many things broken since the new 4.0.0 release
open
[ "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 ...
2025-07-09T18:59:50
2025-09-18T16:33:34
null
### 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...
mobicham
https://github.com/huggingface/datasets/issues/7676
null
false
3,216,699,094
7,675
common_voice_11_0.py failure in dataset library
open
[ "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...
2025-07-09T17:47:59
2025-07-22T09:35:42
null
### 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...
egegurel
https://github.com/huggingface/datasets/issues/7675
null
false
3,216,251,069
7,674
set dev version
closed
[ "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." ]
2025-07-09T15:01:25
2025-07-09T15:04:01
2025-07-09T15:01:33
null
lhoestq
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...
true
3,216,075,633
7,673
Release: 4.0.0
closed
[ "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." ]
2025-07-09T14:03:16
2025-07-09T14:36:19
2025-07-09T14:36:18
null
lhoestq
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...
true
3,215,287,164
7,672
Fix double sequence
closed
[ "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." ]
2025-07-09T09:53:39
2025-07-09T09:56:29
2025-07-09T09:56:28
```python >>> Features({"a": Sequence(Sequence({"c": Value("int64")}))}) {'a': List({'c': List(Value('int64'))})} ``` instead of `{'a': {'c': List(List(Value('int64')))}}`
lhoestq
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...
true
3,213,223,886
7,671
Mapping function not working if the first example is returned as None
closed
[ "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." ]
2025-07-08T17:07:47
2025-07-09T12:30:32
2025-07-09T12:30:32
### 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...
dnaihao
https://github.com/huggingface/datasets/issues/7671
null
false
3,208,962,372
7,670
Fix audio bytes
closed
[ "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." ]
2025-07-07T13:05:15
2025-07-07T13:07:47
2025-07-07T13:05:33
null
lhoestq
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...
true
3,203,541,091
7,669
How can I add my custom data to huggingface datasets
open
[ "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...
2025-07-04T19:19:54
2025-07-05T18:19:37
null
I want to add my custom dataset in huggingface dataset. Please guide me how to achieve that.
xiagod
https://github.com/huggingface/datasets/issues/7669
null
false
3,199,039,322
7,668
Broken EXIF crash the whole program
open
[ "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 !)" ]
2025-07-03T11:24:15
2025-07-03T12:27:16
null
### 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...
Seas0
https://github.com/huggingface/datasets/issues/7668
null
false
3,196,251,707
7,667
Fix infer list of images
closed
[ "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." ]
2025-07-02T15:07:58
2025-07-02T15:10:28
2025-07-02T15:08:03
cc @kashif
lhoestq
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...
true
3,196,220,722
7,666
Backward compat list feature
closed
[ "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." ]
2025-07-02T14:58:00
2025-07-02T15:00:37
2025-07-02T14:59:40
cc @kashif
lhoestq
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...
true
3,193,239,955
7,665
Function load_dataset() misinterprets string field content as part of dataset schema when dealing with `.jsonl` files
closed
[ "Somehow I created the issue twice🙈 This one is an exact duplicate of #7664." ]
2025-07-01T17:14:53
2025-07-01T17:17:48
2025-07-01T17:17:48
### 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:...
zdzichukowalski
https://github.com/huggingface/datasets/issues/7665
null
false
3,193,239,035
7,664
Function load_dataset() misinterprets string field content as part of dataset schema when dealing with `.jsonl` files
open
[ "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...
2025-07-01T17:14:32
2025-07-09T13:14:11
null
### 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:...
zdzichukowalski
https://github.com/huggingface/datasets/issues/7664
null
false
3,192,582,371
7,663
Custom metadata filenames
closed
[ "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." ]
2025-07-01T13:50:36
2025-07-01T13:58:41
2025-07-01T13:58:39
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: ...
lhoestq
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...
true
3,190,805,531
7,662
Applying map after transform with multiprocessing will cause OOM
open
[ "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 ...
2025-07-01T05:45:57
2025-07-10T06:17:40
null
### 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...
JunjieLl
https://github.com/huggingface/datasets/issues/7662
null
false
3,190,408,237
7,661
fix del tqdm lock error
open
[ "let's see which solution is found at https://github.com/huggingface/huggingface_hub/pull/3286 and do the same maybe ?" ]
2025-07-01T02:04:02
2025-08-13T13:16:44
null
fixes https://github.com/huggingface/datasets/issues/7660
Hypothesis-Z
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
7,660
AttributeError: type object 'tqdm' has no attribute '_lock'
open
[ "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 ...
2025-06-30T15:57:16
2025-07-03T15:14:27
null
### 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...
Hypothesis-Z
https://github.com/huggingface/datasets/issues/7660
null
false
3,187,882,217
7,659
Update the beans dataset link in Preprocess
closed
[]
2025-06-30T09:58:44
2025-07-07T08:38:19
2025-07-01T14:01:42
In the Preprocess tutorial, the to "the beans dataset" is incorrect. Fixed.
HJassar
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...
true
3,187,800,504
7,658
Fix: Prevent loss of info.features and column_names in IterableDatasetDict.map when features is None
closed
[ "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...
2025-06-30T09:31:12
2025-07-01T16:26:30
2025-07-01T16:26:12
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...
ArjunJagdale
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
7,657
feat: add subset_name as alias for name in load_dataset
open
[]
2025-06-29T10:39:00
2025-07-18T17:45:41
null
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...
ArjunJagdale
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
7,656
fix(iterable): ensure MappedExamplesIterable supports state_dict for resume
open
[]
2025-06-29T07:50:13
2025-06-29T07:50:13
null
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...
ArjunJagdale
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
7,655
Added specific use cases in Improve Performace
open
[]
2025-06-28T19:00:32
2025-06-28T19:00:32
null
Fixes #2494
ArjunJagdale
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
7,654
fix(load): strip deprecated use_auth_token from config_kwargs
open
[]
2025-06-28T09:20:21
2025-06-28T09:20:21
null
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...
ArjunJagdale
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
7,653
feat(load): fallback to `load_from_disk()` when loading a saved dataset directory
open
[]
2025-06-28T08:47:36
2025-06-28T08:47:36
null
### 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...
ArjunJagdale
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
7,652
Add columns support to JSON loader for selective key filtering
closed
[ "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...
2025-06-27T16:18:42
2025-09-04T17:35:31
2025-09-04T17:35:31
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...
ArjunJagdale
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
7,651
fix: Extended metadata file names for folder_based_builder
open
[]
2025-06-27T13:12:11
2025-06-30T08:19:37
null
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.
iPieter
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
7,650
`load_dataset` defaults to json file format for datasets with 1 shard
open
[]
2025-06-27T12:54:25
2025-06-27T12:54:25
null
### 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...
iPieter
https://github.com/huggingface/datasets/issues/7650
null
false
3,181,481,444
7,649
Enable parallel shard upload in push_to_hub() using num_proc
closed
[ "it was already added in https://github.com/huggingface/datasets/pull/7606 actually ^^'", "Oh sure sure, Closing this one as redundant." ]
2025-06-27T05:59:03
2025-07-07T18:13:53
2025-07-07T18:13:52
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...
ArjunJagdale
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
7,648
Fix misleading add_column() usage example in docstring
closed
[ "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...
2025-06-27T05:27:04
2025-07-28T19:42:34
2025-07-17T13:14:17
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...
ArjunJagdale
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...
true
3,178,952,517
7,647
loading mozilla-foundation--common_voice_11_0 fails
open
[ "@claude Could you please address this issue", "kinda related: https://github.com/huggingface/datasets/issues/7675" ]
2025-06-26T12:23:48
2025-07-10T14:49:30
null
### 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...
pavel-esir
https://github.com/huggingface/datasets/issues/7647
null
false
3,178,036,854
7,646
Introduces automatic subset-level grouping for folder-based dataset builders #7066
open
[ "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...
2025-06-26T07:01:37
2025-07-14T10:42:56
null
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...
ArjunJagdale
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
7,645
`ClassLabel` docs: Correct value for unknown labels
open
[]
2025-06-25T20:01:35
2025-06-25T20:01:35
null
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
l-uuz
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
7,644
fix sequence ci
closed
[ "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." ]
2025-06-25T17:07:55
2025-06-25T17:10:30
2025-06-25T17:08:01
fix error from https://github.com/huggingface/datasets/pull/7643
lhoestq
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...
true
3,176,354,431
7,643
Backward compat sequence instance
closed
[ "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." ]
2025-06-25T17:05:09
2025-06-25T17:07:40
2025-06-25T17:05:44
useful to still get `isinstance(Sequence(Value("int64")), Sequence)`for downstream libs like evaluate
lhoestq
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...
true
3,176,025,890
7,642
fix length for ci
closed
[]
2025-06-25T15:10:38
2025-06-25T15:11:53
2025-06-25T15:11:51
null
lhoestq
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...
true
3,175,953,405
7,641
update docs and docstrings
closed
[ "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." ]
2025-06-25T14:48:58
2025-06-25T14:51:46
2025-06-25T14:49:33
null
lhoestq
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...
true
3,175,914,924
7,640
better features repr
closed
[ "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." ]
2025-06-25T14:37:32
2025-06-25T14:46:47
2025-06-25T14:46:45
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...
lhoestq
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...
true
3,175,616,169
7,639
fix save_infos
closed
[ "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." ]
2025-06-25T13:16:26
2025-06-25T13:19:33
2025-06-25T13:16:33
null
lhoestq
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...
true
3,172,645,391
7,638
Add ignore_decode_errors option to Image feature for robust decoding #7612
open
[ "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...
2025-06-24T16:47:51
2025-07-04T07:07:30
null
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 ...
ArjunJagdale
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
7,637
Introduce subset_name as an alias of config_name
open
[ "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...
2025-06-24T12:49:01
2025-07-01T16:08:33
null
### 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...
albertvillanova
https://github.com/huggingface/datasets/issues/7637
null
false
3,170,878,167
7,636
"open" in globals()["__builtins__"], an error occurs: "TypeError: argument of type 'module' is not iterable"
open
[ "@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 ...
2025-06-24T08:09:39
2025-07-10T04:13:16
null
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...
kuanyan9527
https://github.com/huggingface/datasets/issues/7636
null
false
3,170,486,408
7,635
Fix: Preserve float columns in JSON loader when values are integer-like (e.g. 0.0, 1.0)
open
[]
2025-06-24T06:16:48
2025-06-24T06:16:48
null
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...
ArjunJagdale
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
7,634
Replace Sequence by List
closed
[ "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." ]
2025-06-23T20:35:48
2025-06-25T13:59:13
2025-06-25T13:59:11
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...
lhoestq
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...
true
3,168,399,637
7,633
Proposal: Small Tamil Discourse Coherence Dataset.
open
[]
2025-06-23T14:24:40
2025-06-23T14:24:40
null
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...
bikkiNitSrinagar
https://github.com/huggingface/datasets/issues/7633
null
false
3,168,283,589
7,632
Graceful Error Handling for cast_column("image", Image(decode=True)) in Hugging Face Datasets
open
[ "Hi! This is now handled in PR #7638", "Thank you for implementing the suggestion it would be great help in our use case. " ]
2025-06-23T13:49:24
2025-07-08T06:52:53
null
### 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...
ganiket19
https://github.com/huggingface/datasets/issues/7632
null
false
3,165,127,657
7,631
Pass user-agent from DownloadConfig into fsspec storage_options
open
[ "- 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." ]
2025-06-21T14:22:25
2025-06-21T14:25:28
null
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...
ArjunJagdale
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
7,630
[bug] resume from ckpt skips samples if .map is applied
open
[ "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...
2025-06-21T01:50:03
2025-06-29T07:51:32
null
### 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...
felipemello1
https://github.com/huggingface/datasets/issues/7630
null
false
3,161,169,782
7,629
Add test for `as_iterable_dataset()` method in DatasetBuilder
open
[]
2025-06-19T19:23:55
2025-06-19T19:23:55
null
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...
ArjunJagdale
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
7,628
Add `as_iterable_dataset()` method to DatasetBuilder for streaming from cached Arrow files
open
[]
2025-06-19T19:15:41
2025-06-19T19:15:41
null
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...
ArjunJagdale
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
7,627
Creating a HF Dataset from lakeFS with S3 storage takes too much time!
closed
[ "### > 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...
2025-06-19T14:28:41
2025-06-23T12:39:10
2025-06-23T12:39:10
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...
Thunderhead-exe
https://github.com/huggingface/datasets/issues/7627
null
false
3,159,322,138
7,626
feat(map): reuse unchanged columns when input_columns specified to reduce disk usage (#6013)
closed
[]
2025-06-19T07:41:45
2025-07-28T17:39:12
2025-07-28T17:39:12
## 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 ...
ArjunJagdale
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
7,625
feat: Add h5folder dataset loader for HDF5 support
open
[ "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...
2025-06-19T05:39:10
2025-06-26T05:44:26
null
### 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...
ArjunJagdale
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
7,624
#Dataset Make "image" column appear first in dataset preview UI
closed
[ "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" ]
2025-06-18T09:25:19
2025-06-20T07:46:43
2025-06-20T07:46:43
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...
jcerveto
https://github.com/huggingface/datasets/issues/7624
null
false
3,154,519,684
7,623
fix: raise error in FolderBasedBuilder when data_dir and data_files are missing
closed
[ "@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...
2025-06-17T19:16:34
2025-06-18T14:18:41
2025-06-18T14:18:41
### 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...
ArjunJagdale
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...
true
3,154,398,557
7,622
Guard against duplicate builder_kwargs/config_kwargs in load_dataset_…
closed
[ "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 " ]
2025-06-17T18:28:35
2025-07-23T14:06:20
2025-07-23T14:06:20
…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...
Shohail-Ismail
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
7,621
minor docs data aug
closed
[ "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." ]
2025-06-17T14:46:57
2025-06-17T14:50:28
2025-06-17T14:47:11
null
lhoestq
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...
true
3,153,565,183
7,620
Fixes in docs
closed
[ "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." ]
2025-06-17T13:41:54
2025-06-17T13:58:26
2025-06-17T13:58:24
before release 4.0 (I also did minor improvements to `features` to not show their `id=None` in their `__repr__()`)
lhoestq
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...
true
3,153,058,517
7,619
`from_list` fails while `from_generator` works for large datasets
open
[ "@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...
2025-06-17T10:58:55
2025-06-29T16:34:44
null
### 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...
abdulfatir
https://github.com/huggingface/datasets/issues/7619
null
false
3,148,912,897
7,618
fix: raise error when folder-based datasets are loaded without data_dir or data_files
open
[ "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." ]
2025-06-16T07:43:59
2025-06-16T12:13:26
null
### 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...
ArjunJagdale
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
7,617
Unwanted column padding in nested lists of dicts
closed
[ "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...
2025-06-15T22:06:17
2025-06-16T13:43:31
2025-06-16T13:43:31
```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': '...
qgallouedec
https://github.com/huggingface/datasets/issues/7617
null
false
3,144,506,665
7,616
Torchcodec decoding
closed
[ "@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...
2025-06-13T19:06:07
2025-06-19T18:25:49
2025-06-19T18:25:49
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_...
TyTodd
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...
true
3,143,443,498
7,615
remove unused code
closed
[ "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." ]
2025-06-13T12:37:30
2025-06-13T12:39:59
2025-06-13T12:37:40
null
lhoestq
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...
true
3,143,381,638
7,614
Lazy column
closed
[ "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." ]
2025-06-13T12:12:57
2025-06-17T13:08:51
2025-06-17T13:08:49
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...
lhoestq
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...
true
3,142,819,991
7,613
fix parallel push_to_hub in dataset_dict
closed
[ "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." ]
2025-06-13T09:02:24
2025-06-13T12:30:23
2025-06-13T12:30:22
null
lhoestq
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...
true
3,141,905,049
7,612
Provide an option of robust dataset iterator with error handling
open
[ "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...
2025-06-13T00:40:48
2025-06-24T16:52:30
null
### 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....
wwwjn
https://github.com/huggingface/datasets/issues/7612
null
false
3,141,383,940
7,611
Code example for dataset.add_column() does not reflect correct way to use function
closed
[ "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" ]
2025-06-12T19:42:29
2025-07-17T13:14:18
2025-07-17T13:14:18
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.
shaily99
https://github.com/huggingface/datasets/issues/7611
null
false
3,141,281,560
7,610
i cant confirm email
open
[ "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...
2025-06-12T18:58:49
2025-06-27T14:36:47
null
### 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
lykamspam
https://github.com/huggingface/datasets/issues/7610
null
false
3,140,373,128
7,609
Update `_dill.py` to use `co_linetable` for Python 3.10+ in place of `co_lnotab`
closed
[ "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...
2025-06-12T13:47:01
2025-06-16T12:14:10
2025-06-16T12:14:08
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...
qgallouedec
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...
true
3,137,564,259
7,608
Tests typing and fixes for push_to_hub
closed
[ "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." ]
2025-06-11T17:13:52
2025-06-12T21:15:23
2025-06-12T21:15:21
todo: - [x] fix TestPushToHub.test_push_dataset_dict_to_hub_iterable_num_proc
lhoestq
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...
true
3,135,722,560
7,607
Video and audio decoding with torchcodec
closed
[ "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...
2025-06-11T07:02:30
2025-06-19T18:25:49
2025-06-19T18:25:49
### 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...
TyTodd
https://github.com/huggingface/datasets/issues/7607
null
false
3,133,848,546
7,606
Add `num_proc=` to `.push_to_hub()` (Dataset and IterableDataset)
closed
[ "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." ]
2025-06-10T14:35:10
2025-06-11T16:47:28
2025-06-11T16:47:25
null
lhoestq
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...
true
3,131,636,882
7,605
Make `push_to_hub` atomic (#7600)
closed
[ "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...
2025-06-09T22:29:38
2025-06-23T19:32:08
2025-06-23T19:32:08
null
sharvil
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
7,604
Docs and more methods for IterableDataset: push_to_hub, to_parquet...
closed
[ "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." ]
2025-06-09T16:44:40
2025-06-10T13:15:23
2025-06-10T13:15:21
to_csv, to_json, to_sql, to_pandas, to_polars, to_dict, to_list
lhoestq
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...
true
3,130,394,563
7,603
No TF in win tests
closed
[ "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." ]
2025-06-09T13:56:34
2025-06-09T15:33:31
2025-06-09T15:33:30
null
lhoestq
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...
true
3,128,758,924
7,602
Enhance error handling and input validation across multiple modules
open
[]
2025-06-08T23:01:06
2025-06-08T23:01:06
null
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...
mohiuddin-khan-shiam
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
7,600
`push_to_hub` is not concurrency safe (dataset schema corruption)
closed
[ "@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...
2025-06-07T17:28:56
2025-07-31T10:00:50
2025-07-31T10:00:50
### 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 (...
sharvil
https://github.com/huggingface/datasets/issues/7600
null
false
3,125,620,119
7,599
My already working dataset (when uploaded few months ago) now is ignoring metadata.jsonl
closed
[ "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...
2025-06-06T18:59:00
2025-06-16T15:18:00
2025-06-16T15:18:00
### 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...
JuanCarlosMartinezSevilla
https://github.com/huggingface/datasets/issues/7599
null
false
3,125,184,457
7,598
fix string_to_dict usage for windows
closed
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7598). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
2025-06-06T15:54:29
2025-06-06T16:12:22
2025-06-06T16:12:21
null
lhoestq
https://github.com/huggingface/datasets/pull/7598
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7598", "html_url": "https://github.com/huggingface/datasets/pull/7598", "diff_url": "https://github.com/huggingface/datasets/pull/7598.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7598.patch", "merged_at": "2025-06-06T16:12...
true
3,123,962,709
7,597
Download datasets from a private hub in 2025
closed
[ "Hi ! First, and in the general case, Hugging Face does offer to host private datasets, and with a subscription you can even choose the region in which the repositories are hosted (US, EU)\n\nThen if you happen to have a private deployment, you can set the HF_ENDPOINT environment variable (same as in https://github...
2025-06-06T07:55:19
2025-06-13T13:46:00
2025-06-13T13:46:00
### Feature request In the context of a private hub deployment, customers would like to use load_dataset() to load datasets from their hub, not from the public hub. This doesn't seem to be configurable at the moment and it would be nice to add this feature. The obvious workaround is to clone the repo first and then l...
DanielSchuhmacher
https://github.com/huggingface/datasets/issues/7597
null
false
3,122,595,042
7,596
Add albumentations to use dataset
closed
[ "@lhoestq ping", "@lhoestq ping", "@lhoestq Thanks. Cleaned up torchvision." ]
2025-06-05T20:39:46
2025-06-17T18:38:08
2025-06-17T14:44:30
1. Fixed broken link to the list of transforms in torchvison. 2. Extended section about video image augmentations with an example from Albumentations.
ternaus
https://github.com/huggingface/datasets/pull/7596
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7596", "html_url": "https://github.com/huggingface/datasets/pull/7596", "diff_url": "https://github.com/huggingface/datasets/pull/7596.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7596.patch", "merged_at": "2025-06-17T14:44...
true