id
int64
3.24B
3.78B
number
int64
7.69k
7.93k
title
stringlengths
1
130
body
stringlengths
1
11.3k
state
stringclasses
2 values
html_url
stringlengths
51
51
pull_request
dict
created_at
timestamp[s]date
2025-07-18 09:30:04
2026-01-03 04:23:54
updated_at
timestamp[s]date
2025-07-18 11:59:51
2026-07-08 10:43:11
closed_at
timestamp[s]date
2025-07-18 11:52:29
2026-06-01 10:14:53
comments
listlengths
0
30
is_pull_request
bool
1 class
3,777,662,799
7,931
Enable CORS + HTTP Range support for browser partial reads on cas-bridge.xethub.hf.co (Parquet row-group access)
### Feature request ## Summary Browser-based data tools need Range requests to read Parquet efficiently (footer + selected row groups). Downloads from the Hub redirect to cas-bridge.xethub.hf.co (Xet bridge). The redirected host fails CORS preflight for Range/HEAD workflows, blocking partial reads. ([Hugging Face](htt...
closed
https://github.com/huggingface/datasets/issues/7931
null
2026-01-03T04:23:54
2026-02-24T21:31:37
2026-02-24T16:35:44
[ "Cc @assafvayner maybe ? or @cfahlgren1 @severo if you've already encountered this ?", "OK, reproduced with hyparquet on https://huggingface.co/spaces/hyperparam/hyperparam, see https://huggingface.co/spaces/hyperparam/hyperparam?url=https%3A%2F%2Fhuggingface.co%2Fdatasets%2Ffacebook%2Fresearch-plan-gen%2Fblob%2F...
false
3,775,842,185
7,928
`load_dataset` `revision` param not respected when fetching from cache
### Describe the bug `datasets.load_dataset` `revision` semantics are a bit inconsistent when the dataset is not found on the huggingface hub. When fetching the latest cached version of the dataset, the `revision` argument is ignored, so long as any cached versions of the dataset already exist in the HF cache. ### St...
open
https://github.com/huggingface/datasets/issues/7928
null
2026-01-02T08:20:47
2026-04-17T16:01:16
null
[ "This might be better placed as a feature request not a bug, since the logging `Using the latest cached version of the dataset since sentientfutures/ahb couldn't be found on the Hugging Face Hub` is clear.", "https://github.com/huggingface/datasets/pull/7929 This only solves the case of invalid revisions. Fetchin...
false
3,775,302,438
7,927
Using Stateful Dataloader with Split Dataset By Node and DCP for DDP
### Describe the bug I am trying to determine how to save and load the Stateful Dataloader State with DCP and Split Dataset by Node for DDP. Currently, I am running into the issue where I am receiving a slow resume. ``` Neither dataset nor iter(dataset) defines state_dict/load_state_dict so we are naively fast-forwar...
open
https://github.com/huggingface/datasets/issues/7927
null
2026-01-01T22:27:07
2026-02-01T06:13:30
null
[ "Does it need to be pickled?\n\n```python\n def load_state_dict(self, state_dict):\n hf_state = pickle.loads(state_dict[\"data\"])\n self.train_dataset.load_state_dict(hf_state)\n\n def state_dict(self):\n return {\"data\": pickle.dumps(self.train_dataset.state_dict())}\n```", "Pickling...
false
3,772,247,021
7,922
Support Apache TsFile Datasets
### Feature request I would love to use Hugging Face datasets library to directly load datasets composed of .tsfile files, for example: `ds = load_dataset("username/dataset-with-tsfile-files")` This feature would allow researchers working on time-series tasks to seamlessly integrate datasets stored in the Apache TsF...
closed
https://github.com/huggingface/datasets/issues/7922
null
2025-12-31T08:07:51
2026-06-01T10:14:53
2026-06-01T10:14:53
[ "A large quantity of industrial timeseries data has been stored as TsFile, and I have been constantly hearing about AI fellows complaining about the lack of data or the insufficiency of data quality.\n\nI like the ambition that uses TsFile as the bridge between AI research and industrial analysis requirements. This...
false
3,765,489,462
7,918
datasets.load_from_disk doesn't show progress bar
### Describe the bug This is the inverse of the bug at [https://github.com/huggingface/datasets/issues/7030](https://github.com/huggingface/datasets/issues/7030), i.e. that `datasets.load_from_disk(path)` displays no progress bar. My dataset has > 16 files in it. I am redirecting stdout as I capture the log, could th...
closed
https://github.com/huggingface/datasets/issues/7918
null
2025-12-28T09:14:41
2026-01-16T14:44:50
2026-01-16T14:44:50
[ "#self-assign" ]
false
3,764,913,807
7,917
IterableDataset supports automatic sharding
### Feature request Added sharding function support to the streaming IterableDataset, allowing users to adjust the number of shards according to their training resources. For example: ``` dataset = load_dataset(*, stream=True) dataset = dataset.shard(num_shards=num_shards, num_samples=num_samples) #We may need to know...
open
https://github.com/huggingface/datasets/issues/7917
null
2025-12-27T16:48:29
2025-12-29T16:06:52
null
[ "You can already use `.shard()` instead like this:\n\n```python\ndataset = dataset.shard(index=rank, num_shards=world_size)\n```\n\nnote that it requires that `dataset.num_shards >= world_size`, and that it may result in nodes having the same number of shards +- 1", "> You can already use `.shard()` instead like ...
false
3,764,901,707
7,916
No description provided.
null
closed
https://github.com/huggingface/datasets/issues/7916
null
2025-12-27T16:33:11
2025-12-27T16:45:22
2025-12-27T16:45:22
[]
false
3,762,042,396
7,915
GDPval dataset Word docs corrupted
The [openai/gdpval](https://huggingface.co/datasets/openai/gdpval) dataset on Hugging Face contains Word .docx files with two types of corruption that cause Microsoft Word to display an "unreadable content" error. ### Root Causes 1. **Corrupted settings.xml**: The `word/settings.xml` file uses incorrect namespace pre...
open
https://github.com/huggingface/datasets/issues/7915
null
2025-12-25T13:56:55
2025-12-26T09:06:13
null
[ "tentatively tagging @simonpfish ^\n\n(if it's an option you could enable PRs/Discussions on your dataset on HF)" ]
false
3,760,894,100
7,914
[ROCm] please install 'torchcodec'
### Describe the bug Datasets library is widely used by many Python packages. Naturally, it is a requirement on many platforms. This includes vLLM for ROCm. During audio dataset tests, there is an exception triggered: ```python def decode_example( self, value: dict, token_per_repo_id: Optional[dict[str, Un...
open
https://github.com/huggingface/datasets/issues/7914
null
2025-12-24T19:39:17
2026-03-04T10:18:33
null
[ "I was able to install torchcodec by building it from source and have put together a PR: https://github.com/vllm-project/vllm/pull/31323\n\nStill I think it would make this framework more robust to add at least one fallback lib (that is more widely used) in place should torchcodec installation fail or library is no...
false
3,753,447,559
7,911
IndexError when saving few large examples to disk
### Describe the bug I ran into this issue when processing a file (900MB) with just one example but simplified for a quicker reproducer below. The problem is that, if `num_shards` is not explicitly set, we calculate it manually using https://github.com/huggingface/datasets/blob/main/src/datasets/utils/py_utils.py#L96 ...
closed
https://github.com/huggingface/datasets/issues/7911
null
2025-12-22T11:33:19
2026-01-09T13:23:53
2026-01-09T13:23:52
[]
false
3,749,885,131
7,909
Support cast_kwargs in cast_columns
### Feature request expose `cast(**cast_kwargs)` to `cast_column()` https://github.com/huggingface/datasets/blob/0feb65dd8733191dd2d1e74215b422fc5939a56a/src/datasets/arrow_dataset.py#L2205 ### Motivation `cast_column()` wraps `cast()` function without exposing any `cast()` args. For large multi-modal datasets, e.g...
open
https://github.com/huggingface/datasets/issues/7909
null
2025-12-20T10:02:07
2025-12-20T10:28:01
null
[]
false
3,734,233,245
7,905
Unbounded network usage when opening Data Studio
### Describe the bug Opening the Data Studio tab on a dataset page triggers continuous and unbounded network traffic. This issue occurs across multiple browsers and continues even without user interaction. ### Steps to reproduce the bug https://huggingface.co/datasets/slone/nllb-200-10M-sample/viewer ### Expected...
closed
https://github.com/huggingface/datasets/issues/7905
null
2025-12-16T10:45:02
2026-01-06T15:04:43
2026-01-06T15:04:43
[ "cc @cfahlgren1", "Thanks for reporting! Looking into this!", "This should be fixed. Thank you for your patience! 🤗" ]
false
3,727,978,498
7,904
Request: Review pending neuroimaging PRs (#7886 BIDS loader, #7887 lazy loading)
## Summary I'm building production neuroimaging pipelines that depend on `datasets` and would benefit greatly from two pending PRs being reviewed/merged. ## Pending PRs | PR | Description | Status | Open Since | |----|-------------|--------|------------| | [#7886](https://github.com/huggingface/datasets/pull/7886) |...
open
https://github.com/huggingface/datasets/issues/7904
null
2025-12-14T20:34:31
2025-12-15T11:25:29
null
[ "Hi ! sure I'll be happy to take a look, sorry for the delay :)" ]
false
3,723,281,150
7,902
The child process retrieves the dataset directly from the main process instead of executing `memory_mapped_arrow_table_from_file`.
### Feature request The child process retrieves the dataset directly from the main process instead of executing `memory_mapped_arrow_table_from_file`. ### Motivation Because my local disk space is insufficient, I can only store a dataset on a remote Ceph server and process it using datasets. I used the data-juicer[h...
open
https://github.com/huggingface/datasets/issues/7902
null
2025-12-12T12:37:44
2025-12-15T11:48:16
null
[ "Memory mapping is actually the way for processes to share memory efficiently and without copy. It is efficient when on are using a local disk, and it's discouraged to use it on remote disk for the reasons you observed.\n\nWhat you can do instead is save the dataset as Parquet on your remote storage (or on Hugging ...
false
3,722,243,543
7,901
ShuffledDataSourcesArrowExamplesIterable cannot properly resume from checkpoint
### Describe the bug ShuffledDataSourcesArrowExamplesIterable cannot properly resume from checkpoint ### Steps to reproduce the bug 1. The reproducible code is as follows: ``` from datasets import Dataset, concatenate_datasets, interleave_datasets ds = Dataset.from_dict({"a": range(12)}).to_iterable_dataset(num_sha...
open
https://github.com/huggingface/datasets/issues/7901
null
2025-12-12T06:57:32
2025-12-16T19:34:46
null
[ "Hi ! As you can read in the logs, the shuffle buffer content is lost when resuming a shuffled dataset. The default size is 1000 examples, but you can tweak it\n\ne.g. if you run your code with this\n\n```diff\n- ds = Dataset.from_dict({\"a\": range(12)}).to_iterable_dataset(num_shards=1)\n- ds = ds.shuffle(seed=42...
false
3,711,751,590
7,900
`Permission denied` when sharing cache between users
### Describe the bug We want to use `datasets` and `transformers` on a shared machine. Right now, each user has a separate HF_HOME in their home directory. To reduce duplicates of the datasets, we want to share that cache. While experimenting, we are running into `Permission denied` errors. It looks like this was sup...
open
https://github.com/huggingface/datasets/issues/7900
null
2025-12-09T16:41:47
2026-01-09T11:08:36
null
[ "I remember a fix from last year to usr the current umask for filelock 3.10.0, which filelock version are you using ? can you try another version ?", "I believe we we are using `filelock==3.19.1`. Do you have a recommended version to use?", "Our test suite has been testing all versions over time for years now, ...
false
3,688,455,006
7,894
embed_table_storage crashes (SIGKILL) on sharded datasets with Sequence() nested types
## Summary `embed_table_storage` crashes with SIGKILL (exit code 137) when processing sharded datasets containing `Sequence()` nested types like `Sequence(Nifti())`. Likely affects `Sequence(Image())` and `Sequence(Audio())` as well. The crash occurs at the C++ level with no Python traceback. ### Related Issues - #...
open
https://github.com/huggingface/datasets/issues/7894
null
2025-12-03T04:20:06
2025-12-06T13:10:34
null
[ "I wasn't able to reproduce the crash on my side (macos arm 54, pyarrow 22 and a nifti file I found [online](https://s3.amazonaws.com/openneuro.org/ds004884/sub-M2001/ses-1076/anat/sub-M2001_ses-1076_acq-tfl3_run-4_T1w.nii.gz?versionId=9aVGb3C.VcoBgxrhNzFnL6O0MvxQsXX7&AWSAccessKeyId=AKIARTA7OOV5WQ3DGSOB&Signature=L...
false
3,688,454,085
7,893
push_to_hub OOM: _push_parquet_shards_to_hub accumulates all shard bytes in memory
## Summary Large dataset uploads crash or hang due to memory exhaustion. This appears to be the root cause of several long-standing issues. ### Related Issues This is the root cause of: - #5990 - Pushing a large dataset on the hub consistently hangs (46 comments, open since 2023) - #7400 - 504 Gateway Timeout when u...
closed
https://github.com/huggingface/datasets/issues/7893
null
2025-12-03T04:19:34
2025-12-05T22:45:59
2025-12-05T22:44:16
[ "`preupload_lfs_files` removes the parquet bytes in `shard_addition` since the default is `free_memory=True`: it doesn't accumulate in memory. Can you check this is indeed the case, i.e. that `shard_addition.path_or_fileobj` is indeed empty ?", "@lhoestq Thank you for pushing back on this and helping me understan...
false
3,668,182,561
7,883
Data.to_csv() cannot be recognized by pylance
### Describe the bug Hi, everyone ! I am a beginner with datasets. I am testing reading multiple CSV files from a zip archive. The result of reading the dataset shows success, and it can ultimately be correctly saved to CSV. Intermediate results: ``` Generating train split: 62973 examples [00:00, 175939.01 examples/...
closed
https://github.com/huggingface/datasets/issues/7883
null
2025-11-26T16:16:56
2025-12-08T12:06:58
2025-12-08T12:06:58
[]
false
3,667,664,527
7,882
Inconsistent loading of LFS-hosted files in epfml/FineWeb-HQ dataset
### Describe the bug Some files in the `epfml/FineWeb-HQ` dataset fail to load via the Hugging Face `datasets` library. - xet-hosted files load fine - LFS-hosted files sometimes fail Example: - Fails: https://huggingface.co/datasets/epfml/FineWeb-HQ/blob/main/data/CC-MAIN-2024-26/000_00003.parquet - Works: ht...
open
https://github.com/huggingface/datasets/issues/7882
null
2025-11-26T14:06:02
2025-12-19T14:09:45
null
[ "we are investigating the issue, I'll post updates here", "It should be all good now, sorry for the inconvenience.\n\nWe found an error that happened during the migration of this repository from Git LFS to Xet and fixed the issue" ]
false
3,667,561,864
7,880
Spurious label column created when audiofolder/imagefolder directories match split names
## Describe the bug When using `audiofolder` or `imagefolder` with directories for **splits** (train/test) rather than class labels, a spurious `label` column is incorrectly created. **Example:** https://huggingface.co/datasets/datasets-examples/doc-audio-4 ``` from datasets import load_dataset ds = load_dataset("dat...
open
https://github.com/huggingface/datasets/issues/7880
null
2025-11-26T13:36:24
2025-11-26T13:36:24
null
[]
false
3,657,249,446
7,879
python core dump when downloading dataset
### Describe the bug When downloading a dataset in streamed mode and exiting the program before the download completes, the python program core dumps when exiting: ``` terminate called without an active exception Aborted (core dumped) ``` Tested with python 3.12.3, python 3.9.21 ### Steps to reproduce the bug Cr...
open
https://github.com/huggingface/datasets/issues/7879
null
2025-11-24T06:22:53
2025-11-25T20:45:55
null
[ "Hi @hansewetz I'm curious, for me it works just fine. Are you still observing the issue?", "Yup ... still the same issue.\nHowever, after adding a ```sleep(1)``` call after the ``` for``` loop by accident during debugging, the program terminates properly (not a good solution though ... :-) ).\nAre there some thr...
false
3,652,906,788
7,877
work around `tempfile` silently ignoring `TMPDIR` if the dir doesn't exist
This should help a lot of users running into `No space left on device` while using `datasets`. Normally the issue is is that `/tmp` is too small and the user needs to use another path, which they would normally set as `export TMPDIR=/some/big/storage` However, the `tempfile` facility that `datasets` and `pyarrow` use ...
closed
https://github.com/huggingface/datasets/issues/7877
null
2025-11-21T19:51:48
2025-12-16T14:20:48
2025-12-16T14:20:48
[ "Hi! Just created a Pull Request (#7890) to try to fix this using your suggestions. I hope it helps!" ]
false
3,643,681,893
7,872
IterableDataset does not use features information in to_pandas
### Describe the bug `IterableDataset` created from generator with explicit `features=` parameter seems to ignore provided features description for certain operations, e.g. `.to_pandas(...)` when data coming from the generator has missing values. ### Steps to reproduce the bug ```python import datasets from datasets...
open
https://github.com/huggingface/datasets/issues/7872
null
2025-11-19T17:12:59
2025-11-19T18:52:14
null
[ "Created A PR!", "Another test script that can be used to test the behavior - \n\n```\nimport datasets\nfrom datasets import features\n\ndef test_crash():\n common_features = features.Features({\n \"a\": features.Value(\"int64\"),\n \"b\": features.List({\"c\": features.Value(\"int64\")}),\n }...
false
3,643,607,371
7,871
Reqwest Error: HTTP status client error (429 Too Many Requests)
### Describe the bug full error message: ``` Traceback (most recent call last): File "/home/yanan/miniconda3/bin/hf", line 7, in <module> sys.exit(main()) ~~~~^^ File "/home/yanan/miniconda3/lib/python3.13/site-packages/huggingface_hub/cli/hf.py", line 56, in main app() ~~~^^ File "/ho...
closed
https://github.com/huggingface/datasets/issues/7871
null
2025-11-19T16:52:24
2025-11-30T13:38:32
2025-11-30T13:38:32
[ "the dataset repo: `https://huggingface.co/datasets/nvidia/PhysicalAI-Robotics-GR00T-X-Embodiment-Sim`", "Hi @yanan1116,\n\nThanks for the detailed report! However, this issue was filed in the wrong repository. This is a `huggingface_hub` issue, not a `datasets` issue.\n\nLooking at your traceback, you're using t...
false
3,642,209,953
7,870
Visualization for Medical Imaging Datasets
This is a followup to: https://github.com/huggingface/datasets/pull/7815. I checked the possibilities to visualize the nifti (and potentially dicom), and here's what I found: - https://github.com/aces/brainbrowser, AGPL3 license, last commit 3 months ago, latest (github) release from 2017. It's available on jsdelivr...
closed
https://github.com/huggingface/datasets/issues/7870
null
2025-11-19T11:05:39
2025-11-21T12:31:19
2025-11-21T12:31:19
[ "It would be amazing to be able to show the Papaya UI in google colab / jupyter notebook. IIRC both allow serving javascript via nbextensions that we can surely use in HTML() objects.\n\nAlternatively we could also start with a simple approach and dump the medical image data as a video file that goes through the sl...
false
3,636,808,734
7,869
Why does dataset merge fail when tools have different parameters?
Hi, I have a question about SFT (Supervised Fine-tuning) for an agent model. Suppose I want to fine-tune an agent model that may receive two different tools: tool1 and tool2. These tools have different parameters and types in their schema definitions. When I try to merge datasets containing different tool definitions...
closed
https://github.com/huggingface/datasets/issues/7869
null
2025-11-18T08:33:04
2026-03-09T15:57:59
2026-03-09T15:57:58
[ "Hi @hitszxs,\n This is indeed by design,\n\nThe `datasets` library is built on top of [Apache Arrow](https://arrow.apache.org/), which uses a **columnar storage format** with strict schema requirements. When you try to concatenate/merge datasets, the library checks if features can be aligned using the [`_check_if_...
false
3,632,429,308
7,868
Data duplication with `split_dataset_by_node` and `interleaved_dataset`
### Describe the bug Data duplication in different rank, when process a iterabledataset with first `split_dataset_by_node` and then `interleaved_dataset` ### Steps to reproduce the bug I have provide a minimum scripts ```python import os from datasets import interleave_datasets, load_dataset from datasets.distribu...
closed
https://github.com/huggingface/datasets/issues/7868
null
2025-11-17T09:15:24
2026-02-04T18:55:36
2026-02-04T18:55:36
[ "Hi @ValMystletainn ,\nCan I be assigned this issue?", "> split_dataset_by_node\n\nHello, I have some questions about your intended use: (1) It seems unnecessary to use interleaving for a single dataset. (2) For multiple datasets, it seems possible to interleave first and then split by node?", "Hi ! I think int...
false
3,620,931,722
7,867
NonMatchingSplitsSizesError when loading partial dataset files
### Describe the bug When loading only a subset of dataset files while the dataset's README.md contains split metadata, the system throws a NonMatchingSplitsSizesError . This prevents users from loading partial datasets for quick validation in cases of poor network conditions or very large datasets. ### Steps to repr...
open
https://github.com/huggingface/datasets/issues/7867
null
2025-11-13T12:03:23
2025-11-16T15:39:23
null
[ "While using verification_mode='no_checks' parameter in load_dataset() can bypass this validation, this solution is not intuitive or convenient for most users, especially those who are not familiar with all the parameters of the load_dataset() function.\n\n```python\nbook_corpus_ds = load_dataset(\n \"SaylorTwif...
false
3,619,137,823
7,864
add_column and add_item erroneously(?) require new_fingerprint parameter
### Describe the bug Contradicting their documentation (which doesn't mention the parameter at all), both Dataset.add_column and Dataset.add_item require a new_fingerprint string. This parameter is passed directly to the dataset constructor, which has the fingerprint parameter listed as optional; is there any reason i...
open
https://github.com/huggingface/datasets/issues/7864
null
2025-11-13T02:56:49
2026-05-10T11:51:01
null
[ "Take this with a grain of salt, this is just my personal understanding:\nWhile you technically can overwrite the new_fingerprint with a string, e.g.\n```python\nt = d.add_column(\"new_column\", col_value, new_fingerprint=\"dummy_fp\")\nassert t._fingerprint == \"dummy_fp\" # this is true and will pass\n```\nthis ...
false
3,618,836,821
7,863
Support hosting lance / vortex / iceberg / zarr datasets on huggingface hub
### Feature request Huggingface datasets has great support for large tabular datasets in parquet with large partitions. I would love to see two things in the future: - equivalent support for `lance`, `vortex`, `iceberg`, `zarr` (in that order) in a way that I can stream them using the datasets library - more fine-gr...
open
https://github.com/huggingface/datasets/issues/7863
null
2025-11-13T00:51:07
2026-04-23T12:29:09
null
[ "Kudos!", "So cool ! Would love to see support for lance :)", "@lhoestq thanks for your support! Any suggestions across `datasets` or `huggingface_hub` projects to make this happen?\n\nI just noticed this blog post: https://huggingface.co/blog/streaming-datasets\n\nDo you know if `hfFileSystem` from `huggingfac...
false
3,611,821,713
7,861
Performance Issue: save_to_disk() 200-1200% slower due to unconditional flatten_indices()
## 🐛 Bug Description The `save_to_disk()` method unconditionally calls `flatten_indices()` when `_indices` is not None, causing severe performance degradation for datasets processed with filtering, shuffling, or multiprocessed mapping operations. **Root cause**: This line rebuilds the entire dataset unnecessarily: `...
open
https://github.com/huggingface/datasets/issues/7861
null
2025-11-11T11:05:38
2025-11-11T11:05:38
null
[]
false
3,603,729,142
7,856
Missing transcript column when loading a local dataset with "audiofolder"
### Describe the bug My local dataset is not properly loaded when using `load_dataset("audiofolder", data_dir="my_dataset")` with a `jsonl` metadata file. Only the `audio` column is read while the `transcript` column is not. The last tested `datasets` version where the behavior was still correct is 2.18.0. ### Steps...
closed
https://github.com/huggingface/datasets/issues/7856
null
2025-11-08T16:27:58
2025-11-09T12:13:38
2025-11-09T12:13:38
[ "First bad commit 5c8869f8c36dbc8c8d423030b7b7c4fd64f8c729\n\nEDIT: This is not a bug or a regression. It was a breaking change introduced in the commit I mentioned and was also documented in there. The docs state how to handle this now, see https://huggingface.co/docs/datasets/main/en/audio_load#audiofolder-with-m...
false
3,595,450,602
7,852
Problems with NifTI
### Describe the bug There are currently 2 problems with the new NifTI feature: 1. dealing with zipped files, this is mentioned and explained [here](https://github.com/huggingface/datasets/pull/7815#issuecomment-3496199503) 2. when uploading via the `niftifolder` feature, the resulting parquet only contains relative p...
closed
https://github.com/huggingface/datasets/issues/7852
null
2025-11-06T11:46:33
2025-11-06T16:20:38
2025-11-06T16:20:38
[ "> 2. when uploading via the niftifolder feature, the resulting parquet only contains relative paths to the nifti files:\n\nwhat did you use to upload the dataset ? iirc push_to_hub() does upload the bytes as well, but to_parquet() doesn't", "> > 2. when uploading via the niftifolder feature, the resulting parque...
false
3,582,182,995
7,842
Transform with columns parameter triggers on non-specified column access
### Describe the bug Iterating over a [`Column`](https://github.com/huggingface/datasets/blob/8b1bd4ec1cc9e9ce022f749abb6485ef984ae7c0/src/datasets/arrow_dataset.py#L633-L692) iterates through the parent [`Dataset`](https://github.com/huggingface/datasets/blob/8b1bd4ec1cc9e9ce022f749abb6485ef984ae7c0/src/datasets/arro...
closed
https://github.com/huggingface/datasets/issues/7842
null
2025-11-03T13:55:27
2025-11-03T14:34:13
2025-11-03T14:34:13
[]
false
3,579,506,747
7,841
DOC: `mode` parameter on pdf and video features unused
Following up on https://github.com/huggingface/datasets/pull/7840 I asked claude code to check for undocumented parameters for other features and it found: - mode parameter on video is documented but unused: https://github.com/huggingface/datasets/blob/main/src/datasets/features/video.py#L48-L49 - the same goes for the...
closed
https://github.com/huggingface/datasets/issues/7841
null
2025-11-02T12:37:47
2025-11-05T14:04:04
2025-11-05T14:04:04
[ "They seem to be artefacts from a copy-paste of the Image feature ^^' we should remove them" ]
false
3,579,121,843
7,839
datasets doesn't work with python 3.14
### Describe the bug Seems that `dataset` doesn't work with python==3.14. The root cause seems to be something with a `deel` API that was changed. ``` TypeError: Pickler._batch_setitems() takes 2 positional arguments but 3 were given ``` ### Steps to reproduce the bug (on a new folder) uv init uv python pin 3.14 uv...
closed
https://github.com/huggingface/datasets/issues/7839
null
2025-11-02T09:09:06
2025-11-04T14:02:25
2025-11-04T14:02:25
[ "Thanks for the report.\nHave you tried on main? This should work, there was recently a PR merged to address this problem, see #7817", "Works on main 👍 \nWhat's the release schedule for `datasets`? Seems like a cadence of ~2weeks so I assume a real version is due pretty soon?", "let's say we do a new release l...
false
3,575,454,726
7,837
mono parameter to the Audio feature is missing
According to the docs, there is a "mono" parameter to the Audio feature, which turns any stereo into mono. In practice the signal is not touched and the mono parameter, even though documented, does not exist. https://github.com/huggingface/datasets/blob/41c05299348a499807432ab476e1cdc4143c8772/src/datasets/features/a...
closed
https://github.com/huggingface/datasets/issues/7837
null
2025-10-31T15:41:39
2025-11-03T15:59:18
2025-11-03T14:24:12
[ "Hey, we removed the misleading passage in the docstring and enabled support for `num_channels` as torchcodec does", "thanks!" ]
false
3,558,802,959
7,834
Audio.cast_column() or Audio.decode_example() causes Colab kernel crash (std::bad_alloc)
### Describe the bug When using the huggingface datasets.Audio feature to decode a local or remote (public HF dataset) audio file inside Google Colab, the notebook kernel crashes with std::bad_alloc (C++ memory allocation failure). The crash happens even with a minimal code example and valid .wav file that can be read...
open
https://github.com/huggingface/datasets/issues/7834
null
2025-10-27T22:02:00
2025-11-15T16:28:04
null
[ "Hi ! `datasets` v4 uses `torchcodec` for audio decoding (previous versions were using `soundfile`). What is your `torchcodec` version ? Can you try other versions of `torchcodec` and see if it works ?", "When I install `datasets` with `pip install datasets[audio]` it install this version of `torchcodec`:\n```\nN...
false
3,555,991,552
7,832
[DOCS][minor] TIPS paragraph not compiled in docs/stream
In the client documentation, the markdown 'TIP' paragraph for paragraph in docs/stream#shuffle is not well executed — not as the other in the same page / while markdown is correctly considering it. Documentation: https://huggingface.co/docs/datasets/v4.3.0/en/stream#shuffle:~:text=%5B!TIP%5D%5BIterableDataset.shuffle(...
closed
https://github.com/huggingface/datasets/issues/7832
null
2025-10-27T10:03:22
2025-10-27T10:10:54
2025-10-27T10:10:54
[]
false
3,548,584,085
7,829
Memory leak / Large memory usage with num_workers = 0 and numerous dataset within DatasetDict
### Describe the bug Hi team, first off, I love the datasets library! 🥰 I'm encountering a potential memory leak / increasing memory usage when training a model on a very large DatasetDict. Setup: I have a DatasetDict containing 362 distinct datasets, which sum up to ~2.8 billion rows. Training Task: I'm performin...
open
https://github.com/huggingface/datasets/issues/7829
null
2025-10-24T09:51:38
2026-01-31T17:48:50
null
[ "Thanks for the report, this is possibly related #7722 and #7694.\n\nCould you pls provide steps to reproduce this?", "To overcome this issue right now I did simply reduce the size of the dataset and ended up running a for loop (my training has now a constant learning rate schedule). From what I understood, and I...
false
3,520,913,195
7,821
Building a dataset with large variable size arrays results in error ArrowInvalid: Value X too large to fit in C integer type
### Describe the bug I used map to store raw audio waveforms of variable lengths in a column of a dataset the `map` call fails with ArrowInvalid: Value X too large to fit in C integer type. ``` Traceback (most recent call last): Traceback (most recent call last): File "...lib/python3.12/site-packages/multiprocess/p...
open
https://github.com/huggingface/datasets/issues/7821
null
2025-10-16T08:45:17
2025-10-20T13:42:05
null
[ "Thanks for reporting ! You can fix this by specifying the output type explicitly and use `LargeList` which uses int64 for offsets:\n\n```python\nfeatures = Features({\"audio\": LargeList(Value(\"uint16\"))})\nds = ds.map(..., features=features)\n```\n\nIt would be cool to improve `list_of_pa_arrays_to_pyarrow_list...
false
3,517,086,110
7,819
Cannot download opus dataset
When I tried to download opus_books using: from datasets import load_dataset dataset = load_dataset("Helsinki-NLP/opus_books") I got the following errors: FileNotFoundError: Couldn't find any data file at /workspace/Helsinki-NLP/opus_books. Couldn't find 'Helsinki-NLP/opus_books' on the Hugging Face Hub either: Local...
open
https://github.com/huggingface/datasets/issues/7819
null
2025-10-15T09:06:19
2025-10-20T13:45:16
null
[ "Hi ! it seems \"en-zh\" doesn't exist for this dataset\n\nYou can see the list of subsets here: https://huggingface.co/datasets/Helsinki-NLP/opus_books" ]
false
3,515,887,618
7,818
train_test_split and stratify breaks with Numpy 2.0
### Describe the bug As stated in the title, since Numpy changed in version >2.0 with copy, the stratify parameters break. e.g. `all_dataset.train_test_split(test_size=0.2,stratify_by_column="label")` returns a Numpy error. It works if you downgrade Numpy to a version lower than 2.0. ### Steps to reproduce the bug ...
closed
https://github.com/huggingface/datasets/issues/7818
null
2025-10-15T00:01:19
2025-10-28T16:10:44
2025-10-28T16:10:44
[ "I can't reproduce this. Could you pls provide an example with a public dataset/artificial dataset and show how you loaded that?\n\nThis works for me:\n\n```python\nimport numpy as np\nfrom datasets import Dataset, Features, ClassLabel, Value\n\ndata = {\"text\": [f\"sample_{i}\" for i in range(100)], \"label\": [i...
false
3,512,210,206
7,816
disable_progress_bar() not working as expected
### Describe the bug Hi, I'm trying to load a dataset on Kaggle TPU image. There is some known compat issue with progress bar on Kaggle, so I'm trying to disable the progress bar globally. This does not work as you can see in [here](https://www.kaggle.com/code/windmaple/hf-datasets-issue). In contract, disabling pro...
closed
https://github.com/huggingface/datasets/issues/7816
null
2025-10-14T03:25:39
2025-10-14T23:49:26
2025-10-14T23:49:26
[ "@xianbaoqian ", "Closing this one since it's a Xet issue." ]
false
3,503,446,288
7,813
Caching does not work when using python3.14
### Describe the bug Traceback (most recent call last): File "/workspace/ctn.py", line 8, in <module> ds = load_dataset(f"naver-clova-ix/synthdog-{lang}") # или "synthdog-zh" для китайского File "/workspace/.venv/lib/python3.14/site-packages/datasets/load.py", line 1397, in load_dataset builder_instance =...
closed
https://github.com/huggingface/datasets/issues/7813
null
2025-10-10T15:36:46
2025-10-27T17:08:26
2025-10-27T17:08:26
[ "https://github.com/uqfoundation/dill/issues/725", "@intexcor does #7817 fix your problem?" ]
false
3,500,741,658
7,811
SIGSEGV when Python exits due to near null deref
### Describe the bug When I run the following python script using datasets I get a segfault. ```python from datasets import load_dataset from tqdm import tqdm progress_bar = tqdm(total=(1000), unit='cols', desc='cols ') progress_bar.update(1) ``` ``` % lldb -- python3 crashmin.py (lldb) target create "python3" Cur...
open
https://github.com/huggingface/datasets/issues/7811
null
2025-10-09T22:00:11
2025-10-10T22:09:24
null
[ "The issue seems to come from `dill` which is a `datasets` dependency, e.g. this segfaults:\n\n```python\nimport dill\nfrom tqdm import tqdm\nprogress_bar = tqdm(total=(1000), unit='cols', desc='cols ')\nprogress_bar.update(1)\n```\n\n`tqdm` seems to segfault when `dill` is imported. I only found this about segfaul...
false
3,498,534,596
7,804
Support scientific data formats
List of formats and libraries we can use to load the data in `datasets`: - [ ] DICOMs: pydicom - [x] NIfTIs: nibabel - [ ] WFDB: wfdb cc @zaRizk7 for viz Feel free to comment / suggest other formats and libs you'd like to see or to share your interest in one of the mentioned format
open
https://github.com/huggingface/datasets/issues/7804
null
2025-10-09T10:18:24
2025-11-26T16:09:43
null
[ "Please add the support for `Zarr`! That's what we use in the Bioimaging community. It is crucial, because raw upload of a *single* bio image can take _terrabytes in memory_!\n\nThe python library would be `bioio` or `zarr`:\n- [ ] Zarr: `bioio` or `zarr`\n\nSee a [Zarr example](https://ome.github.io/ome-ngff-valid...
false
3,497,454,119
7,802
[Docs] Missing documentation for `Dataset.from_dict`
Documentation link: https://huggingface.co/docs/datasets/en/package_reference/main_classes Link to method (docstring present): https://github.com/huggingface/datasets/blob/6f2502c5a026caa89839713f6f7c8b958e5e83eb/src/datasets/arrow_dataset.py#L1029 The docstring is present for the function, but seems missing from the...
open
https://github.com/huggingface/datasets/issues/7802
null
2025-10-09T02:54:41
2025-10-19T16:09:33
null
[ "I'd like to work on this documentation issue.", "Hi I'd like to work on this. I can see the docstring is already in the code. \nCould you confirm:\n1. Is this still available?\n2. Should I add this to the main_classes.md file, or is there a specific \n documentation file I should update?\n3. Are there any form...
false
3,484,470,782
7,798
Audio dataset is not decoding on 4.1.1
### Describe the bug The audio column remain as non-decoded objects even when accessing them. ```python dataset = load_dataset("MrDragonFox/Elise", split = "train") dataset[0] # see that it doesn't show 'array' etc... ``` Works fine with `datasets==3.6.0` Followed the docs in - https://huggingface.co/docs/dataset...
open
https://github.com/huggingface/datasets/issues/7798
null
2025-10-05T06:37:50
2025-10-06T14:07:55
null
[ "Previously (datasets<=3.6.0), audio columns were decoded automatically when accessing a row. Now, for performance reasons, audio decoding is lazy by default: you just see the file path unless you explicitly cast the column to Audio.\n\nHere’s the fix (following the current [datasets audio docs](https://huggingface...
false
3,459,496,971
7,793
Cannot load dataset, fails with nested data conversions not implemented for chunked array outputs
### Describe the bug Hi! When I load this dataset, it fails with a pyarrow error. I'm using datasets 4.1.1, though I also see this with datasets 4.1.2 To reproduce: ``` import datasets ds = datasets.load_dataset(path="metr-evals/malt-public", name="irrelevant_detail") ``` Error: ``` Traceback (most recent call las...
open
https://github.com/huggingface/datasets/issues/7793
null
2025-09-27T01:03:12
2025-09-27T21:35:31
null
[ "Hey @neevparikh,\nThanks for reporting this! I can reproduce the issue and have identified the root cause.\nProblem: The metr-evals/malt-public dataset contains deeply nested conversation data that exceeds PyArrow's 16MB chunk limit. When PyArrow tries to read it in chunks, it hits a fundamental limitation: \"Nest...
false
3,456,802,210
7,792
Concatenate IterableDataset instances and distribute underlying shards in a RoundRobin manner
### Feature request I would like to be able to concatenate multiple `IterableDataset` with possibly different features. I would like to then be able to stream the results in parallel (both using DDP and multiple workers in the pytorch DataLoader). I want the merge of datasets to be well balanced between the different ...
closed
https://github.com/huggingface/datasets/issues/7792
null
2025-09-26T10:05:19
2025-10-15T18:05:23
2025-10-15T18:05:23
[ "# With `datasets.Dataset`\n\nHere is an small script that shows the distribution differences of samples between `interleave_datasets`, `concatenate_datasets` and `concatenate_datasets` + shuffling.\n\n```python\nimport datasets as hf_datasets\n\ndef gen(dataset: int, n_samples: int):\n for i in range(n_samples)...
false
3,450,913,796
7,788
`Dataset.to_sql` doesn't utilize `num_proc`
The underlying `SqlDatasetWriter` has `num_proc` as an available argument [here](https://github.com/huggingface/datasets/blob/5dc1a179783dff868b0547c8486268cfaea1ea1f/src/datasets/io/sql.py#L63) , but `Dataset.to_sql()` does not accept it, therefore it is always using one process for the SQL conversion.
open
https://github.com/huggingface/datasets/issues/7788
null
2025-09-24T20:34:47
2025-09-24T20:35:01
null
[]
false
3,429,267,259
7,780
BIGPATENT dataset inaccessible (deprecated script loader)
dataset: https://huggingface.co/datasets/NortheasternUniversity/big_patent When I try to load it with the datasets library, it fails with: RuntimeError: Dataset scripts are no longer supported, but found big_patent.py Could you please publish a Parquet/Arrow export of BIGPATENT on the Hugging Face so that it can be...
closed
https://github.com/huggingface/datasets/issues/7780
null
2025-09-18T08:25:34
2025-09-25T14:36:13
2025-09-25T14:36:13
[ "Hi ! I opened https://huggingface.co/datasets/NortheasternUniversity/big_patent/discussions/7 to update the dataset, hopefully it's merged soon !", "The dataset now works with `datasets` v4 ! closing this issue" ]
false
3,424,462,082
7,777
push_to_hub not overwriting but stuck in a loop when there are existing commits
### Describe the bug `get_deletions_and_dataset_card` stuck at error a commit has happened error since push to hub for http error 412 for tag 4.1.0. The error does not exists in 4.0.0. ### Steps to reproduce the bug Create code to use push_to_hub, ran twice each time with different content for datasets.Dataset. The...
closed
https://github.com/huggingface/datasets/issues/7777
null
2025-09-17T03:15:35
2025-09-17T19:31:14
2025-09-17T19:31:14
[ "HTTP 412 means a commit happened in the meantime, so `get_deletions_and_dataset_card` has to retry to get the latest version of the dataset card and what files to delete based on the latest version of the dataset repository\n\nAre you running other operations in the dataset repo for your push_to_hub ?", "There w...
false
3,417,353,751
7,772
Error processing scalar columns using tensorflow.
`datasets==4.0.0` ``` columns_to_return = ['input_ids','attention_mask', 'start_positions', 'end_positions'] train_ds.set_format(type='tf', columns=columns_to_return) ``` `train_ds`: ``` train_ds type: <class 'datasets.arrow_dataset.Dataset'>, shape: (1000, 9) columns: ['question', 'sentences', 'answer', 'str_idx', 'en...
open
https://github.com/huggingface/datasets/issues/7772
null
2025-09-15T10:36:31
2025-09-27T08:22:44
null
[ "Using tf.convert_to_tensor works fine:\n\n```\nimport tensorflow as tf\n\nstart_pos = tf.convert_to_tensor(train_ds['start_positions'], dtype=tf.int64)\nstart_pos = tf.reshape(start_pos, [-1, 1])\n```\n\n\nAlternatively, using the built-in to_tf_dataset also avoids the issue:\n\n```\ntrain_tf = train_ds.to_tf_data...
false
3,411,654,444
7,767
Custom `dl_manager` in `load_dataset`
### Feature request https://github.com/huggingface/datasets/blob/4.0.0/src/datasets/load.py#L1411-L1418 ``` def load_dataset( ... dl_manager: Optional[DownloadManager] = None, # add this new argument **config_kwargs, ) -> Union[DatasetDict, Dataset, IterableDatasetDict, IterableDataset]: ... # ...
open
https://github.com/huggingface/datasets/issues/7767
null
2025-09-12T19:06:23
2026-03-05T20:28:06
null
[ "Any feedback from maintainers on this?" ]
false
3,411,611,165
7,766
cast columns to Image/Audio/Video with `storage_options`
### Feature request Allow `storage_options` to be passed in 1. `cast` related operations (e.g., `cast_columns, cast`) 2. `info` related reading (e.g., `from_dict, from_pandas, from_polars`) together with `info.features` ```python3 import datasets image_path = "s3://bucket/sample.png" dataset = datasets.Dataset.from_d...
open
https://github.com/huggingface/datasets/issues/7766
null
2025-09-12T18:51:01
2026-02-08T10:27:39
null
[ "A", "1", "1", "Ok", "> ### Feature request\n> Allow `storage_options` to be passed in\n> \n> 1. `cast` related operations (e.g., `cast_columns, cast`)\n> 2. `info` related reading (e.g., `from_dict, from_pandas, from_polars`) together with `info.features`\n> \n> import datasets\n> \n> image_path = \"s3://b...
false
3,411,556,378
7,765
polars dataset cannot cast column to Image/Audio/Video
### Describe the bug `from_polars` dataset cannot cast column to Image/Audio/Video, while it works on `from_pandas` and `from_dict` ### Steps to reproduce the bug ```python3 import datasets import pandas as pd import polars as pl image_path = "./sample.png" # polars df = pl.DataFrame({"image_path": [image_path]}) ...
closed
https://github.com/huggingface/datasets/issues/7765
null
2025-09-12T18:32:49
2025-10-13T14:39:48
2025-10-13T14:39:48
[ "I fixed this with a combination of `to_dict` and `from_dict`:\n\n```py\ndatasets.Dataset.from_dict(df.to_dict(as_series=False))\n```", "@samuelstevens Yeah, I'm using similar workaround as well. But it would be ideal if we can avoid the copy." ]
false
3,401,799,485
7,760
Hugging Face Hub Dataset Upload CAS Error
### Describe the bug Experiencing persistent 401 Unauthorized errors when attempting to upload datasets to Hugging Face Hub using the `datasets` library. The error occurs specifically with the CAS (Content Addressable Storage) service during the upload process. Tried using HF_HUB_DISABLE_XET=1. It seems to work for sm...
open
https://github.com/huggingface/datasets/issues/7760
null
2025-09-10T10:01:19
2025-09-16T20:01:36
null
[ "cc @jsulz maybe ?", "Curious! I took a look at this and was unable to see why this would be occurring on our side. Tagging in @jgodlew and @bpronan since they might have insights. \n\n@n-bkoe just a few questions if you wouldn't mind: \n1. What kind of data are you uploading and what is the difference in file si...
false
3,398,099,513
7,759
Comment/feature request: Huggingface 502s from GHA
This is no longer a pressing issue, but for completeness I am reporting that in August 26th, GET requests to `https://datasets-server.huggingface.co/info\?dataset\=livebench/math` were returning 502s when invoked from [github actions](https://github.com/UKGovernmentBEIS/inspect_evals/actions/runs/17241892475/job/489211...
open
https://github.com/huggingface/datasets/issues/7759
null
2025-09-09T11:59:20
2025-09-09T13:02:28
null
[]
false
3,395,590,783
7,758
Option for Anonymous Dataset link
### Feature request Allow for anonymized viewing of datasets. For instance, something similar to [Anonymous GitHub](https://anonymous.4open.science/). ### Motivation We generally publish our data through Hugging Face. This has worked out very well as it's both our repository and archive (thanks to the DOI feature!)....
open
https://github.com/huggingface/datasets/issues/7758
null
2025-09-08T20:20:10
2026-07-08T10:43:11
null
[ "I created this website for that particular purpose:\n\nWebsite: https://anonymous-hf.up.railway.app\n\nGitHub: https://github.com/MagedSaeed/anonymous-hf\n\nPlease give it a look and maybe a try if you like it." ]
false
3,389,535,011
7,757
Add support for `.conll` file format in datasets
### Feature request I’d like to request native support in the Hugging Face datasets library for reading .conll files (CoNLL format). This format is widely used in NLP tasks, especially for Named Entity Recognition (NER), POS tagging, and other token classification problems. Right now `.conll` datasets need to be manu...
closed
https://github.com/huggingface/datasets/issues/7757
null
2025-09-06T07:25:39
2026-05-27T14:09:27
2026-05-27T14:09:27
[ "That would be cool ! feel free to ping me if I can help reviewing a PR", "hey @namesarnav , are you still planning to PR this? happy to coordinate or take it on otherwise. looks like a clean\n packaged_modules/conll/ builder following the csv/json/text pattern.\n\n @lhoestq , thanks for the pre-review offer. i...
false
3,387,076,693
7,756
datasets.map(f, num_proc=N) hangs with N>1 when run on import
### Describe the bug If you `import` a module that runs `datasets.map(f, num_proc=N)` at the top-level, Python hangs. ### Steps to reproduce the bug 1. Create a file that runs datasets.map at the top-level: ```bash cat <<EOF > import_me.py import datasets the_dataset = datasets.load_dataset("openai/openai_humanev...
open
https://github.com/huggingface/datasets/issues/7756
null
2025-09-05T10:32:01
2026-01-27T12:58:35
null
[ "Hii !! Frosh from India taking issue #7756. \n\nPlan - Add try/except multiprocessing. Start Method, Context + Fallback to num_proc = 1. \n\nForked, coding now... PR in a few " ]
false
3,381,831,487
7,753
datasets massively slows data reads, even in memory
### Describe the bug Loading image data in a huggingface dataset results in very slow read speeds, approximately 1000 times longer than reading the same data from a pytorch dataset. This applies even when the dataset is loaded into RAM using a `keep_in_memory=True` flag. The following script reproduces the result wit...
open
https://github.com/huggingface/datasets/issues/7753
null
2025-09-04T01:45:24
2025-09-18T22:08:51
null
[ "Hi ! you should try\n\n```python\nfrom datasets import Array3D, Dataset, Features, Value\n\nfeatures = Features({\"image\": Array3D(shape=(3, 224, 224), dtype=\"uint8\"), \"label\": Value(\"uint8\")})\nhf_dataset = Dataset.from_dict({'image': images, 'label':labels}, features=features)\n```\n\notherwise the type o...
false
3,358,369,976
7,751
Dill version update
### Describe the bug Why the datasets is not updating the dill ? Just want to know if I update the dill version in dill what will be the repucssion. For now in multiplaces I have to update the library like process requirequire dill 0.4.0 so why not datasets. Adding a pr too. ### Steps to reproduce the bug . ###...
open
https://github.com/huggingface/datasets/issues/7751
null
2025-08-27T07:38:30
2025-09-10T14:24:02
null
[ "#7752 ", "related: #7510 " ]
false
3,345,391,211
7,746
Fix: Canonical 'multi_news' dataset is broken and should be updated to a Parquet version
Hi, The canonical `multi_news` dataset is currently broken and fails to load. This is because it points to the [alexfabri/multi_news](https://huggingface.co/datasets/alexfabbri/multi_news) repository, which contains a legacy loading script (`multi_news.py`) that requires the now-removed `trust_remote_code` parameter....
open
https://github.com/huggingface/datasets/issues/7746
null
2025-08-22T12:52:03
2025-08-27T20:23:35
null
[ "@sayakpaul @a-r-r-o-w could you verify this issue then i can contribute to solve this issue!😊" ]
false
3,345,286,773
7,745
Audio mono argument no longer supported, despite class documentation
### Describe the bug Either update the documentation, or re-introduce the flag (and corresponding logic to convert the audio to mono) ### Steps to reproduce the bug Audio(sampling_rate=16000, mono=True) raises the error TypeError: Audio.__init__() got an unexpected keyword argument 'mono' However, in the class doc...
open
https://github.com/huggingface/datasets/issues/7745
null
2025-08-22T12:15:41
2026-05-10T11:51:16
null
[ "I want to solve this problem can you please assign it to me\nand also can you please guide whether the mono parameter is required to be re-added or the documentation needs an update?", "Hi! Triaging older issues — I think the docstring half of this is already resolved.\n\nOn current `main` (`datasets==4.8.6.dev0...
false
3,343,510,686
7,744
dtype: ClassLabel is not parsed correctly in `features.py`
`dtype: ClassLabel` in the README.md yaml metadata is parsed incorrectly and causes the data viewer to fail. This yaml in my metadata ([source](https://huggingface.co/datasets/BrentLab/yeast_genome_resources/blob/main/README.md), though i changed `ClassLabel` to `string` to using different dtype in order to avoid the ...
closed
https://github.com/huggingface/datasets/issues/7744
null
2025-08-21T23:28:50
2025-09-10T15:23:41
2025-09-10T15:23:41
[ "I think it's \"class_label\"", "> I think it's \"class_label\"\n\nI see -- thank you. This works\n\n```yaml\nlicense: mit\nlanguage:\n- en\ntags:\n- genomics\n- yeast\n- transcription\n- perturbation\n- response\n- overexpression\npretty_name: Hackett, 2020 Overexpression\nsize_categories:\n- 1M<n<10M\ndataset_i...
false
3,336,704,928
7,742
module 'pyarrow' has no attribute 'PyExtensionType'
### Describe the bug When importing certain libraries, users will encounter the following error which can be traced back to the datasets library. module 'pyarrow' has no attribute 'PyExtensionType'. Example issue: https://github.com/explodinggradients/ragas/issues/2170 The issue occurs due to the following. I will ...
open
https://github.com/huggingface/datasets/issues/7742
null
2025-08-20T06:14:33
2025-09-09T02:51:46
null
[ "Just checked out the files and thishad already been addressed", "For others who find this issue: \n\n`pip install --upgrade \"datasets>=2.20.0\"` \n\nfrom https://github.com/explodinggradients/ragas/issues/2170#issuecomment-3204393672 can fix it." ]
false
3,334,848,656
7,741
Preserve tree structure when loading HDF5
### Feature request https://github.com/huggingface/datasets/pull/7740#discussion_r2285605374 ### Motivation `datasets` has the `Features` class for representing nested features. HDF5 files have groups of datasets which are nested, though in #7690 the keys are flattened. We should preserve that structure for the user...
closed
https://github.com/huggingface/datasets/issues/7741
null
2025-08-19T15:42:05
2025-08-26T15:28:06
2025-08-26T15:28:06
[]
false
3,331,537,762
7,739
Replacement of "Sequence" feature with "List" breaks backward compatibility
PR #7634 replaced the Sequence feature with List in 4.0.0, so datasets saved with version 4.0.0 with that feature cannot be loaded by earlier versions. There is no clear option in 4.0.0 to use the legacy feature type to preserve backward compatibility. Why is this a problem? I have a complex preprocessing and training...
open
https://github.com/huggingface/datasets/issues/7739
null
2025-08-18T17:28:38
2025-09-10T14:17:50
null
[ "Backward compatibility here means 4.0.0 can load datasets saved with older versions.\n\nYou will need 4.0.0 to load datasets saved with 4.0.0" ]
false
3,328,948,690
7,738
Allow saving multi-dimensional ndarray with dynamic shapes
### Feature request I propose adding a dedicated feature to the datasets library that allows for the efficient storage and retrieval of multi-dimensional ndarray with dynamic shapes. Similar to how Image columns handle variable-sized images, this feature would provide a structured way to store array data where the dim...
open
https://github.com/huggingface/datasets/issues/7738
null
2025-08-18T02:23:51
2026-02-27T23:01:28
null
[ "I agree this would be super valuable.\n\nIt looks like this was discussed a few years ago in https://github.com/huggingface/datasets/issues/5272#issuecomment-1550200824 but there were some issues. Those PRs are merged now and it looks like Arrow [officially supports](https://arrow.apache.org/docs/format/CanonicalE...
false
3,304,979,299
7,733
Dataset Repo Paths to Locally Stored Images Not Being Appended to Image Path
### Describe the bug I’m not sure if this is a bug or a feature and I just don’t fully understand how dataset loading is to work, but it appears there may be a bug with how locally stored Image() are being accessed. I’ve uploaded a new dataset to hugging face (rmdig/rocky_mountain_snowpack) but I’ve come into a ton of...
closed
https://github.com/huggingface/datasets/issues/7733
null
2025-08-08T19:10:58
2025-10-07T04:47:36
2025-10-07T04:32:48
[ "This is the download issues I come into, about ever other time it fails...\n<img width=\"1719\" height=\"1226\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/2e5b4b3e-7c13-4bad-a77c-34b47a932831\" />", "I’m guessing this is just a feature so I’m going to close this thread. I also altered my load...
false
3,304,673,383
7,732
webdataset: key errors when `field_name` has upper case characters
### Describe the bug When using a webdataset each sample can be a collection of different "fields" like this: ``` images17/image194.left.jpg images17/image194.right.jpg images17/image194.json images17/image12.left.jpg images17/image12.right.jpg images17/image12.json ``` if the field_name contains upper case characte...
open
https://github.com/huggingface/datasets/issues/7732
null
2025-08-08T16:56:42
2025-08-08T16:56:42
null
[]
false
3,303,637,075
7,731
Add the possibility of a backend for audio decoding
### Feature request Add the possibility of a backend for audio decoding. Before version 4.0.0, soundfile was used, and now torchcodec is used, but the problem is that torchcodec requires ffmpeg, which is problematic to install on the same colab. Therefore, I suggest adding a decoder selection when loading the dataset....
open
https://github.com/huggingface/datasets/issues/7731
null
2025-08-08T11:08:56
2025-08-20T16:29:33
null
[ "is there a work around im stuck", "never mind just downgraded" ]
false
3,300,672,954
7,729
OSError: libcudart.so.11.0: cannot open shared object file: No such file or directory
> Hi is there any solution for that eror i try to install this one pip install torch==1.12.1+cpu torchaudio==0.12.1+cpu -f https://download.pytorch.org/whl/torch_stable.html this is working fine but tell me how to install pytorch version that is fit for gpu
open
https://github.com/huggingface/datasets/issues/7729
null
2025-08-07T14:07:23
2025-09-24T02:17:15
null
[ "Is this related to the \"datasets\" library? @SaleemMalikAI " ]
false
3,298,854,904
7,728
NonMatchingSplitsSizesError and ExpectedMoreSplitsError
### Describe the bug When loading dataset, the info specified by `data_files` did not overwrite the original info. ### Steps to reproduce the bug ```python from datasets import load_dataset traindata = load_dataset( "allenai/c4", "en", data_files={"train": "en/c4-train.00000-of-...
open
https://github.com/huggingface/datasets/issues/7728
null
2025-08-07T04:04:50
2025-10-06T21:08:39
null
[ "To load just one shard without errors, you should use data_files directly with split set to \"train\", but don’t specify \"allenai/c4\", since that points to the full dataset with all shards.\n\nInstead, do this:\n```\nfrom datasets import load_dataset\nfrom datasets import load_dataset\n\n# Load only one shard of...
false
3,295,718,578
7,727
config paths that start with ./ are not valid as hf:// accessed repos, but are valid when accessed locally
### Describe the bug ``` - config_name: some_config data_files: - split: train path: - images/xyz/*.jpg ``` will correctly download but ``` - config_name: some_config data_files: - split: train path: - ./images/xyz/*.jpg ``` will error with `FileNotFoundError` due to improper url joining. `loa...
open
https://github.com/huggingface/datasets/issues/7727
null
2025-08-06T08:21:37
2026-06-11T21:42:25
null
[ "Tracked this down: `resolve_pattern()` joins relative patterns onto the base path with `xjoin`, which keeps the `.` segments, and `HfFileSystem.glob` (like fsspec's generic glob) treats `.` as a literal directory name — so `hf://datasets/<repo>/./...` matches nothing, while `LocalFileSystem` normalizes the dot seg...
false
3,292,315,241
7,724
Can not stepinto load_dataset.py?
I set a breakpoint in "load_dataset.py" and try to debug my data load codes, but it does not stop at any breakpoints, so "load_dataset.py" can not be stepped into ? <!-- Failed to upload "截图 2025-08-05 17-25-18.png" -->
open
https://github.com/huggingface/datasets/issues/7724
null
2025-08-05T09:28:51
2025-08-05T09:28:51
null
[]
false
3,289,943,261
7,723
Don't remove `trust_remote_code` arg!!!
### Feature request defaulting it to False is nice balance. we need manully setting it to True in certain scenarios! Add `trust_remote_code` arg back please! ### Motivation defaulting it to False is nice balance. we need manully setting it to True in certain scenarios! ### Your contribution defaulting it to Fals...
open
https://github.com/huggingface/datasets/issues/7723
null
2025-08-04T15:42:07
2025-08-04T15:42:07
null
[]
false
3,289,741,064
7,722
Out of memory even though using load_dataset(..., streaming=True)
### Describe the bug I am iterating over a large dataset that I load using streaming=True to avoid running out of memory. Unfortunately, I am observing that memory usage increases over time and I'm finally running in an oom. ### Steps to reproduce the bug ``` ds = load_dataset("openslr/librispeech_asr", split="tra...
open
https://github.com/huggingface/datasets/issues/7722
null
2025-08-04T14:41:55
2025-08-04T14:41:55
null
[]
false
3,289,426,104
7,721
Bad split error message when using percentages
### Describe the bug Hi, I'm trying to download a dataset. To not load the entire dataset in memory, I split it as described [here](https://huggingface.co/docs/datasets/v4.0.0/loading#slice-splits) in 10% steps. When doing so, the library returns this error: raise ValueError(f"Bad split: {split}. Available splits...
open
https://github.com/huggingface/datasets/issues/7721
null
2025-08-04T13:20:25
2025-08-14T14:42:24
null
[ "I'd like to work on this: add clearer validation/messages for percent-based splits + tests", "The most basic example is this code:\n`load_dataset(\"openslr/librispeech_asr\", split=\"train[10%:20%]\")`\n\nThis results in this ValueError:\n```\n raise ValueError(f'Unknown split \"{split}\". Should be one of {l...
false
3,287,150,513
7,720
Datasets 4.0 map function causing column not found
### Describe the bug Column returned after mapping is not found in new instance of the dataset. ### Steps to reproduce the bug Code for reproduction. After running get_total_audio_length, it is errored out due to `data` not having `duration` ``` def compute_duration(x): return {"duration": len(x["audio"]["array"...
open
https://github.com/huggingface/datasets/issues/7720
null
2025-08-03T12:52:34
2025-08-07T19:23:34
null
[ "Hi, I tried to reproduce this issue on the latest `main` branch but it seems to be working correctly now. My test script (which creates a dummy dataset and applies the `.map()` function) successfully creates and accesses the new column without a `KeyError`.\n\nIt's possible this was fixed by a recent commit. The m...
false
3,285,928,491
7,719
Specify dataset columns types in typehint
### Feature request Make dataset optionaly generic to datasets usage with type annotations like it was done in `torch.Dataloader` https://github.com/pytorch/pytorch/blob/134179474539648ba7dee1317959529fbd0e7f89/torch/utils/data/dataloader.py#L131 ### Motivation In MTEB we're using a lot of datasets objects, but they...
open
https://github.com/huggingface/datasets/issues/7719
null
2025-08-02T13:22:31
2025-08-02T13:22:31
null
[]
false
3,282,855,127
7,717
Cached dataset is not used when explicitly passing the cache_dir parameter
### Describe the bug Hi, we are pre-downloading a dataset using snapshot_download(). When loading this exact dataset with load_dataset() the cached snapshot is not used. In both calls, I provide the cache_dir parameter. ### Steps to reproduce the bug ``` from datasets import load_dataset, concatenate_datasets from h...
open
https://github.com/huggingface/datasets/issues/7717
null
2025-08-01T07:12:41
2025-08-05T19:19:36
null
[ "Hi, I've investigated this issue and can confirm the bug. Here are my findings:\n\n**1. Reproduction:**\nI was able to reproduce the issue on the latest `main` branch. Using the provided code snippet, `snapshot_download` correctly populates the custom `cache_dir`, but `load_dataset` with the same `cache_dir` trigg...
false
3,276,677,990
7,709
Release 4.0.0 breaks usage patterns of with_format
### Describe the bug Previously it was possible to access a whole column that was e.g. in numpy format via `with_format` by indexing the column. Now this possibility seems to be gone with the new Column() class. As far as I see, this makes working on a whole column (in-memory) more complex, i.e. normalizing an in-memo...
closed
https://github.com/huggingface/datasets/issues/7709
null
2025-07-30T11:34:53
2025-08-07T08:27:18
2025-08-07T08:27:18
[ "This is a breaking change with 4.0 which introduced `Column` objects. To get the numpy array from a `Column` you can `col[i]`, `col[i:j]` or even `col[:]` if you want the full column as a numpy array:\n\n```python\nfrom datasets import load_dataset\ndataset = load_dataset(...)\ndataset = dataset.with_format(\"nump...
false
3,271,867,998
7,707
load_dataset() in 4.0.0 failed when decoding audio
### Describe the bug Cannot decode audio data. ### Steps to reproduce the bug ```python from datasets import load_dataset dataset = load_dataset("hf-internal-testing/librispeech_asr_demo", "clean", split="validation") print(dataset[0]["audio"]["array"]) ``` 1st round run, got ``` File "/usr/local/lib/python3.1...
closed
https://github.com/huggingface/datasets/issues/7707
null
2025-07-29T03:25:03
2025-10-05T06:41:38
2025-08-01T05:15:45
[ "Hi @lhoestq . Would you please have a look at it? I use the official NV Docker ([NV official docker image](https://catalog.ngc.nvidia.com/orgs/nvidia/containers/pytorch): `nvcr.io/nvidia/pytorch:25.06-py3`) on A100 and encountered this issue, but I don't know how to fix it.", "Use !pip install -U datasets[audio]...
false
3,269,070,499
7,705
Can Not read installed dataset in dataset.load(.)
Hi, folks, I'm newbie in huggingface dataset api. As title, i'm facing the issue that the dataset.load api can not connect to the installed dataset. code snippet : <img width="572" height="253" alt="Image" src="https://github.com/user-attachments/assets/10f48aaf-d6ca-4239-b1cf-145d74f125d1" /> data path : "/xxx/jose...
open
https://github.com/huggingface/datasets/issues/7705
null
2025-07-28T09:43:54
2025-08-05T01:24:32
null
[ "You can download the dataset locally using [huggingface_hub.snapshot_download](https://huggingface.co/docs/huggingface_hub/v0.34.3/en/package_reference/file_download#huggingface_hub.snapshot_download) and then do\n\n```python\ndataset = load_dataset(local_directory_path)\n```", "> You can download the dataset lo...
false
3,265,648,942
7,703
[Docs] map() example uses undefined `tokenizer` — causes NameError
## Description The current documentation example for `datasets.Dataset.map()` demonstrates batched processing but uses a `tokenizer` object without defining or importing it. This causes an error every time it's copied. Here is the problematic line: ```python # process a batch of examples >>> ds = ds.map(lambda examp...
open
https://github.com/huggingface/datasets/issues/7703
null
2025-07-26T13:35:11
2025-07-27T09:44:35
null
[ "I've submitted PR #7704 which adds documentation to clarify the behavior of `map()` when returning `None`." ]
false
3,263,922,255
7,700
[doc] map.num_proc needs clarification
https://huggingface.co/docs/datasets/v4.0.0/en/package_reference/main_classes#datasets.Dataset.map.num_proc ``` num_proc (int, optional, defaults to None) — Max number of processes when generating cache. Already cached shards are loaded sequentially. ``` for batch: ``` num_proc (int, optional, defaults to None): The n...
open
https://github.com/huggingface/datasets/issues/7700
null
2025-07-25T17:35:09
2025-07-25T17:39:36
null
[]
false
3,261,053,171
7,699
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
https://github.com/huggingface/datasets/issues/7699
null
2025-07-24T19:46:28
2026-03-26T18:28:43
null
[ "The URL is ok but it seems the webdataset website is down. There seems to be a related issue here: https://github.com/webdataset/webdataset/issues/155\n\nFeel free to ask the authors there for an update. Otherwise happy to witch the link to the mirror shared in that issue", "I fixed this doc problem.\nPR link: h...
false
3,255,350,916
7,698
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
https://github.com/huggingface/datasets/issues/7698
null
2025-07-23T08:04:53
2025-07-23T15:06:23
null
[ "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
3,254,526,399
7,697
-
-
closed
https://github.com/huggingface/datasets/issues/7697
null
2025-07-23T01:30:32
2025-07-25T15:21:39
2025-07-25T15:21:39
[]
false
3,253,433,350
7,696
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...
closed
https://github.com/huggingface/datasets/issues/7696
null
2025-07-22T17:02:17
2025-07-30T14:22:21
2025-07-30T14:22:21
[ "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!" ]
false
3,247,600,408
7,694
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
https://github.com/huggingface/datasets/issues/7694
null
2025-07-21T07:51:25
2025-07-25T14:42:21
null
[ "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...
false
3,246,369,678
7,693
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
https://github.com/huggingface/datasets/issues/7693
null
2025-07-20T13:48:06
2026-04-14T14:09:54
null
[ "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
3,246,268,635
7,692
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
https://github.com/huggingface/datasets/issues/7692
null
2025-07-20T11:08:20
2025-07-25T14:38:54
null
[ "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 ...
false
3,245,547,170
7,691
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
https://github.com/huggingface/datasets/issues/7691
null
2025-07-19T18:40:27
2025-07-25T08:51:10
null
[ "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
3,242,580,301
7,689
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
https://github.com/huggingface/datasets/issues/7689
null
2025-07-18T09:30:04
2025-07-18T11:59:51
2025-07-18T11:52:29
[ "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