Dataset Viewer
Auto-converted to Parquet Duplicate
url
stringlengths
58
61
repository_url
stringclasses
1 value
labels_url
stringlengths
72
75
comments_url
stringlengths
67
70
events_url
stringlengths
65
68
html_url
stringlengths
46
51
id
int64
599M
3.64B
node_id
stringlengths
18
32
number
int64
1
7.87k
title
stringlengths
1
290
user
dict
labels
listlengths
0
4
state
stringclasses
2 values
locked
bool
1 class
assignee
dict
assignees
listlengths
0
4
milestone
dict
comments
int64
0
70
created_at
stringdate
2020-04-14 10:18:02
2025-11-18 08:33:04
updated_at
stringdate
2020-04-27 16:04:17
2025-11-18 16:07:04
closed_at
stringlengths
3
25
author_association
stringclasses
4 values
type
float64
active_lock_reason
float64
sub_issues_summary
dict
issue_dependencies_summary
dict
body
stringlengths
0
228k
closed_by
dict
reactions
dict
timeline_url
stringlengths
67
70
performed_via_github_app
float64
state_reason
stringclasses
4 values
draft
float64
0
1
pull_request
dict
is_pull_request
bool
2 classes
https://api.github.com/repos/huggingface/datasets/issues/7869
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/7869/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/7869/comments
https://api.github.com/repos/huggingface/datasets/issues/7869/events
https://github.com/huggingface/datasets/issues/7869
3,636,808,734
I_kwDODunzps7YxUwe
7,869
Why does dataset merge fail when tools have different parameters?
{ "avatar_url": "https://avatars.githubusercontent.com/u/116297296?v=4", "events_url": "https://api.github.com/users/hitszxs/events{/privacy}", "followers_url": "https://api.github.com/users/hitszxs/followers", "following_url": "https://api.github.com/users/hitszxs/following{/other_user}", "gists_url": "https://api.github.com/users/hitszxs/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/hitszxs", "id": 116297296, "login": "hitszxs", "node_id": "U_kgDOBu6OUA", "organizations_url": "https://api.github.com/users/hitszxs/orgs", "received_events_url": "https://api.github.com/users/hitszxs/received_events", "repos_url": "https://api.github.com/users/hitszxs/repos", "site_admin": false, "starred_url": "https://api.github.com/users/hitszxs/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/hitszxs/subscriptions", "type": "User", "url": "https://api.github.com/users/hitszxs", "user_view_type": "public" }
[]
open
false
null
[]
null
0
2025-11-18 08:33:04+00:00
2025-11-18 08:33:04+00:00
NaT
NONE
null
null
{ "completed": 0, "percent_completed": 0, "total": 0 }
{ "blocked_by": 0, "blocking": 0, "total_blocked_by": 0, "total_blocking": 0 }
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, I get the following error: TypeError: Couldn't cast array of type struct<refundFee: struct<description: string, type: string>, ... , servicerId: struct<description: string, type: string>> to { 'refundFee': {'description': Value(dtype='string'), 'type': Value(dtype='string')}, ... 'templateId': {'description': Value(dtype='string'), 'type': Value(dtype='string')} } From my understanding, the merge fails because the tools column's nested structure is different across datasets — e.g., one struct contains an extra field servicerId while the other does not. This causes HuggingFace Datasets (and its underlying Apache Arrow schema) to reject the merge. My question is: why is it designed this way? Is this strict schema matching a hard requirement of the library? Is there a recommended way to merge datasets with different tool schemas (different parameters and types)? For an agent model supporting multiple tools, what's the best practice for preparing/merging training data without losing flexibility? Any guidance or design rationale would be greatly appreciated. Thanks!
null
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/7869/reactions" }
https://api.github.com/repos/huggingface/datasets/issues/7869/timeline
null
null
null
null
false
https://api.github.com/repos/huggingface/datasets/issues/7868
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/7868/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/7868/comments
https://api.github.com/repos/huggingface/datasets/issues/7868/events
https://github.com/huggingface/datasets/issues/7868
3,632,429,308
I_kwDODunzps7Ygnj8
7,868
Data duplication with `split_dataset_by_node` and `interleaved_dataset`
{ "avatar_url": "https://avatars.githubusercontent.com/u/42485228?v=4", "events_url": "https://api.github.com/users/ValMystletainn/events{/privacy}", "followers_url": "https://api.github.com/users/ValMystletainn/followers", "following_url": "https://api.github.com/users/ValMystletainn/following{/other_user}", "gists_url": "https://api.github.com/users/ValMystletainn/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ValMystletainn", "id": 42485228, "login": "ValMystletainn", "node_id": "MDQ6VXNlcjQyNDg1MjI4", "organizations_url": "https://api.github.com/users/ValMystletainn/orgs", "received_events_url": "https://api.github.com/users/ValMystletainn/received_events", "repos_url": "https://api.github.com/users/ValMystletainn/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ValMystletainn/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ValMystletainn/subscriptions", "type": "User", "url": "https://api.github.com/users/ValMystletainn", "user_view_type": "public" }
[]
open
false
null
[]
null
0
2025-11-17 09:15:24+00:00
2025-11-17 09:15:24+00:00
NaT
NONE
null
null
{ "completed": 0, "percent_completed": 0, "total": 0 }
{ "blocked_by": 0, "blocking": 0, "total_blocked_by": 0, "total_blocking": 0 }
### 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.distributed import split_dataset_by_node path = "/mnt/wwx/datasets/fineweb/data/CC-MAIN-2013-20/" files = [os.path.join(path, fn) for fn in os.listdir(path)] dataset = load_dataset("parquet", split="train", data_files=files, streaming=True) print(f"{dataset.n_shards=}") dataset_rank0 = split_dataset_by_node(dataset, 0, 4) dataset_rank1 = split_dataset_by_node(dataset, 1, 4) dataset_rank0_interleaved = interleave_datasets([dataset_rank0], seed=42, probabilities=[1.0]) dataset_rank1_interleaved = interleave_datasets([dataset_rank1], seed=42, probabilities=[1.0]) print("print the first sample id from all datasets") print("dataset", next(iter(dataset))['id']) print("dataset_rank0", next(iter(dataset_rank0))['id']) print("dataset_rank1", next(iter(dataset_rank1))['id']) print("dataset_rank0_interleaved", next(iter(dataset_rank0_interleaved))['id']) print("dataset_rank1_interleaved", next(iter(dataset_rank1_interleaved))['id']) dataset_rank0_shard = dataset.shard(4, 0) dataset_rank1_shard = dataset.shard(4, 1) dataset_rank0_shard_interleaved = interleave_datasets([dataset_rank0_shard], seed=42, probabilities=[1.0]) dataset_rank1_shard_interleaved = interleave_datasets([dataset_rank1_shard], seed=42, probabilities=[1.0]) print("dataset_rank0_shard", next(iter(dataset_rank0_shard))['id']) print("dataset_rank1_shard", next(iter(dataset_rank1_shard))['id']) print("dataset_rank0_shard_interleaved", next(iter(dataset_rank0_shard_interleaved))['id']) print("dataset_rank1_shard_interleaved", next(iter(dataset_rank1_shard_interleaved))['id']) ``` I just use a subfold of C4 with 14 paruets to do the quick run and get ``` dataset.n_shards=14 print the first sample id from all datasets dataset <urn:uuid:c84a7f00-f3e8-4b67-baa4-df5adaf23bae> dataset_rank0 <urn:uuid:c84a7f00-f3e8-4b67-baa4-df5adaf23bae> dataset_rank1 <urn:uuid:6b7da64f-c26e-4086-aef5-4b6f01106223> dataset_rank0_interleaved <urn:uuid:c84a7f00-f3e8-4b67-baa4-df5adaf23bae> dataset_rank1_interleaved <urn:uuid:c84a7f00-f3e8-4b67-baa4-df5adaf23bae> dataset_rank0_shard <urn:uuid:c84a7f00-f3e8-4b67-baa4-df5adaf23bae> dataset_rank1_shard <urn:uuid:67cf7216-dd05-4f55-a28a-1a1c96989c51> dataset_rank0_shard_interleaved <urn:uuid:c84a7f00-f3e8-4b67-baa4-df5adaf23bae> dataset_rank1_shard_interleaved <urn:uuid:67cf7216-dd05-4f55-a28a-1a1c96989c51> ``` ### Expected behavior the first sample of `dataset_rank0_interleaved` and `dataset_rank1_interleaved` should be different, as other `rank0` `rank1` couples. I have dive into the function and try to find how it work in `split -> interleaved` process. the `split_dataset_by_node` of iterable dataset does't not change `._ex_iterable` attribute of the dataset. it just set the distributed config in dataset, and the distributed dataset is used in actually `__iter__` call, to handle with shard split or sample skipping. however, in `interleaved_dataset` of iterable dataset. it copy out all of the `._ex_iterable` of provided datasets, and consist a new `_ex_iterable`, so the missing copy of `distributed config` caused the data duplication in different dp rank. So I may first ask, is it an unexpected using order of those function, which means: - always do `split_dataset_by_node` at final rather than in middle way. - or use `dataset.shard(dp_size, dp_rank)` rather than `split_dataset_by_node` in case similar of mine. if the using order is permiited, I think it is a bug, and I can do a PR to fix it (I meet this bug in real training, related issue is https://github.com/ByteDance-Seed/VeOmni/issues/200 if it helps. ### Environment info datasets 4.4.1 ubuntu 20.04 python 3.11.4
null
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/7868/reactions" }
https://api.github.com/repos/huggingface/datasets/issues/7868/timeline
null
null
null
null
false
https://api.github.com/repos/huggingface/datasets/issues/7867
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/7867/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/7867/comments
https://api.github.com/repos/huggingface/datasets/issues/7867/events
https://github.com/huggingface/datasets/issues/7867
3,620,931,722
I_kwDODunzps7X0wiK
7,867
NonMatchingSplitsSizesError when loading partial dataset files
{ "avatar_url": "https://avatars.githubusercontent.com/u/13678719?v=4", "events_url": "https://api.github.com/users/QingGo/events{/privacy}", "followers_url": "https://api.github.com/users/QingGo/followers", "following_url": "https://api.github.com/users/QingGo/following{/other_user}", "gists_url": "https://api.github.com/users/QingGo/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/QingGo", "id": 13678719, "login": "QingGo", "node_id": "MDQ6VXNlcjEzNjc4NzE5", "organizations_url": "https://api.github.com/users/QingGo/orgs", "received_events_url": "https://api.github.com/users/QingGo/received_events", "repos_url": "https://api.github.com/users/QingGo/repos", "site_admin": false, "starred_url": "https://api.github.com/users/QingGo/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/QingGo/subscriptions", "type": "User", "url": "https://api.github.com/users/QingGo", "user_view_type": "public" }
[]
open
false
null
[]
null
2
2025-11-13 12:03:23+00:00
2025-11-16 15:39:23+00:00
NaT
NONE
null
null
{ "completed": 0, "percent_completed": 0, "total": 0 }
{ "blocked_by": 0, "blocking": 0, "total_blocked_by": 0, "total_blocking": 0 }
### 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 reproduce the bug 1. Use the Hugging Face `datasets` library to load a dataset with only specific files specified 2. Ensure the dataset repository has split metadata defined in README.md 3. Observe the error when attempting to load a subset of files ```python # Example code that triggers the error from datasets import load_dataset book_corpus_ds = load_dataset( "SaylorTwift/the_pile_books3_minus_gutenberg", name="default", data_files="data/train-00000-of-00213-312fd8d7a3c58a63.parquet", split="train", cache_dir="./data" ) ``` ### Error Message ``` Traceback (most recent call last): File "/Users/QingGo/code/llm_learn/src/data/clean_cc_bc.py", line 13, in <module> book_corpus_ds = load_dataset( "SaylorTwift/the_pile_books3_minus_gutenberg", ... File "/Users/QingGo/code/llm_learn/.venv/lib/python3.13/site-packages/datasets/utils/info_utils.py", line 77, in verify_splits raise NonMatchingSplitsSizesError(str(bad_splits)) datasets.exceptions.NonMatchingSplitsSizesError: [{'expected': SplitInfo(name='train', num_bytes=106199627990.47722, num_examples=192661, shard_lengths=None, dataset_name=None), 'recorded': SplitInfo(name='train', num_bytes=454897326, num_examples=905, shard_lengths=None, dataset_name='the_pile_books3_minus_gutenberg')}] ``` ### Expected behavior When loading partial dataset files, the system should: 1. Skip the `NonMatchingSplitsSizesError` validation, OR 2. Only log a warning message instead of raising an error ### Environment info - `datasets` version: 4.3.0 - Platform: macOS-15.7.1-arm64-arm-64bit-Mach-O - Python version: 3.13.2 - `huggingface_hub` version: 0.36.0 - PyArrow version: 22.0.0 - Pandas version: 2.3.3 - `fsspec` version: 2025.9.0
null
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/7867/reactions" }
https://api.github.com/repos/huggingface/datasets/issues/7867/timeline
null
null
null
null
false
https://api.github.com/repos/huggingface/datasets/issues/7866
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/7866/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/7866/comments
https://api.github.com/repos/huggingface/datasets/issues/7866/events
https://github.com/huggingface/datasets/pull/7866
3,620,436,248
PR_kwDODunzps6zL7Sz
7,866
docs: add Python version requirement note to installation section
{ "avatar_url": "https://avatars.githubusercontent.com/u/222381706?v=4", "events_url": "https://api.github.com/users/ananthasai-2006/events{/privacy}", "followers_url": "https://api.github.com/users/ananthasai-2006/followers", "following_url": "https://api.github.com/users/ananthasai-2006/following{/other_user}", "gists_url": "https://api.github.com/users/ananthasai-2006/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ananthasai-2006", "id": 222381706, "login": "ananthasai-2006", "node_id": "U_kgDODUFGig", "organizations_url": "https://api.github.com/users/ananthasai-2006/orgs", "received_events_url": "https://api.github.com/users/ananthasai-2006/received_events", "repos_url": "https://api.github.com/users/ananthasai-2006/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ananthasai-2006/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ananthasai-2006/subscriptions", "type": "User", "url": "https://api.github.com/users/ananthasai-2006", "user_view_type": "public" }
[]
open
false
null
[]
null
0
2025-11-13 09:54:35+00:00
2025-11-13 09:54:35+00:00
NaT
NONE
null
null
null
null
Added note about Python version requirement for conda installation.
null
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/7866/reactions" }
https://api.github.com/repos/huggingface/datasets/issues/7866/timeline
null
null
0
{ "diff_url": "https://github.com/huggingface/datasets/pull/7866.diff", "html_url": "https://github.com/huggingface/datasets/pull/7866", "merged_at": null, "patch_url": "https://github.com/huggingface/datasets/pull/7866.patch", "url": "https://api.github.com/repos/huggingface/datasets/pulls/7866" }
true
https://api.github.com/repos/huggingface/datasets/issues/7865
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/7865/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/7865/comments
https://api.github.com/repos/huggingface/datasets/issues/7865/events
https://github.com/huggingface/datasets/pull/7865
3,620,116,195
PR_kwDODunzps6zK2H_
7,865
[FEAT] MIDI feature support
{ "avatar_url": "https://avatars.githubusercontent.com/u/2518789?v=4", "events_url": "https://api.github.com/users/frascuchon/events{/privacy}", "followers_url": "https://api.github.com/users/frascuchon/followers", "following_url": "https://api.github.com/users/frascuchon/following{/other_user}", "gists_url": "https://api.github.com/users/frascuchon/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/frascuchon", "id": 2518789, "login": "frascuchon", "node_id": "MDQ6VXNlcjI1MTg3ODk=", "organizations_url": "https://api.github.com/users/frascuchon/orgs", "received_events_url": "https://api.github.com/users/frascuchon/received_events", "repos_url": "https://api.github.com/users/frascuchon/repos", "site_admin": false, "starred_url": "https://api.github.com/users/frascuchon/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/frascuchon/subscriptions", "type": "User", "url": "https://api.github.com/users/frascuchon", "user_view_type": "public" }
[]
open
false
null
[]
null
1
2025-11-13 08:31:51+00:00
2025-11-14 13:58:52+00:00
NaT
NONE
null
null
null
null
This PR adds a new `Midi` feature for reading and importing MIDI files into the datasets.
null
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/7865/reactions" }
https://api.github.com/repos/huggingface/datasets/issues/7865/timeline
null
null
0
{ "diff_url": "https://github.com/huggingface/datasets/pull/7865.diff", "html_url": "https://github.com/huggingface/datasets/pull/7865", "merged_at": null, "patch_url": "https://github.com/huggingface/datasets/pull/7865.patch", "url": "https://api.github.com/repos/huggingface/datasets/pulls/7865" }
true
https://api.github.com/repos/huggingface/datasets/issues/7864
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/7864/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/7864/comments
https://api.github.com/repos/huggingface/datasets/issues/7864/events
https://github.com/huggingface/datasets/issues/7864
3,619,137,823
I_kwDODunzps7Xt6kf
7,864
add_column and add_item erroneously(?) require new_fingerprint parameter
{ "avatar_url": "https://avatars.githubusercontent.com/u/17151810?v=4", "events_url": "https://api.github.com/users/echthesia/events{/privacy}", "followers_url": "https://api.github.com/users/echthesia/followers", "following_url": "https://api.github.com/users/echthesia/following{/other_user}", "gists_url": "https://api.github.com/users/echthesia/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/echthesia", "id": 17151810, "login": "echthesia", "node_id": "MDQ6VXNlcjE3MTUxODEw", "organizations_url": "https://api.github.com/users/echthesia/orgs", "received_events_url": "https://api.github.com/users/echthesia/received_events", "repos_url": "https://api.github.com/users/echthesia/repos", "site_admin": false, "starred_url": "https://api.github.com/users/echthesia/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/echthesia/subscriptions", "type": "User", "url": "https://api.github.com/users/echthesia", "user_view_type": "public" }
[]
open
false
null
[]
null
0
2025-11-13 02:56:49+00:00
2025-11-13 02:57:12+00:00
NaT
NONE
null
null
{ "completed": 0, "percent_completed": 0, "total": 0 }
{ "blocked_by": 0, "blocking": 0, "total_blocked_by": 0, "total_blocking": 0 }
### 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 it shouldn't be optional in these methods as well? ### Steps to reproduce the bug Reproduction steps: 1. Look at the function signature for add_column: https://github.com/huggingface/datasets/blob/17f40a318a1f8c7d33c2a4dd17934f81d14a7f57/src/datasets/arrow_dataset.py#L6078 2. Repeat for add_item: https://github.com/huggingface/datasets/blob/17f40a318a1f8c7d33c2a4dd17934f81d14a7f57/src/datasets/arrow_dataset.py#L6336 ### Expected behavior add_column and add_item should either set the fingerprint parameter to optional or include it in their docstrings ### Environment info Not environment-dependent
null
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/7864/reactions" }
https://api.github.com/repos/huggingface/datasets/issues/7864/timeline
null
null
null
null
false
https://api.github.com/repos/huggingface/datasets/issues/7863
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/7863/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/7863/comments
https://api.github.com/repos/huggingface/datasets/issues/7863/events
https://github.com/huggingface/datasets/issues/7863
3,618,836,821
I_kwDODunzps7XsxFV
7,863
Support hosting lance / vortex / iceberg / zarr datasets on huggingface hub
{ "avatar_url": "https://avatars.githubusercontent.com/u/3664715?v=4", "events_url": "https://api.github.com/users/pavanramkumar/events{/privacy}", "followers_url": "https://api.github.com/users/pavanramkumar/followers", "following_url": "https://api.github.com/users/pavanramkumar/following{/other_user}", "gists_url": "https://api.github.com/users/pavanramkumar/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/pavanramkumar", "id": 3664715, "login": "pavanramkumar", "node_id": "MDQ6VXNlcjM2NjQ3MTU=", "organizations_url": "https://api.github.com/users/pavanramkumar/orgs", "received_events_url": "https://api.github.com/users/pavanramkumar/received_events", "repos_url": "https://api.github.com/users/pavanramkumar/repos", "site_admin": false, "starred_url": "https://api.github.com/users/pavanramkumar/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/pavanramkumar/subscriptions", "type": "User", "url": "https://api.github.com/users/pavanramkumar", "user_view_type": "public" }
[ { "color": "a2eeef", "default": true, "description": "New feature or request", "id": 1935892871, "name": "enhancement", "node_id": "MDU6TGFiZWwxOTM1ODkyODcx", "url": "https://api.github.com/repos/huggingface/datasets/labels/enhancement" } ]
open
false
null
[]
null
9
2025-11-13 00:51:07+00:00
2025-11-17 21:37:11+00:00
NaT
NONE
null
null
{ "completed": 0, "percent_completed": 0, "total": 0 }
{ "blocked_by": 0, "blocking": 0, "total_blocked_by": 0, "total_blocking": 0 }
### 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-grained control of streaming, so that I can stream at the partition / shard level ### Motivation I work with very large `lance` datasets on S3 and often require random access for AI/ML applications like multi-node training. I was able to achieve high throughput dataloading on a lance dataset with ~150B rows by building distributed dataloaders that can be scaled both vertically (until i/o and CPU are saturated), and then horizontally (to workaround network bottlenecks). Using this strategy I was able to achieve 10-20x the throughput of the streaming data loader from the `huggingface/datasets` library. I realized that these would be great features for huggingface to support natively ### Your contribution I'm not ready yet to make a PR but open to it with the right pointers!
null
{ "+1": 3, "-1": 0, "confused": 0, "eyes": 2, "heart": 4, "hooray": 2, "laugh": 2, "rocket": 8, "total_count": 21, "url": "https://api.github.com/repos/huggingface/datasets/issues/7863/reactions" }
https://api.github.com/repos/huggingface/datasets/issues/7863/timeline
null
null
null
null
false
https://api.github.com/repos/huggingface/datasets/issues/7862
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/7862/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/7862/comments
https://api.github.com/repos/huggingface/datasets/issues/7862/events
https://github.com/huggingface/datasets/pull/7862
3,617,947,090
PR_kwDODunzps6zDjEj
7,862
Add flatten_indices option to save_to_disk method
{ "avatar_url": "https://avatars.githubusercontent.com/u/142811259?v=4", "events_url": "https://api.github.com/users/ArjunJagdale/events{/privacy}", "followers_url": "https://api.github.com/users/ArjunJagdale/followers", "following_url": "https://api.github.com/users/ArjunJagdale/following{/other_user}", "gists_url": "https://api.github.com/users/ArjunJagdale/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ArjunJagdale", "id": 142811259, "login": "ArjunJagdale", "node_id": "U_kgDOCIMgew", "organizations_url": "https://api.github.com/users/ArjunJagdale/orgs", "received_events_url": "https://api.github.com/users/ArjunJagdale/received_events", "repos_url": "https://api.github.com/users/ArjunJagdale/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ArjunJagdale/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ArjunJagdale/subscriptions", "type": "User", "url": "https://api.github.com/users/ArjunJagdale", "user_view_type": "public" }
[]
open
false
null
[]
null
1
2025-11-12 19:38:51+00:00
2025-11-12 19:50:20+00:00
NaT
CONTRIBUTOR
null
null
null
null
Added flatten_indices parameter to control index flattening during dataset saving. Solves #7861 This PR introduces a new optional argument, flatten_indices, to the save_to_disk methods in both Dataset and DatasetDict. The change allows users to skip the expensive index-flattening step when saving datasets that already use index mappings (e.g., after filter() or shuffle()), resulting in significant speed improvements for large datasets while maintaining backward compatibility. While not a huge absolute difference at 100K rows, the improvement scales significantly with larger datasets (millions of rows). This patch gives users control — they can disable flattening when they don’t need it, avoiding unnecessary rewrites. @lhoestq WDYT?
null
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/7862/reactions" }
https://api.github.com/repos/huggingface/datasets/issues/7862/timeline
null
null
0
{ "diff_url": "https://github.com/huggingface/datasets/pull/7862.diff", "html_url": "https://github.com/huggingface/datasets/pull/7862", "merged_at": null, "patch_url": "https://github.com/huggingface/datasets/pull/7862.patch", "url": "https://api.github.com/repos/huggingface/datasets/pulls/7862" }
true
https://api.github.com/repos/huggingface/datasets/issues/7861
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/7861/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/7861/comments
https://api.github.com/repos/huggingface/datasets/issues/7861/events
https://github.com/huggingface/datasets/issues/7861
3,611,821,713
I_kwDODunzps7XSAaR
7,861
Performance Issue: save_to_disk() 200-1200% slower due to unconditional flatten_indices()
{ "avatar_url": "https://avatars.githubusercontent.com/u/222552287?v=4", "events_url": "https://api.github.com/users/KCKawalkar/events{/privacy}", "followers_url": "https://api.github.com/users/KCKawalkar/followers", "following_url": "https://api.github.com/users/KCKawalkar/following{/other_user}", "gists_url": "https://api.github.com/users/KCKawalkar/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/KCKawalkar", "id": 222552287, "login": "KCKawalkar", "node_id": "U_kgDODUPg3w", "organizations_url": "https://api.github.com/users/KCKawalkar/orgs", "received_events_url": "https://api.github.com/users/KCKawalkar/received_events", "repos_url": "https://api.github.com/users/KCKawalkar/repos", "site_admin": false, "starred_url": "https://api.github.com/users/KCKawalkar/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/KCKawalkar/subscriptions", "type": "User", "url": "https://api.github.com/users/KCKawalkar", "user_view_type": "public" }
[]
open
false
null
[]
null
0
2025-11-11 11:05:38+00:00
2025-11-11 11:05:38+00:00
NaT
NONE
null
null
{ "completed": 0, "percent_completed": 0, "total": 0 }
{ "blocked_by": 0, "blocking": 0, "total_blocked_by": 0, "total_blocking": 0 }
## 🐛 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: ```python dataset = self.flatten_indices() if self._indices is not None else self ``` ## 📊 Performance Impact | Dataset Size | Operation | Save Time | Slowdown | |-------------|-----------|-----------|----------| | 100K | Baseline (no indices) | 0.027s | - | | 100K | Filtered (with indices) | 0.146s | **+431%** | | 100K | Shuffled (with indices) | 0.332s | **+1107%** | | 250K | Shuffled (with indices) | 0.849s | **+1202%** | ## 🔄 Reproduction ```python from datasets import Dataset import time # Create dataset dataset = Dataset.from_dict({'text': [f'sample {i}' for i in range(100000)]}) # Baseline save (no indices) start = time.time() dataset.save_to_disk('baseline') baseline_time = time.time() - start # Filtered save (creates indices) filtered = dataset.filter(lambda x: True) start = time.time() filtered.save_to_disk('filtered') filtered_time = time.time() - start print(f"Baseline: {baseline_time:.3f}s") print(f"Filtered: {filtered_time:.3f}s") print(f"Slowdown: {(filtered_time/baseline_time-1)*100:.1f}%") ``` **Expected output**: Filtered dataset is 400-1000% slower than baseline ## 💡 Proposed Solution Add optional parameter to control flattening: ```python def save_to_disk(self, dataset_path, flatten_indices=True): dataset = self.flatten_indices() if (self._indices is not None and flatten_indices) else self # ... rest of save logic ``` **Benefits**: - ✅ Immediate performance improvement for users who don't need flattening - ✅ Backwards compatible (default behavior unchanged) - ✅ Simple implementation ## 🌍 Environment - **datasets version**: 2.x - **Python**: 3.10+ - **OS**: Linux/macOS/Windows ## 📈 Impact This affects **most ML preprocessing workflows** that filter/shuffle datasets before saving. Performance degradation scales exponentially with dataset size, making it a critical bottleneck for production systems. ## 🔗 Additional Resources We have comprehensive test scripts demonstrating this across multiple scenarios if needed for further investigation.
null
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/7861/reactions" }
https://api.github.com/repos/huggingface/datasets/issues/7861/timeline
null
null
null
null
false
https://api.github.com/repos/huggingface/datasets/issues/7860
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/7860/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/7860/comments
https://api.github.com/repos/huggingface/datasets/issues/7860/events
https://github.com/huggingface/datasets/pull/7860
3,610,706,034
PR_kwDODunzps6yrHQN
7,860
Support loading local arrow datasets via load_dataset
{ "avatar_url": "https://avatars.githubusercontent.com/u/16986130?v=4", "events_url": "https://api.github.com/users/gstrat88/events{/privacy}", "followers_url": "https://api.github.com/users/gstrat88/followers", "following_url": "https://api.github.com/users/gstrat88/following{/other_user}", "gists_url": "https://api.github.com/users/gstrat88/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/gstrat88", "id": 16986130, "login": "gstrat88", "node_id": "MDQ6VXNlcjE2OTg2MTMw", "organizations_url": "https://api.github.com/users/gstrat88/orgs", "received_events_url": "https://api.github.com/users/gstrat88/received_events", "repos_url": "https://api.github.com/users/gstrat88/repos", "site_admin": false, "starred_url": "https://api.github.com/users/gstrat88/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gstrat88/subscriptions", "type": "User", "url": "https://api.github.com/users/gstrat88", "user_view_type": "public" }
[]
open
false
null
[]
null
0
2025-11-11 04:58:33+00:00
2025-11-11 20:58:46+00:00
NaT
NONE
null
null
null
null
Load_dataset will handle local saved datasets that way #7018
null
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/7860/reactions" }
https://api.github.com/repos/huggingface/datasets/issues/7860/timeline
null
null
0
{ "diff_url": "https://github.com/huggingface/datasets/pull/7860.diff", "html_url": "https://github.com/huggingface/datasets/pull/7860", "merged_at": null, "patch_url": "https://github.com/huggingface/datasets/pull/7860.patch", "url": "https://api.github.com/repos/huggingface/datasets/pulls/7860" }
true
https://api.github.com/repos/huggingface/datasets/issues/7859
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/7859/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/7859/comments
https://api.github.com/repos/huggingface/datasets/issues/7859/events
https://github.com/huggingface/datasets/pull/7859
3,608,586,063
PR_kwDODunzps6yj-aZ
7,859
fix some broken links
{ "avatar_url": "https://avatars.githubusercontent.com/u/326577?v=4", "events_url": "https://api.github.com/users/julien-c/events{/privacy}", "followers_url": "https://api.github.com/users/julien-c/followers", "following_url": "https://api.github.com/users/julien-c/following{/other_user}", "gists_url": "https://api.github.com/users/julien-c/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/julien-c", "id": 326577, "login": "julien-c", "node_id": "MDQ6VXNlcjMyNjU3Nw==", "organizations_url": "https://api.github.com/users/julien-c/orgs", "received_events_url": "https://api.github.com/users/julien-c/received_events", "repos_url": "https://api.github.com/users/julien-c/repos", "site_admin": false, "starred_url": "https://api.github.com/users/julien-c/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/julien-c/subscriptions", "type": "User", "url": "https://api.github.com/users/julien-c", "user_view_type": "public" }
[]
closed
false
null
[]
null
1
2025-11-10 15:34:46+00:00
2025-11-10 17:11:07+00:00
2025-11-10 17:11:05+00:00
MEMBER
null
null
null
null
would be cool to automate finding those broken links as i think there might be many of them @lhoestq @albertvillanova
{ "avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4", "events_url": "https://api.github.com/users/lhoestq/events{/privacy}", "followers_url": "https://api.github.com/users/lhoestq/followers", "following_url": "https://api.github.com/users/lhoestq/following{/other_user}", "gists_url": "https://api.github.com/users/lhoestq/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/lhoestq", "id": 42851186, "login": "lhoestq", "node_id": "MDQ6VXNlcjQyODUxMTg2", "organizations_url": "https://api.github.com/users/lhoestq/orgs", "received_events_url": "https://api.github.com/users/lhoestq/received_events", "repos_url": "https://api.github.com/users/lhoestq/repos", "site_admin": false, "starred_url": "https://api.github.com/users/lhoestq/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lhoestq/subscriptions", "type": "User", "url": "https://api.github.com/users/lhoestq", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/7859/reactions" }
https://api.github.com/repos/huggingface/datasets/issues/7859/timeline
null
null
0
{ "diff_url": "https://github.com/huggingface/datasets/pull/7859.diff", "html_url": "https://github.com/huggingface/datasets/pull/7859", "merged_at": "2025-11-10T17:11:05Z", "patch_url": "https://github.com/huggingface/datasets/pull/7859.patch", "url": "https://api.github.com/repos/huggingface/datasets/pulls/7859" }
true
https://api.github.com/repos/huggingface/datasets/issues/7858
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/7858/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/7858/comments
https://api.github.com/repos/huggingface/datasets/issues/7858/events
https://github.com/huggingface/datasets/pull/7858
3,605,471,548
PR_kwDODunzps6yZq4r
7,858
Support downloading specific splits in `load_dataset`
{ "avatar_url": "https://avatars.githubusercontent.com/u/31857876?v=4", "events_url": "https://api.github.com/users/CloseChoice/events{/privacy}", "followers_url": "https://api.github.com/users/CloseChoice/followers", "following_url": "https://api.github.com/users/CloseChoice/following{/other_user}", "gists_url": "https://api.github.com/users/CloseChoice/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/CloseChoice", "id": 31857876, "login": "CloseChoice", "node_id": "MDQ6VXNlcjMxODU3ODc2", "organizations_url": "https://api.github.com/users/CloseChoice/orgs", "received_events_url": "https://api.github.com/users/CloseChoice/received_events", "repos_url": "https://api.github.com/users/CloseChoice/repos", "site_admin": false, "starred_url": "https://api.github.com/users/CloseChoice/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/CloseChoice/subscriptions", "type": "User", "url": "https://api.github.com/users/CloseChoice", "user_view_type": "public" }
[]
open
false
null
[]
null
1
2025-11-09 20:44:00+00:00
2025-11-11 08:04:14+00:00
NaT
CONTRIBUTOR
null
null
null
null
This is PR builds on top of #7706 to revive the unfinished #6832 but isn't just cleaning up things, here are some important changes: - `download_mode="FORCE_REDOWNLOAD"` is interpreted as always creating a clean slate, that means that even if we already did: ```python load_dataset("<name>") load_dataset("<name>", split="train", download_mode="force_redownload") ``` This makes sure that only the train dataset is available after executing both. This was different in the original PR, which proposed that train and test would be available. - `download_mode="REUSE_DATASET_IF_EXISTS"` is interpreted as only ever adding new data, never redownloading OR deleting other splits. This was different in the original PR, where ```python load_dataset("<name>", split="test") load_dataset("<name>", split="train") ``` resulted in only the train data being available, which I deem very unintuitive and probably not what users want. Also I argue that this is just the first step to a more user friendly partial loading when specifying percentages (or maybe even single instances) via the ReadInstructions, and then doing ```python load_dataset("<name>", split="test[:10%]") load_dataset("<name>", split="test[10%:]") ``` should result IMO in the whole dataset being cached locally without redownloads. Furthermore this PR fixes a couple issues with the previous PR, e.g. a [missing comparison](https://github.com/huggingface/datasets/pull/7706/files#diff-f933ce41f71c6c0d1ce658e27de62cbe0b45d777e9e68056dd012ac3eb9324f7R877) and adding tests for the proposed changes in behaviour, which would both fail on @ArjunJagdale's original PR. Todo: - [ ] update docs? Future outlook (just my opinions and up for debate): As mentioned before, I would see this as just a step towards the feature of partial percentage loading (though how the API should behave in that case is not entirely clear for me now) and maybe we could introduce another `download_mode="FORCE_REDOWNLOAD_SPLIT"`, which makes sure that even if a split is specified, only the referenced split is redownloaded and everything else left unchanged, this would then allow users more granular control over what they want to redownload. @lhoestq very curious to get your opinion on this.
null
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 1, "total_count": 1, "url": "https://api.github.com/repos/huggingface/datasets/issues/7858/reactions" }
https://api.github.com/repos/huggingface/datasets/issues/7858/timeline
null
null
0
{ "diff_url": "https://github.com/huggingface/datasets/pull/7858.diff", "html_url": "https://github.com/huggingface/datasets/pull/7858", "merged_at": null, "patch_url": "https://github.com/huggingface/datasets/pull/7858.patch", "url": "https://api.github.com/repos/huggingface/datasets/pulls/7858" }
true
https://api.github.com/repos/huggingface/datasets/issues/7856
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/7856/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/7856/comments
https://api.github.com/repos/huggingface/datasets/issues/7856/events
https://github.com/huggingface/datasets/issues/7856
3,603,729,142
I_kwDODunzps7WzIr2
7,856
Missing transcript column when loading a local dataset with "audiofolder"
{ "avatar_url": "https://avatars.githubusercontent.com/u/10166907?v=4", "events_url": "https://api.github.com/users/gweltou/events{/privacy}", "followers_url": "https://api.github.com/users/gweltou/followers", "following_url": "https://api.github.com/users/gweltou/following{/other_user}", "gists_url": "https://api.github.com/users/gweltou/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/gweltou", "id": 10166907, "login": "gweltou", "node_id": "MDQ6VXNlcjEwMTY2OTA3", "organizations_url": "https://api.github.com/users/gweltou/orgs", "received_events_url": "https://api.github.com/users/gweltou/received_events", "repos_url": "https://api.github.com/users/gweltou/repos", "site_admin": false, "starred_url": "https://api.github.com/users/gweltou/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gweltou/subscriptions", "type": "User", "url": "https://api.github.com/users/gweltou", "user_view_type": "public" }
[]
closed
false
null
[]
null
2
2025-11-08 16:27:58+00:00
2025-11-09 12:13:38+00:00
2025-11-09 12:13:38+00:00
NONE
null
null
{ "completed": 0, "percent_completed": 0, "total": 0 }
{ "blocked_by": 0, "blocking": 0, "total_blocked_by": 0, "total_blocking": 0 }
### 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 to reproduce the bug Dataset directory structure: ``` my_dataset/ - data/ - test/ - 54db8760de3cfbff3c8a36a36b4d0f77_00390.0_04583.0.mp3 - 54db8760de3cfbff3c8a36a36b4d0f77_04583.0_05730.0.mp3 - ... - metadata.jsonl ``` `metadata.jsonl` file content: ``` {"file_name": "data/test/54db8760de3cfbff3c8a36a36b4d0f77_00390.0_04583.0.mp3", "transcript": "Ata tudoù penaos e tro ar bed ?"} {"file_name": "data/test/54db8760de3cfbff3c8a36a36b4d0f77_04583.0_05730.0.mp3", "transcript": "Ur gwir blijadur eo adkavout ac'hanoc'h hiziv."} ... ``` ```python3 my_dataset = load_dataset("audiofolder", data_dir="my_dataset") print(my_dataset) ''' DatasetDict({ test: Dataset({ features: ['audio'], num_rows: 347 }) }) ''' print(my_dataset['test'][0]) ''' {'audio': <datasets.features._torchcodec.AudioDecoder object at 0x75ffcd172510>} ''' ``` ### Expected behavior Being able to access the `transcript` column in the loaded dataset. ### Environment info - `datasets` version: 4.4.1 - Platform: Linux-6.5.0-45-generic-x86_64-with-glibc2.39 - Python version: 3.13.9 - `huggingface_hub` version: 1.1.2 - PyArrow version: 22.0.0 - Pandas version: 2.3.3 - `fsspec` version: 2025.10.0 Note: same issue with `datasets` v3.6.0
{ "avatar_url": "https://avatars.githubusercontent.com/u/10166907?v=4", "events_url": "https://api.github.com/users/gweltou/events{/privacy}", "followers_url": "https://api.github.com/users/gweltou/followers", "following_url": "https://api.github.com/users/gweltou/following{/other_user}", "gists_url": "https://api.github.com/users/gweltou/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/gweltou", "id": 10166907, "login": "gweltou", "node_id": "MDQ6VXNlcjEwMTY2OTA3", "organizations_url": "https://api.github.com/users/gweltou/orgs", "received_events_url": "https://api.github.com/users/gweltou/received_events", "repos_url": "https://api.github.com/users/gweltou/repos", "site_admin": false, "starred_url": "https://api.github.com/users/gweltou/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gweltou/subscriptions", "type": "User", "url": "https://api.github.com/users/gweltou", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/7856/reactions" }
https://api.github.com/repos/huggingface/datasets/issues/7856/timeline
null
completed
null
null
false
https://api.github.com/repos/huggingface/datasets/issues/7855
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/7855/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/7855/comments
https://api.github.com/repos/huggingface/datasets/issues/7855/events
https://github.com/huggingface/datasets/pull/7855
3,602,216,153
PR_kwDODunzps6yPIRy
7,855
ArXiv -> HF Papers
{ "avatar_url": "https://avatars.githubusercontent.com/u/45557362?v=4", "events_url": "https://api.github.com/users/qgallouedec/events{/privacy}", "followers_url": "https://api.github.com/users/qgallouedec/followers", "following_url": "https://api.github.com/users/qgallouedec/following{/other_user}", "gists_url": "https://api.github.com/users/qgallouedec/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/qgallouedec", "id": 45557362, "login": "qgallouedec", "node_id": "MDQ6VXNlcjQ1NTU3MzYy", "organizations_url": "https://api.github.com/users/qgallouedec/orgs", "received_events_url": "https://api.github.com/users/qgallouedec/received_events", "repos_url": "https://api.github.com/users/qgallouedec/repos", "site_admin": false, "starred_url": "https://api.github.com/users/qgallouedec/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/qgallouedec/subscriptions", "type": "User", "url": "https://api.github.com/users/qgallouedec", "user_view_type": "public" }
[]
closed
false
null
[]
null
1
2025-11-07 22:16:36+00:00
2025-11-10 15:01:13+00:00
2025-11-10 15:01:13+00:00
MEMBER
null
null
null
null
null
{ "avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4", "events_url": "https://api.github.com/users/lhoestq/events{/privacy}", "followers_url": "https://api.github.com/users/lhoestq/followers", "following_url": "https://api.github.com/users/lhoestq/following{/other_user}", "gists_url": "https://api.github.com/users/lhoestq/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/lhoestq", "id": 42851186, "login": "lhoestq", "node_id": "MDQ6VXNlcjQyODUxMTg2", "organizations_url": "https://api.github.com/users/lhoestq/orgs", "received_events_url": "https://api.github.com/users/lhoestq/received_events", "repos_url": "https://api.github.com/users/lhoestq/repos", "site_admin": false, "starred_url": "https://api.github.com/users/lhoestq/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lhoestq/subscriptions", "type": "User", "url": "https://api.github.com/users/lhoestq", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/7855/reactions" }
https://api.github.com/repos/huggingface/datasets/issues/7855/timeline
null
null
0
{ "diff_url": "https://github.com/huggingface/datasets/pull/7855.diff", "html_url": "https://github.com/huggingface/datasets/pull/7855", "merged_at": "2025-11-10T15:01:12Z", "patch_url": "https://github.com/huggingface/datasets/pull/7855.patch", "url": "https://api.github.com/repos/huggingface/datasets/pulls/7855" }
true
https://api.github.com/repos/huggingface/datasets/issues/7854
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/7854/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/7854/comments
https://api.github.com/repos/huggingface/datasets/issues/7854/events
https://github.com/huggingface/datasets/pull/7854
3,596,750,849
PR_kwDODunzps6x8yiy
7,854
[Distributed] split_dataset_by_node() gives the same number of examples for each node
{ "avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4", "events_url": "https://api.github.com/users/lhoestq/events{/privacy}", "followers_url": "https://api.github.com/users/lhoestq/followers", "following_url": "https://api.github.com/users/lhoestq/following{/other_user}", "gists_url": "https://api.github.com/users/lhoestq/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/lhoestq", "id": 42851186, "login": "lhoestq", "node_id": "MDQ6VXNlcjQyODUxMTg2", "organizations_url": "https://api.github.com/users/lhoestq/orgs", "received_events_url": "https://api.github.com/users/lhoestq/received_events", "repos_url": "https://api.github.com/users/lhoestq/repos", "site_admin": false, "starred_url": "https://api.github.com/users/lhoestq/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lhoestq/subscriptions", "type": "User", "url": "https://api.github.com/users/lhoestq", "user_view_type": "public" }
[]
open
false
null
[]
null
2
2025-11-06 17:14:18+00:00
2025-11-10 14:57:44+00:00
NaT
MEMBER
null
null
null
null
this works: ```python import torch.distributed as dist from datasets import IterableDataset from datasets.distributed import split_dataset_by_node from collections import Counter def g(shards): for shard in shards: # shards don't have the same length num_examples = 3 + shard for i in range(num_examples): yield {"shard": f"{shard=}", "i": i} if __name__ == "__main__": dist.init_process_group(backend="gloo") rank, world_size = dist.get_rank(), dist.get_world_size() num_shards = 6 ds = IterableDataset.from_generator(g, gen_kwargs={"shards": list(range(num_shards))}) ds = split_dataset_by_node(ds, rank=rank, world_size=world_size) # Check that each rank has the same number of examples # and show the number of examples per shard and per rank counter = Counter(ds["shard"]) print(f"# {rank=}\ttotal={counter.total()}\t{counter}", flush=True) # torchrun --nproc_per_node 2 script.py # rank=0 total=16 Counter({'shard=4': 7, 'shard=2': 5, 'shard=0': 4}) # rank=1 total=16 Counter({'shard=3': 6, 'shard=5': 6, 'shard=1': 4}) ``` TODO: make it work with DataLoader (communicate with main process to know when the node runs out of data ?)
null
{ "+1": 1, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 1, "url": "https://api.github.com/repos/huggingface/datasets/issues/7854/reactions" }
https://api.github.com/repos/huggingface/datasets/issues/7854/timeline
null
null
1
{ "diff_url": "https://github.com/huggingface/datasets/pull/7854.diff", "html_url": "https://github.com/huggingface/datasets/pull/7854", "merged_at": null, "patch_url": "https://github.com/huggingface/datasets/pull/7854.patch", "url": "https://api.github.com/repos/huggingface/datasets/pulls/7854" }
true
https://api.github.com/repos/huggingface/datasets/issues/7853
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/7853/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/7853/comments
https://api.github.com/repos/huggingface/datasets/issues/7853/events
https://github.com/huggingface/datasets/pull/7853
3,596,232,275
PR_kwDODunzps6x7ARa
7,853
Fix embed storage nifti
{ "avatar_url": "https://avatars.githubusercontent.com/u/31857876?v=4", "events_url": "https://api.github.com/users/CloseChoice/events{/privacy}", "followers_url": "https://api.github.com/users/CloseChoice/followers", "following_url": "https://api.github.com/users/CloseChoice/following{/other_user}", "gists_url": "https://api.github.com/users/CloseChoice/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/CloseChoice", "id": 31857876, "login": "CloseChoice", "node_id": "MDQ6VXNlcjMxODU3ODc2", "organizations_url": "https://api.github.com/users/CloseChoice/orgs", "received_events_url": "https://api.github.com/users/CloseChoice/received_events", "repos_url": "https://api.github.com/users/CloseChoice/repos", "site_admin": false, "starred_url": "https://api.github.com/users/CloseChoice/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/CloseChoice/subscriptions", "type": "User", "url": "https://api.github.com/users/CloseChoice", "user_view_type": "public" }
[]
closed
false
null
[]
null
1
2025-11-06 15:07:58+00:00
2025-11-06 17:04:57+00:00
2025-11-06 16:20:36+00:00
CONTRIBUTOR
null
null
null
null
Fixes #7852 Adds `embed_storage` function and allows gzipped files to be loaded correctly from local storage.
{ "avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4", "events_url": "https://api.github.com/users/lhoestq/events{/privacy}", "followers_url": "https://api.github.com/users/lhoestq/followers", "following_url": "https://api.github.com/users/lhoestq/following{/other_user}", "gists_url": "https://api.github.com/users/lhoestq/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/lhoestq", "id": 42851186, "login": "lhoestq", "node_id": "MDQ6VXNlcjQyODUxMTg2", "organizations_url": "https://api.github.com/users/lhoestq/orgs", "received_events_url": "https://api.github.com/users/lhoestq/received_events", "repos_url": "https://api.github.com/users/lhoestq/repos", "site_admin": false, "starred_url": "https://api.github.com/users/lhoestq/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lhoestq/subscriptions", "type": "User", "url": "https://api.github.com/users/lhoestq", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/7853/reactions" }
https://api.github.com/repos/huggingface/datasets/issues/7853/timeline
null
null
0
{ "diff_url": "https://github.com/huggingface/datasets/pull/7853.diff", "html_url": "https://github.com/huggingface/datasets/pull/7853", "merged_at": "2025-11-06T16:20:36Z", "patch_url": "https://github.com/huggingface/datasets/pull/7853.patch", "url": "https://api.github.com/repos/huggingface/datasets/pulls/7853" }
true
https://api.github.com/repos/huggingface/datasets/issues/7852
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/7852/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/7852/comments
https://api.github.com/repos/huggingface/datasets/issues/7852/events
https://github.com/huggingface/datasets/issues/7852
3,595,450,602
I_kwDODunzps7WTjjq
7,852
Problems with NifTI
{ "avatar_url": "https://avatars.githubusercontent.com/u/31857876?v=4", "events_url": "https://api.github.com/users/CloseChoice/events{/privacy}", "followers_url": "https://api.github.com/users/CloseChoice/followers", "following_url": "https://api.github.com/users/CloseChoice/following{/other_user}", "gists_url": "https://api.github.com/users/CloseChoice/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/CloseChoice", "id": 31857876, "login": "CloseChoice", "node_id": "MDQ6VXNlcjMxODU3ODc2", "organizations_url": "https://api.github.com/users/CloseChoice/orgs", "received_events_url": "https://api.github.com/users/CloseChoice/received_events", "repos_url": "https://api.github.com/users/CloseChoice/repos", "site_admin": false, "starred_url": "https://api.github.com/users/CloseChoice/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/CloseChoice/subscriptions", "type": "User", "url": "https://api.github.com/users/CloseChoice", "user_view_type": "public" }
[]
closed
false
null
[]
null
2
2025-11-06 11:46:33+00:00
2025-11-06 16:20:38+00:00
2025-11-06 16:20:38+00:00
CONTRIBUTOR
null
null
{ "completed": 0, "percent_completed": 0, "total": 0 }
{ "blocked_by": 0, "blocking": 0, "total_blocked_by": 0, "total_blocking": 0 }
### 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 paths to the nifti files: ```bash table['nifti'] <pyarrow.lib.ChunkedArray object at 0x798245d37d60> [ -- is_valid: all not null -- child 0 type: binary [ null, null, null, null, null, null ] -- child 1 type: string [ "/home/tobias/programming/github/datasets/nifti_extracted/T1.nii", "/home/tobias/programming/github/datasets/nifti_extracted/T2-interleaved.nii", "/home/tobias/programming/github/datasets/nifti_extracted/T2.nii", "/home/tobias/programming/github/datasets/nifti_extracted/T2_-interleaved.nii", "/home/tobias/programming/github/datasets/nifti_extracted/T2_.nii", "/home/tobias/programming/github/datasets/nifti_extracted/fieldmap.nii" ] ] ``` instead of containing bytes. The code is copy pasted from PDF, so I wonder what is going wrong here. ### Steps to reproduce the bug see the linked comment ### Expected behavior downloading should work as smoothly as for pdf ### Environment info - `datasets` version: 4.4.2.dev0 - Platform: Linux-6.14.0-33-generic-x86_64-with-glibc2.39 - Python version: 3.12.3 - `huggingface_hub` version: 0.35.3 - PyArrow version: 21.0.0 - Pandas version: 2.3.3 - `fsspec` version: 2025.9.0
{ "avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4", "events_url": "https://api.github.com/users/lhoestq/events{/privacy}", "followers_url": "https://api.github.com/users/lhoestq/followers", "following_url": "https://api.github.com/users/lhoestq/following{/other_user}", "gists_url": "https://api.github.com/users/lhoestq/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/lhoestq", "id": 42851186, "login": "lhoestq", "node_id": "MDQ6VXNlcjQyODUxMTg2", "organizations_url": "https://api.github.com/users/lhoestq/orgs", "received_events_url": "https://api.github.com/users/lhoestq/received_events", "repos_url": "https://api.github.com/users/lhoestq/repos", "site_admin": false, "starred_url": "https://api.github.com/users/lhoestq/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lhoestq/subscriptions", "type": "User", "url": "https://api.github.com/users/lhoestq", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/7852/reactions" }
https://api.github.com/repos/huggingface/datasets/issues/7852/timeline
null
completed
null
null
false
https://api.github.com/repos/huggingface/datasets/issues/7851
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/7851/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/7851/comments
https://api.github.com/repos/huggingface/datasets/issues/7851/events
https://github.com/huggingface/datasets/pull/7851
3,592,252,116
PR_kwDODunzps6xtvVj
7,851
Add fasta support
{ "avatar_url": "https://avatars.githubusercontent.com/u/209551168?v=4", "events_url": "https://api.github.com/users/georgia-hf/events{/privacy}", "followers_url": "https://api.github.com/users/georgia-hf/followers", "following_url": "https://api.github.com/users/georgia-hf/following{/other_user}", "gists_url": "https://api.github.com/users/georgia-hf/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/georgia-hf", "id": 209551168, "login": "georgia-hf", "node_id": "U_kgDODH1_QA", "organizations_url": "https://api.github.com/users/georgia-hf/orgs", "received_events_url": "https://api.github.com/users/georgia-hf/received_events", "repos_url": "https://api.github.com/users/georgia-hf/repos", "site_admin": false, "starred_url": "https://api.github.com/users/georgia-hf/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/georgia-hf/subscriptions", "type": "User", "url": "https://api.github.com/users/georgia-hf", "user_view_type": "public" }
[]
open
false
null
[]
null
3
2025-11-05 18:11:12+00:00
2025-11-15 00:51:53+00:00
NaT
NONE
null
null
null
null
This PR adds support for FASTA files conversion to Parquet.
null
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/7851/reactions" }
https://api.github.com/repos/huggingface/datasets/issues/7851/timeline
null
null
0
{ "diff_url": "https://github.com/huggingface/datasets/pull/7851.diff", "html_url": "https://github.com/huggingface/datasets/pull/7851", "merged_at": null, "patch_url": "https://github.com/huggingface/datasets/pull/7851.patch", "url": "https://api.github.com/repos/huggingface/datasets/pulls/7851" }
true
https://api.github.com/repos/huggingface/datasets/issues/7850
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/7850/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/7850/comments
https://api.github.com/repos/huggingface/datasets/issues/7850/events
https://github.com/huggingface/datasets/pull/7850
3,591,758,675
PR_kwDODunzps6xsGi_
7,850
dev version
{ "avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4", "events_url": "https://api.github.com/users/lhoestq/events{/privacy}", "followers_url": "https://api.github.com/users/lhoestq/followers", "following_url": "https://api.github.com/users/lhoestq/following{/other_user}", "gists_url": "https://api.github.com/users/lhoestq/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/lhoestq", "id": 42851186, "login": "lhoestq", "node_id": "MDQ6VXNlcjQyODUxMTg2", "organizations_url": "https://api.github.com/users/lhoestq/orgs", "received_events_url": "https://api.github.com/users/lhoestq/received_events", "repos_url": "https://api.github.com/users/lhoestq/repos", "site_admin": false, "starred_url": "https://api.github.com/users/lhoestq/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lhoestq/subscriptions", "type": "User", "url": "https://api.github.com/users/lhoestq", "user_view_type": "public" }
[]
closed
false
null
[]
null
1
2025-11-05 16:02:23+00:00
2025-11-05 16:05:40+00:00
2025-11-05 16:02:32+00:00
MEMBER
null
null
null
null
null
{ "avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4", "events_url": "https://api.github.com/users/lhoestq/events{/privacy}", "followers_url": "https://api.github.com/users/lhoestq/followers", "following_url": "https://api.github.com/users/lhoestq/following{/other_user}", "gists_url": "https://api.github.com/users/lhoestq/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/lhoestq", "id": 42851186, "login": "lhoestq", "node_id": "MDQ6VXNlcjQyODUxMTg2", "organizations_url": "https://api.github.com/users/lhoestq/orgs", "received_events_url": "https://api.github.com/users/lhoestq/received_events", "repos_url": "https://api.github.com/users/lhoestq/repos", "site_admin": false, "starred_url": "https://api.github.com/users/lhoestq/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lhoestq/subscriptions", "type": "User", "url": "https://api.github.com/users/lhoestq", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/7850/reactions" }
https://api.github.com/repos/huggingface/datasets/issues/7850/timeline
null
null
0
{ "diff_url": "https://github.com/huggingface/datasets/pull/7850.diff", "html_url": "https://github.com/huggingface/datasets/pull/7850", "merged_at": "2025-11-05T16:02:32Z", "patch_url": "https://github.com/huggingface/datasets/pull/7850.patch", "url": "https://api.github.com/repos/huggingface/datasets/pulls/7850" }
true
https://api.github.com/repos/huggingface/datasets/issues/7849
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/7849/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/7849/comments
https://api.github.com/repos/huggingface/datasets/issues/7849/events
https://github.com/huggingface/datasets/pull/7849
3,591,749,675
PR_kwDODunzps6xsEm0
7,849
release: 4.4.1
{ "avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4", "events_url": "https://api.github.com/users/lhoestq/events{/privacy}", "followers_url": "https://api.github.com/users/lhoestq/followers", "following_url": "https://api.github.com/users/lhoestq/following{/other_user}", "gists_url": "https://api.github.com/users/lhoestq/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/lhoestq", "id": 42851186, "login": "lhoestq", "node_id": "MDQ6VXNlcjQyODUxMTg2", "organizations_url": "https://api.github.com/users/lhoestq/orgs", "received_events_url": "https://api.github.com/users/lhoestq/received_events", "repos_url": "https://api.github.com/users/lhoestq/repos", "site_admin": false, "starred_url": "https://api.github.com/users/lhoestq/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lhoestq/subscriptions", "type": "User", "url": "https://api.github.com/users/lhoestq", "user_view_type": "public" }
[]
closed
false
null
[]
null
1
2025-11-05 16:00:05+00:00
2025-11-05 16:03:06+00:00
2025-11-05 16:00:46+00:00
MEMBER
null
null
null
null
null
{ "avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4", "events_url": "https://api.github.com/users/lhoestq/events{/privacy}", "followers_url": "https://api.github.com/users/lhoestq/followers", "following_url": "https://api.github.com/users/lhoestq/following{/other_user}", "gists_url": "https://api.github.com/users/lhoestq/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/lhoestq", "id": 42851186, "login": "lhoestq", "node_id": "MDQ6VXNlcjQyODUxMTg2", "organizations_url": "https://api.github.com/users/lhoestq/orgs", "received_events_url": "https://api.github.com/users/lhoestq/received_events", "repos_url": "https://api.github.com/users/lhoestq/repos", "site_admin": false, "starred_url": "https://api.github.com/users/lhoestq/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lhoestq/subscriptions", "type": "User", "url": "https://api.github.com/users/lhoestq", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/7849/reactions" }
https://api.github.com/repos/huggingface/datasets/issues/7849/timeline
null
null
0
{ "diff_url": "https://github.com/huggingface/datasets/pull/7849.diff", "html_url": "https://github.com/huggingface/datasets/pull/7849", "merged_at": "2025-11-05T16:00:46Z", "patch_url": "https://github.com/huggingface/datasets/pull/7849.patch", "url": "https://api.github.com/repos/huggingface/datasets/pulls/7849" }
true
https://api.github.com/repos/huggingface/datasets/issues/7848
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/7848/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/7848/comments
https://api.github.com/repos/huggingface/datasets/issues/7848/events
https://github.com/huggingface/datasets/pull/7848
3,590,024,849
PR_kwDODunzps6xmPYZ
7,848
DOC: remove mode parameter in docstring of pdf and video feature
{ "avatar_url": "https://avatars.githubusercontent.com/u/31857876?v=4", "events_url": "https://api.github.com/users/CloseChoice/events{/privacy}", "followers_url": "https://api.github.com/users/CloseChoice/followers", "following_url": "https://api.github.com/users/CloseChoice/following{/other_user}", "gists_url": "https://api.github.com/users/CloseChoice/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/CloseChoice", "id": 31857876, "login": "CloseChoice", "node_id": "MDQ6VXNlcjMxODU3ODc2", "organizations_url": "https://api.github.com/users/CloseChoice/orgs", "received_events_url": "https://api.github.com/users/CloseChoice/received_events", "repos_url": "https://api.github.com/users/CloseChoice/repos", "site_admin": false, "starred_url": "https://api.github.com/users/CloseChoice/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/CloseChoice/subscriptions", "type": "User", "url": "https://api.github.com/users/CloseChoice", "user_view_type": "public" }
[]
closed
false
null
[]
null
0
2025-11-05 09:11:46+00:00
2025-11-05 14:42:59+00:00
2025-11-05 14:04:03+00:00
CONTRIBUTOR
null
null
null
null
closes #7841 As mentioned in the issue `mode` has been copy-pasted but isn't used in these files.
{ "avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4", "events_url": "https://api.github.com/users/lhoestq/events{/privacy}", "followers_url": "https://api.github.com/users/lhoestq/followers", "following_url": "https://api.github.com/users/lhoestq/following{/other_user}", "gists_url": "https://api.github.com/users/lhoestq/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/lhoestq", "id": 42851186, "login": "lhoestq", "node_id": "MDQ6VXNlcjQyODUxMTg2", "organizations_url": "https://api.github.com/users/lhoestq/orgs", "received_events_url": "https://api.github.com/users/lhoestq/received_events", "repos_url": "https://api.github.com/users/lhoestq/repos", "site_admin": false, "starred_url": "https://api.github.com/users/lhoestq/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lhoestq/subscriptions", "type": "User", "url": "https://api.github.com/users/lhoestq", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/7848/reactions" }
https://api.github.com/repos/huggingface/datasets/issues/7848/timeline
null
null
0
{ "diff_url": "https://github.com/huggingface/datasets/pull/7848.diff", "html_url": "https://github.com/huggingface/datasets/pull/7848", "merged_at": "2025-11-05T14:04:03Z", "patch_url": "https://github.com/huggingface/datasets/pull/7848.patch", "url": "https://api.github.com/repos/huggingface/datasets/pulls/7848" }
true
https://api.github.com/repos/huggingface/datasets/issues/7847
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/7847/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/7847/comments
https://api.github.com/repos/huggingface/datasets/issues/7847/events
https://github.com/huggingface/datasets/pull/7847
3,586,135,727
PR_kwDODunzps6xZZb9
7,847
Better streaming retries (504 and 429)
{ "avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4", "events_url": "https://api.github.com/users/lhoestq/events{/privacy}", "followers_url": "https://api.github.com/users/lhoestq/followers", "following_url": "https://api.github.com/users/lhoestq/following{/other_user}", "gists_url": "https://api.github.com/users/lhoestq/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/lhoestq", "id": 42851186, "login": "lhoestq", "node_id": "MDQ6VXNlcjQyODUxMTg2", "organizations_url": "https://api.github.com/users/lhoestq/orgs", "received_events_url": "https://api.github.com/users/lhoestq/received_events", "repos_url": "https://api.github.com/users/lhoestq/repos", "site_admin": false, "starred_url": "https://api.github.com/users/lhoestq/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lhoestq/subscriptions", "type": "User", "url": "https://api.github.com/users/lhoestq", "user_view_type": "public" }
[]
closed
false
null
[]
null
1
2025-11-04 11:23:58+00:00
2025-11-04 13:52:25+00:00
2025-11-04 13:52:22+00:00
MEMBER
null
null
null
null
null
{ "avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4", "events_url": "https://api.github.com/users/lhoestq/events{/privacy}", "followers_url": "https://api.github.com/users/lhoestq/followers", "following_url": "https://api.github.com/users/lhoestq/following{/other_user}", "gists_url": "https://api.github.com/users/lhoestq/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/lhoestq", "id": 42851186, "login": "lhoestq", "node_id": "MDQ6VXNlcjQyODUxMTg2", "organizations_url": "https://api.github.com/users/lhoestq/orgs", "received_events_url": "https://api.github.com/users/lhoestq/received_events", "repos_url": "https://api.github.com/users/lhoestq/repos", "site_admin": false, "starred_url": "https://api.github.com/users/lhoestq/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lhoestq/subscriptions", "type": "User", "url": "https://api.github.com/users/lhoestq", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/7847/reactions" }
https://api.github.com/repos/huggingface/datasets/issues/7847/timeline
null
null
0
{ "diff_url": "https://github.com/huggingface/datasets/pull/7847.diff", "html_url": "https://github.com/huggingface/datasets/pull/7847", "merged_at": "2025-11-04T13:52:22Z", "patch_url": "https://github.com/huggingface/datasets/pull/7847.patch", "url": "https://api.github.com/repos/huggingface/datasets/pulls/7847" }
true
https://api.github.com/repos/huggingface/datasets/issues/7846
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/7846/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/7846/comments
https://api.github.com/repos/huggingface/datasets/issues/7846/events
https://github.com/huggingface/datasets/pull/7846
3,585,966,335
PR_kwDODunzps6xYzny
7,846
set dev version
{ "avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4", "events_url": "https://api.github.com/users/lhoestq/events{/privacy}", "followers_url": "https://api.github.com/users/lhoestq/followers", "following_url": "https://api.github.com/users/lhoestq/following{/other_user}", "gists_url": "https://api.github.com/users/lhoestq/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/lhoestq", "id": 42851186, "login": "lhoestq", "node_id": "MDQ6VXNlcjQyODUxMTg2", "organizations_url": "https://api.github.com/users/lhoestq/orgs", "received_events_url": "https://api.github.com/users/lhoestq/received_events", "repos_url": "https://api.github.com/users/lhoestq/repos", "site_admin": false, "starred_url": "https://api.github.com/users/lhoestq/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lhoestq/subscriptions", "type": "User", "url": "https://api.github.com/users/lhoestq", "user_view_type": "public" }
[]
closed
false
null
[]
null
1
2025-11-04 10:44:27+00:00
2025-11-04 10:49:24+00:00
2025-11-04 10:44:37+00:00
MEMBER
null
null
null
null
null
{ "avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4", "events_url": "https://api.github.com/users/lhoestq/events{/privacy}", "followers_url": "https://api.github.com/users/lhoestq/followers", "following_url": "https://api.github.com/users/lhoestq/following{/other_user}", "gists_url": "https://api.github.com/users/lhoestq/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/lhoestq", "id": 42851186, "login": "lhoestq", "node_id": "MDQ6VXNlcjQyODUxMTg2", "organizations_url": "https://api.github.com/users/lhoestq/orgs", "received_events_url": "https://api.github.com/users/lhoestq/received_events", "repos_url": "https://api.github.com/users/lhoestq/repos", "site_admin": false, "starred_url": "https://api.github.com/users/lhoestq/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lhoestq/subscriptions", "type": "User", "url": "https://api.github.com/users/lhoestq", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/7846/reactions" }
https://api.github.com/repos/huggingface/datasets/issues/7846/timeline
null
null
0
{ "diff_url": "https://github.com/huggingface/datasets/pull/7846.diff", "html_url": "https://github.com/huggingface/datasets/pull/7846", "merged_at": "2025-11-04T10:44:37Z", "patch_url": "https://github.com/huggingface/datasets/pull/7846.patch", "url": "https://api.github.com/repos/huggingface/datasets/pulls/7846" }
true
https://api.github.com/repos/huggingface/datasets/issues/7845
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/7845/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/7845/comments
https://api.github.com/repos/huggingface/datasets/issues/7845/events
https://github.com/huggingface/datasets/pull/7845
3,585,926,647
PR_kwDODunzps6xYq2r
7,845
Release: 4.4.0
{ "avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4", "events_url": "https://api.github.com/users/lhoestq/events{/privacy}", "followers_url": "https://api.github.com/users/lhoestq/followers", "following_url": "https://api.github.com/users/lhoestq/following{/other_user}", "gists_url": "https://api.github.com/users/lhoestq/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/lhoestq", "id": 42851186, "login": "lhoestq", "node_id": "MDQ6VXNlcjQyODUxMTg2", "organizations_url": "https://api.github.com/users/lhoestq/orgs", "received_events_url": "https://api.github.com/users/lhoestq/received_events", "repos_url": "https://api.github.com/users/lhoestq/repos", "site_admin": false, "starred_url": "https://api.github.com/users/lhoestq/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lhoestq/subscriptions", "type": "User", "url": "https://api.github.com/users/lhoestq", "user_view_type": "public" }
[]
closed
false
null
[]
null
1
2025-11-04 10:35:33+00:00
2025-11-04 10:39:47+00:00
2025-11-04 10:36:37+00:00
MEMBER
null
null
null
null
null
{ "avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4", "events_url": "https://api.github.com/users/lhoestq/events{/privacy}", "followers_url": "https://api.github.com/users/lhoestq/followers", "following_url": "https://api.github.com/users/lhoestq/following{/other_user}", "gists_url": "https://api.github.com/users/lhoestq/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/lhoestq", "id": 42851186, "login": "lhoestq", "node_id": "MDQ6VXNlcjQyODUxMTg2", "organizations_url": "https://api.github.com/users/lhoestq/orgs", "received_events_url": "https://api.github.com/users/lhoestq/received_events", "repos_url": "https://api.github.com/users/lhoestq/repos", "site_admin": false, "starred_url": "https://api.github.com/users/lhoestq/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lhoestq/subscriptions", "type": "User", "url": "https://api.github.com/users/lhoestq", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/7845/reactions" }
https://api.github.com/repos/huggingface/datasets/issues/7845/timeline
null
null
0
{ "diff_url": "https://github.com/huggingface/datasets/pull/7845.diff", "html_url": "https://github.com/huggingface/datasets/pull/7845", "merged_at": "2025-11-04T10:36:37Z", "patch_url": "https://github.com/huggingface/datasets/pull/7845.patch", "url": "https://api.github.com/repos/huggingface/datasets/pulls/7845" }
true
https://api.github.com/repos/huggingface/datasets/issues/7844
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/7844/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/7844/comments
https://api.github.com/repos/huggingface/datasets/issues/7844/events
https://github.com/huggingface/datasets/pull/7844
3,582,354,507
PR_kwDODunzps6xM9hd
7,844
support fsspec 2025.10.0
{ "avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4", "events_url": "https://api.github.com/users/lhoestq/events{/privacy}", "followers_url": "https://api.github.com/users/lhoestq/followers", "following_url": "https://api.github.com/users/lhoestq/following{/other_user}", "gists_url": "https://api.github.com/users/lhoestq/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/lhoestq", "id": 42851186, "login": "lhoestq", "node_id": "MDQ6VXNlcjQyODUxMTg2", "organizations_url": "https://api.github.com/users/lhoestq/orgs", "received_events_url": "https://api.github.com/users/lhoestq/received_events", "repos_url": "https://api.github.com/users/lhoestq/repos", "site_admin": false, "starred_url": "https://api.github.com/users/lhoestq/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lhoestq/subscriptions", "type": "User", "url": "https://api.github.com/users/lhoestq", "user_view_type": "public" }
[]
closed
false
null
[]
null
1
2025-11-03 14:34:29+00:00
2025-11-03 14:51:33+00:00
2025-11-03 14:51:32+00:00
MEMBER
null
null
null
null
null
{ "avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4", "events_url": "https://api.github.com/users/lhoestq/events{/privacy}", "followers_url": "https://api.github.com/users/lhoestq/followers", "following_url": "https://api.github.com/users/lhoestq/following{/other_user}", "gists_url": "https://api.github.com/users/lhoestq/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/lhoestq", "id": 42851186, "login": "lhoestq", "node_id": "MDQ6VXNlcjQyODUxMTg2", "organizations_url": "https://api.github.com/users/lhoestq/orgs", "received_events_url": "https://api.github.com/users/lhoestq/received_events", "repos_url": "https://api.github.com/users/lhoestq/repos", "site_admin": false, "starred_url": "https://api.github.com/users/lhoestq/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lhoestq/subscriptions", "type": "User", "url": "https://api.github.com/users/lhoestq", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/7844/reactions" }
https://api.github.com/repos/huggingface/datasets/issues/7844/timeline
null
null
0
{ "diff_url": "https://github.com/huggingface/datasets/pull/7844.diff", "html_url": "https://github.com/huggingface/datasets/pull/7844", "merged_at": "2025-11-03T14:51:32Z", "patch_url": "https://github.com/huggingface/datasets/pull/7844.patch", "url": "https://api.github.com/repos/huggingface/datasets/pulls/7844" }
true
https://api.github.com/repos/huggingface/datasets/issues/7843
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/7843/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/7843/comments
https://api.github.com/repos/huggingface/datasets/issues/7843/events
https://github.com/huggingface/datasets/pull/7843
3,582,311,403
PR_kwDODunzps6xM0sq
7,843
fix column with transform
{ "avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4", "events_url": "https://api.github.com/users/lhoestq/events{/privacy}", "followers_url": "https://api.github.com/users/lhoestq/followers", "following_url": "https://api.github.com/users/lhoestq/following{/other_user}", "gists_url": "https://api.github.com/users/lhoestq/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/lhoestq", "id": 42851186, "login": "lhoestq", "node_id": "MDQ6VXNlcjQyODUxMTg2", "organizations_url": "https://api.github.com/users/lhoestq/orgs", "received_events_url": "https://api.github.com/users/lhoestq/received_events", "repos_url": "https://api.github.com/users/lhoestq/repos", "site_admin": false, "starred_url": "https://api.github.com/users/lhoestq/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lhoestq/subscriptions", "type": "User", "url": "https://api.github.com/users/lhoestq", "user_view_type": "public" }
[]
closed
false
null
[]
null
1
2025-11-03 14:23:01+00:00
2025-11-03 14:34:15+00:00
2025-11-03 14:34:12+00:00
MEMBER
null
null
null
null
fix https://github.com/huggingface/datasets/issues/7842
{ "avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4", "events_url": "https://api.github.com/users/lhoestq/events{/privacy}", "followers_url": "https://api.github.com/users/lhoestq/followers", "following_url": "https://api.github.com/users/lhoestq/following{/other_user}", "gists_url": "https://api.github.com/users/lhoestq/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/lhoestq", "id": 42851186, "login": "lhoestq", "node_id": "MDQ6VXNlcjQyODUxMTg2", "organizations_url": "https://api.github.com/users/lhoestq/orgs", "received_events_url": "https://api.github.com/users/lhoestq/received_events", "repos_url": "https://api.github.com/users/lhoestq/repos", "site_admin": false, "starred_url": "https://api.github.com/users/lhoestq/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lhoestq/subscriptions", "type": "User", "url": "https://api.github.com/users/lhoestq", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/7843/reactions" }
https://api.github.com/repos/huggingface/datasets/issues/7843/timeline
null
null
0
{ "diff_url": "https://github.com/huggingface/datasets/pull/7843.diff", "html_url": "https://github.com/huggingface/datasets/pull/7843", "merged_at": "2025-11-03T14:34:12Z", "patch_url": "https://github.com/huggingface/datasets/pull/7843.patch", "url": "https://api.github.com/repos/huggingface/datasets/pulls/7843" }
true
https://api.github.com/repos/huggingface/datasets/issues/7842
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/7842/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/7842/comments
https://api.github.com/repos/huggingface/datasets/issues/7842/events
https://github.com/huggingface/datasets/issues/7842
3,582,182,995
I_kwDODunzps7Vg8ZT
7,842
Transform with columns parameter triggers on non-specified column access
{ "avatar_url": "https://avatars.githubusercontent.com/u/18426892?v=4", "events_url": "https://api.github.com/users/mr-brobot/events{/privacy}", "followers_url": "https://api.github.com/users/mr-brobot/followers", "following_url": "https://api.github.com/users/mr-brobot/following{/other_user}", "gists_url": "https://api.github.com/users/mr-brobot/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/mr-brobot", "id": 18426892, "login": "mr-brobot", "node_id": "MDQ6VXNlcjE4NDI2ODky", "organizations_url": "https://api.github.com/users/mr-brobot/orgs", "received_events_url": "https://api.github.com/users/mr-brobot/received_events", "repos_url": "https://api.github.com/users/mr-brobot/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mr-brobot/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mr-brobot/subscriptions", "type": "User", "url": "https://api.github.com/users/mr-brobot", "user_view_type": "public" }
[]
closed
false
null
[]
null
0
2025-11-03 13:55:27+00:00
2025-11-03 14:34:13+00:00
2025-11-03 14:34:13+00:00
NONE
null
null
{ "completed": 0, "percent_completed": 0, "total": 0 }
{ "blocked_by": 0, "blocking": 0, "total_blocked_by": 0, "total_blocking": 0 }
### 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/arrow_dataset.py#L695) and applies all formatting/transforms on each row, regardless of which column is being accessed. This causes an error when transforms depend on columns not present in the projection. ### Steps to reproduce the bug ### Load a dataset with multiple columns ```python ds = load_dataset("mrbrobot/isic-2024", split="train") ``` ### Define a transform that specifies an input column ```python def image_transform(batch): batch["image"] = batch["image"] # KeyError when batch doesn't contain "image" return batch # apply transform only to image column ds = ds.with_format("torch") ds = ds.with_transform(image_transform, columns=["image"], output_all_columns=True) ``` ### Iterate over non-specified column ```python # iterate over a different column, triggers the transform on each row, but batch doesn't contain "image" for t in ds["target"]: # KeyError: 'image' print(t) ``` ### Expected behavior If a user iterates over `ds["target"]` and the transform specifies `columns=["image"]`, the transform should be skipped. ### Environment info `datasets`: 4.2.0 Python: 3.12.12 Linux: Debian 11.11
{ "avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4", "events_url": "https://api.github.com/users/lhoestq/events{/privacy}", "followers_url": "https://api.github.com/users/lhoestq/followers", "following_url": "https://api.github.com/users/lhoestq/following{/other_user}", "gists_url": "https://api.github.com/users/lhoestq/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/lhoestq", "id": 42851186, "login": "lhoestq", "node_id": "MDQ6VXNlcjQyODUxMTg2", "organizations_url": "https://api.github.com/users/lhoestq/orgs", "received_events_url": "https://api.github.com/users/lhoestq/received_events", "repos_url": "https://api.github.com/users/lhoestq/repos", "site_admin": false, "starred_url": "https://api.github.com/users/lhoestq/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lhoestq/subscriptions", "type": "User", "url": "https://api.github.com/users/lhoestq", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/7842/reactions" }
https://api.github.com/repos/huggingface/datasets/issues/7842/timeline
null
completed
null
null
false
https://api.github.com/repos/huggingface/datasets/issues/7841
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/7841/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/7841/comments
https://api.github.com/repos/huggingface/datasets/issues/7841/events
https://github.com/huggingface/datasets/issues/7841
3,579,506,747
I_kwDODunzps7VWvA7
7,841
DOC: `mode` parameter on pdf and video features unused
{ "avatar_url": "https://avatars.githubusercontent.com/u/31857876?v=4", "events_url": "https://api.github.com/users/CloseChoice/events{/privacy}", "followers_url": "https://api.github.com/users/CloseChoice/followers", "following_url": "https://api.github.com/users/CloseChoice/following{/other_user}", "gists_url": "https://api.github.com/users/CloseChoice/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/CloseChoice", "id": 31857876, "login": "CloseChoice", "node_id": "MDQ6VXNlcjMxODU3ODc2", "organizations_url": "https://api.github.com/users/CloseChoice/orgs", "received_events_url": "https://api.github.com/users/CloseChoice/received_events", "repos_url": "https://api.github.com/users/CloseChoice/repos", "site_admin": false, "starred_url": "https://api.github.com/users/CloseChoice/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/CloseChoice/subscriptions", "type": "User", "url": "https://api.github.com/users/CloseChoice", "user_view_type": "public" }
[]
closed
false
null
[]
null
1
2025-11-02 12:37:47+00:00
2025-11-05 14:04:04+00:00
2025-11-05 14:04:04+00:00
CONTRIBUTOR
null
null
{ "completed": 0, "percent_completed": 0, "total": 0 }
{ "blocked_by": 0, "blocking": 0, "total_blocked_by": 0, "total_blocking": 0 }
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 mode parameter on the pdf feature: https://github.com/huggingface/datasets/blob/main/src/datasets/features/pdf.py#L47-L48 I assume checking if these modes can be supported and otherwise removing them is the way to go here.
{ "avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4", "events_url": "https://api.github.com/users/lhoestq/events{/privacy}", "followers_url": "https://api.github.com/users/lhoestq/followers", "following_url": "https://api.github.com/users/lhoestq/following{/other_user}", "gists_url": "https://api.github.com/users/lhoestq/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/lhoestq", "id": 42851186, "login": "lhoestq", "node_id": "MDQ6VXNlcjQyODUxMTg2", "organizations_url": "https://api.github.com/users/lhoestq/orgs", "received_events_url": "https://api.github.com/users/lhoestq/received_events", "repos_url": "https://api.github.com/users/lhoestq/repos", "site_admin": false, "starred_url": "https://api.github.com/users/lhoestq/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lhoestq/subscriptions", "type": "User", "url": "https://api.github.com/users/lhoestq", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/7841/reactions" }
https://api.github.com/repos/huggingface/datasets/issues/7841/timeline
null
completed
null
null
false
https://api.github.com/repos/huggingface/datasets/issues/7840
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/7840/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/7840/comments
https://api.github.com/repos/huggingface/datasets/issues/7840/events
https://github.com/huggingface/datasets/pull/7840
3,579,486,348
PR_kwDODunzps6xDsbG
7,840
Add num channels to audio
{ "avatar_url": "https://avatars.githubusercontent.com/u/31857876?v=4", "events_url": "https://api.github.com/users/CloseChoice/events{/privacy}", "followers_url": "https://api.github.com/users/CloseChoice/followers", "following_url": "https://api.github.com/users/CloseChoice/following{/other_user}", "gists_url": "https://api.github.com/users/CloseChoice/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/CloseChoice", "id": 31857876, "login": "CloseChoice", "node_id": "MDQ6VXNlcjMxODU3ODc2", "organizations_url": "https://api.github.com/users/CloseChoice/orgs", "received_events_url": "https://api.github.com/users/CloseChoice/received_events", "repos_url": "https://api.github.com/users/CloseChoice/repos", "site_admin": false, "starred_url": "https://api.github.com/users/CloseChoice/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/CloseChoice/subscriptions", "type": "User", "url": "https://api.github.com/users/CloseChoice", "user_view_type": "public" }
[]
closed
false
null
[]
null
1
2025-11-02 12:10:24+00:00
2025-11-03 17:37:48+00:00
2025-11-03 14:24:11+00:00
CONTRIBUTOR
null
null
null
null
Fixes #7837 We currently have the [mono attribute for Audio documented](https://github.com/huggingface/datasets/blob/41c05299348a499807432ab476e1cdc4143c8772/src/datasets/features/audio.py#L52C1-L54C22) but not used anywhere resulting in confusion for users. Since torchcodec does not know this attribute I suggest using `num_channels` (currently supported `None` (leave unchanged), mono: `1`, stereo: `2`). I could also add a mono attribute but found that to be more confusing for developers and would restrict us if at any point in the future more than 2 channels are supported.
{ "avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4", "events_url": "https://api.github.com/users/lhoestq/events{/privacy}", "followers_url": "https://api.github.com/users/lhoestq/followers", "following_url": "https://api.github.com/users/lhoestq/following{/other_user}", "gists_url": "https://api.github.com/users/lhoestq/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/lhoestq", "id": 42851186, "login": "lhoestq", "node_id": "MDQ6VXNlcjQyODUxMTg2", "organizations_url": "https://api.github.com/users/lhoestq/orgs", "received_events_url": "https://api.github.com/users/lhoestq/received_events", "repos_url": "https://api.github.com/users/lhoestq/repos", "site_admin": false, "starred_url": "https://api.github.com/users/lhoestq/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lhoestq/subscriptions", "type": "User", "url": "https://api.github.com/users/lhoestq", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/7840/reactions" }
https://api.github.com/repos/huggingface/datasets/issues/7840/timeline
null
null
0
{ "diff_url": "https://github.com/huggingface/datasets/pull/7840.diff", "html_url": "https://github.com/huggingface/datasets/pull/7840", "merged_at": "2025-11-03T14:24:11Z", "patch_url": "https://github.com/huggingface/datasets/pull/7840.patch", "url": "https://api.github.com/repos/huggingface/datasets/pulls/7840" }
true
https://api.github.com/repos/huggingface/datasets/issues/7839
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/7839/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/7839/comments
https://api.github.com/repos/huggingface/datasets/issues/7839/events
https://github.com/huggingface/datasets/issues/7839
3,579,121,843
I_kwDODunzps7VVRCz
7,839
datasets doesn't work with python 3.14
{ "avatar_url": "https://avatars.githubusercontent.com/u/4789087?v=4", "events_url": "https://api.github.com/users/zachmoshe/events{/privacy}", "followers_url": "https://api.github.com/users/zachmoshe/followers", "following_url": "https://api.github.com/users/zachmoshe/following{/other_user}", "gists_url": "https://api.github.com/users/zachmoshe/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/zachmoshe", "id": 4789087, "login": "zachmoshe", "node_id": "MDQ6VXNlcjQ3ODkwODc=", "organizations_url": "https://api.github.com/users/zachmoshe/orgs", "received_events_url": "https://api.github.com/users/zachmoshe/received_events", "repos_url": "https://api.github.com/users/zachmoshe/repos", "site_admin": false, "starred_url": "https://api.github.com/users/zachmoshe/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/zachmoshe/subscriptions", "type": "User", "url": "https://api.github.com/users/zachmoshe", "user_view_type": "public" }
[]
closed
false
null
[]
null
4
2025-11-02 09:09:06+00:00
2025-11-04 14:02:25+00:00
2025-11-04 14:02:25+00:00
NONE
null
null
{ "completed": 0, "percent_completed": 0, "total": 0 }
{ "blocked_by": 0, "blocking": 0, "total_blocked_by": 0, "total_blocking": 0 }
### 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 add datasets uv run python (in REPL) import datasets datasets.load_dataset("cais/mmlu", "all") # will fail on any dataset ``` >>> datasets.load_dataset("cais/mmlu", "all") Traceback (most recent call last): File "<python-input-2>", line 1, in <module> datasets.load_dataset("cais/mmlu", "all") ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^ File "/Users/zmoshe/temp/test_datasets_py3.14/.venv/lib/python3.14/site-packages/datasets/load.py", line 1397, in load_dataset builder_instance = load_dataset_builder( path=path, ...<10 lines>... **config_kwargs, ) File "/Users/zmoshe/temp/test_datasets_py3.14/.venv/lib/python3.14/site-packages/datasets/load.py", line 1185, in load_dataset_builder builder_instance._use_legacy_cache_dir_if_possible(dataset_module) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ File "/Users/zmoshe/temp/test_datasets_py3.14/.venv/lib/python3.14/site-packages/datasets/builder.py", line 615, in _use_legacy_cache_dir_if_possible self._check_legacy_cache2(dataset_module) or self._check_legacy_cache() or None ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ File "/Users/zmoshe/temp/test_datasets_py3.14/.venv/lib/python3.14/site-packages/datasets/builder.py", line 487, in _check_legacy_cache2 config_id = self.config.name + "-" + Hasher.hash({"data_files": self.config.data_files}) ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/zmoshe/temp/test_datasets_py3.14/.venv/lib/python3.14/site-packages/datasets/fingerprint.py", line 188, in hash return cls.hash_bytes(dumps(value)) ~~~~~^^^^^^^ File "/Users/zmoshe/temp/test_datasets_py3.14/.venv/lib/python3.14/site-packages/datasets/utils/_dill.py", line 120, in dumps dump(obj, file) ~~~~^^^^^^^^^^^ File "/Users/zmoshe/temp/test_datasets_py3.14/.venv/lib/python3.14/site-packages/datasets/utils/_dill.py", line 114, in dump Pickler(file, recurse=True).dump(obj) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^ File "/Users/zmoshe/temp/test_datasets_py3.14/.venv/lib/python3.14/site-packages/dill/_dill.py", line 428, in dump StockPickler.dump(self, obj) ~~~~~~~~~~~~~~~~~^^^^^^^^^^^ File "/Users/zmoshe/.local/uv/python/cpython-3.14.0rc2-macos-aarch64-none/lib/python3.14/pickle.py", line 498, in dump self.save(obj) ~~~~~~~~~^^^^^ File "/Users/zmoshe/temp/test_datasets_py3.14/.venv/lib/python3.14/site-packages/datasets/utils/_dill.py", line 70, in save dill.Pickler.save(self, obj, save_persistent_id=save_persistent_id) ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/zmoshe/temp/test_datasets_py3.14/.venv/lib/python3.14/site-packages/dill/_dill.py", line 422, in save StockPickler.save(self, obj, save_persistent_id) ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/zmoshe/.local/uv/python/cpython-3.14.0rc2-macos-aarch64-none/lib/python3.14/pickle.py", line 572, in save f(self, obj) # Call unbound method with explicit self ~^^^^^^^^^^^ File "/Users/zmoshe/temp/test_datasets_py3.14/.venv/lib/python3.14/site-packages/dill/_dill.py", line 1262, in save_module_dict StockPickler.save_dict(pickler, obj) ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^ File "/Users/zmoshe/.local/uv/python/cpython-3.14.0rc2-macos-aarch64-none/lib/python3.14/pickle.py", line 1064, in save_dict self._batch_setitems(obj.items(), obj) ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^ TypeError: Pickler._batch_setitems() takes 2 positional arguments but 3 were given ``` ### Expected behavior should work. ### Environment info datasets==v4.3.0 python==3.14
{ "avatar_url": "https://avatars.githubusercontent.com/u/4789087?v=4", "events_url": "https://api.github.com/users/zachmoshe/events{/privacy}", "followers_url": "https://api.github.com/users/zachmoshe/followers", "following_url": "https://api.github.com/users/zachmoshe/following{/other_user}", "gists_url": "https://api.github.com/users/zachmoshe/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/zachmoshe", "id": 4789087, "login": "zachmoshe", "node_id": "MDQ6VXNlcjQ3ODkwODc=", "organizations_url": "https://api.github.com/users/zachmoshe/orgs", "received_events_url": "https://api.github.com/users/zachmoshe/received_events", "repos_url": "https://api.github.com/users/zachmoshe/repos", "site_admin": false, "starred_url": "https://api.github.com/users/zachmoshe/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/zachmoshe/subscriptions", "type": "User", "url": "https://api.github.com/users/zachmoshe", "user_view_type": "public" }
{ "+1": 1, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 1, "url": "https://api.github.com/repos/huggingface/datasets/issues/7839/reactions" }
https://api.github.com/repos/huggingface/datasets/issues/7839/timeline
null
completed
null
null
false
https://api.github.com/repos/huggingface/datasets/issues/7837
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/7837/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/7837/comments
https://api.github.com/repos/huggingface/datasets/issues/7837/events
https://github.com/huggingface/datasets/issues/7837
3,575,454,726
I_kwDODunzps7VHRwG
7,837
mono parameter to the Audio feature is missing
{ "avatar_url": "https://avatars.githubusercontent.com/u/1250234?v=4", "events_url": "https://api.github.com/users/ernestum/events{/privacy}", "followers_url": "https://api.github.com/users/ernestum/followers", "following_url": "https://api.github.com/users/ernestum/following{/other_user}", "gists_url": "https://api.github.com/users/ernestum/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ernestum", "id": 1250234, "login": "ernestum", "node_id": "MDQ6VXNlcjEyNTAyMzQ=", "organizations_url": "https://api.github.com/users/ernestum/orgs", "received_events_url": "https://api.github.com/users/ernestum/received_events", "repos_url": "https://api.github.com/users/ernestum/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ernestum/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ernestum/subscriptions", "type": "User", "url": "https://api.github.com/users/ernestum", "user_view_type": "public" }
[]
closed
false
null
[]
null
2
2025-10-31 15:41:39+00:00
2025-11-03 15:59:18+00:00
2025-11-03 14:24:12+00:00
NONE
null
null
{ "completed": 0, "percent_completed": 0, "total": 0 }
{ "blocked_by": 0, "blocking": 0, "total_blocked_by": 0, "total_blocking": 0 }
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/audio.py#L52C1-L54C22
{ "avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4", "events_url": "https://api.github.com/users/lhoestq/events{/privacy}", "followers_url": "https://api.github.com/users/lhoestq/followers", "following_url": "https://api.github.com/users/lhoestq/following{/other_user}", "gists_url": "https://api.github.com/users/lhoestq/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/lhoestq", "id": 42851186, "login": "lhoestq", "node_id": "MDQ6VXNlcjQyODUxMTg2", "organizations_url": "https://api.github.com/users/lhoestq/orgs", "received_events_url": "https://api.github.com/users/lhoestq/received_events", "repos_url": "https://api.github.com/users/lhoestq/repos", "site_admin": false, "starred_url": "https://api.github.com/users/lhoestq/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lhoestq/subscriptions", "type": "User", "url": "https://api.github.com/users/lhoestq", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/7837/reactions" }
https://api.github.com/repos/huggingface/datasets/issues/7837/timeline
null
completed
null
null
false
https://api.github.com/repos/huggingface/datasets/issues/7836
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/7836/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/7836/comments
https://api.github.com/repos/huggingface/datasets/issues/7836/events
https://github.com/huggingface/datasets/pull/7836
3,562,316,362
PR_kwDODunzps6wLuh9
7,836
Python 3.14
{ "avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4", "events_url": "https://api.github.com/users/lhoestq/events{/privacy}", "followers_url": "https://api.github.com/users/lhoestq/followers", "following_url": "https://api.github.com/users/lhoestq/following{/other_user}", "gists_url": "https://api.github.com/users/lhoestq/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/lhoestq", "id": 42851186, "login": "lhoestq", "node_id": "MDQ6VXNlcjQyODUxMTg2", "organizations_url": "https://api.github.com/users/lhoestq/orgs", "received_events_url": "https://api.github.com/users/lhoestq/received_events", "repos_url": "https://api.github.com/users/lhoestq/repos", "site_admin": false, "starred_url": "https://api.github.com/users/lhoestq/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lhoestq/subscriptions", "type": "User", "url": "https://api.github.com/users/lhoestq", "user_view_type": "public" }
[]
closed
false
null
[]
null
1
2025-10-28 16:11:13+00:00
2025-10-31 17:27:17+00:00
2025-10-31 17:27:15+00:00
MEMBER
null
null
null
null
null
{ "avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4", "events_url": "https://api.github.com/users/lhoestq/events{/privacy}", "followers_url": "https://api.github.com/users/lhoestq/followers", "following_url": "https://api.github.com/users/lhoestq/following{/other_user}", "gists_url": "https://api.github.com/users/lhoestq/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/lhoestq", "id": 42851186, "login": "lhoestq", "node_id": "MDQ6VXNlcjQyODUxMTg2", "organizations_url": "https://api.github.com/users/lhoestq/orgs", "received_events_url": "https://api.github.com/users/lhoestq/received_events", "repos_url": "https://api.github.com/users/lhoestq/repos", "site_admin": false, "starred_url": "https://api.github.com/users/lhoestq/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lhoestq/subscriptions", "type": "User", "url": "https://api.github.com/users/lhoestq", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/7836/reactions" }
https://api.github.com/repos/huggingface/datasets/issues/7836/timeline
null
null
0
{ "diff_url": "https://github.com/huggingface/datasets/pull/7836.diff", "html_url": "https://github.com/huggingface/datasets/pull/7836", "merged_at": "2025-10-31T17:27:15Z", "patch_url": "https://github.com/huggingface/datasets/pull/7836.patch", "url": "https://api.github.com/repos/huggingface/datasets/pulls/7836" }
true
https://api.github.com/repos/huggingface/datasets/issues/7835
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/7835/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/7835/comments
https://api.github.com/repos/huggingface/datasets/issues/7835/events
https://github.com/huggingface/datasets/pull/7835
3,560,909,796
PR_kwDODunzps6wHK9e
7,835
Add DICOM support
{ "avatar_url": "https://avatars.githubusercontent.com/u/31857876?v=4", "events_url": "https://api.github.com/users/CloseChoice/events{/privacy}", "followers_url": "https://api.github.com/users/CloseChoice/followers", "following_url": "https://api.github.com/users/CloseChoice/following{/other_user}", "gists_url": "https://api.github.com/users/CloseChoice/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/CloseChoice", "id": 31857876, "login": "CloseChoice", "node_id": "MDQ6VXNlcjMxODU3ODc2", "organizations_url": "https://api.github.com/users/CloseChoice/orgs", "received_events_url": "https://api.github.com/users/CloseChoice/received_events", "repos_url": "https://api.github.com/users/CloseChoice/repos", "site_admin": false, "starred_url": "https://api.github.com/users/CloseChoice/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/CloseChoice/subscriptions", "type": "User", "url": "https://api.github.com/users/CloseChoice", "user_view_type": "public" }
[]
open
false
null
[]
null
5
2025-10-28 10:41:05+00:00
2025-11-15 19:19:26+00:00
NaT
CONTRIBUTOR
null
null
null
null
supports #7804 Add support for the dicom file format. This PR follows PR #7815 and PR #7325 closely. Remarkable differences: I made sure that we can load all of pydicom's test data, and encountered the `force=True` parameter that we explicitly support here. This allows to trying to load corrupted dicom files, we explicitly test this! There is one dataset with all of dicom's test data on huggingface which can be loaded using this branch with the following script: ```python from datasets import load_dataset from datasets import Features, ClassLabel from datasets.features import Dicom features = Features({ "dicom": Dicom(force=True), # necessary to be able to load one corrupted file "label": ClassLabel(num_classes=2) }) ds = load_dataset("TobiasPitters/dicom-sample-dataset", features=features) error_count = 0 for idx, item in enumerate(ds["test"]): dicom = item["dicom"] try: print(f"Type: {type(dicom)}") if hasattr(dicom, 'PatientID'): print(f"PatientID: {dicom.PatientID}") if hasattr(dicom, 'StudyInstanceUID'): print(f"StudyInstanceUID: {dicom.StudyInstanceUID}") if hasattr(dicom, 'Modality'): print(f"Modality: {dicom.Modality}") except Exception as e: error_count += 1 print(e) print(f"Finished processing with {error_count} errors.") ``` todo: - [x] add docs (will do so soon)
null
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 2, "total_count": 2, "url": "https://api.github.com/repos/huggingface/datasets/issues/7835/reactions" }
https://api.github.com/repos/huggingface/datasets/issues/7835/timeline
null
null
0
{ "diff_url": "https://github.com/huggingface/datasets/pull/7835.diff", "html_url": "https://github.com/huggingface/datasets/pull/7835", "merged_at": null, "patch_url": "https://github.com/huggingface/datasets/pull/7835.patch", "url": "https://api.github.com/repos/huggingface/datasets/pulls/7835" }
true
https://api.github.com/repos/huggingface/datasets/issues/7834
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/7834/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/7834/comments
https://api.github.com/repos/huggingface/datasets/issues/7834/events
https://github.com/huggingface/datasets/issues/7834
3,558,802,959
I_kwDODunzps7UHwYP
7,834
Audio.cast_column() or Audio.decode_example() causes Colab kernel crash (std::bad_alloc)
{ "avatar_url": "https://avatars.githubusercontent.com/u/2559570?v=4", "events_url": "https://api.github.com/users/rachidio/events{/privacy}", "followers_url": "https://api.github.com/users/rachidio/followers", "following_url": "https://api.github.com/users/rachidio/following{/other_user}", "gists_url": "https://api.github.com/users/rachidio/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/rachidio", "id": 2559570, "login": "rachidio", "node_id": "MDQ6VXNlcjI1NTk1NzA=", "organizations_url": "https://api.github.com/users/rachidio/orgs", "received_events_url": "https://api.github.com/users/rachidio/received_events", "repos_url": "https://api.github.com/users/rachidio/repos", "site_admin": false, "starred_url": "https://api.github.com/users/rachidio/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/rachidio/subscriptions", "type": "User", "url": "https://api.github.com/users/rachidio", "user_view_type": "public" }
[]
open
false
null
[]
null
8
2025-10-27 22:02:00+00:00
2025-11-15 16:28:04+00:00
NaT
NONE
null
null
{ "completed": 0, "percent_completed": 0, "total": 0 }
{ "blocked_by": 0, "blocking": 0, "total_blocked_by": 0, "total_blocking": 0 }
### 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 successfully using soundfile. Here is a sample Collab notebook to reproduce the problem. https://colab.research.google.com/drive/1nnb-GC5748Tux3xcYRussCGp2x-zM9Id?usp=sharing code sample: ``` ... audio_dataset = audio_dataset.cast_column("audio", Audio(sampling_rate=16000)) # Accessing the first element crashes the Colab kernel print(audio_dataset[0]["audio"]) ``` Error log ``` WARNING what(): std::bad_alloc terminate called after throwing an instance of 'std::bad_alloc' ``` Environment Platform: Google Colab (Python 3.12.12) datasets Version: 4.3.0 soundfile Version: 0.13.1 torchaudio Version: 2.8.0+cu126 Thanks in advance to help me on this error I get approx two weeks now after it was working before. Regards ### Steps to reproduce the bug https://colab.research.google.com/drive/1nnb-GC5748Tux3xcYRussCGp2x-zM9Id?usp=sharing ### Expected behavior Loading the audio and decode it. It should safely return: { "path": "path/filaname.wav", "array": np.ndarray([...]), "sampling_rate": 16000 } ### Environment info Environment Platform: Google Colab (Python 3.12.12) datasets Version: 4.3.0 soundfile Version: 0.13.1 torchaudio Version: 2.8.0+cu126
null
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 1, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 1, "url": "https://api.github.com/repos/huggingface/datasets/issues/7834/reactions" }
https://api.github.com/repos/huggingface/datasets/issues/7834/timeline
null
null
null
null
false
https://api.github.com/repos/huggingface/datasets/issues/7833
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/7833/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/7833/comments
https://api.github.com/repos/huggingface/datasets/issues/7833/events
https://github.com/huggingface/datasets/pull/7833
3,556,014,911
PR_kwDODunzps6v2gAI
7,833
Fix: Properly render [!TIP] block in stream.shuffle documentation
{ "avatar_url": "https://avatars.githubusercontent.com/u/110672812?v=4", "events_url": "https://api.github.com/users/art-test-stack/events{/privacy}", "followers_url": "https://api.github.com/users/art-test-stack/followers", "following_url": "https://api.github.com/users/art-test-stack/following{/other_user}", "gists_url": "https://api.github.com/users/art-test-stack/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/art-test-stack", "id": 110672812, "login": "art-test-stack", "node_id": "U_kgDOBpi7rA", "organizations_url": "https://api.github.com/users/art-test-stack/orgs", "received_events_url": "https://api.github.com/users/art-test-stack/received_events", "repos_url": "https://api.github.com/users/art-test-stack/repos", "site_admin": false, "starred_url": "https://api.github.com/users/art-test-stack/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/art-test-stack/subscriptions", "type": "User", "url": "https://api.github.com/users/art-test-stack", "user_view_type": "public" }
[]
closed
false
null
[]
null
0
2025-10-27 10:09:31+00:00
2025-10-28 15:57:33+00:00
2025-10-28 15:57:33+00:00
CONTRIBUTOR
null
null
null
null
The second line starting with the bracket doesn't properly render on huggingface/docs. Added "> " to address it. In the client documentation, the markdown 'TIP' 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()%5D(/docs/datasets/v4.3.0/en/package_reference/main_classes%23datasets.IterableDataset.shuffle)%20will%20also%20shuffle%20the%20order%20of%20the%20shards%20if%20the%20dataset%20is%20sharded%20into%20multiple%20files. Github source: https://github.com/huggingface/datasets/blob/main/docs/source/stream.mdx#:~:text=Casting%20only%20works%20if%20the%20original%20feature%20type%20and%20new%20feature%20type%20are%20compatible.%20For%20example%2C%20you%20can%20cast%20a%20column%20with%20the%20feature%20type%20Value(%27int32%27)%20to%20Value(%27bool%27)%20if%20the%20original%20column%20only%20contains%20ones%20and%20zeros.
{ "avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4", "events_url": "https://api.github.com/users/lhoestq/events{/privacy}", "followers_url": "https://api.github.com/users/lhoestq/followers", "following_url": "https://api.github.com/users/lhoestq/following{/other_user}", "gists_url": "https://api.github.com/users/lhoestq/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/lhoestq", "id": 42851186, "login": "lhoestq", "node_id": "MDQ6VXNlcjQyODUxMTg2", "organizations_url": "https://api.github.com/users/lhoestq/orgs", "received_events_url": "https://api.github.com/users/lhoestq/received_events", "repos_url": "https://api.github.com/users/lhoestq/repos", "site_admin": false, "starred_url": "https://api.github.com/users/lhoestq/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lhoestq/subscriptions", "type": "User", "url": "https://api.github.com/users/lhoestq", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/7833/reactions" }
https://api.github.com/repos/huggingface/datasets/issues/7833/timeline
null
null
0
{ "diff_url": "https://github.com/huggingface/datasets/pull/7833.diff", "html_url": "https://github.com/huggingface/datasets/pull/7833", "merged_at": "2025-10-28T15:57:33Z", "patch_url": "https://github.com/huggingface/datasets/pull/7833.patch", "url": "https://api.github.com/repos/huggingface/datasets/pulls/7833" }
true
https://api.github.com/repos/huggingface/datasets/issues/7832
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/7832/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/7832/comments
https://api.github.com/repos/huggingface/datasets/issues/7832/events
https://github.com/huggingface/datasets/issues/7832
3,555,991,552
I_kwDODunzps7T9CAA
7,832
[DOCS][minor] TIPS paragraph not compiled in docs/stream
{ "avatar_url": "https://avatars.githubusercontent.com/u/110672812?v=4", "events_url": "https://api.github.com/users/art-test-stack/events{/privacy}", "followers_url": "https://api.github.com/users/art-test-stack/followers", "following_url": "https://api.github.com/users/art-test-stack/following{/other_user}", "gists_url": "https://api.github.com/users/art-test-stack/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/art-test-stack", "id": 110672812, "login": "art-test-stack", "node_id": "U_kgDOBpi7rA", "organizations_url": "https://api.github.com/users/art-test-stack/orgs", "received_events_url": "https://api.github.com/users/art-test-stack/received_events", "repos_url": "https://api.github.com/users/art-test-stack/repos", "site_admin": false, "starred_url": "https://api.github.com/users/art-test-stack/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/art-test-stack/subscriptions", "type": "User", "url": "https://api.github.com/users/art-test-stack", "user_view_type": "public" }
[]
closed
false
null
[]
null
0
2025-10-27 10:03:22+00:00
2025-10-27 10:10:54+00:00
2025-10-27 10:10:54+00:00
CONTRIBUTOR
null
null
{ "completed": 0, "percent_completed": 0, "total": 0 }
{ "blocked_by": 0, "blocking": 0, "total_blocked_by": 0, "total_blocking": 0 }
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()%5D(/docs/datasets/v4.3.0/en/package_reference/main_classes%23datasets.IterableDataset.shuffle)%20will%20also%20shuffle%20the%20order%20of%20the%20shards%20if%20the%20dataset%20is%20sharded%20into%20multiple%20files. Github source: https://github.com/huggingface/datasets/blob/main/docs/source/stream.mdx#:~:text=Casting%20only%20works%20if%20the%20original%20feature%20type%20and%20new%20feature%20type%20are%20compatible.%20For%20example%2C%20you%20can%20cast%20a%20column%20with%20the%20feature%20type%20Value(%27int32%27)%20to%20Value(%27bool%27)%20if%20the%20original%20column%20only%20contains%20ones%20and%20zeros.
{ "avatar_url": "https://avatars.githubusercontent.com/u/110672812?v=4", "events_url": "https://api.github.com/users/art-test-stack/events{/privacy}", "followers_url": "https://api.github.com/users/art-test-stack/followers", "following_url": "https://api.github.com/users/art-test-stack/following{/other_user}", "gists_url": "https://api.github.com/users/art-test-stack/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/art-test-stack", "id": 110672812, "login": "art-test-stack", "node_id": "U_kgDOBpi7rA", "organizations_url": "https://api.github.com/users/art-test-stack/orgs", "received_events_url": "https://api.github.com/users/art-test-stack/received_events", "repos_url": "https://api.github.com/users/art-test-stack/repos", "site_admin": false, "starred_url": "https://api.github.com/users/art-test-stack/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/art-test-stack/subscriptions", "type": "User", "url": "https://api.github.com/users/art-test-stack", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/7832/reactions" }
https://api.github.com/repos/huggingface/datasets/issues/7832/timeline
null
completed
null
null
false
https://api.github.com/repos/huggingface/datasets/issues/7831
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/7831/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/7831/comments
https://api.github.com/repos/huggingface/datasets/issues/7831/events
https://github.com/huggingface/datasets/pull/7831
3,552,081,727
PR_kwDODunzps6vp0pz
7,831
resolves the ValueError: Unable to avoid copy while creating an array
{ "avatar_url": "https://avatars.githubusercontent.com/u/142811259?v=4", "events_url": "https://api.github.com/users/ArjunJagdale/events{/privacy}", "followers_url": "https://api.github.com/users/ArjunJagdale/followers", "following_url": "https://api.github.com/users/ArjunJagdale/following{/other_user}", "gists_url": "https://api.github.com/users/ArjunJagdale/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ArjunJagdale", "id": 142811259, "login": "ArjunJagdale", "node_id": "U_kgDOCIMgew", "organizations_url": "https://api.github.com/users/ArjunJagdale/orgs", "received_events_url": "https://api.github.com/users/ArjunJagdale/received_events", "repos_url": "https://api.github.com/users/ArjunJagdale/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ArjunJagdale/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ArjunJagdale/subscriptions", "type": "User", "url": "https://api.github.com/users/ArjunJagdale", "user_view_type": "public" }
[]
closed
false
null
[]
null
3
2025-10-25 08:13:54+00:00
2025-10-29 06:35:32+00:00
2025-10-28 16:10:43+00:00
CONTRIBUTOR
null
null
null
null
## Summary Fixes #7818 This PR resolves the `ValueError: Unable to avoid copy while creating an array` error that occurs when using `train_test_split` with `stratify_by_column` parameter in NumPy 2.0+. ## Changes - Wrapped the stratify column array access with `np.asarray()` in `arrow_dataset.py` - This allows NumPy 2.0 to make a copy when the Arrow array is non-contiguous in memory ## Testing - ✅ Tested with NumPy 2.3.4 - stratified splits work correctly - ✅ Tested with NumPy 1.26.4 - backward compatibility maintained - ✅ Verified class balance is preserved in stratified splits - ✅ Non-stratified splits continue to work as expected
{ "avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4", "events_url": "https://api.github.com/users/lhoestq/events{/privacy}", "followers_url": "https://api.github.com/users/lhoestq/followers", "following_url": "https://api.github.com/users/lhoestq/following{/other_user}", "gists_url": "https://api.github.com/users/lhoestq/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/lhoestq", "id": 42851186, "login": "lhoestq", "node_id": "MDQ6VXNlcjQyODUxMTg2", "organizations_url": "https://api.github.com/users/lhoestq/orgs", "received_events_url": "https://api.github.com/users/lhoestq/received_events", "repos_url": "https://api.github.com/users/lhoestq/repos", "site_admin": false, "starred_url": "https://api.github.com/users/lhoestq/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lhoestq/subscriptions", "type": "User", "url": "https://api.github.com/users/lhoestq", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/7831/reactions" }
https://api.github.com/repos/huggingface/datasets/issues/7831/timeline
null
null
0
{ "diff_url": "https://github.com/huggingface/datasets/pull/7831.diff", "html_url": "https://github.com/huggingface/datasets/pull/7831", "merged_at": "2025-10-28T16:10:43Z", "patch_url": "https://github.com/huggingface/datasets/pull/7831.patch", "url": "https://api.github.com/repos/huggingface/datasets/pulls/7831" }
true
https://api.github.com/repos/huggingface/datasets/issues/7830
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/7830/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/7830/comments
https://api.github.com/repos/huggingface/datasets/issues/7830/events
https://github.com/huggingface/datasets/pull/7830
3,549,769,999
PR_kwDODunzps6viIQf
7,830
fix ci compressionfs
{ "avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4", "events_url": "https://api.github.com/users/lhoestq/events{/privacy}", "followers_url": "https://api.github.com/users/lhoestq/followers", "following_url": "https://api.github.com/users/lhoestq/following{/other_user}", "gists_url": "https://api.github.com/users/lhoestq/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/lhoestq", "id": 42851186, "login": "lhoestq", "node_id": "MDQ6VXNlcjQyODUxMTg2", "organizations_url": "https://api.github.com/users/lhoestq/orgs", "received_events_url": "https://api.github.com/users/lhoestq/received_events", "repos_url": "https://api.github.com/users/lhoestq/repos", "site_admin": false, "starred_url": "https://api.github.com/users/lhoestq/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lhoestq/subscriptions", "type": "User", "url": "https://api.github.com/users/lhoestq", "user_view_type": "public" }
[]
closed
false
null
[]
null
1
2025-10-24 14:29:00+00:00
2025-10-24 14:46:34+00:00
2025-10-24 14:46:29+00:00
MEMBER
null
null
null
null
null
{ "avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4", "events_url": "https://api.github.com/users/lhoestq/events{/privacy}", "followers_url": "https://api.github.com/users/lhoestq/followers", "following_url": "https://api.github.com/users/lhoestq/following{/other_user}", "gists_url": "https://api.github.com/users/lhoestq/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/lhoestq", "id": 42851186, "login": "lhoestq", "node_id": "MDQ6VXNlcjQyODUxMTg2", "organizations_url": "https://api.github.com/users/lhoestq/orgs", "received_events_url": "https://api.github.com/users/lhoestq/received_events", "repos_url": "https://api.github.com/users/lhoestq/repos", "site_admin": false, "starred_url": "https://api.github.com/users/lhoestq/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lhoestq/subscriptions", "type": "User", "url": "https://api.github.com/users/lhoestq", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/7830/reactions" }
https://api.github.com/repos/huggingface/datasets/issues/7830/timeline
null
null
0
{ "diff_url": "https://github.com/huggingface/datasets/pull/7830.diff", "html_url": "https://github.com/huggingface/datasets/pull/7830", "merged_at": "2025-10-24T14:46:29Z", "patch_url": "https://github.com/huggingface/datasets/pull/7830.patch", "url": "https://api.github.com/repos/huggingface/datasets/pulls/7830" }
true
https://api.github.com/repos/huggingface/datasets/issues/7829
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/7829/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/7829/comments
https://api.github.com/repos/huggingface/datasets/issues/7829/events
https://github.com/huggingface/datasets/issues/7829
3,548,584,085
I_kwDODunzps7TgxiV
7,829
Memory leak / Large memory usage with num_workers = 0 and numerous dataset within DatasetDict
{ "avatar_url": "https://avatars.githubusercontent.com/u/24591024?v=4", "events_url": "https://api.github.com/users/raphaelsty/events{/privacy}", "followers_url": "https://api.github.com/users/raphaelsty/followers", "following_url": "https://api.github.com/users/raphaelsty/following{/other_user}", "gists_url": "https://api.github.com/users/raphaelsty/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/raphaelsty", "id": 24591024, "login": "raphaelsty", "node_id": "MDQ6VXNlcjI0NTkxMDI0", "organizations_url": "https://api.github.com/users/raphaelsty/orgs", "received_events_url": "https://api.github.com/users/raphaelsty/received_events", "repos_url": "https://api.github.com/users/raphaelsty/repos", "site_admin": false, "starred_url": "https://api.github.com/users/raphaelsty/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/raphaelsty/subscriptions", "type": "User", "url": "https://api.github.com/users/raphaelsty", "user_view_type": "public" }
[]
open
false
null
[]
null
4
2025-10-24 09:51:38+00:00
2025-11-06 13:31:26+00:00
NaT
NONE
null
null
{ "completed": 0, "percent_completed": 0, "total": 0 }
{ "blocked_by": 0, "blocking": 0, "total_blocked_by": 0, "total_blocking": 0 }
### 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 performing contrastive learning with SentenceTransformer and Accelerate on a single node with 4 H100, which requires me to sample from only one dataset at a time. Training Loop: At each training step, I sample ~16,000 examples from a single dataset, and then switch to a different dataset for the next step. I iterate through all 362 datasets this way. Problem: The process's memory usage continuously increases over time, eventually causing a stale status where GPUs would stop working. It seems memory from previously sampled datasets isn't being released. I've set num_workers=0 for all experiments. Chart 1: Standard DatasetDict The memory usage grows steadily until it make the training stale (RSS memory) <img width="773" height="719" alt="Image" src="https://github.com/user-attachments/assets/6606bef5-1153-4f2d-bf08-82da249d6e8d" /> Chart 2: IterableDatasetDict I also tried to use IterableDatasetDict and IterableDataset. The memory curve is "smoother," but the result is the same: it grows indefinitely and the training become stale. <img width="339" height="705" alt="Image" src="https://github.com/user-attachments/assets/ee90c1a1-6c3b-4135-9edc-90955cb1695a" /> Any feedback or guidance on how to manage this memory would be greatly appreciated! ### Steps to reproduce the bug WIP, I'll add some code that manage to reproduce this error, but not straightforward. ### Expected behavior The memory usage should remain relatively constant or plateau after a few steps. Memory used for sampling one dataset should be released before or during the sampling of the next dataset. ### Environment info Python: 3.12 Datasets: 4.3.0 SentenceTransformers: 5.1.1
null
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 1, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 1, "url": "https://api.github.com/repos/huggingface/datasets/issues/7829/reactions" }
https://api.github.com/repos/huggingface/datasets/issues/7829/timeline
null
null
null
null
false
https://api.github.com/repos/huggingface/datasets/issues/7828
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/7828/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/7828/comments
https://api.github.com/repos/huggingface/datasets/issues/7828/events
https://github.com/huggingface/datasets/pull/7828
3,545,562,802
PR_kwDODunzps6vT3rI
7,828
set dev version
{ "avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4", "events_url": "https://api.github.com/users/lhoestq/events{/privacy}", "followers_url": "https://api.github.com/users/lhoestq/followers", "following_url": "https://api.github.com/users/lhoestq/following{/other_user}", "gists_url": "https://api.github.com/users/lhoestq/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/lhoestq", "id": 42851186, "login": "lhoestq", "node_id": "MDQ6VXNlcjQyODUxMTg2", "organizations_url": "https://api.github.com/users/lhoestq/orgs", "received_events_url": "https://api.github.com/users/lhoestq/received_events", "repos_url": "https://api.github.com/users/lhoestq/repos", "site_admin": false, "starred_url": "https://api.github.com/users/lhoestq/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lhoestq/subscriptions", "type": "User", "url": "https://api.github.com/users/lhoestq", "user_view_type": "public" }
[]
closed
false
null
[]
null
1
2025-10-23 16:34:44+00:00
2025-10-23 16:37:32+00:00
2025-10-23 16:34:50+00:00
MEMBER
null
null
null
null
null
{ "avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4", "events_url": "https://api.github.com/users/lhoestq/events{/privacy}", "followers_url": "https://api.github.com/users/lhoestq/followers", "following_url": "https://api.github.com/users/lhoestq/following{/other_user}", "gists_url": "https://api.github.com/users/lhoestq/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/lhoestq", "id": 42851186, "login": "lhoestq", "node_id": "MDQ6VXNlcjQyODUxMTg2", "organizations_url": "https://api.github.com/users/lhoestq/orgs", "received_events_url": "https://api.github.com/users/lhoestq/received_events", "repos_url": "https://api.github.com/users/lhoestq/repos", "site_admin": false, "starred_url": "https://api.github.com/users/lhoestq/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lhoestq/subscriptions", "type": "User", "url": "https://api.github.com/users/lhoestq", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/7828/reactions" }
https://api.github.com/repos/huggingface/datasets/issues/7828/timeline
null
null
0
{ "diff_url": "https://github.com/huggingface/datasets/pull/7828.diff", "html_url": "https://github.com/huggingface/datasets/pull/7828", "merged_at": "2025-10-23T16:34:50Z", "patch_url": "https://github.com/huggingface/datasets/pull/7828.patch", "url": "https://api.github.com/repos/huggingface/datasets/pulls/7828" }
true
https://api.github.com/repos/huggingface/datasets/issues/7827
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/7827/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/7827/comments
https://api.github.com/repos/huggingface/datasets/issues/7827/events
https://github.com/huggingface/datasets/pull/7827
3,545,543,117
PR_kwDODunzps6vTz7T
7,827
release: 4.3.0
{ "avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4", "events_url": "https://api.github.com/users/lhoestq/events{/privacy}", "followers_url": "https://api.github.com/users/lhoestq/followers", "following_url": "https://api.github.com/users/lhoestq/following{/other_user}", "gists_url": "https://api.github.com/users/lhoestq/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/lhoestq", "id": 42851186, "login": "lhoestq", "node_id": "MDQ6VXNlcjQyODUxMTg2", "organizations_url": "https://api.github.com/users/lhoestq/orgs", "received_events_url": "https://api.github.com/users/lhoestq/received_events", "repos_url": "https://api.github.com/users/lhoestq/repos", "site_admin": false, "starred_url": "https://api.github.com/users/lhoestq/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lhoestq/subscriptions", "type": "User", "url": "https://api.github.com/users/lhoestq", "user_view_type": "public" }
[]
closed
false
null
[]
null
1
2025-10-23 16:30:48+00:00
2025-10-23 16:33:38+00:00
2025-10-23 16:31:57+00:00
MEMBER
null
null
null
null
null
{ "avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4", "events_url": "https://api.github.com/users/lhoestq/events{/privacy}", "followers_url": "https://api.github.com/users/lhoestq/followers", "following_url": "https://api.github.com/users/lhoestq/following{/other_user}", "gists_url": "https://api.github.com/users/lhoestq/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/lhoestq", "id": 42851186, "login": "lhoestq", "node_id": "MDQ6VXNlcjQyODUxMTg2", "organizations_url": "https://api.github.com/users/lhoestq/orgs", "received_events_url": "https://api.github.com/users/lhoestq/received_events", "repos_url": "https://api.github.com/users/lhoestq/repos", "site_admin": false, "starred_url": "https://api.github.com/users/lhoestq/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lhoestq/subscriptions", "type": "User", "url": "https://api.github.com/users/lhoestq", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/7827/reactions" }
https://api.github.com/repos/huggingface/datasets/issues/7827/timeline
null
null
0
{ "diff_url": "https://github.com/huggingface/datasets/pull/7827.diff", "html_url": "https://github.com/huggingface/datasets/pull/7827", "merged_at": "2025-10-23T16:31:56Z", "patch_url": "https://github.com/huggingface/datasets/pull/7827.patch", "url": "https://api.github.com/repos/huggingface/datasets/pulls/7827" }
true
https://api.github.com/repos/huggingface/datasets/issues/7826
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/7826/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/7826/comments
https://api.github.com/repos/huggingface/datasets/issues/7826/events
https://github.com/huggingface/datasets/pull/7826
3,545,534,210
PR_kwDODunzps6vTyKR
7,826
picklable batch_fn
{ "avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4", "events_url": "https://api.github.com/users/lhoestq/events{/privacy}", "followers_url": "https://api.github.com/users/lhoestq/followers", "following_url": "https://api.github.com/users/lhoestq/following{/other_user}", "gists_url": "https://api.github.com/users/lhoestq/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/lhoestq", "id": 42851186, "login": "lhoestq", "node_id": "MDQ6VXNlcjQyODUxMTg2", "organizations_url": "https://api.github.com/users/lhoestq/orgs", "received_events_url": "https://api.github.com/users/lhoestq/received_events", "repos_url": "https://api.github.com/users/lhoestq/repos", "site_admin": false, "starred_url": "https://api.github.com/users/lhoestq/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lhoestq/subscriptions", "type": "User", "url": "https://api.github.com/users/lhoestq", "user_view_type": "public" }
[]
closed
false
null
[]
null
1
2025-10-23 16:28:52+00:00
2025-10-23 16:31:59+00:00
2025-10-23 16:29:06+00:00
MEMBER
null
null
null
null
null
{ "avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4", "events_url": "https://api.github.com/users/lhoestq/events{/privacy}", "followers_url": "https://api.github.com/users/lhoestq/followers", "following_url": "https://api.github.com/users/lhoestq/following{/other_user}", "gists_url": "https://api.github.com/users/lhoestq/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/lhoestq", "id": 42851186, "login": "lhoestq", "node_id": "MDQ6VXNlcjQyODUxMTg2", "organizations_url": "https://api.github.com/users/lhoestq/orgs", "received_events_url": "https://api.github.com/users/lhoestq/received_events", "repos_url": "https://api.github.com/users/lhoestq/repos", "site_admin": false, "starred_url": "https://api.github.com/users/lhoestq/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lhoestq/subscriptions", "type": "User", "url": "https://api.github.com/users/lhoestq", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/7826/reactions" }
https://api.github.com/repos/huggingface/datasets/issues/7826/timeline
null
null
0
{ "diff_url": "https://github.com/huggingface/datasets/pull/7826.diff", "html_url": "https://github.com/huggingface/datasets/pull/7826", "merged_at": "2025-10-23T16:29:06Z", "patch_url": "https://github.com/huggingface/datasets/pull/7826.patch", "url": "https://api.github.com/repos/huggingface/datasets/pulls/7826" }
true
https://api.github.com/repos/huggingface/datasets/issues/7825
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/7825/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/7825/comments
https://api.github.com/repos/huggingface/datasets/issues/7825/events
https://github.com/huggingface/datasets/pull/7825
3,541,176,759
PR_kwDODunzps6vFc3H
7,825
Fix ArrowInvalid for large variables
{ "avatar_url": "https://avatars.githubusercontent.com/u/31857876?v=4", "events_url": "https://api.github.com/users/CloseChoice/events{/privacy}", "followers_url": "https://api.github.com/users/CloseChoice/followers", "following_url": "https://api.github.com/users/CloseChoice/following{/other_user}", "gists_url": "https://api.github.com/users/CloseChoice/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/CloseChoice", "id": 31857876, "login": "CloseChoice", "node_id": "MDQ6VXNlcjMxODU3ODc2", "organizations_url": "https://api.github.com/users/CloseChoice/orgs", "received_events_url": "https://api.github.com/users/CloseChoice/received_events", "repos_url": "https://api.github.com/users/CloseChoice/repos", "site_admin": false, "starred_url": "https://api.github.com/users/CloseChoice/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/CloseChoice/subscriptions", "type": "User", "url": "https://api.github.com/users/CloseChoice", "user_view_type": "public" }
[]
open
false
null
[]
null
1
2025-10-22 14:42:47+00:00
2025-11-05 11:02:14+00:00
NaT
CONTRIBUTOR
null
null
null
null
Fixes #7821 In addition to the solution proposed in the issue, I encountered we also need to support 64bit types when writing using the `RecordBatchStreamWriter`. Not sure if we want to create such large objects in the CI, but this is the only way to test that the issue is fixed, therefore I added the unit test.
null
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/7825/reactions" }
https://api.github.com/repos/huggingface/datasets/issues/7825/timeline
null
null
0
{ "diff_url": "https://github.com/huggingface/datasets/pull/7825.diff", "html_url": "https://github.com/huggingface/datasets/pull/7825", "merged_at": null, "patch_url": "https://github.com/huggingface/datasets/pull/7825.patch", "url": "https://api.github.com/repos/huggingface/datasets/pulls/7825" }
true
https://api.github.com/repos/huggingface/datasets/issues/7824
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/7824/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/7824/comments
https://api.github.com/repos/huggingface/datasets/issues/7824/events
https://github.com/huggingface/datasets/pull/7824
3,531,240,254
PR_kwDODunzps6ukXe9
7,824
Fix batch_size default description in to_polars docstrings
{ "avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4", "events_url": "https://api.github.com/users/albertvillanova/events{/privacy}", "followers_url": "https://api.github.com/users/albertvillanova/followers", "following_url": "https://api.github.com/users/albertvillanova/following{/other_user}", "gists_url": "https://api.github.com/users/albertvillanova/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/albertvillanova", "id": 8515462, "login": "albertvillanova", "node_id": "MDQ6VXNlcjg1MTU0NjI=", "organizations_url": "https://api.github.com/users/albertvillanova/orgs", "received_events_url": "https://api.github.com/users/albertvillanova/received_events", "repos_url": "https://api.github.com/users/albertvillanova/repos", "site_admin": false, "starred_url": "https://api.github.com/users/albertvillanova/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/albertvillanova/subscriptions", "type": "User", "url": "https://api.github.com/users/albertvillanova", "user_view_type": "public" }
[]
closed
false
null
[]
null
1
2025-10-20 06:38:19+00:00
2025-10-20 13:49:25+00:00
2025-10-20 13:49:24+00:00
MEMBER
null
null
null
null
Fix batch_size default description in `to_polars` docstrings.
{ "avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4", "events_url": "https://api.github.com/users/lhoestq/events{/privacy}", "followers_url": "https://api.github.com/users/lhoestq/followers", "following_url": "https://api.github.com/users/lhoestq/following{/other_user}", "gists_url": "https://api.github.com/users/lhoestq/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/lhoestq", "id": 42851186, "login": "lhoestq", "node_id": "MDQ6VXNlcjQyODUxMTg2", "organizations_url": "https://api.github.com/users/lhoestq/orgs", "received_events_url": "https://api.github.com/users/lhoestq/received_events", "repos_url": "https://api.github.com/users/lhoestq/repos", "site_admin": false, "starred_url": "https://api.github.com/users/lhoestq/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lhoestq/subscriptions", "type": "User", "url": "https://api.github.com/users/lhoestq", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/7824/reactions" }
https://api.github.com/repos/huggingface/datasets/issues/7824/timeline
null
null
0
{ "diff_url": "https://github.com/huggingface/datasets/pull/7824.diff", "html_url": "https://github.com/huggingface/datasets/pull/7824", "merged_at": "2025-10-20T13:49:24Z", "patch_url": "https://github.com/huggingface/datasets/pull/7824.patch", "url": "https://api.github.com/repos/huggingface/datasets/pulls/7824" }
true
https://api.github.com/repos/huggingface/datasets/issues/7823
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/7823/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/7823/comments
https://api.github.com/repos/huggingface/datasets/issues/7823/events
https://github.com/huggingface/datasets/pull/7823
3,525,440,347
PR_kwDODunzps6uRkGa
7,823
Fix random seed on shuffle and interleave_datasets
{ "avatar_url": "https://avatars.githubusercontent.com/u/31857876?v=4", "events_url": "https://api.github.com/users/CloseChoice/events{/privacy}", "followers_url": "https://api.github.com/users/CloseChoice/followers", "following_url": "https://api.github.com/users/CloseChoice/following{/other_user}", "gists_url": "https://api.github.com/users/CloseChoice/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/CloseChoice", "id": 31857876, "login": "CloseChoice", "node_id": "MDQ6VXNlcjMxODU3ODc2", "organizations_url": "https://api.github.com/users/CloseChoice/orgs", "received_events_url": "https://api.github.com/users/CloseChoice/received_events", "repos_url": "https://api.github.com/users/CloseChoice/repos", "site_admin": false, "starred_url": "https://api.github.com/users/CloseChoice/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/CloseChoice/subscriptions", "type": "User", "url": "https://api.github.com/users/CloseChoice", "user_view_type": "public" }
[]
closed
false
null
[]
null
3
2025-10-17 10:21:47+00:00
2025-10-24 14:21:22+00:00
2025-10-24 14:04:36+00:00
CONTRIBUTOR
null
null
null
null
closes #7567 Add `shift_rngs` method to `ExamplesIterable` that is called directly after sharding. If a generator is available (not the case for all subclasses) we update the seed of the generator by shifting by the worker_id. ~This is just the fix for `shuffle`, in the corresponding issue `interleave_datasets` is mentioned as well, which won't be fixed with this approach.~ EDIT: This is a fix for `shuffle` and `interleave_datasets`. Adding recursivity to `shift_rngs` solved `interleave_datasets` as well. Not sure though if this is completely safe or if we could destroy something with that. I don't think so but could be wrong and appreciate some guidance from the maintainers. I also checked, on a single_worker we are always handing over `index=0` so that case preserves the seed the user specified.
{ "avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4", "events_url": "https://api.github.com/users/lhoestq/events{/privacy}", "followers_url": "https://api.github.com/users/lhoestq/followers", "following_url": "https://api.github.com/users/lhoestq/following{/other_user}", "gists_url": "https://api.github.com/users/lhoestq/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/lhoestq", "id": 42851186, "login": "lhoestq", "node_id": "MDQ6VXNlcjQyODUxMTg2", "organizations_url": "https://api.github.com/users/lhoestq/orgs", "received_events_url": "https://api.github.com/users/lhoestq/received_events", "repos_url": "https://api.github.com/users/lhoestq/repos", "site_admin": false, "starred_url": "https://api.github.com/users/lhoestq/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lhoestq/subscriptions", "type": "User", "url": "https://api.github.com/users/lhoestq", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 1, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 1, "url": "https://api.github.com/repos/huggingface/datasets/issues/7823/reactions" }
https://api.github.com/repos/huggingface/datasets/issues/7823/timeline
null
null
0
{ "diff_url": "https://github.com/huggingface/datasets/pull/7823.diff", "html_url": "https://github.com/huggingface/datasets/pull/7823", "merged_at": "2025-10-24T14:04:36Z", "patch_url": "https://github.com/huggingface/datasets/pull/7823.patch", "url": "https://api.github.com/repos/huggingface/datasets/pulls/7823" }
true
https://api.github.com/repos/huggingface/datasets/issues/7822
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/7822/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/7822/comments
https://api.github.com/repos/huggingface/datasets/issues/7822/events
https://github.com/huggingface/datasets/pull/7822
3,525,309,651
PR_kwDODunzps6uRKIJ
7,822
Retry open hf file
{ "avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4", "events_url": "https://api.github.com/users/lhoestq/events{/privacy}", "followers_url": "https://api.github.com/users/lhoestq/followers", "following_url": "https://api.github.com/users/lhoestq/following{/other_user}", "gists_url": "https://api.github.com/users/lhoestq/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/lhoestq", "id": 42851186, "login": "lhoestq", "node_id": "MDQ6VXNlcjQyODUxMTg2", "organizations_url": "https://api.github.com/users/lhoestq/orgs", "received_events_url": "https://api.github.com/users/lhoestq/received_events", "repos_url": "https://api.github.com/users/lhoestq/repos", "site_admin": false, "starred_url": "https://api.github.com/users/lhoestq/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lhoestq/subscriptions", "type": "User", "url": "https://api.github.com/users/lhoestq", "user_view_type": "public" }
[]
closed
false
null
[]
null
1
2025-10-17 09:48:51+00:00
2025-10-17 09:52:05+00:00
2025-10-17 09:51:35+00:00
MEMBER
null
null
null
null
Fix this error ```python File "/workdir/.venv/lib/python3.13/site-packages/datasets/utils/file_utils.py", line 934, in xopen file_obj = fsspec.open(file, mode=mode, *args, **kwargs).open() File "/workdir/.venv/lib/python3.13/site-packages/fsspec/core.py", line 147, in open return self.__enter__() ~~~~~~~~~~~~~~^^ File "/workdir/.venv/lib/python3.13/site-packages/fsspec/core.py", line 105, in __enter__ f = self.fs.open(self.path, mode=mode) File "/workdir/.venv/lib/python3.13/site-packages/fsspec/spec.py", line 1338, in open f = self._open( path, ...<4 lines>... **kwargs, ) File "/workdir/.venv/lib/python3.13/site-packages/huggingface_hub/hf_file_system.py", line 275, in _open return HfFileSystemFile(self, path, mode=mode, revision=revision, block_size=block_size, **kwargs) File "/workdir/.venv/lib/python3.13/site-packages/huggingface_hub/hf_file_system.py", line 950, in __init__ self.resolved_path = fs.resolve_path(path, revision=revision) ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workdir/.venv/lib/python3.13/site-packages/huggingface_hub/hf_file_system.py", line 198, in resolve_path repo_and_revision_exist, err = self._repo_and_revision_exist(repo_type, repo_id, revision) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workdir/.venv/lib/python3.13/site-packages/huggingface_hub/hf_file_system.py", line 125, in _repo_and_revision_exist self._api.repo_info( ~~~~~~~~~~~~~~~~~~~^ repo_id, revision=revision, repo_type=repo_type, timeout=constants.HF_HUB_ETAG_TIMEOUT ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/workdir/.venv/lib/python3.13/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn return fn(*args, **kwargs) File "/workdir/.venv/lib/python3.13/site-packages/huggingface_hub/hf_api.py", line 2864, in repo_info return method( repo_id, ...<4 lines>... files_metadata=files_metadata, ) File "/workdir/.venv/lib/python3.13/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn return fn(*args, **kwargs) File "/workdir/.venv/lib/python3.13/site-packages/huggingface_hub/hf_api.py", line 2721, in dataset_info r = get_session().get(path, headers=headers, timeout=timeout, params=params) File "/workdir/.venv/lib/python3.13/site-packages/requests/sessions.py", line 602, in get return self.request("GET", url, **kwargs) ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^ File "/workdir/.venv/lib/python3.13/site-packages/requests/sessions.py", line 589, in request resp = self.send(prep, **send_kwargs) File "/workdir/.venv/lib/python3.13/site-packages/requests/sessions.py", line 703, in send r = adapter.send(request, **kwargs) File "/workdir/.venv/lib/python3.13/site-packages/huggingface_hub/utils/_http.py", line 95, in send return super().send(request, *args, **kwargs) ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workdir/.venv/lib/python3.13/site-packages/requests/adapters.py", line 690, in send raise ReadTimeout(e, request=request) requests.exceptions.ReadTimeout: (ReadTimeoutError("HTTPSConnectionPool(host='huggingface.co', port=443): Read timed out. (read timeout=10)"), '(Request ID: e7e1ae72-54a0-4ce4-b011-144fb7a3fb06)') ``` which could also be related to ```python File "/workdir/.venv/lib/python3.13/site-packages/datasets/utils/file_utils.py", line 1364, in _iter_from_urlpaths raise FileNotFoundError(urlpath) FileNotFoundError: hf://datasets/.../train-00013-of-00031.parquet ```
{ "avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4", "events_url": "https://api.github.com/users/lhoestq/events{/privacy}", "followers_url": "https://api.github.com/users/lhoestq/followers", "following_url": "https://api.github.com/users/lhoestq/following{/other_user}", "gists_url": "https://api.github.com/users/lhoestq/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/lhoestq", "id": 42851186, "login": "lhoestq", "node_id": "MDQ6VXNlcjQyODUxMTg2", "organizations_url": "https://api.github.com/users/lhoestq/orgs", "received_events_url": "https://api.github.com/users/lhoestq/received_events", "repos_url": "https://api.github.com/users/lhoestq/repos", "site_admin": false, "starred_url": "https://api.github.com/users/lhoestq/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lhoestq/subscriptions", "type": "User", "url": "https://api.github.com/users/lhoestq", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/huggingface/datasets/issues/7822/reactions" }
https://api.github.com/repos/huggingface/datasets/issues/7822/timeline
null
null
0
{ "diff_url": "https://github.com/huggingface/datasets/pull/7822.diff", "html_url": "https://github.com/huggingface/datasets/pull/7822", "merged_at": "2025-10-17T09:51:35Z", "patch_url": "https://github.com/huggingface/datasets/pull/7822.patch", "url": "https://api.github.com/repos/huggingface/datasets/pulls/7822" }
true
End of preview. Expand in Data Studio
README.md exists but content is empty.
Downloads last month
5