id int64 600M 4.6B | node_id stringlengths 18 24 | number int64 2 8.24k | title stringlengths 1 290 | state stringclasses 2
values | state_reason stringclasses 5
values | created_at timestamp[s]date 2020-04-14 18:18:51 2026-06-05 18:08:17 | updated_at timestamp[s]date 2020-04-29 09:23:05 2026-06-05 21:18:34 | closed_at stringlengths 0 20 | html_url stringlengths 48 51 | user stringlengths 3 26 | labels listlengths 0 4 | assignees listlengths 0 4 | milestone stringclasses 7
values | comments listlengths 0 70 | author_association stringclasses 4
values | body stringlengths 0 228k |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
4,599,059,760 | I_kwDODunzps8AAAABEiAVMA | 8,242 | "eval_strategy": "no" perform evaluation | open | 2026-06-05T18:08:17 | 2026-06-05T21:18:34 | https://github.com/huggingface/datasets/issues/8242 | SamuelLarkin | [] | [] | [] | NONE | ### Describe the bug
Hi,
I'm trying to train a diffusion model and I getting stuck with
```
strace -p 967873
strace: Process 967873 attached
ioctl(9, _IOC(_IOC_READ|_IOC_WRITE, 0x46, 0x2a, 0x20), 0x7fff18579d90) = 0
ioctl(9, _IOC(_IOC_READ|_IOC_WRITE, 0x46, 0x2a, 0x20), 0x7fff18579d90) = 0
```
But my issue is that ... | |||
4,597,756,669 | I_kwDODunzps8AAAABEgwy_Q | 8,241 | load_dataset("json", ...) infers a different schema when the JSONL file starts with a UTF-8 BOM | open | 2026-06-05T14:39:46 | 2026-06-05T21:03:25 | https://github.com/huggingface/datasets/issues/8241 | f-salvetti | [] | [] | [
"#self-assign"
] | NONE | ### Describe the bug
When a JSONL file starts with a UTF-8 BOM (`\xef\xbb\xbf`), `datasets.load_dataset("json", data_files=...)` infers a different schema than when the same file is loaded without the BOM. Specifically, the loader's "mixed-struct-types" pre-scan — which normally promotes columns with heterogeneous nes... | |||
4,501,694,591 | I_kwDODunzps8AAAABDFJofw | 8,217 | Multi-GPU Training with Large Dataset — NCCL Timeouts / Slow Data Loading + Excessive Memory Usage with keep_in_memory=True | closed | completed | 2026-05-22T09:55:13 | 2026-06-03T02:12:43 | 2026-06-03T02:12:43Z | https://github.com/huggingface/datasets/issues/8217 | D222097 | [] | [] | [
"Hi @D222097,\n\nWe have audited the architectural footprint of your multi-GPU training setup. The behaviors you are experiencing are not bugs within the `datasets` library, but rather fundamental limitations of Python's process architecture interacting with hardware topologies. \n\nHere is the clinical breakdown o... | NONE | Hi, I'm training a large dataset using Lerobot (which relies on Hugging Face Datasets) and encountering severe performance issues when scaling to multi-GPU training.
### Problem Description
- Unstable/slow data loading + NCCL timeouts
- Step time fluctuates drastically: ~1s/step (fast) vs ~45s/step (extremely slow)
... | |
4,460,017,531 | I_kwDODunzps8AAAABCdZ3ew | 8,204 | Please enable Private Vulnerability Reporting | open | 2026-05-16T13:28:01 | 2026-05-16T13:28:01 | https://github.com/huggingface/datasets/issues/8204 | 0xBassia | [] | [] | [] | NONE | Hi datasets team,
I have a security finding in datasets that I would like to disclose privately. GitHub Private Vulnerability Reporting is currently disabled on this repo.
Could you turn it on? It's at Settings > Security > Code security and analysis > Private vulnerability reporting. Once enabled I will file the ful... | |||
4,456,407,352 | I_kwDODunzps8AAAABCZ9hOA | 8,201 | Encountered an error when loading data in WebDataset format using `load_datasets` during multi-matchines training. | open | 2026-05-15T19:21:24 | 2026-05-20T12:58:57 | https://github.com/huggingface/datasets/issues/8201 | aihao2000 | [] | [] | [
"Hi @aihao2000 ! I was looking into this multi-machine training scenario and just opened a PR (#8203 ) that safely skips feature inference for empty shards during distributed streaming.\n\nplease! Check it out and see if it looks like it will resolve the weird bugs you were hitting!",
"it looks like there less da... | NONE | ### Describe the bug
Single-machine training works fine, but multi-machine training throws up all sorts of weird bugs. Help me!
### Steps to reproduce the bug
train_dataset = load_dataset(
"webdataset", data_files=args.train_dataset, split="train", streaming=True,cache_dir='/dev/shm/.cache'
)
args.train... | |||
4,455,786,605 | I_kwDODunzps8AAAABCZXobQ | 8,199 | Replace AutoFeatureExtractor with AutoImageProcessor in image preprocessing docs | open | 2026-05-15T17:34:53 | 2026-05-15T17:56:57 | https://github.com/huggingface/datasets/issues/8199 | ajaystar8 | [] | [] | [
"I'd like to work on this. I'll open a PR shortly."
] | NONE | ## Summary
The `docs/source/use_dataset.mdx` documentation uses `AutoFeatureExtractor` from `transformers` in its image preprocessing example. For vision models, `AutoImageProcessor` is now the recommended API and better reflects current `transformers` conventions.
## Problem
In the [[Apply data augmentations](https... | |||
4,452,221,355 | I_kwDODunzps8AAAABCV-Bqw | 8,197 | Feature Request / Discussion: Skip origin_metadata fetch when streaming=True? | open | 2026-05-15T07:43:57 | 2026-06-05T12:34:08 | https://github.com/huggingface/datasets/issues/8197 | yuxin00j | [] | [] | [
"I think it's great that it checks that every file does exist by default. It's relatively cheap since it uses fsspec which caches file info at folder level.\n\nOn the other hand why not add skip_origin_metadata=False from @TheDerbiedOne by default to DatasetBuilder and document what it does (load_dataset passes kwa... | NONE | Hi team!
I've been looking into the initialization process of the `DatasetBuilder` and noticed that the ETag/origin metadata caching path is executed unconditionally.
While fetching the `origin_metadata` and calculating the ETag is necessary for safely managing a local disk cache when using `as_dataset()`, it seems t... | |||
4,397,310,407 | I_kwDODunzps8AAAABBhmhxw | 8,178 | The full dataset viewer is not available (click to read why). Only showing a preview of the rows. Job manager crashed while running this job (missing heartbeats). Error code: JobManagerCrashedError | open | 2026-05-07T08:33:48 | 2026-05-31T00:09:38 | https://github.com/huggingface/datasets/issues/8178 | kakamond | [] | [] | [
"Oh yeah, we hit something pretty similar when running a dataset viewer on a large collection (~3M rows) a few months back. The JobManagerCrashedError with missing heartbeats usually showed up for us when the server process ran out of memory or couldn’t keep up with the load spikes during dataset streaming. Turns o... | NONE | ### Describe the bug
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
Job manager crashed while running this job (missing heartbeats).
Error code: JobManagerCrashedError
see: https://huggingface.co/datasets/Genius-Society/tt100k/viewer
### Steps to reproduce the bug... | |||
4,376,879,740 | I_kwDODunzps8AAAABBOHifA | 8,171 | Dataset UI shows 0:00/0:00 for audio after push_to_hub | closed | completed | 2026-05-04T13:17:25 | 2026-05-20T10:46:58 | 2026-05-20T10:46:58Z | https://github.com/huggingface/datasets/issues/8171 | MNIKIEMA | [] | [] | [
"Hello,\nI am trying to find my first issue to resolve. I can't reproduce your problem. When I go in the hub UI to your dataset. I can see the length of each audio. It takes some time to load \n\n## Dataset Card\n<img width=\"584\" height=\"644\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/8b0e38... | NONE | I’m seeing an issue where audio previews in the dataset viewer show `0:00/0:00` after uploading with push_to_hub.
## What I did
I tried to avoid `torchcodec` because I want to keep the packages small using the following code:
```python
import io
import os
import shutil
import tempfile
from pathlib import Path
imp... | |
4,366,520,018 | I_kwDODunzps8AAAABBEPO0g | 8,169 | Streaming dataset hangs consistently | closed | completed | 2026-05-01T20:27:58 | 2026-05-06T16:07:04 | 2026-05-06T16:06:08Z | https://github.com/huggingface/datasets/issues/8169 | michaelpginn | [] | [] | [
"+1 also encountered",
"I pushed a workaround for the current version of PyArrow (24.0.0) and older versions at https://github.com/huggingface/datasets/pull/8176\n\nFor future versions it should be fixed directly in PyArrow"
] | NONE | ### Describe the bug
When loading a dataset with `streaming=True`, some background process prevents the script from ever returning (or at least for a very long time).
This did not happen with `huggingface-hub < 1`.
### Steps to reproduce the bug
from datasets import load_dataset
ds = load_dataset("IRIIS-RESEARCH/N... | |
4,356,674,999 | I_kwDODunzps8AAAABA62Vtw | 8,167 | [BUG] Abnormal progress bar in dataset.map when load_from_cache_file=False | closed | completed | 2026-04-30T08:47:53 | 2026-05-29T10:59:07 | 2026-05-29T10:59:07Z | https://github.com/huggingface/datasets/issues/8167 | Jintao-Huang | [] | [] | [
"https://github.com/huggingface/datasets/blob/4e3bf52ff436d841e61211dfa096b5c47197ae36/src/datasets/arrow_dataset.py#L3593-L3598",
"Hi, can you provide more details on the issue ?",
"<img width=\"340\" height=\"26\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/0dca6f47-4a8d-4871-a908-f58df856e... | NONE | ### Describe the bug
datasets 4.8.5
```python
from datasets import load_dataset, load_from_disk
data = load_from_disk('pretrain_cached_dataset/train')
def dummy_map(example):
return example
dataset = data.map(dummy_map)
dataset = data.map(dummy_map, load_from_cache_file=True) ... | |
4,354,878,889 | I_kwDODunzps8AAAABA5ItqQ | 8,165 | IterableDataset: corrupted EXIF image silently terminates streaming iterator instead of skipping the sample | open | 2026-04-30T02:20:54 | 2026-05-06T07:31:42 | https://github.com/huggingface/datasets/issues/8165 | LIUYellowBlack | [] | [] | [
"Hi ! Would it be acceptable to return None instead of skipping ? This way we can provide the same API for non-streaming (since the length of the dataset is known in advance and fixed). Then a subsequent .filter call can take care of skipping the samples. Something like this maybe ?\n\n```python\nds = load_dataset(... | NONE | ## Summary
When iterating over a streaming `IterableDataset` that contains images with corrupted EXIF metadata (e.g., a TIFF rational tag with denominator=0), PIL raises `ZeroDivisionError` inside `exif_transpose`. This exception propagates through the HuggingFace `datasets` pipeline and **terminates the streaming ite... | |||
4,354,825,277 | I_kwDODunzps8AAAABA5FcPQ | 8,164 | Lance: HF auth token dropped for private repos in streaming mode (broken `storage_options` lookup) | closed | completed | 2026-04-30T02:03:33 | 2026-04-30T15:38:43 | 2026-04-30T15:38:43Z | https://github.com/huggingface/datasets/issues/8164 | ericjaebeom | [] | [] | [
"I can see the fix. Changing `split(\"://\", 0)` to `split(\"://\", 1)` and removing the `+ \"://\"` suffix. The key lookup should be `\"hf\"` not `\"hf://\"`. \nI'd like to submit a PR for this. Is this still open?",
"Well, I am already writing a PR for this, and it is just about to be submitted."
] | CONTRIBUTOR | ### Describe the bug
When `Lance._split_generators` receives `hf://` URIs - i.e. anywhere a `StreamingDownloadManager` is in play (`load_dataset(..., streaming=True)`, `get_dataset_split_names`, and the dataset-viewer worker) - the HF auth token is silently dropped before reaching `lance.dataset(...)`. Lance then atte... | |
4,345,858,995 | I_kwDODunzps8AAAABAwiLsw | 8,159 | tests/conftest.py, tests/_test_patching.py, tests/fixtures/fsspec.py and other files are missing from the PYPI distribution | open | 2026-04-28T20:01:05 | 2026-04-30T14:40:23 | https://github.com/huggingface/datasets/issues/8159 | yurivict | [] | [] | [
"Hey, ran into something similar a while back when we were packaging a custom dataset loader for a client at v4.7.x. Turns out, PyPI distributions sometimes skip test files and fixtures like `conftest.py` since they're not critical for runtime—honestly, it's a packaging config thing in `setup.py` or `pyproject.toml... | NONE | ### Describe the bug
Version: 4.8.5
### Steps to reproduce the bug
n/a
### Expected behavior
n/a
### Environment info
n/a | |||
4,316,149,021 | I_kwDODunzps8AAAABAUM1HQ | 8,149 | [Optimization] Prevent per-thread instantiation of Cloud Storage FileSystem during Data loading initialization | open | 2026-04-23T13:09:19 | 2026-04-24T14:14:59 | https://github.com/huggingface/datasets/issues/8149 | ankitaluthra1 | [
"enhancement"
] | [] | [
"Is it open for contribution?",
"I think arbitrary filesystems would be recreated in every thread in any case, unlike HfFileSystem which has custom code to handle this."
] | NONE | ### Feature request
Modify the dataset loading initialization, so that fsspec filesystem instances (like GCSFileSystem or S3FileSystem) are instantiated once in the main thread and explicitly passed down to the background threads.
By pre-instantiating the fs object in the main thread (where the directory cache from g... | |||
4,306,478,911 | I_kwDODunzps8AAAABAK-nPw | 8,145 | `.map()` on a streaming IterableDataset silently skips examples after load_state_dict | closed | completed | 2026-04-22T03:08:39 | 2026-04-27T14:03:28 | 2026-04-27T14:03:28Z | https://github.com/huggingface/datasets/issues/8145 | MonliH | [] | [] | [
"I think this line here is causing issues: \nhttps://github.com/huggingface/datasets/blob/2724a653e7582077be647d3fdfe8cd1fac27b85f/src/datasets/iterable_dataset.py#L2225\nIt ignored force_convert_to_python, so it consumed a full Arrow chunk.\nI think it can be fixed if you add `self.force_convert_to_python` to the ... | NONE | ### Describe the bug
After `ds.map(fn)` on a streaming IterableDataset, saving state_dict() and loading it into a fresh dataset does not resume at the correct position. It jumps forward by up to one Arrow read-chunk (~1000 rows).
### Steps to reproduce the bug
```python
from datasets import Dataset
ds1 = Dataset.fr... | |
4,251,712,550 | I_kwDODunzps79a_wm | 8,131 | datasets.to_list: Behaviour change in version 4.7.0 with the addition of JSON type | closed | completed | 2026-04-13T06:06:43 | 2026-04-27T15:32:30 | 2026-04-27T15:32:30Z | https://github.com/huggingface/datasets/issues/8131 | ItsTania | [] | [] | [
"I think we can go for the same approach as in https://github.com/huggingface/datasets/pull/8122 which decodes the JSON data (and supports JSON nested in other objects)\n\n(Or decide to decode all the features types, which I think could make sense, but this needs more careful handling so this should be discussed in... | CONTRIBUTOR | ### Describe the bug
There is a change in the approach to decoding JSON types, added in https://github.com/huggingface/datasets/commit/d560b58e1f1ec96591a95a1780ee118f5eea6c74. Since 4.7.0, to_list() returns raw JSON strings for columns stored as Json(), while direct access via __getitem__ returns dicts.
In versions... | |
4,241,704,875 | I_kwDODunzps7800er | 8,129 | `load_dataset()` hangs when `hf_xet` is enabled | closed | completed | 2026-04-10T21:00:24 | 2026-04-10T21:07:56 | 2026-04-10T21:07:56Z | https://github.com/huggingface/datasets/issues/8129 | lewtun | [] | [] | [
"Apologies, seems to have been a stale cache issue. Nuking the datasets cache fixed the issue"
] | MEMBER | ### Describe the bug
Hi! I am getting a peculiar download issue on the latest versions of `datasets` and `hfh` where datasets hang indefinitely:
```py
from datasets import load_dataset
load_dataset("openai/gsm8k", "main", split="test")
```
Note that:
- streaming=True works.
- Direct Hub access works.
- Th... | |
4,223,104,906 | I_kwDODunzps77t3eK | 8,125 | Feature request: being able to disable chmod for flat permission filesystems | open | 2026-04-08T08:17:14 | 2026-04-08T08:22:42 | https://github.com/huggingface/datasets/issues/8125 | younesbelkada | [
"enhancement"
] | [] | [
"Context: the operation fails on GCS FUSE mounts, and likely will on similar s3-backed file systems.\n\n File \"/home/user/.venv/lib/python3.12/site-packages/datasets/arrow_dataset.py\", line 3747, in _map_single ... | NONE | ### Feature request
For flat permission file systems, `os.chmod` simply fails when trying to cache datasets - in some places such as: https://github.com/huggingface/datasets/blob/main/src/datasets/arrow_dataset.py#L4043-L4048 for arrow datasets.
This seems to be optional to obtained desired behavior as simply comment... | |||
4,201,197,701 | I_kwDODunzps76aTCF | 8,120 | Patch fields truncated — missing trailing newlines | closed | completed | 2026-04-03T16:07:47 | 2026-04-30T15:45:52 | 2026-04-30T15:45:52Z | https://github.com/huggingface/datasets/issues/8120 | hetao-git | [] | [] | [
"Hi, I'd like to work on this issue. I'll try to reproduce this issue and see where the newline is being stripped.",
"Hi @hetao-git\n\nI was able to reproduce this issue, I used the instance \"atlanhq_atlan-python_pr37\" from the AweAI-Team/Scale-SWE dataset. I observed that applying the GitHub patch (pull/37.dif... | NONE | Description: Multiple entries in the dataset have patches (test.patch and fix.patch) and f2p_patch fields with truncated content. The trailing blank lines that are part of valid unified diff format are stripped, causing git apply to fail with "corrupt patch" errors.
Affected instances (confirmed): atlanhq_atlan-python... | |
4,197,189,620 | I_kwDODunzps76LAf0 | 8,116 | `to_json()` serializes `Json()` feature as escaped string instead of native JSON object | closed | completed | 2026-04-02T21:59:15 | 2026-04-10T13:12:51 | 2026-04-10T13:12:51Z | https://github.com/huggingface/datasets/issues/8116 | ain-soph | [] | [] | [
"Hi! I ran into this issue as well, I think the root cause was that under `_batch_json()` of `JsonDatasetWriter` it was directly exporting the encoded string without decoding it first. I will try to add a PR with a small fix. ",
"#self-assign"
] | CONTRIBUTOR | ### Describe the bug
When a dataset column uses the `Json()` feature type, calling `to_json()` writes the value as an escaped JSON string (e.g., `"{\"cat_a\":1,\"cat_b\":2}"`) instead of a native JSON object (e.g., `{"cat_a":1,"cat_b":2}`).
This causes two problems:
1. The output JSON file is not interoperable with ... | |
4,176,918,326 | I_kwDODunzps749rc2 | 8,110 | `set_format` resets features | closed | completed | 2026-03-31T07:59:32 | 2026-05-11T07:15:16 | 2026-05-11T07:15:16Z | https://github.com/huggingface/datasets/issues/8110 | plutonium-239 | [] | [] | [
"couldn't replicate with: \n\n``` bash\nPlatform: macos\npython: 3.10.9\ndatasets: 4.8.4\nhuggingface_hub: 0.36.2\npyarrow: 23.0.1\npandas: 2.3.3\nfsspec: 2026.2.0\n\n```\n\n\n``` python\nimport datasets\nfrom datasets import Array2D, Dataset\nimport numpy as np\n\n# Create a dataset with Array2D feature\ndata = {\... | NONE | ### Describe the bug
Calling `dataset.set_format('...')` resets the informative features such as `Array2D` etc. back into `List(List(Value))` and so on.
### Steps to reproduce the bug
```py
>>> dataset.features
{'lld': Array2D(shape=(None, 26), dtype='float32')}
>>> dataset.set_format('torch')
>>> dataset.features
... | |
4,120,101,624 | I_kwDODunzps71k8L4 | 8,085 | ImportError: cannot import name 'VideoReader' from 'torchvision.io' when using datasets with torch format | closed | completed | 2026-03-23T11:16:20 | 2026-03-23T14:23:25 | 2026-03-23T14:00:57Z | https://github.com/huggingface/datasets/issues/8085 | DamJanusz | [] | [] | [
"`datasets` 4.8.4 is out and includes a fix :)"
] | NONE | ### Describe the bug
For PyTorch 2.11 + torchvision 0.26.0 when using the datasets library and setting the format to "torch", an ImportError occurs because the datasets library attempts to import VideoReader from torchvision.io, but this object is not found in the installed torchvision version.
**Error message**:
> ... | |
4,099,246,270 | I_kwDODunzps70VYi- | 8,079 | StepExamplesIterable._iter_arrow drops samples for non-zero ranks for single-sharded | closed | completed | 2026-03-19T04:38:51 | 2026-03-19T17:29:40 | 2026-03-19T17:29:40Z | https://github.com/huggingface/datasets/issues/8079 | wwwjn | [] | [
"lhoestq"
] | [] | NONE | ### Describe the bug
As titled
### Steps to reproduce the bug
Running following Python script:
```
"""
Reproducer for HuggingFace datasets 4.x bug:
StepExamplesIterable._iter_arrow drops samples for non-zero ranks
when Arrow batches have size 1 (e.g. single-shard streaming WebDataset).
Bug: split_dataset_by_node w... | |
4,086,560,531 | I_kwDODunzps7zk_cT | 8,078 | Inconsistent loading of LFS-hosted files in Dangindev/viet-cultural-vqa dataset | closed | completed | 2026-03-17T06:44:01 | 2026-03-30T04:14:29 | 2026-03-30T04:14:29Z | https://github.com/huggingface/datasets/issues/8078 | ngayngo9x | [] | [] | [
"I also have been stuck in same problem ",
"This should be fixed, thanks for reporting ! let us know if you ever encounter other issues in the future",
"It's okay. \n\nGood job, thanks your support! "
] | NONE | ### Describe the bug
Describe the bug
Some files in the Dangindev/viet-cultural-vqa 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/Dangindev/viet-cultural-vqa/blob/main/images/am_thuc/banh_chung_T... | |
4,085,618,908 | I_kwDODunzps7zhZjc | 8,075 | `.batch()` error on formatted datasets | closed | completed | 2026-03-17T01:08:13 | 2026-04-10T13:14:03 | 2026-04-10T13:14:03Z | https://github.com/huggingface/datasets/issues/8075 | mariosasko | [] | [] | [
"Hi ! Good catch :) Since table-formatted iterable datasets have an Arrow path (i.e. they have `.iter_arrow()`) I guess a simple fix would be to make `.batch()` make the dataset arrow-formatted and use a `batch_arrow_fn` in that case (instead of the current `_batch_fn` that expects dictionaries). It would also be b... | COLLABORATOR | The `.batch()` method currently assumes the input (batch) is always a dictionary, which causes errors when it isn't. This can happen with formatted datasets, since formats like `"pyarrow"`, `"pandas"` (only affects `IterableDataset`), and `"polars"` return tables/dataframes instead of dictionaries.
For example:
```pyt... | |
4,073,606,584 | I_kwDODunzps7yzk24 | 8,065 | ARM audio support broken | open | 2026-03-13T22:06:36 | 2026-03-23T14:16:47 | https://github.com/huggingface/datasets/issues/8065 | leondz | [] | [] | [
"See also https://github.com/NVIDIA/garak/issues/1622#issuecomment-3937720381",
"Hi @leondz , thanks for the detailed bug report — the description and reproduction steps are really clear.\n\nI’d love to take a shot at investigating and potentially fixing this issue. Before I start digging into the codebase, I jus... | CONTRIBUTOR | ### Describe the bug
`datasets` 4.0 moved to using `torchcodec` for audio datasets, which doesn't support ARM hardware under Linux and Windows
### Steps to reproduce the bug
try:
* Try to install `torchcodec` under Linux ARM64
or:
* Try to install `torchcodec` under Windows ARM64
or, on either of those platforms... | |||
4,041,972,911 | I_kwDODunzps7w65yv | 8,052 | [Security] Zip/Rar/7z Archive Extraction Path Traversal (Incomplete CVE-2007-4559 Mitigation) | closed | completed | 2026-03-08T19:09:32 | 2026-03-10T23:27:45 | 2026-03-10T23:27:45Z | https://github.com/huggingface/datasets/issues/8052 | spartan8806 | [] | [] | [
"Hi! I'm currently exploring the codebase and came across this issue. I'd be interested in investigating it further and trying to reproduce the behavior locally.\n\nIf no one is actively working on it, I'd be happy to take a look and attempt a fix.\n",
"The steps to reproduce don't cause any file extraction outsi... | NONE | ## Security Vulnerability Report
**Reporter:** Conner Webber (conner.webber000@gmail.com)
**Severity:** HIGH (CVSS 3.1: 8.2)
**CWE:** CWE-22 (Improper Limitation of a Pathname to a Restricted Directory)
## Summary
The `ZipExtractor`, `RarExtractor`, and `SevenZipExtractor` classes in `datasets/utils/extract.py` call... | |
4,031,613,102 | I_kwDODunzps7wTYiu | 8,048 | Support 3D Datasets | closed | completed | 2026-03-06T01:23:08 | 2026-06-02T17:40:12 | 2026-06-02T17:38:55Z | https://github.com/huggingface/datasets/issues/8048 | Vinay-Umrethe | [
"enhancement"
] | [] | [
"Closing, as this got implemented in:\n\n[feat: add 3D mesh support and MeshFolder builder #8055](https://github.com/huggingface/datasets/pull/8055)\n\n[fix: embed_external_files=True for mesh support #8224](https://github.com/huggingface/datasets/pull/8224)"
] | CONTRIBUTOR | ### Feature request
In `datasets` library we have options to load `image` and `audio` datasets which can be viewed in the Dataset Viewer.
LIKE:
```bash
from datasets import load_dataset, Image
from datasets import load_dataset, Audio
```
> https://huggingface.co/docs/datasets/en/image_load & https://huggingface.co/do... | |
4,030,348,328 | I_kwDODunzps7wOjwo | 8,046 | `Dataset.map()` with `num_proc > 1` fails when some shards produce `List(Value('null'))` (empty lists) | closed | completed | 2026-03-05T20:12:13 | 2026-03-09T17:52:13 | 2026-03-09T17:52:13Z | https://github.com/huggingface/datasets/issues/8046 | ain-soph | [] | [] | [
"\n### Root cause\n\nIn `src/datasets/features/features.py`, both `_check_if_features_can_be_aligned` and `_align_features` use:\n\n```python\nisinstance(v, Value) and v.dtype == \"null\"\n```\n\nto check for null compatibility. However, `List(Value('null'))` is **not** an instance of `Value` — it's an instance of ... | CONTRIBUTOR | ### Describe the bug
When using `Dataset.map()` with `num_proc > 1`, if the map function produces a list column where some shards contain only empty lists `[]` and other shards contain non-empty lists of structs, the feature type inference is inconsistent across shards:
- Shards with only empty lists → `List(Value('n... | |
4,020,184,168 | I_kwDODunzps7vnyRo | 8,038 | Typo in iterable_dataset.py | closed | completed | 2026-03-04T05:37:15 | 2026-03-09T17:12:54 | 2026-03-09T17:12:54Z | https://github.com/huggingface/datasets/issues/8038 | sybaik1 | [] | [] | [] | NONE | ### Describe the bug
`streaming=True**kwargs,` should be `streaming=True, **kwargs,`
https://github.com/huggingface/datasets/blob/81027be09d5cd9f06a6d64ef1a8a3e9ebd0f86fd/src/datasets/iterable_dataset.py#L2950
### Steps to reproduce the bug
```
from Datasets import Dataset
IterableDataset.from_csv("file.csv")
```
#... | |
4,008,928,790 | I_kwDODunzps7u82YW | 8,037 | IterableDataset.filter() chaining fails due to features being lost when is_typed=True | closed | completed | 2026-03-02T02:30:24 | 2026-03-09T17:44:34 | 2026-03-09T17:44:34Z | https://github.com/huggingface/datasets/issues/8037 | sh0416 | [] | [] | [] | NONE | ### Describe the bug
Chaining multiple .filter() calls on an IterableDataset raises a TypeError: 'NoneType' object is not a mapping on the second .filter() call.
In `IterableDataset.filter()`, the internal `ex_iterable` is wrapped with FormattedExamplesIterable:
```python
ex_iterable = FormattedExamplesIterable(
... | |
4,004,188,523 | I_kwDODunzps7uqxFr | 8,034 | [BUG] load_datasets() cannot use the generated Arrow cache correctly | open | 2026-02-28T08:11:23 | 2026-03-04T13:50:08 | https://github.com/huggingface/datasets/issues/8034 | Nexround | [] | [] | [
"PYTHONHASHSEED=1 uv run python -c\n \"\nfrom datasets.load import LocalDatasetModuleFactory\nmod = LocalDatasetModuleFactory('/cache/datasets/imagenet-1k')\ndm = mod.get_module()\nprint('Hash:', dm.hash)\n\"\nResolving data files: 100%|█████████| 294/294 [00:00<00:00, 20584.68it/s]\nResolving data files: 100%|████... | CONTRIBUTOR | ### Describe the bug
The datasets library cannot use the generated Arrow cache correctly, seemingly due to a flaw in the internal hash symbol calculation logic.
The following code provides verification.
I am trying to locate the specific code position, and if there are further developments, I will update here.
### S... | |||
4,001,742,455 | I_kwDODunzps7uhb53 | 8,029 | `cache_dir` option in `download_config` in `load_dataset` is not respected | open | 2026-02-27T16:05:30 | 2026-02-27T23:34:28 | https://github.com/huggingface/datasets/issues/8029 | TsXor | [] | [] | [
"Actually, I used debugger to step into the code of `datasets`, and found `load_dataset` calls into `cached_path`, where it calls into `hf_hub_download` method for `hf://` links:\nhttps://github.com/huggingface/datasets/blob/6e8eaeed4d202b72eff44ba1a9ec5b7d81d2d3e6/src/datasets/utils/file_utils.py#L182-L195\n\nSome... | NONE | ### Describe the bug
Downloaded files still go to `~/.cache/huggingface/hub/` even if I specified `cache_dir` option in `download_config` in `load_dataset`.
### Steps to reproduce the bug
Run my freshly written script and found that downloaded files did not go where I want.
```python
'''
下载OpenWebText数据集,允许使用代理
'''
... | |||
3,974,281,900 | I_kwDODunzps7s4rqs | 8,015 | Iterating a streaming dataset correctly in random order | open | 2026-02-22T11:34:06 | 2026-05-11T15:08:20 | https://github.com/huggingface/datasets/issues/8015 | unrealwill | [] | [] | [
"Hi, reshuffling is actually pretty easy:\n\n```python\n\"\"\" shuffle.py \"\"\"\nfrom datasets import load_dataset\n\nnum_proc = 8 # tweak it here depending on your machine\nseed = 42\nds = load_dataset(\"jackyhate/text-to-image-2M\", num_proc=num_proc)\nds = ds.shuffle(seed=seed)\nds.push_to_hub(\"my-username/te... | NONE | ### Describe the bug
For training to work properly it is considered good practice in machine learning to sample the dataset randomly (uniformly). I am not sure how the user is expected to do it correctly when the creator of the dataset did a bad job.
https://huggingface.co/docs/hub/datasets-webdataset
```
**Shuffle*... | |||
3,963,855,875 | I_kwDODunzps7sQ6QD | 8,012 | HC3 dataset fails to load with datasets>=3 due to legacy script (HC3.py) | closed | completed | 2026-02-19T16:27:51 | 2026-02-20T11:58:20 | 2026-02-20T11:58:20Z | https://github.com/huggingface/datasets/issues/8012 | navan0 | [] | [] | [
"This is not a bug. This is intended behaviour. The only ways to resolve this are\n1. use the old `datasets` versions\n2. load the dataset and upload it to your own repo without a script\n3. raise an issue in the dataset and wait for the owner to update it."
] | NONE | ### Describe the bug
It looks like the current documentation suggests loading the dataset like this:
`load_dataset("Hello-SimpleAI/HC3", split="train")
`
But with datasets>=3.x, this raises:
RuntimeError: Dataset scripts are no longer supported, but found HC3.py
The dataset loads correctly if we specify the parqu... | |
3,963,448,558 | I_kwDODunzps7sPWzu | 8,010 | audiofolder / folder-based loader rejects metadata.csv when file_name column is inferred as large_string | closed | completed | 2026-02-19T15:06:09 | 2026-02-19T15:29:41 | 2026-02-19T15:29:41Z | https://github.com/huggingface/datasets/issues/8010 | Koosh0610 | [] | [] | [
"Proposing a PR for this [here](https://github.com/huggingface/datasets/pull/8011)\n\nPS: I didn't find a contributing documentation. Please recommend any changes in issue or PR if any. Thank you!"
] | NONE | ### Describe the bug
When loading a dataset with load_dataset("audiofolder", data_dir=...) and a metadata.csv (with a file_name column), loading can fail with:
`ValueError: file_name or *_file_name must be present as dictionary key (with type string) in metadata files`
even when the CSV clearly has a file_name colum... | |
3,946,695,329 | I_kwDODunzps7rPcqh | 8,007 | Add option for loading audio with video | open | 2026-02-16T09:11:02 | 2026-05-21T15:37:30 | https://github.com/huggingface/datasets/issues/8007 | Samoed | [] | [] | [
"Hi,\nI’m interested in working on this issue.\n\nFrom what I understand, audio decoding would involve an AudioDecoder, and previous discussions have suggested handling it separately. I’d like to explore whether integrating audio extraction in relation to the current video decoding workflow would be appropriate, or... | NONE | ### Describe the bug
Currently, `torchcodec` don't allow extracting `Audio` from `Video` https://github.com/meta-pytorch/torchcodec/issues/1158, but when I upload videos with audio to hub using `videofolder`, then this is not possible to retrieve audio from it. Probably `VideoDecoder` can be extended with `audio` para... | |||
3,944,394,074 | I_kwDODunzps7rGq1a | 8,006 | Regression: from_generator crashes if one generator call returns no results | closed | completed | 2026-02-15T16:16:48 | 2026-02-24T13:58:12 | 2026-02-24T13:58:12Z | https://github.com/huggingface/datasets/issues/8006 | hartmans | [] | [] | [] | CONTRIBUTOR | ### Describe the bug
Dataset.from_generator splits any list kwarg to the generator and makes a separate call to the generator for each member of the list even in the num_proc=1 case.
I have a generator that processes a number of files, filtering them and producing examples. It used to be the case that things worked fi... | |
3,941,908,297 | I_kwDODunzps7q9L9J | 8,005 | Multi-channel audio is automatically cast to mono, num_channels is ignored | open | 2026-02-14T17:28:03 | 2026-02-25T15:17:18 | https://github.com/huggingface/datasets/issues/8005 | ZackHodari | [] | [] | [
"**Workaround**\nDirectly load audio using torchcodec, this is what datasets does under the hood (but doesn't maintain multi-channel)\n\n```python\nimport torchcodec\n\ndecoder = torchcodec.decoders.AudioDecoder(audio[\"bytes\"])\naudio_samples = decoder.get_all_samples()\n\naudio = audio_samples.data.numpy()\nsamp... | NONE | ### Describe the bug
The `num_channels` parameter in `datasets.Audio()` is documented to preserve stereo channels when set to `None` (preserve original) or `2` (explicit stereo), but it currently downmixes all audio to mono regardless of this setting.
### Steps to reproduce the bug
```python
import numpy as np
impor... | |||
3,937,013,814 | I_kwDODunzps7qqhA2 | 8,002 | The `Sequence` class in features do not have "dtype" | open | 2026-02-13T12:45:19 | 2026-02-13T12:52:36 | https://github.com/huggingface/datasets/issues/8002 | gonzalo-santamaria-iic | [] | [] | [] | NONE | ### Describe the bug
**I'm not sure if this is a bug.**
I see that a `FeatureType` object contains an attribute called `self.dtype` that is not covered when this feature is a `Sequence` or a `List`.
When I try to run a multilabel classification with this example script from the transformers library:
https://github.... | |||
3,915,367,642 | I_kwDODunzps7pX8Ta | 7,999 | Too many dataloader workers: 4 (max is dataset.num_shards=3). Stopping 1 dataloader workers. | open | 2026-02-09T09:26:37 | 2026-02-15T14:25:56 | https://github.com/huggingface/datasets/issues/7999 | D222097 | [] | [] | [
"Hi, thanks for the clear question and code snippet!\n\nFrom my understanding, **hf_dataset.num_shards** represents the number of actual iterable partitions that the streaming dataset can be read from in parallel. This is not the same as the number of underlying Parquet files—many files can be grouped into a much s... | NONE | Hi !
I’m working on training with a large-scale dataset (100+ Parquet files) using lazy loading, and I’m struggling to understand/optimize the num_shards setting— in the lerobot repo: streaming_datasets.py:
```
from datasets import load_dataset
self.hf_dataset: datasets.IterableDataset = load_dataset(
self.... | |||
3,912,624,238 | I_kwDODunzps7pNehu | 7,998 | [doc] Inconsistant ENV VAR Name for Progress Bar Toggle | closed | completed | 2026-02-08T12:16:44 | 2026-02-16T15:29:50 | 2026-02-16T15:29:50Z | https://github.com/huggingface/datasets/issues/7998 | Moenupa | [] | [] | [] | NONE | Code uses env var name `HF_DATASETS_DISABLE_PROGRESS_BARS`.
https://github.com/huggingface/datasets/blob/025593f2f0722f31fc136e0ae45da4ff44d4416a/src/datasets/config.py#L221-L226
Docstrings and warnings report env var name `HF_DATASETS_DISABLE_PROGRESS_BAR` without the ending `S`.
https://github.com/huggingface/data... | |
3,906,330,806 | I_kwDODunzps7o1eC2 | 7,994 | Bump fsspec upper bound constraint | closed | completed | 2026-02-06T11:37:54 | 2026-02-16T15:29:00 | 2026-02-16T15:29:00Z | https://github.com/huggingface/datasets/issues/7994 | hadim | [] | [] | [] | NONE | Would it be possible to bump fsspec upper bound to the latest (2026.2.0)?
I saw you had some API compat issues in the past (https://github.com/huggingface/datasets/issues/7326) and I understand the need for an upper bound.
But I wonder if you think your CI and tests are a good proxy to catch fsspec API breakage? If t... | |
3,896,884,513 | I_kwDODunzps7oRb0h | 7,991 | list(api.list_datasets()) giving jsondecode error | closed | completed | 2026-02-04T14:39:46 | 2026-02-05T10:30:09 | 2026-02-05T10:30:09Z | https://github.com/huggingface/datasets/issues/7991 | Moll-j | [] | [] | [] | NONE | i am using the python api wrapper to list all datasets available on hugging face. This is for research, and i need all datasets to determine which % have language tags and other related questions requiring the total list. However, the following code that worked a few months ago:
```
from huggingface_hub import HfApi
a... | |
3,895,870,826 | I_kwDODunzps7oNkVq | 7,990 | Dataset.map crashes when first examples return None and later examples return dict — writer not initialized | open | 2026-02-04T10:43:20 | 2026-05-26T19:09:11 | https://github.com/huggingface/datasets/issues/7990 | meta-program | [] | [] | [
"map() expects a function that always return dict or that always return none",
"Hi, I'd like to work on this if the team is open to it.\n\nI understand from @lhoestq's comment that `map()` currently expects\na consistent return type. However, the crash with `AttributeError: \n'NoneType' object has no attribute 'w... | NONE | ### Describe the bug
I detected a serious [bug from datasets/arrow_dataset.py](https://github.com/huggingface/datasets/blob/main/src/datasets/arrow_dataset.py#L3676)
---
**Description of the bug**
`Dataset.map` crashes with `writer is None` when the map function returns `None` for the first few examples and a diction... | |||
3,895,353,435 | I_kwDODunzps7oLmBb | 7,988 | `Dataset.map()` breaks when `function` calls `import polars as pl` and `num_proc`>1: "UnboundLocalError: cannot access local variable 'pl' where it is not associated with a value" | closed | completed | 2026-02-04T08:42:23 | 2026-02-24T14:08:16 | 2026-02-24T14:08:16Z | https://github.com/huggingface/datasets/issues/7988 | ligz08 | [] | [] | [] | NONE | ### Describe the bug
# Repro
These two conditions seem to consistently reproduce the issue:
- function passed to `Dataset.map()` explicitly or implicitly calls `import polars as pl`
- `num_proc` > 1
# Trace
```
RemoteTraceback Traceback (most recent call last)
RemoteTraceback:
"""
Traceback... | |
3,892,776,651 | I_kwDODunzps7oBw7L | 7,986 | `Dataset.map()` causes cache miss/fingerprint change when closure captures self containing non-deterministic state. | open | 2026-02-03T19:16:49 | 2026-02-06T08:38:13 | https://github.com/huggingface/datasets/issues/7986 | Cloud0310 | [] | [] | [
"I suggest metion this in docs specifically for attention with use, tell users explicitly to pass arguments with `fn_kwargs` param or using `functools.partial` to create a pure funcion."
] | NONE | ### Describe the bug
When using `.map()` with a function defined inside a **class (of which has any non-deterministic states)** method (a closure), if that function captures `self` to access a configuration variable (e.g., self.foo), the fingerprint mechanism serializes the entire class instance state.
If the class i... | |||
3,891,431,105 | I_kwDODunzps7n8obB | 7,984 | Data | open | 2026-02-03T14:01:48 | 2026-02-03T14:01:48 | https://github.com/huggingface/datasets/issues/7984 | iLenceJhay | [] | [] | [] | NONE | ||||
3,869,700,866 | I_kwDODunzps7mpvMC | 7,970 | cast_column(..., Audio) fails with load_dataset("csv",) | open | 2026-01-29T09:33:35 | 2026-04-04T12:45:45 | https://github.com/huggingface/datasets/issues/7970 | jstangroome | [] | [] | [
"The following code *does* work:\n```py\nfrom datasets import load_dataset,Audio,Features\n\ndataset = load_dataset(\"csv\",data_files=\"audio.csv\",features=Features({\"audio\": Audio()}))\nprint(dataset[\"train\"][0][\"audio\"])\n```",
"Thanks for reporing ! Are you using pandas v3 by any chance ? The CSV loade... | NONE | ### Describe the bug
Attempt to load a dataset from a csv with a single `audio` column with a single row with a path to an audio file fails when casting the column to Audio, but the exact same dataset created from a dictionary succeeds.
### Steps to reproduce the bug
1. Have any valid audio file `audio.wav`
2. Have ... | |||
3,864,988,355 | I_kwDODunzps7mXwrD | 7,968 | Potential conflicting type checks and dead code in `/src/datasets/table.py` | closed | completed | 2026-01-28T11:34:53 | 2026-05-11T11:04:04 | 2026-05-11T11:04:04Z | https://github.com/huggingface/datasets/issues/7968 | rc4typecheck | [] | [] | [
"ConcatenationTable is a subclass of datasets.table.Table but not pa.Table, so it should be fine",
"Hi! Triaging stale issues — I don't think this one is actually dead code; the premise is off.\n\nThe claim is that `isinstance(table, ConcatenationTable)` at line 4 is unreachable because the line-2 `isinstance(tab... | NONE | When statically analyzing and manually reviewing the code, I noticed a potential logic conflicting in `/src/datasets/table.py` as follows:
```
def to_blocks(table: Union[pa.Table, Table]) -> list[list[TableBlock]]:
if isinstance(table, pa.Table):
return [[InMemoryTable(table)]]
elif isinstance(ta... | |
3,858,483,549 | I_kwDODunzps7l-8ld | 7,965 | `huggingface_hub.errors.HfHubHTTPError: 404 Client Error: Not Found for url` when fetching a dataset with `datasets.load_dataset` | closed | completed | 2026-01-27T02:20:31 | 2026-01-28T15:14:50 | 2026-01-28T15:14:50Z | https://github.com/huggingface/datasets/issues/7965 | harupy | [] | [] | [
"Hi ! Yes you should use `cornell-movie-review-data/rotten_tomatoes` instead of `rotten_tomatoes`, which is the legacy name. Those datasets have been moved under their actual owners accounts some time ago (but we were keeping the old names as aliases)\n\nSome other impacted names are:\n- `imdb` -> `stanfordnlp/imdb... | NONE | Not a bug but a question. We started getting the following error:
https://github.com/mlflow/mlflow/actions/runs/21368603305/job/61506951617
```
ests/data/test_huggingface_dataset_and_source.py::test_from_huggingface_dataset_constructs_expected_dataset_with_revision - huggingface_hub.errors.HfHubHTTPError: 404 Client ... | |
3,847,184,392 | I_kwDODunzps7lT2AI | 7,958 | [CUDA Tensors Not working in ~v4.5.0] set_format(type="torch", device="cuda") returns cpu | closed | completed | 2026-01-23T12:06:48 | 2026-03-04T13:17:28 | 2026-03-04T13:17:28Z | https://github.com/huggingface/datasets/issues/7958 | ai-nikolai | [] | [] | [
"@lhoestq tagging you here as you were on the previous issue, hope that's fine. ",
"Thanks for reporting, let me take a look",
"I reverted this change which caused the issue #7961 , I'll do a new release soon but in the meantime feel free to install `datasets` from source",
"@lhoestq thanks a lot. I am actual... | NONE | ### Describe the bug
The problem is that when calling:
```ds.set_format(type="torch", columns = ["input", "labels"], device="cuda")```
The device type of the individual datapoints is now: `cpu` as opposed to `cuda:0`.
With `v4.0.0` it still works. With `v4.5.0` it doesn't work anymore.
Related Issue:
https://github... | |
3,839,082,498 | I_kwDODunzps7k08AC | 7,956 | Is the 10k files / folder limit a hard limit for a dataset repo? | open | 2026-01-21T16:37:38 | 2026-01-22T09:38:38 | https://github.com/huggingface/datasets/issues/7956 | pavanramkumar | [
"enhancement"
] | [] | [
"Yes, that's a hard limit. Can you split your files into different folders? Or we'll probably have a new repo type in the near to mid future that will relax this limit a bit. ",
"Thanks! Working around this with a different sharding parameter to have fewer overall fragments (and therefore fewer files in `*.lance/... | NONE | ### Feature request
Can the hard limit of 10k files per folder be extended with acceptable loss in performance?
### Motivation
I'm uploading a lance dataset to huggingface hub and have a folder inside lance internals (`data/*.lance/_transactions`) that has > 20k atomic transaction records and my commits are being re... | |||
3,837,020,089 | I_kwDODunzps7ktEe5 | 7,954 | all_exhausted_without_replacement working same as first_exhausted | closed | completed | 2026-01-21T07:50:31 | 2026-03-23T14:03:13 | 2026-03-23T14:03:13Z | https://github.com/huggingface/datasets/issues/7954 | prathamk-tw | [] | [] | [
"https://github.com/huggingface/datasets/pull/7955",
"it was fixed by https://github.com/huggingface/datasets/pull/7955"
] | CONTRIBUTOR | ### Describe the bug
>>> from datasets import Dataset, interleave_datasets
>>> d1 = Dataset.from_dict({"a": [0, 1, 2]})
>>> d2 = Dataset.from_dict({"a": [10, 11, 12, 13]})
>>> d3 = Dataset.from_dict({"a": [20, 21, 22]})
>>> dataset = interleave_datasets([d1, d2, d3], stopping_strategy="all_exhausted_without_replacemen... | |
3,823,309,787 | I_kwDODunzps7j4xPb | 7,947 | MMLU get_dataset_config_names provides different lists of subsets in online and offline modes | open | 2026-01-16T19:20:08 | 2026-01-16T19:20:08 | https://github.com/huggingface/datasets/issues/7947 | rikrd | [] | [] | [] | NONE | ### Describe the bug
When getting the config names of `cais/mmlu` in online mode, it provides the different subjects and `all` but in offline mode is provides `default` even with cached version of the dataset.
### Steps to reproduce the bug
1. First download dataset in online mode so that it is cached:
```
$ HF_DATA... | |||
3,817,678,454 | I_kwDODunzps7jjSZ2 | 7,946 | Question: Is there a faster way to push_to_hub for large image datasets? | open | 2026-01-15T13:54:37 | 2026-01-17T13:27:20 | https://github.com/huggingface/datasets/issues/7946 | adithya-s-k | [] | [] | [
"This is a really interesting approach, especially combining parallel parquet\nconversion with upload_large_folder and hf_xet.\n\nOne question / observation:\nThe shard calculation currently uses max_shard_size_mb as a proxy for\nsamples_per_shard. Since sample size can vary a lot across datasets,\nwould it make se... | NONE | # Question: Is there a faster way to `push_to_hub` for large image datasets? Or could this approach be integrated?
Hi! I frequently work with large image datasets (100k-300k+ samples) and found that `dataset.push_to_hub()` can be quite slow.
cc @lhoestq - would love your thoughts on this!
I experimented with an alte... | |||
3,806,889,870 | I_kwDODunzps7i6IeO | 7,939 | datasets.load_from_disk progress bar optional manual control | open | 2026-01-13T03:19:13 | 2026-01-13T03:19:13 | https://github.com/huggingface/datasets/issues/7939 | Tommigun1980 | [
"enhancement"
] | [] | [] | NONE | ### Feature request
This is tangentially related to [https://github.com/huggingface/datasets/issues/7918](https://github.com/huggingface/datasets/issues/7918).
When loading a dataset with > 16 files a progress bar is shown (unless stdout is redirected or [https://github.com/huggingface/datasets/pull/7919](https://git... | |||
3,795,750,271 | I_kwDODunzps7iPo1_ | 7,936 | _add_retries_to_file_obj_read_method makes file_obj invalid for pyarrow | closed | completed | 2026-01-09T07:05:25 | 2026-01-14T13:47:50 | 2026-01-13T13:38:03Z | https://github.com/huggingface/datasets/issues/7936 | li-yi-dong | [] | [] | [
"hmm not sure how to fix this, I believe `file_obj.__getattr__ = lambda _, attr: getattr(orig_file_obj, attr)` would make all the methods point to the original file_obj",
"> hmm not sure how to fix this, I believe `file_obj.__getattr__ = lambda _, attr: getattr(orig_file_obj, attr)` would make all the methods poi... | NONE | ### Describe the bug
I'm trying to use `load_dataset` to construct a dataset that read parquet data on HDFS streamingly, like
```python
ds = load_dataset(
"parquet",
data_files={
"train": "hdfs://xxx/train*.parquet",
"test": "hdfs://xxx/test*.parquet"
},
streaming=True,
)
```
I encounte... | |
3,792,642,445 | I_kwDODunzps7iDyGN | 7,934 | xPath cannot handle hdfs:///xxxx properly | open | 2026-01-08T12:14:11 | 2026-01-08T12:14:11 | https://github.com/huggingface/datasets/issues/7934 | li-yi-dong | [] | [] | [] | NONE | ### Describe the bug
_as_str('hdfs:///xxxx') would return hdfs://xxxx. Removing one / and making the path invalid.
For the use case like
```
ds = load_dataset(
"parquet",
data_files={
"train": "hdfs:///user/path/to/data/train*.parquet",
},
streaming=True,
storage_options={
"host": ... | |||
3,777,662,799 | I_kwDODunzps7hKo9P | 7,931 | Enable CORS + HTTP Range support for browser partial reads on cas-bridge.xethub.hf.co (Parquet row-group access) | closed | completed | 2026-01-03T04:23:54 | 2026-02-24T21:31:37 | 2026-02-24T16:35:44Z | https://github.com/huggingface/datasets/issues/7931 | cornhundred | [
"enhancement"
] | [] | [
"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... | NONE | ### 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... | |
3,775,842,185 | I_kwDODunzps7hDseJ | 7,928 | `load_dataset` `revision` param not respected when fetching from cache | open | 2026-01-02T08:20:47 | 2026-04-17T16:01:16 | https://github.com/huggingface/datasets/issues/7928 | Scott-Simmons | [] | [] | [
"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... | CONTRIBUTOR | ### 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... | |||
3,775,302,438 | I_kwDODunzps7hBosm | 7,927 | Using Stateful Dataloader with Split Dataset By Node and DCP for DDP | open | 2026-01-01T22:27:07 | 2026-02-01T06:13:30 | https://github.com/huggingface/datasets/issues/7927 | conceptofmind | [] | [] | [
"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... | NONE | ### 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... | |||
3,772,247,021 | I_kwDODunzps7g1-vt | 7,922 | Support Apache TsFile Datasets | closed | completed | 2025-12-31T08:07:51 | 2026-06-01T10:14:53 | 2026-06-01T10:14:53Z | https://github.com/huggingface/datasets/issues/7922 | qiaojialin | [
"enhancement"
] | [] | [
"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... | NONE | ### 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... | |
3,765,489,462 | I_kwDODunzps7gcM82 | 7,918 | datasets.load_from_disk doesn't show progress bar | closed | completed | 2025-12-28T09:14:41 | 2026-01-16T14:44:50 | 2026-01-16T14:44:50Z | https://github.com/huggingface/datasets/issues/7918 | Tommigun1980 | [] | [] | [
"#self-assign"
] | NONE | ### 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... | |
3,764,913,807 | I_kwDODunzps7gaAaP | 7,917 | IterableDataset supports automatic sharding | open | 2025-12-27T16:48:29 | 2025-12-29T16:06:52 | https://github.com/huggingface/datasets/issues/7917 | howitry | [] | [] | [
"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 ... | NONE | ### 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... | |||
3,764,901,707 | I_kwDODunzps7gZ9dL | 7,916 | No description provided. | closed | completed | 2025-12-27T16:33:11 | 2025-12-27T16:45:22 | 2025-12-27T16:45:22Z | https://github.com/huggingface/datasets/issues/7916 | howitry | [
"enhancement"
] | [] | [] | NONE | ||
3,762,042,396 | I_kwDODunzps7gPDYc | 7,915 | GDPval dataset Word docs corrupted | open | 2025-12-25T13:56:55 | 2025-12-26T09:06:13 | https://github.com/huggingface/datasets/issues/7915 | alexheat | [] | [] | [
"tentatively tagging @simonpfish ^\n\n(if it's an option you could enable PRs/Discussions on your dataset on HF)"
] | NONE | 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... | |||
3,760,894,100 | I_kwDODunzps7gKrCU | 7,914 | [ROCm] please install 'torchcodec' | open | 2025-12-24T19:39:17 | 2026-03-04T10:18:33 | https://github.com/huggingface/datasets/issues/7914 | AndreasKaratzas | [] | [] | [
"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... | NONE | ### 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... | |||
3,753,447,559 | I_kwDODunzps7fuRCH | 7,911 | IndexError when saving few large examples to disk | closed | completed | 2025-12-22T11:33:19 | 2026-01-09T13:23:53 | 2026-01-09T13:23:52Z | https://github.com/huggingface/datasets/issues/7911 | CloseChoice | [] | [] | [] | CONTRIBUTOR | ### 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 ... | |
3,749,885,131 | I_kwDODunzps7fgrTL | 7,909 | Support cast_kwargs in cast_columns | open | 2025-12-20T10:02:07 | 2025-12-20T10:28:01 | https://github.com/huggingface/datasets/issues/7909 | Moenupa | [
"enhancement"
] | [] | [] | NONE | ### 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... | |||
3,734,233,245 | I_kwDODunzps7ek-Cd | 7,905 | Unbounded network usage when opening Data Studio | closed | completed | 2025-12-16T10:45:02 | 2026-01-06T15:04:43 | 2026-01-06T15:04:43Z | https://github.com/huggingface/datasets/issues/7905 | alizaredornica-sys | [] | [] | [
"cc @cfahlgren1",
"Thanks for reporting! Looking into this!",
"This should be fixed. Thank you for your patience! 🤗"
] | NONE | ### 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... | |
3,727,978,498 | I_kwDODunzps7eNHAC | 7,904 | Request: Review pending neuroimaging PRs (#7886 BIDS loader, #7887 lazy loading) | open | 2025-12-14T20:34:31 | 2025-12-15T11:25:29 | https://github.com/huggingface/datasets/issues/7904 | The-Obstacle-Is-The-Way | [] | [] | [
"Hi ! sure I'll be happy to take a look, sorry for the delay :)"
] | CONTRIBUTOR | ## 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) |... | |||
3,723,281,150 | I_kwDODunzps7d7ML- | 7,902 | The child process retrieves the dataset directly from the main process instead of executing `memory_mapped_arrow_table_from_file`. | open | 2025-12-12T12:37:44 | 2025-12-15T11:48:16 | https://github.com/huggingface/datasets/issues/7902 | HQF2017 | [
"enhancement"
] | [] | [
"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 ... | NONE | ### 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... | |||
3,722,243,543 | I_kwDODunzps7d3O3X | 7,901 | ShuffledDataSourcesArrowExamplesIterable cannot properly resume from checkpoint | open | 2025-12-12T06:57:32 | 2025-12-16T19:34:46 | https://github.com/huggingface/datasets/issues/7901 | howitry | [] | [] | [
"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... | NONE | ### 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... | |||
3,711,751,590 | I_kwDODunzps7dPNWm | 7,900 | `Permission denied` when sharing cache between users | open | 2025-12-09T16:41:47 | 2026-01-09T11:08:36 | https://github.com/huggingface/datasets/issues/7900 | qthequartermasterman | [] | [] | [
"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, ... | NONE | ### 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... | |||
3,688,455,006 | I_kwDODunzps7b2Vte | 7,894 | embed_table_storage crashes (SIGKILL) on sharded datasets with Sequence() nested types | open | 2025-12-03T04:20:06 | 2025-12-06T13:10:34 | https://github.com/huggingface/datasets/issues/7894 | The-Obstacle-Is-The-Way | [] | [] | [
"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... | CONTRIBUTOR | ## 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
- #... | |||
3,688,454,085 | I_kwDODunzps7b2VfF | 7,893 | push_to_hub OOM: _push_parquet_shards_to_hub accumulates all shard bytes in memory | closed | not_planned | 2025-12-03T04:19:34 | 2025-12-05T22:45:59 | 2025-12-05T22:44:16Z | https://github.com/huggingface/datasets/issues/7893 | The-Obstacle-Is-The-Way | [] | [] | [
"`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... | CONTRIBUTOR | ## 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... | |
3,668,182,561 | I_kwDODunzps7apAYh | 7,883 | Data.to_csv() cannot be recognized by pylance | closed | completed | 2025-11-26T16:16:56 | 2025-12-08T12:06:58 | 2025-12-08T12:06:58Z | https://github.com/huggingface/datasets/issues/7883 | xi4ngxin | [] | [] | [] | NONE | ### 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/... | |
3,667,664,527 | I_kwDODunzps7anB6P | 7,882 | Inconsistent loading of LFS-hosted files in epfml/FineWeb-HQ dataset | open | 2025-11-26T14:06:02 | 2025-12-19T14:09:45 | https://github.com/huggingface/datasets/issues/7882 | Oligou | [] | [] | [
"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"
] | NONE | ### 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... | |||
3,667,561,864 | I_kwDODunzps7amo2I | 7,880 | Spurious label column created when audiofolder/imagefolder directories match split names | open | 2025-11-26T13:36:24 | 2025-11-26T13:36:24 | https://github.com/huggingface/datasets/issues/7880 | neha222222 | [] | [] | [] | NONE | ## 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... | |||
3,657,249,446 | I_kwDODunzps7Z_TKm | 7,879 | python core dump when downloading dataset | open | 2025-11-24T06:22:53 | 2025-11-25T20:45:55 | https://github.com/huggingface/datasets/issues/7879 | hansewetz | [] | [] | [
"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... | NONE | ### 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... | |||
3,652,906,788 | I_kwDODunzps7Zuu8k | 7,877 | work around `tempfile` silently ignoring `TMPDIR` if the dir doesn't exist | closed | completed | 2025-11-21T19:51:48 | 2025-12-16T14:20:48 | 2025-12-16T14:20:48Z | https://github.com/huggingface/datasets/issues/7877 | stas00 | [] | [] | [
"Hi! Just created a Pull Request (#7890) to try to fix this using your suggestions. I hope it helps!"
] | CONTRIBUTOR | 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 ... | |
3,643,681,893 | I_kwDODunzps7ZLixl | 7,872 | IterableDataset does not use features information in to_pandas | open | 2025-11-19T17:12:59 | 2025-11-19T18:52:14 | https://github.com/huggingface/datasets/issues/7872 | bonext | [] | [] | [
"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 }... | NONE | ### 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... | |||
3,643,607,371 | I_kwDODunzps7ZLQlL | 7,871 | Reqwest Error: HTTP status client error (429 Too Many Requests) | closed | completed | 2025-11-19T16:52:24 | 2025-11-30T13:38:32 | 2025-11-30T13:38:32Z | https://github.com/huggingface/datasets/issues/7871 | yanan1116 | [] | [] | [
"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... | NONE | ### 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... | |
3,642,209,953 | I_kwDODunzps7ZF7ah | 7,870 | Visualization for Medical Imaging Datasets | closed | completed | 2025-11-19T11:05:39 | 2025-11-21T12:31:19 | 2025-11-21T12:31:19Z | https://github.com/huggingface/datasets/issues/7870 | CloseChoice | [] | [] | [
"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... | CONTRIBUTOR | 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... | |
3,636,808,734 | I_kwDODunzps7YxUwe | 7,869 | Why does dataset merge fail when tools have different parameters? | closed | completed | 2025-11-18T08:33:04 | 2026-03-09T15:57:59 | 2026-03-09T15:57:58Z | https://github.com/huggingface/datasets/issues/7869 | hitszxs | [] | [] | [
"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_... | NONE | 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... | |
3,632,429,308 | I_kwDODunzps7Ygnj8 | 7,868 | Data duplication with `split_dataset_by_node` and `interleaved_dataset` | closed | completed | 2025-11-17T09:15:24 | 2026-02-04T18:55:36 | 2026-02-04T18:55:36Z | https://github.com/huggingface/datasets/issues/7868 | ValMystletainn | [] | [] | [
"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... | NONE | ### 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... | |
3,620,931,722 | I_kwDODunzps7X0wiK | 7,867 | NonMatchingSplitsSizesError when loading partial dataset files | open | 2025-11-13T12:03:23 | 2025-11-16T15:39:23 | https://github.com/huggingface/datasets/issues/7867 | QingGo | [] | [] | [
"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... | NONE | ### 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... | |||
3,619,137,823 | I_kwDODunzps7Xt6kf | 7,864 | add_column and add_item erroneously(?) require new_fingerprint parameter | open | 2025-11-13T02:56:49 | 2026-05-10T11:51:01 | https://github.com/huggingface/datasets/issues/7864 | echthesia | [] | [] | [
"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 ... | NONE | ### 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... | |||
3,618,836,821 | I_kwDODunzps7XsxFV | 7,863 | Support hosting lance / vortex / iceberg / zarr datasets on huggingface hub | open | 2025-11-13T00:51:07 | 2026-04-23T12:29:09 | https://github.com/huggingface/datasets/issues/7863 | pavanramkumar | [
"enhancement"
] | [] | [
"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... | NONE | ### 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... | |||
3,611,821,713 | I_kwDODunzps7XSAaR | 7,861 | Performance Issue: save_to_disk() 200-1200% slower due to unconditional flatten_indices() | open | 2025-11-11T11:05:38 | 2025-11-11T11:05:38 | https://github.com/huggingface/datasets/issues/7861 | KCKawalkar | [] | [] | [] | NONE | ## 🐛 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:
`... | |||
3,603,729,142 | I_kwDODunzps7WzIr2 | 7,856 | Missing transcript column when loading a local dataset with "audiofolder" | closed | completed | 2025-11-08T16:27:58 | 2025-11-09T12:13:38 | 2025-11-09T12:13:38Z | https://github.com/huggingface/datasets/issues/7856 | gweltou | [] | [] | [
"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... | NONE | ### 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... | |
3,595,450,602 | I_kwDODunzps7WTjjq | 7,852 | Problems with NifTI | closed | completed | 2025-11-06T11:46:33 | 2025-11-06T16:20:38 | 2025-11-06T16:20:38Z | https://github.com/huggingface/datasets/issues/7852 | CloseChoice | [] | [] | [
"> 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... | CONTRIBUTOR | ### 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... | |
3,582,182,995 | I_kwDODunzps7Vg8ZT | 7,842 | Transform with columns parameter triggers on non-specified column access | closed | completed | 2025-11-03T13:55:27 | 2025-11-03T14:34:13 | 2025-11-03T14:34:13Z | https://github.com/huggingface/datasets/issues/7842 | mr-brobot | [] | [] | [] | NONE | ### 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... | |
3,579,506,747 | I_kwDODunzps7VWvA7 | 7,841 | DOC: `mode` parameter on pdf and video features unused | closed | completed | 2025-11-02T12:37:47 | 2025-11-05T14:04:04 | 2025-11-05T14:04:04Z | https://github.com/huggingface/datasets/issues/7841 | CloseChoice | [] | [] | [
"They seem to be artefacts from a copy-paste of the Image feature ^^' we should remove them"
] | CONTRIBUTOR | 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... | |
3,579,121,843 | I_kwDODunzps7VVRCz | 7,839 | datasets doesn't work with python 3.14 | closed | completed | 2025-11-02T09:09:06 | 2025-11-04T14:02:25 | 2025-11-04T14:02:25Z | https://github.com/huggingface/datasets/issues/7839 | zachmoshe | [] | [] | [
"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... | NONE | ### 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... | |
3,575,454,726 | I_kwDODunzps7VHRwG | 7,837 | mono parameter to the Audio feature is missing | closed | completed | 2025-10-31T15:41:39 | 2025-11-03T15:59:18 | 2025-11-03T14:24:12Z | https://github.com/huggingface/datasets/issues/7837 | ernestum | [] | [] | [
"Hey, we removed the misleading passage in the docstring and enabled support for `num_channels` as torchcodec does",
"thanks!"
] | NONE | 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... | |
3,558,802,959 | I_kwDODunzps7UHwYP | 7,834 | Audio.cast_column() or Audio.decode_example() causes Colab kernel crash (std::bad_alloc) | open | 2025-10-27T22:02:00 | 2025-11-15T16:28:04 | https://github.com/huggingface/datasets/issues/7834 | rachidio | [] | [] | [
"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... | NONE | ### 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... | |||
3,555,991,552 | I_kwDODunzps7T9CAA | 7,832 | [DOCS][minor] TIPS paragraph not compiled in docs/stream | closed | completed | 2025-10-27T10:03:22 | 2025-10-27T10:10:54 | 2025-10-27T10:10:54Z | https://github.com/huggingface/datasets/issues/7832 | art-test-stack | [] | [] | [] | CONTRIBUTOR | 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(... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.