url stringlengths 58 61 | number int64 1 8.23k | title stringlengths 1 290 | body stringlengths 0 228k ⌀ | state stringclasses 2
values | created_at timestamp[s]date 2020-04-14 10:18:02 2026-05-30 09:38:59 | comments_url stringlengths 67 70 | pull_request dict | is_pull_request bool 2
classes | text stringlengths 2 228k | comments listlengths 0 0 |
|---|---|---|---|---|---|---|---|---|---|---|
https://api.github.com/repos/huggingface/datasets/issues/7796 | 7,796 | Docs: fix typo, improve readability, add code comments | What I did:
- Fixed a small typo in README to improve clarity
- Fixed repeated word "frameworks frameworks"
- Split long paragraphs into shorter sentences for readability
- Added # Example comments before code blocks for clarity
Why:
- Helps new users avoid confusion
How I tested:
- Checked locally in Markd... | open | 2025-09-30T18:34:16 | https://api.github.com/repos/huggingface/datasets/issues/7796/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/7796",
"html_url": "https://github.com/huggingface/datasets/pull/7796",
"diff_url": "https://github.com/huggingface/datasets/pull/7796.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/7796.patch",
"merged_at": null
} | true | Docs: fix typo, improve readability, add code comments
What I did:
- Fixed a small typo in README to improve clarity
- Fixed repeated word "frameworks frameworks"
- Split long paragraphs into shorter sentences for readability
- Added # Example comments before code blocks for clarity
Why:
- Helps new users avoid... | [] |
https://api.github.com/repos/huggingface/datasets/issues/7795 | 7,795 | Add pyarrow's binary view to features | Basically https://github.com/huggingface/datasets/pull/7718 just for binary view instead of string view | closed | 2025-09-29T09:12:55 | https://api.github.com/repos/huggingface/datasets/issues/7795/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/7795",
"html_url": "https://github.com/huggingface/datasets/pull/7795",
"diff_url": "https://github.com/huggingface/datasets/pull/7795.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/7795.patch",
"merged_at": "2025-10-10T16:04... | true | Add pyarrow's binary view to features
Basically https://github.com/huggingface/datasets/pull/7718 just for binary view instead of string view | [] |
https://api.github.com/repos/huggingface/datasets/issues/7794 | 7,794 | Fix nested data conversions error in parquet loading (fixes #7793) | Fixes #7793
## Problem
Loading datasets with deeply nested structures (like `metr-evals/malt-public`) fails with:
ArrowNotImplementedError: Nested data conversions not implemented for chunked array outputs
This occurs when parquet files contain nested data (lists, structs, maps) that exceed PyArrow's 16MB chun... | open | 2025-09-27T22:04:13 | https://api.github.com/repos/huggingface/datasets/issues/7794/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/7794",
"html_url": "https://github.com/huggingface/datasets/pull/7794",
"diff_url": "https://github.com/huggingface/datasets/pull/7794.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/7794.patch",
"merged_at": null
} | true | Fix nested data conversions error in parquet loading (fixes #7793)
Fixes #7793
## Problem
Loading datasets with deeply nested structures (like `metr-evals/malt-public`) fails with:
ArrowNotImplementedError: Nested data conversions not implemented for chunked array outputs
This occurs when parquet files contain... | [] |
https://api.github.com/repos/huggingface/datasets/issues/7793 | 7,793 | Cannot load dataset, fails with nested data conversions not implemented for chunked array outputs | ### Describe the bug
Hi! When I load this dataset, it fails with a pyarrow error. I'm using datasets 4.1.1, though I also see this with datasets 4.1.2
To reproduce:
```
import datasets
ds = datasets.load_dataset(path="metr-evals/malt-public", name="irrelevant_detail")
```
Error:
```
Traceback (most recent call las... | open | 2025-09-27T01:03:12 | https://api.github.com/repos/huggingface/datasets/issues/7793/comments | null | false | Cannot load dataset, fails with nested data conversions not implemented for chunked array outputs
### Describe the bug
Hi! When I load this dataset, it fails with a pyarrow error. I'm using datasets 4.1.1, though I also see this with datasets 4.1.2
To reproduce:
```
import datasets
ds = datasets.load_dataset(path="... | [] |
https://api.github.com/repos/huggingface/datasets/issues/7792 | 7,792 | Concatenate IterableDataset instances and distribute underlying shards in a RoundRobin manner | ### Feature request
I would like to be able to concatenate multiple `IterableDataset` with possibly different features. I would like to then be able to stream the results in parallel (both using DDP and multiple workers in the pytorch DataLoader). I want the merge of datasets to be well balanced between the different ... | closed | 2025-09-26T10:05:19 | https://api.github.com/repos/huggingface/datasets/issues/7792/comments | null | false | Concatenate IterableDataset instances and distribute underlying shards in a RoundRobin manner
### Feature request
I would like to be able to concatenate multiple `IterableDataset` with possibly different features. I would like to then be able to stream the results in parallel (both using DDP and multiple workers in th... | [] |
https://api.github.com/repos/huggingface/datasets/issues/7791 | 7,791 | fix: add `num_proc` argument to `Dataset.to_sql` | **Task Done:**
- Resolve issue #7788 : Add the missing argument mapping in Dataset.to_sql (`src/datasets/arrow_dataset.py`)
| closed | 2025-09-25T15:02:46 | https://api.github.com/repos/huggingface/datasets/issues/7791/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/7791",
"html_url": "https://github.com/huggingface/datasets/pull/7791",
"diff_url": "https://github.com/huggingface/datasets/pull/7791.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/7791.patch",
"merged_at": "2026-05-04T13:40... | true | fix: add `num_proc` argument to `Dataset.to_sql`
**Task Done:**
- Resolve issue #7788 : Add the missing argument mapping in Dataset.to_sql (`src/datasets/arrow_dataset.py`)
| [] |
https://api.github.com/repos/huggingface/datasets/issues/7790 | 7,790 | update tips in docs | null | closed | 2025-09-25T13:36:02 | https://api.github.com/repos/huggingface/datasets/issues/7790/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/7790",
"html_url": "https://github.com/huggingface/datasets/pull/7790",
"diff_url": "https://github.com/huggingface/datasets/pull/7790.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/7790.patch",
"merged_at": "2025-09-25T13:39... | true | update tips in docs
| [] |
https://api.github.com/repos/huggingface/datasets/issues/7789 | 7,789 | fix link for rotten_tomatoes dataset | The current link leads to a 404 page. | open | 2025-09-25T11:51:36 | https://api.github.com/repos/huggingface/datasets/issues/7789/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/7789",
"html_url": "https://github.com/huggingface/datasets/pull/7789",
"diff_url": "https://github.com/huggingface/datasets/pull/7789.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/7789.patch",
"merged_at": null
} | true | fix link for rotten_tomatoes dataset
The current link leads to a 404 page. | [] |
https://api.github.com/repos/huggingface/datasets/issues/7788 | 7,788 | `Dataset.to_sql` doesn't utilize `num_proc` | The underlying `SqlDatasetWriter` has `num_proc` as an available argument [here](https://github.com/huggingface/datasets/blob/5dc1a179783dff868b0547c8486268cfaea1ea1f/src/datasets/io/sql.py#L63) , but `Dataset.to_sql()` does not accept it, therefore it is always using one process for the SQL conversion. | open | 2025-09-24T20:34:47 | https://api.github.com/repos/huggingface/datasets/issues/7788/comments | null | false | `Dataset.to_sql` doesn't utilize `num_proc`
The underlying `SqlDatasetWriter` has `num_proc` as an available argument [here](https://github.com/huggingface/datasets/blob/5dc1a179783dff868b0547c8486268cfaea1ea1f/src/datasets/io/sql.py#L63) , but `Dataset.to_sql()` does not accept it, therefore it is always using one pro... | [] |
https://api.github.com/repos/huggingface/datasets/issues/7787 | 7,787 | feat: avoid some copies in torch formatter | ## perf: reduce copies in TorchFormatter
This PR make changes the torch formatter to avoid unnecessary copies and casts when converting decoded batches to tensors.
Because many arrays are already in a torch-friendly memory layout and dtype, we can do zero‑copy conversions (`torch.from_numpy`) and only fall back t... | closed | 2025-09-24T20:19:44 | https://api.github.com/repos/huggingface/datasets/issues/7787/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/7787",
"html_url": "https://github.com/huggingface/datasets/pull/7787",
"diff_url": "https://github.com/huggingface/datasets/pull/7787.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/7787.patch",
"merged_at": "2025-09-26T15:04... | true | feat: avoid some copies in torch formatter
## perf: reduce copies in TorchFormatter
This PR make changes the torch formatter to avoid unnecessary copies and casts when converting decoded batches to tensors.
Because many arrays are already in a torch-friendly memory layout and dtype, we can do zero‑copy conversion... | [] |
https://api.github.com/repos/huggingface/datasets/issues/7786 | 7,786 | Sample without replacement option when interleaving datasets | Right now, `interleave_datasets` function with probabilities will sample with replacement. The PR adds the ability to sample without replacement.
```
import datasets
# Create datasets of different sizes to test exhaustion
data_a = [{"value": i, "source": "A"} for i in range(5)]
data_b = [{"value": i, "source":... | closed | 2025-09-24T09:18:14 | https://api.github.com/repos/huggingface/datasets/issues/7786/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/7786",
"html_url": "https://github.com/huggingface/datasets/pull/7786",
"diff_url": "https://github.com/huggingface/datasets/pull/7786.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/7786.patch",
"merged_at": "2025-10-07T14:50... | true | Sample without replacement option when interleaving datasets
Right now, `interleave_datasets` function with probabilities will sample with replacement. The PR adds the ability to sample without replacement.
```
import datasets
# Create datasets of different sizes to test exhaustion
data_a = [{"value": i, "sourc... | [] |
https://api.github.com/repos/huggingface/datasets/issues/7785 | 7,785 | Fix Audio docstring by removing unsupported mono argument | This PR fixes issue #7745.
Who can review:
@lhoestq | closed | 2025-09-22T09:06:52 | https://api.github.com/repos/huggingface/datasets/issues/7785/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/7785",
"html_url": "https://github.com/huggingface/datasets/pull/7785",
"diff_url": "https://github.com/huggingface/datasets/pull/7785.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/7785.patch",
"merged_at": null
} | true | Fix Audio docstring by removing unsupported mono argument
This PR fixes issue #7745.
Who can review:
@lhoestq | [] |
https://api.github.com/repos/huggingface/datasets/issues/7783 | 7,783 | Support huggingface_hub v0.x and v1.x | Related to https://github.com/huggingface/huggingface_hub/issues/3340.
This PR adapts `datasets` to be compatible with both huggingface_hub v0.x and v1.x.
In practice nothing else should change (I've checked the codebase). The `HfHubHTTPError` is a base error defined in `huggingface_hub` that inherits from `requ... | closed | 2025-09-18T14:45:20 | https://api.github.com/repos/huggingface/datasets/issues/7783/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/7783",
"html_url": "https://github.com/huggingface/datasets/pull/7783",
"diff_url": "https://github.com/huggingface/datasets/pull/7783.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/7783.patch",
"merged_at": "2025-10-01T13:56... | true | Support huggingface_hub v0.x and v1.x
Related to https://github.com/huggingface/huggingface_hub/issues/3340.
This PR adapts `datasets` to be compatible with both huggingface_hub v0.x and v1.x.
In practice nothing else should change (I've checked the codebase). The `HfHubHTTPError` is a base error defined in `hug... | [] |
https://api.github.com/repos/huggingface/datasets/issues/7782 | 7,782 | set dev version | null | closed | 2025-09-18T13:15:56 | https://api.github.com/repos/huggingface/datasets/issues/7782/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/7782",
"html_url": "https://github.com/huggingface/datasets/pull/7782",
"diff_url": "https://github.com/huggingface/datasets/pull/7782.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/7782.patch",
"merged_at": "2025-09-18T13:16... | true | set dev version
| [] |
https://api.github.com/repos/huggingface/datasets/issues/7781 | 7,781 | release: 4.1.1 | null | closed | 2025-09-18T13:13:47 | https://api.github.com/repos/huggingface/datasets/issues/7781/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/7781",
"html_url": "https://github.com/huggingface/datasets/pull/7781",
"diff_url": "https://github.com/huggingface/datasets/pull/7781.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/7781.patch",
"merged_at": "2025-09-18T13:14... | true | release: 4.1.1
| [] |
https://api.github.com/repos/huggingface/datasets/issues/7780 | 7,780 | BIGPATENT dataset inaccessible (deprecated script loader) | dataset: https://huggingface.co/datasets/NortheasternUniversity/big_patent
When I try to load it with the datasets library, it fails with:
RuntimeError: Dataset scripts are no longer supported, but found big_patent.py
Could you please publish a Parquet/Arrow export of BIGPATENT on the Hugging Face so that it can be... | closed | 2025-09-18T08:25:34 | https://api.github.com/repos/huggingface/datasets/issues/7780/comments | null | false | BIGPATENT dataset inaccessible (deprecated script loader)
dataset: https://huggingface.co/datasets/NortheasternUniversity/big_patent
When I try to load it with the datasets library, it fails with:
RuntimeError: Dataset scripts are no longer supported, but found big_patent.py
Could you please publish a Parquet/Arrow... | [] |
https://api.github.com/repos/huggingface/datasets/issues/7779 | 7,779 | fix empty dataset to_parquet | null | closed | 2025-09-17T17:03:56 | https://api.github.com/repos/huggingface/datasets/issues/7779/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/7779",
"html_url": "https://github.com/huggingface/datasets/pull/7779",
"diff_url": "https://github.com/huggingface/datasets/pull/7779.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/7779.patch",
"merged_at": "2025-09-17T17:04... | true | fix empty dataset to_parquet
| [] |
https://api.github.com/repos/huggingface/datasets/issues/7778 | 7,778 | [FIX] force spawning pool for MacOS | This PR gets multiprocessing to work on mac os:
```python
from datasets import load_dataset
ds = load_dataset("fka/awesome-chatgpt-prompts", split="train").take(100)
ds = ds.map(lambda x: x, num_proc=4)
ds.push_to_hub("burtenshaw/dataset-test", num_proc=4)
``` | open | 2025-09-17T11:38:38 | https://api.github.com/repos/huggingface/datasets/issues/7778/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/7778",
"html_url": "https://github.com/huggingface/datasets/pull/7778",
"diff_url": "https://github.com/huggingface/datasets/pull/7778.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/7778.patch",
"merged_at": null
} | true | [FIX] force spawning pool for MacOS
This PR gets multiprocessing to work on mac os:
```python
from datasets import load_dataset
ds = load_dataset("fka/awesome-chatgpt-prompts", split="train").take(100)
ds = ds.map(lambda x: x, num_proc=4)
ds.push_to_hub("burtenshaw/dataset-test", num_proc=4)
``` | [] |
https://api.github.com/repos/huggingface/datasets/issues/7777 | 7,777 | push_to_hub not overwriting but stuck in a loop when there are existing commits | ### Describe the bug
`get_deletions_and_dataset_card` stuck at error a commit has happened error since push to hub for http error 412 for tag 4.1.0. The error does not exists in 4.0.0.
### Steps to reproduce the bug
Create code to use push_to_hub, ran twice each time with different content for datasets.Dataset.
The... | closed | 2025-09-17T03:15:35 | https://api.github.com/repos/huggingface/datasets/issues/7777/comments | null | false | push_to_hub not overwriting but stuck in a loop when there are existing commits
### Describe the bug
`get_deletions_and_dataset_card` stuck at error a commit has happened error since push to hub for http error 412 for tag 4.1.0. The error does not exists in 4.0.0.
### Steps to reproduce the bug
Create code to use p... | [] |
https://api.github.com/repos/huggingface/datasets/issues/7776 | 7,776 | [docs] Fix broken WebDataset link on “Create a video dataset” page | ### What
Fix the "WebDataset documentation" link on the Create a video dataset page to point
to the correct section on the video load guide.
### Why
The link currently points to an external repo, but the Hugging Face docs
have an internal "WebDataset" section under video_load.
### How
- docs/source/video_dat... | closed | 2025-09-16T04:49:32 | https://api.github.com/repos/huggingface/datasets/issues/7776/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/7776",
"html_url": "https://github.com/huggingface/datasets/pull/7776",
"diff_url": "https://github.com/huggingface/datasets/pull/7776.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/7776.patch",
"merged_at": null
} | true | [docs] Fix broken WebDataset link on “Create a video dataset” page
### What
Fix the "WebDataset documentation" link on the Create a video dataset page to point
to the correct section on the video load guide.
### Why
The link currently points to an external repo, but the Hugging Face docs
have an internal "WebDat... | [] |
https://api.github.com/repos/huggingface/datasets/issues/7775 | 7,775 | fix iterate nested field | null | closed | 2025-09-15T17:28:34 | https://api.github.com/repos/huggingface/datasets/issues/7775/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/7775",
"html_url": "https://github.com/huggingface/datasets/pull/7775",
"diff_url": "https://github.com/huggingface/datasets/pull/7775.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/7775.patch",
"merged_at": "2025-09-15T17:28... | true | fix iterate nested field
| [] |
https://api.github.com/repos/huggingface/datasets/issues/7774 | 7,774 | Set dev version | null | closed | 2025-09-15T16:42:33 | https://api.github.com/repos/huggingface/datasets/issues/7774/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/7774",
"html_url": "https://github.com/huggingface/datasets/pull/7774",
"diff_url": "https://github.com/huggingface/datasets/pull/7774.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/7774.patch",
"merged_at": "2025-09-15T16:42... | true | Set dev version
| [] |
https://api.github.com/repos/huggingface/datasets/issues/7773 | 7,773 | Release: 4.1.0 | null | closed | 2025-09-15T16:30:37 | https://api.github.com/repos/huggingface/datasets/issues/7773/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/7773",
"html_url": "https://github.com/huggingface/datasets/pull/7773",
"diff_url": "https://github.com/huggingface/datasets/pull/7773.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/7773.patch",
"merged_at": "2025-09-15T16:33... | true | Release: 4.1.0
| [] |
https://api.github.com/repos/huggingface/datasets/issues/7772 | 7,772 | Error processing scalar columns using tensorflow. | `datasets==4.0.0`
```
columns_to_return = ['input_ids','attention_mask', 'start_positions', 'end_positions']
train_ds.set_format(type='tf', columns=columns_to_return)
```
`train_ds`:
```
train_ds type: <class 'datasets.arrow_dataset.Dataset'>, shape: (1000, 9)
columns: ['question', 'sentences', 'answer', 'str_idx', 'en... | open | 2025-09-15T10:36:31 | https://api.github.com/repos/huggingface/datasets/issues/7772/comments | null | false | Error processing scalar columns using tensorflow.
`datasets==4.0.0`
```
columns_to_return = ['input_ids','attention_mask', 'start_positions', 'end_positions']
train_ds.set_format(type='tf', columns=columns_to_return)
```
`train_ds`:
```
train_ds type: <class 'datasets.arrow_dataset.Dataset'>, shape: (1000, 9)
columns: ... | [] |
https://api.github.com/repos/huggingface/datasets/issues/7771 | 7,771 | Add support for arrow iterable when concatenating or interleaving | Fixes a case when concatenating or interleaving datasets with `with_format(...)` call was slower.
Details here: https://github.com/huggingface/datasets/issues/6637
@lhoestq I tried to minimize the duplication between iter and iter_arrow methods, not sure if this is against the design, can separate those if needed. | closed | 2025-09-14T06:40:50 | https://api.github.com/repos/huggingface/datasets/issues/7771/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/7771",
"html_url": "https://github.com/huggingface/datasets/pull/7771",
"diff_url": "https://github.com/huggingface/datasets/pull/7771.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/7771.patch",
"merged_at": "2025-09-17T16:51... | true | Add support for arrow iterable when concatenating or interleaving
Fixes a case when concatenating or interleaving datasets with `with_format(...)` call was slower.
Details here: https://github.com/huggingface/datasets/issues/6637
@lhoestq I tried to minimize the duplication between iter and iter_arrow methods, not ... | [] |
https://api.github.com/repos/huggingface/datasets/issues/7770 | 7,770 | Fix: Correct float feature generation in `generate_examples` | This PR fixes a bug in the `generate_examples` function where `datasets.Value` features with a `float` dtype were incorrectly generated using `np.random.randint`. This resulted in integer values being cast to float, which is not representative of true floating-point data.
**Key changes include:**
* Added explic... | closed | 2025-09-13T17:37:09 | https://api.github.com/repos/huggingface/datasets/issues/7770/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/7770",
"html_url": "https://github.com/huggingface/datasets/pull/7770",
"diff_url": "https://github.com/huggingface/datasets/pull/7770.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/7770.patch",
"merged_at": null
} | true | Fix: Correct float feature generation in `generate_examples`
This PR fixes a bug in the `generate_examples` function where `datasets.Value` features with a `float` dtype were incorrectly generated using `np.random.randint`. This resulted in integer values being cast to float, which is not representative of true floati... | [] |
https://api.github.com/repos/huggingface/datasets/issues/7769 | 7,769 | Fix: Correct float feature generation in `generate_examples` | This PR fixes a bug in the `generate_examples` function where `datasets.Value` features with a `float` dtype were incorrectly generated using `np.random.randint`. This resulted in integer values being cast to float, which is not representative of true floating-point data.
**Key changes include:**
1. Added explicit... | closed | 2025-09-13T17:19:36 | https://api.github.com/repos/huggingface/datasets/issues/7769/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/7769",
"html_url": "https://github.com/huggingface/datasets/pull/7769",
"diff_url": "https://github.com/huggingface/datasets/pull/7769.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/7769.patch",
"merged_at": null
} | true | Fix: Correct float feature generation in `generate_examples`
This PR fixes a bug in the `generate_examples` function where `datasets.Value` features with a `float` dtype were incorrectly generated using `np.random.randint`. This resulted in integer values being cast to float, which is not representative of true floatin... | [] |
https://api.github.com/repos/huggingface/datasets/issues/7768 | 7,768 | Custom `dl_manager` in `load_dataset` | Fix #7767 | open | 2025-09-13T16:09:45 | https://api.github.com/repos/huggingface/datasets/issues/7768/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/7768",
"html_url": "https://github.com/huggingface/datasets/pull/7768",
"diff_url": "https://github.com/huggingface/datasets/pull/7768.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/7768.patch",
"merged_at": null
} | true | Custom `dl_manager` in `load_dataset`
Fix #7767 | [] |
https://api.github.com/repos/huggingface/datasets/issues/7767 | 7,767 | Custom `dl_manager` in `load_dataset` | ### Feature request
https://github.com/huggingface/datasets/blob/4.0.0/src/datasets/load.py#L1411-L1418
```
def load_dataset(
...
dl_manager: Optional[DownloadManager] = None, # add this new argument
**config_kwargs,
) -> Union[DatasetDict, Dataset, IterableDatasetDict, IterableDataset]:
...
# ... | open | 2025-09-12T19:06:23 | https://api.github.com/repos/huggingface/datasets/issues/7767/comments | null | false | Custom `dl_manager` in `load_dataset`
### Feature request
https://github.com/huggingface/datasets/blob/4.0.0/src/datasets/load.py#L1411-L1418
```
def load_dataset(
...
dl_manager: Optional[DownloadManager] = None, # add this new argument
**config_kwargs,
) -> Union[DatasetDict, Dataset, IterableDatasetDi... | [] |
https://api.github.com/repos/huggingface/datasets/issues/7766 | 7,766 | cast columns to Image/Audio/Video with `storage_options` | ### Feature request
Allow `storage_options` to be passed in
1. `cast` related operations (e.g., `cast_columns, cast`)
2. `info` related reading (e.g., `from_dict, from_pandas, from_polars`) together with `info.features`
```python3
import datasets
image_path = "s3://bucket/sample.png"
dataset = datasets.Dataset.from_d... | open | 2025-09-12T18:51:01 | https://api.github.com/repos/huggingface/datasets/issues/7766/comments | null | false | cast columns to Image/Audio/Video with `storage_options`
### Feature request
Allow `storage_options` to be passed in
1. `cast` related operations (e.g., `cast_columns, cast`)
2. `info` related reading (e.g., `from_dict, from_pandas, from_polars`) together with `info.features`
```python3
import datasets
image_path = "... | [] |
https://api.github.com/repos/huggingface/datasets/issues/7765 | 7,765 | polars dataset cannot cast column to Image/Audio/Video | ### Describe the bug
`from_polars` dataset cannot cast column to Image/Audio/Video, while it works on `from_pandas` and `from_dict`
### Steps to reproduce the bug
```python3
import datasets
import pandas as pd
import polars as pl
image_path = "./sample.png"
# polars
df = pl.DataFrame({"image_path": [image_path]})
... | closed | 2025-09-12T18:32:49 | https://api.github.com/repos/huggingface/datasets/issues/7765/comments | null | false | polars dataset cannot cast column to Image/Audio/Video
### Describe the bug
`from_polars` dataset cannot cast column to Image/Audio/Video, while it works on `from_pandas` and `from_dict`
### Steps to reproduce the bug
```python3
import datasets
import pandas as pd
import polars as pl
image_path = "./sample.png"
# ... | [] |
https://api.github.com/repos/huggingface/datasets/issues/7764 | 7,764 | update torchcodec in ci | before the release, to make sure everything works fine | closed | 2025-09-12T14:26:42 | https://api.github.com/repos/huggingface/datasets/issues/7764/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/7764",
"html_url": "https://github.com/huggingface/datasets/pull/7764",
"diff_url": "https://github.com/huggingface/datasets/pull/7764.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/7764.patch",
"merged_at": "2025-09-12T15:56... | true | update torchcodec in ci
before the release, to make sure everything works fine | [] |
https://api.github.com/repos/huggingface/datasets/issues/7763 | 7,763 | Bump dill to 0.4.0 | This bumps `dill` to 0.3.9 and closes #7510
It turns out the only thing required to make the tests pass was to extend the version checks to include 0.3.9. | closed | 2025-09-11T19:43:16 | https://api.github.com/repos/huggingface/datasets/issues/7763/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/7763",
"html_url": "https://github.com/huggingface/datasets/pull/7763",
"diff_url": "https://github.com/huggingface/datasets/pull/7763.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/7763.patch",
"merged_at": "2025-09-15T08:37... | true | Bump dill to 0.4.0
This bumps `dill` to 0.3.9 and closes #7510
It turns out the only thing required to make the tests pass was to extend the version checks to include 0.3.9. | [] |
https://api.github.com/repos/huggingface/datasets/issues/7762 | 7,762 | Parquet: use data page v2 for efficient page pruning | This is needed to enable page pruning with DataFusion, which will be useful for the Dataset Viewer.
Indeed page pruning with DataFusion allows to download only certain pages of a row group, reducing the I/O required to read just a few rows.
But while data page v1 generally works, it's not easy with DataFusion to ... | closed | 2025-09-11T14:42:22 | https://api.github.com/repos/huggingface/datasets/issues/7762/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/7762",
"html_url": "https://github.com/huggingface/datasets/pull/7762",
"diff_url": "https://github.com/huggingface/datasets/pull/7762.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/7762.patch",
"merged_at": null
} | true | Parquet: use data page v2 for efficient page pruning
This is needed to enable page pruning with DataFusion, which will be useful for the Dataset Viewer.
Indeed page pruning with DataFusion allows to download only certain pages of a row group, reducing the I/O required to read just a few rows.
But while data page ... | [] |
https://api.github.com/repos/huggingface/datasets/issues/7761 | 7,761 | Audio: use TorchCodec instead of Soundfile for encoding | this removes the dependency on Soundfile completely | closed | 2025-09-10T14:47:07 | https://api.github.com/repos/huggingface/datasets/issues/7761/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/7761",
"html_url": "https://github.com/huggingface/datasets/pull/7761",
"diff_url": "https://github.com/huggingface/datasets/pull/7761.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/7761.patch",
"merged_at": "2025-09-10T15:09... | true | Audio: use TorchCodec instead of Soundfile for encoding
this removes the dependency on Soundfile completely | [] |
https://api.github.com/repos/huggingface/datasets/issues/7760 | 7,760 | Hugging Face Hub Dataset Upload CAS Error | ### Describe the bug
Experiencing persistent 401 Unauthorized errors when attempting to upload datasets to Hugging Face Hub using the `datasets` library. The error occurs specifically with the CAS (Content Addressable Storage) service during the upload process. Tried using HF_HUB_DISABLE_XET=1. It seems to work for sm... | open | 2025-09-10T10:01:19 | https://api.github.com/repos/huggingface/datasets/issues/7760/comments | null | false | Hugging Face Hub Dataset Upload CAS Error
### Describe the bug
Experiencing persistent 401 Unauthorized errors when attempting to upload datasets to Hugging Face Hub using the `datasets` library. The error occurs specifically with the CAS (Content Addressable Storage) service during the upload process. Tried using HF_... | [] |
https://api.github.com/repos/huggingface/datasets/issues/7759 | 7,759 | Comment/feature request: Huggingface 502s from GHA | This is no longer a pressing issue, but for completeness I am reporting that in August 26th, GET requests to `https://datasets-server.huggingface.co/info\?dataset\=livebench/math` were returning 502s when invoked from [github actions](https://github.com/UKGovernmentBEIS/inspect_evals/actions/runs/17241892475/job/489211... | open | 2025-09-09T11:59:20 | https://api.github.com/repos/huggingface/datasets/issues/7759/comments | null | false | Comment/feature request: Huggingface 502s from GHA
This is no longer a pressing issue, but for completeness I am reporting that in August 26th, GET requests to `https://datasets-server.huggingface.co/info\?dataset\=livebench/math` were returning 502s when invoked from [github actions](https://github.com/UKGovernmentBEI... | [] |
https://api.github.com/repos/huggingface/datasets/issues/7758 | 7,758 | Option for Anonymous Dataset link | ### Feature request
Allow for anonymized viewing of datasets. For instance, something similar to [Anonymous GitHub](https://anonymous.4open.science/).
### Motivation
We generally publish our data through Hugging Face. This has worked out very well as it's both our repository and archive (thanks to the DOI feature!).... | open | 2025-09-08T20:20:10 | https://api.github.com/repos/huggingface/datasets/issues/7758/comments | null | false | Option for Anonymous Dataset link
### Feature request
Allow for anonymized viewing of datasets. For instance, something similar to [Anonymous GitHub](https://anonymous.4open.science/).
### Motivation
We generally publish our data through Hugging Face. This has worked out very well as it's both our repository and arc... | [] |
https://api.github.com/repos/huggingface/datasets/issues/7757 | 7,757 | Add support for `.conll` file format in datasets | ### Feature request
I’d like to request native support in the Hugging Face datasets library for reading .conll files (CoNLL format). This format is widely used in NLP tasks, especially for Named Entity Recognition (NER), POS tagging, and other token classification problems.
Right now `.conll` datasets need to be manu... | closed | 2025-09-06T07:25:39 | https://api.github.com/repos/huggingface/datasets/issues/7757/comments | null | false | Add support for `.conll` file format in datasets
### Feature request
I’d like to request native support in the Hugging Face datasets library for reading .conll files (CoNLL format). This format is widely used in NLP tasks, especially for Named Entity Recognition (NER), POS tagging, and other token classification probl... | [] |
https://api.github.com/repos/huggingface/datasets/issues/7756 | 7,756 | datasets.map(f, num_proc=N) hangs with N>1 when run on import | ### Describe the bug
If you `import` a module that runs `datasets.map(f, num_proc=N)` at the top-level, Python hangs.
### Steps to reproduce the bug
1. Create a file that runs datasets.map at the top-level:
```bash
cat <<EOF > import_me.py
import datasets
the_dataset = datasets.load_dataset("openai/openai_humanev... | open | 2025-09-05T10:32:01 | https://api.github.com/repos/huggingface/datasets/issues/7756/comments | null | false | datasets.map(f, num_proc=N) hangs with N>1 when run on import
### Describe the bug
If you `import` a module that runs `datasets.map(f, num_proc=N)` at the top-level, Python hangs.
### Steps to reproduce the bug
1. Create a file that runs datasets.map at the top-level:
```bash
cat <<EOF > import_me.py
import datase... | [] |
https://api.github.com/repos/huggingface/datasets/issues/7755 | 7,755 | Support pathlib.Path for feature input | This PR adds support for specifying image, video, audio, and pdf features using `pathlib.Path`. | closed | 2025-09-05T02:38:07 | https://api.github.com/repos/huggingface/datasets/issues/7755/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/7755",
"html_url": "https://github.com/huggingface/datasets/pull/7755",
"diff_url": "https://github.com/huggingface/datasets/pull/7755.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/7755.patch",
"merged_at": "2025-09-10T15:19... | true | Support pathlib.Path for feature input
This PR adds support for specifying image, video, audio, and pdf features using `pathlib.Path`. | [] |
https://api.github.com/repos/huggingface/datasets/issues/7754 | 7,754 | Add columns support to JSON loader | New fix to #7594
This PR adds support for the columns argument in the JSON dataset builder.
Added columns parameter to JsonConfig.
Applied column filtering after table creation, filling missing columns with None.
Extended tests to cover:
- Selecting a subset of columns
- Handling missing requested columns
- Co... | open | 2025-09-04T18:21:26 | https://api.github.com/repos/huggingface/datasets/issues/7754/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/7754",
"html_url": "https://github.com/huggingface/datasets/pull/7754",
"diff_url": "https://github.com/huggingface/datasets/pull/7754.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/7754.patch",
"merged_at": null
} | true | Add columns support to JSON loader
New fix to #7594
This PR adds support for the columns argument in the JSON dataset builder.
Added columns parameter to JsonConfig.
Applied column filtering after table creation, filling missing columns with None.
Extended tests to cover:
- Selecting a subset of columns
- Handl... | [] |
https://api.github.com/repos/huggingface/datasets/issues/7753 | 7,753 | datasets massively slows data reads, even in memory | ### Describe the bug
Loading image data in a huggingface dataset results in very slow read speeds, approximately 1000 times longer than reading the same data from a pytorch dataset. This applies even when the dataset is loaded into RAM using a `keep_in_memory=True` flag.
The following script reproduces the result wit... | open | 2025-09-04T01:45:24 | https://api.github.com/repos/huggingface/datasets/issues/7753/comments | null | false | datasets massively slows data reads, even in memory
### Describe the bug
Loading image data in a huggingface dataset results in very slow read speeds, approximately 1000 times longer than reading the same data from a pytorch dataset. This applies even when the dataset is loaded into RAM using a `keep_in_memory=True` f... | [] |
https://api.github.com/repos/huggingface/datasets/issues/7752 | 7,752 | Fix: Update Dill Version in Setup py | Currently the DIll version is less than 3.9 and now major libraries like Multiprocess, gepa requires Dill version as 0.4.0 and this is making a conflict in installation. So added this small PR to update the DIll. | closed | 2025-08-27T07:39:51 | https://api.github.com/repos/huggingface/datasets/issues/7752/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/7752",
"html_url": "https://github.com/huggingface/datasets/pull/7752",
"diff_url": "https://github.com/huggingface/datasets/pull/7752.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/7752.patch",
"merged_at": null
} | true | Fix: Update Dill Version in Setup py
Currently the DIll version is less than 3.9 and now major libraries like Multiprocess, gepa requires Dill version as 0.4.0 and this is making a conflict in installation. So added this small PR to update the DIll. | [] |
https://api.github.com/repos/huggingface/datasets/issues/7751 | 7,751 | Dill version update | ### Describe the bug
Why the datasets is not updating the dill ?
Just want to know if I update the dill version in dill what will be the repucssion.
For now in multiplaces I have to update the library like process requirequire dill 0.4.0 so why not datasets.
Adding a pr too.
### Steps to reproduce the bug
.
###... | open | 2025-08-27T07:38:30 | https://api.github.com/repos/huggingface/datasets/issues/7751/comments | null | false | Dill version update
### Describe the bug
Why the datasets is not updating the dill ?
Just want to know if I update the dill version in dill what will be the repucssion.
For now in multiplaces I have to update the library like process requirequire dill 0.4.0 so why not datasets.
Adding a pr too.
### Steps to repro... | [] |
https://api.github.com/repos/huggingface/datasets/issues/7750 | 7,750 | Refactor: use unpacking in load.py for time and memory improvement | In `src/datasets/load.py`, we can use unpacking rather than concatenating two lists for improved time and memory performance. It’s a small improvement in absolute terms, but a consistent and measurable one:
```diff
- ALL_ALLOWED_EXTENSIONS = list(_EXTENSION_TO_MODULE.keys()) + [".zip"]
+ ALL_ALLOWED_EXTENSIONS = [... | closed | 2025-08-26T22:13:11 | https://api.github.com/repos/huggingface/datasets/issues/7750/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/7750",
"html_url": "https://github.com/huggingface/datasets/pull/7750",
"diff_url": "https://github.com/huggingface/datasets/pull/7750.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/7750.patch",
"merged_at": null
} | true | Refactor: use unpacking in load.py for time and memory improvement
In `src/datasets/load.py`, we can use unpacking rather than concatenating two lists for improved time and memory performance. It’s a small improvement in absolute terms, but a consistent and measurable one:
```diff
- ALL_ALLOWED_EXTENSIONS = list(_E... | [] |
https://api.github.com/repos/huggingface/datasets/issues/7749 | 7,749 | Fix typo in error message for cache directory deletion | This PR fixes a small typo in an error message in `src/datasets/fingerprint.py`:
https://github.com/huggingface/datasets/blob/910fab20606893f69b4fccac5fcc883dddf5a14d/src/datasets/fingerprint.py#L63
```diff
- occured
+ occurred
``` | closed | 2025-08-26T17:47:22 | https://api.github.com/repos/huggingface/datasets/issues/7749/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/7749",
"html_url": "https://github.com/huggingface/datasets/pull/7749",
"diff_url": "https://github.com/huggingface/datasets/pull/7749.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/7749.patch",
"merged_at": "2025-09-12T13:22... | true | Fix typo in error message for cache directory deletion
This PR fixes a small typo in an error message in `src/datasets/fingerprint.py`:
https://github.com/huggingface/datasets/blob/910fab20606893f69b4fccac5fcc883dddf5a14d/src/datasets/fingerprint.py#L63
```diff
- occured
+ occurred
``` | [] |
https://api.github.com/repos/huggingface/datasets/issues/7748 | 7,748 | docs: Streaming best practices | Add a new 'Streaming best practices' page with practical patterns and pitfalls for large-scale/production use of IterableDataset. Includes examples for batched map with remove_columns, deterministic shuffling with set_epoch, multi-worker sharding, checkpoint/resume, and persistence to Parquet/Hub. Linked from How-to > ... | open | 2025-08-23T00:18:43 | https://api.github.com/repos/huggingface/datasets/issues/7748/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/7748",
"html_url": "https://github.com/huggingface/datasets/pull/7748",
"diff_url": "https://github.com/huggingface/datasets/pull/7748.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/7748.patch",
"merged_at": null
} | true | docs: Streaming best practices
Add a new 'Streaming best practices' page with practical patterns and pitfalls for large-scale/production use of IterableDataset. Includes examples for batched map with remove_columns, deterministic shuffling with set_epoch, multi-worker sharding, checkpoint/resume, and persistence to Par... | [] |
https://api.github.com/repos/huggingface/datasets/issues/7747 | 7,747 | Add wikipedia-2023-redirects dataset | Title: Add wikipedia-2023-redirects dataset (redirect resolution + pageviews)
Summary
- New dataset loader: wikipedia_2023_redirects
- Canonical Wikipedia pages enriched with:
- redirects (aliases pointing to the page)
- 2023 pageviews (aggregated)
- Streaming support; robust parsing; license notes included
- Test... | open | 2025-08-22T23:49:53 | https://api.github.com/repos/huggingface/datasets/issues/7747/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/7747",
"html_url": "https://github.com/huggingface/datasets/pull/7747",
"diff_url": "https://github.com/huggingface/datasets/pull/7747.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/7747.patch",
"merged_at": null
} | true | Add wikipedia-2023-redirects dataset
Title: Add wikipedia-2023-redirects dataset (redirect resolution + pageviews)
Summary
- New dataset loader: wikipedia_2023_redirects
- Canonical Wikipedia pages enriched with:
- redirects (aliases pointing to the page)
- 2023 pageviews (aggregated)
- Streaming support; robust p... | [] |
https://api.github.com/repos/huggingface/datasets/issues/7746 | 7,746 | Fix: Canonical 'multi_news' dataset is broken and should be updated to a Parquet version | Hi,
The canonical `multi_news` dataset is currently broken and fails to load. This is because it points to the [alexfabri/multi_news](https://huggingface.co/datasets/alexfabbri/multi_news) repository, which contains a legacy loading script (`multi_news.py`) that requires the now-removed `trust_remote_code` parameter.... | open | 2025-08-22T12:52:03 | https://api.github.com/repos/huggingface/datasets/issues/7746/comments | null | false | Fix: Canonical 'multi_news' dataset is broken and should be updated to a Parquet version
Hi,
The canonical `multi_news` dataset is currently broken and fails to load. This is because it points to the [alexfabri/multi_news](https://huggingface.co/datasets/alexfabbri/multi_news) repository, which contains a legacy load... | [] |
https://api.github.com/repos/huggingface/datasets/issues/7745 | 7,745 | Audio mono argument no longer supported, despite class documentation | ### Describe the bug
Either update the documentation, or re-introduce the flag (and corresponding logic to convert the audio to mono)
### Steps to reproduce the bug
Audio(sampling_rate=16000, mono=True) raises the error
TypeError: Audio.__init__() got an unexpected keyword argument 'mono'
However, in the class doc... | open | 2025-08-22T12:15:41 | https://api.github.com/repos/huggingface/datasets/issues/7745/comments | null | false | Audio mono argument no longer supported, despite class documentation
### Describe the bug
Either update the documentation, or re-introduce the flag (and corresponding logic to convert the audio to mono)
### Steps to reproduce the bug
Audio(sampling_rate=16000, mono=True) raises the error
TypeError: Audio.__init__()... | [] |
https://api.github.com/repos/huggingface/datasets/issues/7744 | 7,744 | dtype: ClassLabel is not parsed correctly in `features.py` | `dtype: ClassLabel` in the README.md yaml metadata is parsed incorrectly and causes the data viewer to fail.
This yaml in my metadata ([source](https://huggingface.co/datasets/BrentLab/yeast_genome_resources/blob/main/README.md), though i changed `ClassLabel` to `string` to using different dtype in order to avoid the ... | closed | 2025-08-21T23:28:50 | https://api.github.com/repos/huggingface/datasets/issues/7744/comments | null | false | dtype: ClassLabel is not parsed correctly in `features.py`
`dtype: ClassLabel` in the README.md yaml metadata is parsed incorrectly and causes the data viewer to fail.
This yaml in my metadata ([source](https://huggingface.co/datasets/BrentLab/yeast_genome_resources/blob/main/README.md), though i changed `ClassLabel` ... | [] |
https://api.github.com/repos/huggingface/datasets/issues/7743 | 7,743 | Refactor HDF5 and preserve tree structure | Closes #7741. Followup to #7690
- Recursive parsing and feature inference, to preserve the tree structure of the file. Note this means we now visit all links in the file. It also means we have to call` combine_chunks` on any large non-root datasets.
- Support for `complex64` (two `float32`s, used to be converted to... | closed | 2025-08-21T17:28:17 | https://api.github.com/repos/huggingface/datasets/issues/7743/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/7743",
"html_url": "https://github.com/huggingface/datasets/pull/7743",
"diff_url": "https://github.com/huggingface/datasets/pull/7743.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/7743.patch",
"merged_at": "2025-08-26T15:28... | true | Refactor HDF5 and preserve tree structure
Closes #7741. Followup to #7690
- Recursive parsing and feature inference, to preserve the tree structure of the file. Note this means we now visit all links in the file. It also means we have to call` combine_chunks` on any large non-root datasets.
- Support for `complex64... | [] |
https://api.github.com/repos/huggingface/datasets/issues/7742 | 7,742 | module 'pyarrow' has no attribute 'PyExtensionType' | ### Describe the bug
When importing certain libraries, users will encounter the following error which can be traced back to the datasets library.
module 'pyarrow' has no attribute 'PyExtensionType'.
Example issue: https://github.com/explodinggradients/ragas/issues/2170
The issue occurs due to the following. I will ... | open | 2025-08-20T06:14:33 | https://api.github.com/repos/huggingface/datasets/issues/7742/comments | null | false | module 'pyarrow' has no attribute 'PyExtensionType'
### Describe the bug
When importing certain libraries, users will encounter the following error which can be traced back to the datasets library.
module 'pyarrow' has no attribute 'PyExtensionType'.
Example issue: https://github.com/explodinggradients/ragas/issues/... | [] |
https://api.github.com/repos/huggingface/datasets/issues/7741 | 7,741 | Preserve tree structure when loading HDF5 | ### Feature request
https://github.com/huggingface/datasets/pull/7740#discussion_r2285605374
### Motivation
`datasets` has the `Features` class for representing nested features. HDF5 files have groups of datasets which are nested, though in #7690 the keys are flattened. We should preserve that structure for the user... | closed | 2025-08-19T15:42:05 | https://api.github.com/repos/huggingface/datasets/issues/7741/comments | null | false | Preserve tree structure when loading HDF5
### Feature request
https://github.com/huggingface/datasets/pull/7740#discussion_r2285605374
### Motivation
`datasets` has the `Features` class for representing nested features. HDF5 files have groups of datasets which are nested, though in #7690 the keys are flattened. We s... | [] |
https://api.github.com/repos/huggingface/datasets/issues/7740 | 7,740 | Document HDF5 support | I think these are at least the main places where we should put content. Ideally it is not just repeated in the final version
ref #7690
- [x] Wait for #7743 to land | closed | 2025-08-19T14:53:04 | https://api.github.com/repos/huggingface/datasets/issues/7740/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/7740",
"html_url": "https://github.com/huggingface/datasets/pull/7740",
"diff_url": "https://github.com/huggingface/datasets/pull/7740.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/7740.patch",
"merged_at": "2025-09-24T14:51... | true | Document HDF5 support
I think these are at least the main places where we should put content. Ideally it is not just repeated in the final version
ref #7690
- [x] Wait for #7743 to land | [] |
https://api.github.com/repos/huggingface/datasets/issues/7739 | 7,739 | Replacement of "Sequence" feature with "List" breaks backward compatibility | PR #7634 replaced the Sequence feature with List in 4.0.0, so datasets saved with version 4.0.0 with that feature cannot be loaded by earlier versions. There is no clear option in 4.0.0 to use the legacy feature type to preserve backward compatibility.
Why is this a problem? I have a complex preprocessing and training... | open | 2025-08-18T17:28:38 | https://api.github.com/repos/huggingface/datasets/issues/7739/comments | null | false | Replacement of "Sequence" feature with "List" breaks backward compatibility
PR #7634 replaced the Sequence feature with List in 4.0.0, so datasets saved with version 4.0.0 with that feature cannot be loaded by earlier versions. There is no clear option in 4.0.0 to use the legacy feature type to preserve backward compat... | [] |
https://api.github.com/repos/huggingface/datasets/issues/7738 | 7,738 | Allow saving multi-dimensional ndarray with dynamic shapes | ### Feature request
I propose adding a dedicated feature to the datasets library that allows for the efficient storage and retrieval of multi-dimensional ndarray with dynamic shapes. Similar to how Image columns handle variable-sized images, this feature would provide a structured way to store array data where the dim... | open | 2025-08-18T02:23:51 | https://api.github.com/repos/huggingface/datasets/issues/7738/comments | null | false | Allow saving multi-dimensional ndarray with dynamic shapes
### Feature request
I propose adding a dedicated feature to the datasets library that allows for the efficient storage and retrieval of multi-dimensional ndarray with dynamic shapes. Similar to how Image columns handle variable-sized images, this feature would... | [] |
https://api.github.com/repos/huggingface/datasets/issues/7737 | 7,737 | docs: Add column overwrite example to batch mapping guide | This PR adds a complementary example showing the **column-overwriting** pattern, which is both more direct and more flexible for many transformations.
### Proposed Change
The original `remove_columns` example remains untouched. Below it, this PR introduces an alternative approach that overwrites an existing colum... | closed | 2025-08-13T14:20:19 | https://api.github.com/repos/huggingface/datasets/issues/7737/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/7737",
"html_url": "https://github.com/huggingface/datasets/pull/7737",
"diff_url": "https://github.com/huggingface/datasets/pull/7737.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/7737.patch",
"merged_at": "2025-09-04T11:11... | true | docs: Add column overwrite example to batch mapping guide
This PR adds a complementary example showing the **column-overwriting** pattern, which is both more direct and more flexible for many transformations.
### Proposed Change
The original `remove_columns` example remains untouched. Below it, this PR introduces... | [] |
https://api.github.com/repos/huggingface/datasets/issues/7736 | 7,736 | Fix type hint `train_test_split` | null | closed | 2025-08-11T20:46:53 | https://api.github.com/repos/huggingface/datasets/issues/7736/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/7736",
"html_url": "https://github.com/huggingface/datasets/pull/7736",
"diff_url": "https://github.com/huggingface/datasets/pull/7736.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/7736.patch",
"merged_at": "2025-08-13T13:13... | true | Fix type hint `train_test_split`
| [] |
https://api.github.com/repos/huggingface/datasets/issues/7735 | 7,735 | fix largelist repr | null | closed | 2025-08-11T15:17:42 | https://api.github.com/repos/huggingface/datasets/issues/7735/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/7735",
"html_url": "https://github.com/huggingface/datasets/pull/7735",
"diff_url": "https://github.com/huggingface/datasets/pull/7735.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/7735.patch",
"merged_at": "2025-08-11T15:39... | true | fix largelist repr
| [] |
https://api.github.com/repos/huggingface/datasets/issues/7734 | 7,734 | Fixing __getitem__ of datasets which behaves inconsistent to documentation when setting _format_type to None | Setting _format_type to None, should return plain python object but as of 4.0.0 returns Column. This fails in libs such as sentencetransformers (such as in generation of hard negatives) where plain python is expected. | closed | 2025-08-09T15:52:54 | https://api.github.com/repos/huggingface/datasets/issues/7734/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/7734",
"html_url": "https://github.com/huggingface/datasets/pull/7734",
"diff_url": "https://github.com/huggingface/datasets/pull/7734.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/7734.patch",
"merged_at": null
} | true | Fixing __getitem__ of datasets which behaves inconsistent to documentation when setting _format_type to None
Setting _format_type to None, should return plain python object but as of 4.0.0 returns Column. This fails in libs such as sentencetransformers (such as in generation of hard negatives) where plain python is exp... | [] |
https://api.github.com/repos/huggingface/datasets/issues/7733 | 7,733 | Dataset Repo Paths to Locally Stored Images Not Being Appended to Image Path | ### Describe the bug
I’m not sure if this is a bug or a feature and I just don’t fully understand how dataset loading is to work, but it appears there may be a bug with how locally stored Image() are being accessed. I’ve uploaded a new dataset to hugging face (rmdig/rocky_mountain_snowpack) but I’ve come into a ton of... | closed | 2025-08-08T19:10:58 | https://api.github.com/repos/huggingface/datasets/issues/7733/comments | null | false | Dataset Repo Paths to Locally Stored Images Not Being Appended to Image Path
### Describe the bug
I’m not sure if this is a bug or a feature and I just don’t fully understand how dataset loading is to work, but it appears there may be a bug with how locally stored Image() are being accessed. I’ve uploaded a new datase... | [] |
https://api.github.com/repos/huggingface/datasets/issues/7732 | 7,732 | webdataset: key errors when `field_name` has upper case characters | ### Describe the bug
When using a webdataset each sample can be a collection of different "fields"
like this:
```
images17/image194.left.jpg
images17/image194.right.jpg
images17/image194.json
images17/image12.left.jpg
images17/image12.right.jpg
images17/image12.json
```
if the field_name contains upper case characte... | open | 2025-08-08T16:56:42 | https://api.github.com/repos/huggingface/datasets/issues/7732/comments | null | false | webdataset: key errors when `field_name` has upper case characters
### Describe the bug
When using a webdataset each sample can be a collection of different "fields"
like this:
```
images17/image194.left.jpg
images17/image194.right.jpg
images17/image194.json
images17/image12.left.jpg
images17/image12.right.jpg
images... | [] |
https://api.github.com/repos/huggingface/datasets/issues/7731 | 7,731 | Add the possibility of a backend for audio decoding | ### Feature request
Add the possibility of a backend for audio decoding. Before version 4.0.0, soundfile was used, and now torchcodec is used, but the problem is that torchcodec requires ffmpeg, which is problematic to install on the same colab. Therefore, I suggest adding a decoder selection when loading the dataset.... | open | 2025-08-08T11:08:56 | https://api.github.com/repos/huggingface/datasets/issues/7731/comments | null | false | Add the possibility of a backend for audio decoding
### Feature request
Add the possibility of a backend for audio decoding. Before version 4.0.0, soundfile was used, and now torchcodec is used, but the problem is that torchcodec requires ffmpeg, which is problematic to install on the same colab. Therefore, I suggest ... | [] |
https://api.github.com/repos/huggingface/datasets/issues/7730 | 7,730 | Grammar fix: correct "showed" to "shown" in fingerprint.py | This PR corrects a small grammatical issue in the outputs of fingerprint.py:
```diff
- "This warning is only showed once. Subsequent hashing failures won't be showed."
+ "This warning is only shown once. Subsequent hashing failures won't be shown."
```
| closed | 2025-08-07T21:22:56 | https://api.github.com/repos/huggingface/datasets/issues/7730/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/7730",
"html_url": "https://github.com/huggingface/datasets/pull/7730",
"diff_url": "https://github.com/huggingface/datasets/pull/7730.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/7730.patch",
"merged_at": "2025-08-13T13:12... | true | Grammar fix: correct "showed" to "shown" in fingerprint.py
This PR corrects a small grammatical issue in the outputs of fingerprint.py:
```diff
- "This warning is only showed once. Subsequent hashing failures won't be showed."
+ "This warning is only shown once. Subsequent hashing failures won't be shown."
```
| [] |
https://api.github.com/repos/huggingface/datasets/issues/7729 | 7,729 | OSError: libcudart.so.11.0: cannot open shared object file: No such file or directory | > Hi is there any solution for that eror i try to install this one
pip install torch==1.12.1+cpu torchaudio==0.12.1+cpu -f https://download.pytorch.org/whl/torch_stable.html
this is working fine but tell me how to install pytorch version that is fit for gpu | open | 2025-08-07T14:07:23 | https://api.github.com/repos/huggingface/datasets/issues/7729/comments | null | false | OSError: libcudart.so.11.0: cannot open shared object file: No such file or directory
> Hi is there any solution for that eror i try to install this one
pip install torch==1.12.1+cpu torchaudio==0.12.1+cpu -f https://download.pytorch.org/whl/torch_stable.html
this is working fine but tell me how to install pytorch ... | [] |
https://api.github.com/repos/huggingface/datasets/issues/7728 | 7,728 | NonMatchingSplitsSizesError and ExpectedMoreSplitsError | ### Describe the bug
When loading dataset, the info specified by `data_files` did not overwrite the original info.
### Steps to reproduce the bug
```python
from datasets import load_dataset
traindata = load_dataset(
"allenai/c4",
"en",
data_files={"train": "en/c4-train.00000-of-... | open | 2025-08-07T04:04:50 | https://api.github.com/repos/huggingface/datasets/issues/7728/comments | null | false | NonMatchingSplitsSizesError and ExpectedMoreSplitsError
### Describe the bug
When loading dataset, the info specified by `data_files` did not overwrite the original info.
### Steps to reproduce the bug
```python
from datasets import load_dataset
traindata = load_dataset(
"allenai/c4",
"en",... | [] |
https://api.github.com/repos/huggingface/datasets/issues/7727 | 7,727 | config paths that start with ./ are not valid as hf:// accessed repos, but are valid when accessed locally | ### Describe the bug
```
- config_name: some_config
data_files:
- split: train
path:
- images/xyz/*.jpg
```
will correctly download but
```
- config_name: some_config
data_files:
- split: train
path:
- ./images/xyz/*.jpg
```
will error with `FileNotFoundError` due to improper url joining. `loa... | open | 2025-08-06T08:21:37 | https://api.github.com/repos/huggingface/datasets/issues/7727/comments | null | false | config paths that start with ./ are not valid as hf:// accessed repos, but are valid when accessed locally
### Describe the bug
```
- config_name: some_config
data_files:
- split: train
path:
- images/xyz/*.jpg
```
will correctly download but
```
- config_name: some_config
data_files:
- split: train
... | [] |
https://api.github.com/repos/huggingface/datasets/issues/7726 | 7,726 | fix(webdataset): don't .lower() field_name | This fixes cases where keys have upper case identifiers | closed | 2025-08-05T16:57:09 | https://api.github.com/repos/huggingface/datasets/issues/7726/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/7726",
"html_url": "https://github.com/huggingface/datasets/pull/7726",
"diff_url": "https://github.com/huggingface/datasets/pull/7726.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/7726.patch",
"merged_at": "2025-08-20T16:35... | true | fix(webdataset): don't .lower() field_name
This fixes cases where keys have upper case identifiers | [] |
https://api.github.com/repos/huggingface/datasets/issues/7724 | 7,724 | Can not stepinto load_dataset.py? | I set a breakpoint in "load_dataset.py" and try to debug my data load codes, but it does not stop at any breakpoints, so "load_dataset.py" can not be stepped into ?
<!-- Failed to upload "截图 2025-08-05 17-25-18.png" --> | open | 2025-08-05T09:28:51 | https://api.github.com/repos/huggingface/datasets/issues/7724/comments | null | false | Can not stepinto load_dataset.py?
I set a breakpoint in "load_dataset.py" and try to debug my data load codes, but it does not stop at any breakpoints, so "load_dataset.py" can not be stepped into ?
<!-- Failed to upload "截图 2025-08-05 17-25-18.png" --> | [] |
https://api.github.com/repos/huggingface/datasets/issues/7723 | 7,723 | Don't remove `trust_remote_code` arg!!! | ### Feature request
defaulting it to False is nice balance. we need manully setting it to True in certain scenarios!
Add `trust_remote_code` arg back please!
### Motivation
defaulting it to False is nice balance. we need manully setting it to True in certain scenarios!
### Your contribution
defaulting it to Fals... | open | 2025-08-04T15:42:07 | https://api.github.com/repos/huggingface/datasets/issues/7723/comments | null | false | Don't remove `trust_remote_code` arg!!!
### Feature request
defaulting it to False is nice balance. we need manully setting it to True in certain scenarios!
Add `trust_remote_code` arg back please!
### Motivation
defaulting it to False is nice balance. we need manully setting it to True in certain scenarios!
### ... | [] |
https://api.github.com/repos/huggingface/datasets/issues/7722 | 7,722 | Out of memory even though using load_dataset(..., streaming=True) | ### Describe the bug
I am iterating over a large dataset that I load using streaming=True to avoid running out of memory. Unfortunately, I am observing that memory usage increases over time and I'm finally running in an oom.
### Steps to reproduce the bug
```
ds = load_dataset("openslr/librispeech_asr", split="tra... | open | 2025-08-04T14:41:55 | https://api.github.com/repos/huggingface/datasets/issues/7722/comments | null | false | Out of memory even though using load_dataset(..., streaming=True)
### Describe the bug
I am iterating over a large dataset that I load using streaming=True to avoid running out of memory. Unfortunately, I am observing that memory usage increases over time and I'm finally running in an oom.
### Steps to reproduce the ... | [] |
https://api.github.com/repos/huggingface/datasets/issues/7721 | 7,721 | Bad split error message when using percentages | ### Describe the bug
Hi, I'm trying to download a dataset. To not load the entire dataset in memory, I split it as described [here](https://huggingface.co/docs/datasets/v4.0.0/loading#slice-splits) in 10% steps.
When doing so, the library returns this error:
raise ValueError(f"Bad split: {split}. Available splits... | open | 2025-08-04T13:20:25 | https://api.github.com/repos/huggingface/datasets/issues/7721/comments | null | false | Bad split error message when using percentages
### Describe the bug
Hi, I'm trying to download a dataset. To not load the entire dataset in memory, I split it as described [here](https://huggingface.co/docs/datasets/v4.0.0/loading#slice-splits) in 10% steps.
When doing so, the library returns this error:
raise Va... | [] |
https://api.github.com/repos/huggingface/datasets/issues/7720 | 7,720 | Datasets 4.0 map function causing column not found | ### Describe the bug
Column returned after mapping is not found in new instance of the dataset.
### Steps to reproduce the bug
Code for reproduction. After running get_total_audio_length, it is errored out due to `data` not having `duration`
```
def compute_duration(x):
return {"duration": len(x["audio"]["array"... | open | 2025-08-03T12:52:34 | https://api.github.com/repos/huggingface/datasets/issues/7720/comments | null | false | Datasets 4.0 map function causing column not found
### Describe the bug
Column returned after mapping is not found in new instance of the dataset.
### Steps to reproduce the bug
Code for reproduction. After running get_total_audio_length, it is errored out due to `data` not having `duration`
```
def compute_duration... | [] |
https://api.github.com/repos/huggingface/datasets/issues/7719 | 7,719 | Specify dataset columns types in typehint | ### Feature request
Make dataset optionaly generic to datasets usage with type annotations like it was done in `torch.Dataloader` https://github.com/pytorch/pytorch/blob/134179474539648ba7dee1317959529fbd0e7f89/torch/utils/data/dataloader.py#L131
### Motivation
In MTEB we're using a lot of datasets objects, but they... | open | 2025-08-02T13:22:31 | https://api.github.com/repos/huggingface/datasets/issues/7719/comments | null | false | Specify dataset columns types in typehint
### Feature request
Make dataset optionaly generic to datasets usage with type annotations like it was done in `torch.Dataloader` https://github.com/pytorch/pytorch/blob/134179474539648ba7dee1317959529fbd0e7f89/torch/utils/data/dataloader.py#L131
### Motivation
In MTEB we're... | [] |
https://api.github.com/repos/huggingface/datasets/issues/7718 | 7,718 | add support for pyarrow string view in features | null | closed | 2025-08-01T14:58:39 | https://api.github.com/repos/huggingface/datasets/issues/7718/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/7718",
"html_url": "https://github.com/huggingface/datasets/pull/7718",
"diff_url": "https://github.com/huggingface/datasets/pull/7718.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/7718.patch",
"merged_at": "2025-09-12T13:13... | true | add support for pyarrow string view in features
| [] |
https://api.github.com/repos/huggingface/datasets/issues/7717 | 7,717 | Cached dataset is not used when explicitly passing the cache_dir parameter | ### Describe the bug
Hi, we are pre-downloading a dataset using snapshot_download(). When loading this exact dataset with load_dataset() the cached snapshot is not used. In both calls, I provide the cache_dir parameter.
### Steps to reproduce the bug
```
from datasets import load_dataset, concatenate_datasets
from h... | open | 2025-08-01T07:12:41 | https://api.github.com/repos/huggingface/datasets/issues/7717/comments | null | false | Cached dataset is not used when explicitly passing the cache_dir parameter
### Describe the bug
Hi, we are pre-downloading a dataset using snapshot_download(). When loading this exact dataset with load_dataset() the cached snapshot is not used. In both calls, I provide the cache_dir parameter.
### Steps to reproduce ... | [] |
https://api.github.com/repos/huggingface/datasets/issues/7716 | 7,716 | typo | null | closed | 2025-07-31T17:14:45 | https://api.github.com/repos/huggingface/datasets/issues/7716/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/7716",
"html_url": "https://github.com/huggingface/datasets/pull/7716",
"diff_url": "https://github.com/huggingface/datasets/pull/7716.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/7716.patch",
"merged_at": "2025-07-31T17:14... | true | typo
| [] |
https://api.github.com/repos/huggingface/datasets/issues/7715 | 7,715 | Docs: Use Image(mode="F") for PNG/JPEG depth maps | null | closed | 2025-07-31T17:09:49 | https://api.github.com/repos/huggingface/datasets/issues/7715/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/7715",
"html_url": "https://github.com/huggingface/datasets/pull/7715",
"diff_url": "https://github.com/huggingface/datasets/pull/7715.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/7715.patch",
"merged_at": "2025-07-31T17:10... | true | Docs: Use Image(mode="F") for PNG/JPEG depth maps
| [] |
https://api.github.com/repos/huggingface/datasets/issues/7714 | 7,714 | fix num_proc=1 ci test | null | closed | 2025-07-31T16:36:32 | https://api.github.com/repos/huggingface/datasets/issues/7714/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/7714",
"html_url": "https://github.com/huggingface/datasets/pull/7714",
"diff_url": "https://github.com/huggingface/datasets/pull/7714.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/7714.patch",
"merged_at": "2025-07-31T16:38... | true | fix num_proc=1 ci test
| [] |
https://api.github.com/repos/huggingface/datasets/issues/7713 | 7,713 | Update cli.mdx to refer to the new "hf" CLI | Update to refer to `hf auth login` | closed | 2025-07-31T15:06:11 | https://api.github.com/repos/huggingface/datasets/issues/7713/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/7713",
"html_url": "https://github.com/huggingface/datasets/pull/7713",
"diff_url": "https://github.com/huggingface/datasets/pull/7713.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/7713.patch",
"merged_at": "2025-07-31T16:37... | true | Update cli.mdx to refer to the new "hf" CLI
Update to refer to `hf auth login` | [] |
https://api.github.com/repos/huggingface/datasets/issues/7712 | 7,712 | Retry intermediate commits too | null | closed | 2025-07-31T14:33:33 | https://api.github.com/repos/huggingface/datasets/issues/7712/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/7712",
"html_url": "https://github.com/huggingface/datasets/pull/7712",
"diff_url": "https://github.com/huggingface/datasets/pull/7712.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/7712.patch",
"merged_at": "2025-07-31T14:36... | true | Retry intermediate commits too
| [] |
https://api.github.com/repos/huggingface/datasets/issues/7711 | 7,711 | Update dataset_dict push_to_hub | following https://github.com/huggingface/datasets/pull/7708 | closed | 2025-07-31T13:25:03 | https://api.github.com/repos/huggingface/datasets/issues/7711/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/7711",
"html_url": "https://github.com/huggingface/datasets/pull/7711",
"diff_url": "https://github.com/huggingface/datasets/pull/7711.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/7711.patch",
"merged_at": "2025-07-31T14:18... | true | Update dataset_dict push_to_hub
following https://github.com/huggingface/datasets/pull/7708 | [] |
https://api.github.com/repos/huggingface/datasets/issues/7710 | 7,710 | Concurrent IterableDataset push_to_hub | Same as https://github.com/huggingface/datasets/pull/7708 but for `IterableDataset` | closed | 2025-07-31T10:11:31 | https://api.github.com/repos/huggingface/datasets/issues/7710/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/7710",
"html_url": "https://github.com/huggingface/datasets/pull/7710",
"diff_url": "https://github.com/huggingface/datasets/pull/7710.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/7710.patch",
"merged_at": "2025-07-31T10:12... | true | Concurrent IterableDataset push_to_hub
Same as https://github.com/huggingface/datasets/pull/7708 but for `IterableDataset` | [] |
https://api.github.com/repos/huggingface/datasets/issues/7709 | 7,709 | Release 4.0.0 breaks usage patterns of with_format | ### Describe the bug
Previously it was possible to access a whole column that was e.g. in numpy format via `with_format` by indexing the column. Now this possibility seems to be gone with the new Column() class. As far as I see, this makes working on a whole column (in-memory) more complex, i.e. normalizing an in-memo... | closed | 2025-07-30T11:34:53 | https://api.github.com/repos/huggingface/datasets/issues/7709/comments | null | false | Release 4.0.0 breaks usage patterns of with_format
### Describe the bug
Previously it was possible to access a whole column that was e.g. in numpy format via `with_format` by indexing the column. Now this possibility seems to be gone with the new Column() class. As far as I see, this makes working on a whole column (i... | [] |
https://api.github.com/repos/huggingface/datasets/issues/7708 | 7,708 | Concurrent push_to_hub | Retry the step that (download + update + upload) the README.md using `create_commit(..., parent_commit=...)` if there was a commit in the meantime. This should enable concurrent `push_to_hub()` since it won't overwrite the README.md metadata anymore.
Note: we fixed an issue server side to make this work:
<details... | closed | 2025-07-29T13:14:30 | https://api.github.com/repos/huggingface/datasets/issues/7708/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/7708",
"html_url": "https://github.com/huggingface/datasets/pull/7708",
"diff_url": "https://github.com/huggingface/datasets/pull/7708.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/7708.patch",
"merged_at": "2025-07-31T10:00... | true | Concurrent push_to_hub
Retry the step that (download + update + upload) the README.md using `create_commit(..., parent_commit=...)` if there was a commit in the meantime. This should enable concurrent `push_to_hub()` since it won't overwrite the README.md metadata anymore.
Note: we fixed an issue server side to make... | [] |
https://api.github.com/repos/huggingface/datasets/issues/7707 | 7,707 | load_dataset() in 4.0.0 failed when decoding audio | ### Describe the bug
Cannot decode audio data.
### Steps to reproduce the bug
```python
from datasets import load_dataset
dataset = load_dataset("hf-internal-testing/librispeech_asr_demo", "clean", split="validation")
print(dataset[0]["audio"]["array"])
```
1st round run, got
```
File "/usr/local/lib/python3.1... | closed | 2025-07-29T03:25:03 | https://api.github.com/repos/huggingface/datasets/issues/7707/comments | null | false | load_dataset() in 4.0.0 failed when decoding audio
### Describe the bug
Cannot decode audio data.
### Steps to reproduce the bug
```python
from datasets import load_dataset
dataset = load_dataset("hf-internal-testing/librispeech_asr_demo", "clean", split="validation")
print(dataset[0]["audio"]["array"])
```
1st ... | [] |
https://api.github.com/repos/huggingface/datasets/issues/7706 | 7,706 | Reimplemented partial split download support (revival of #6832) | (revival of #6832)
https://github.com/huggingface/datasets/pull/7648#issuecomment-3084050130
Close https://github.com/huggingface/datasets/issues/4101, and more
---
### PR under work!!!!
| open | 2025-07-28T19:40:40 | https://api.github.com/repos/huggingface/datasets/issues/7706/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/7706",
"html_url": "https://github.com/huggingface/datasets/pull/7706",
"diff_url": "https://github.com/huggingface/datasets/pull/7706.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/7706.patch",
"merged_at": null
} | true | Reimplemented partial split download support (revival of #6832)
(revival of #6832)
https://github.com/huggingface/datasets/pull/7648#issuecomment-3084050130
Close https://github.com/huggingface/datasets/issues/4101, and more
---
### PR under work!!!!
| [] |
https://api.github.com/repos/huggingface/datasets/issues/7705 | 7,705 | Can Not read installed dataset in dataset.load(.) | Hi, folks, I'm newbie in huggingface dataset api.
As title, i'm facing the issue that the dataset.load api can not connect to the installed dataset.
code snippet :
<img width="572" height="253" alt="Image" src="https://github.com/user-attachments/assets/10f48aaf-d6ca-4239-b1cf-145d74f125d1" />
data path :
"/xxx/jose... | open | 2025-07-28T09:43:54 | https://api.github.com/repos/huggingface/datasets/issues/7705/comments | null | false | Can Not read installed dataset in dataset.load(.)
Hi, folks, I'm newbie in huggingface dataset api.
As title, i'm facing the issue that the dataset.load api can not connect to the installed dataset.
code snippet :
<img width="572" height="253" alt="Image" src="https://github.com/user-attachments/assets/10f48aaf-d6ca-4... | [] |
https://api.github.com/repos/huggingface/datasets/issues/7704 | 7,704 | Fix map() example in datasets documentation: define tokenizer before use | ## Problem
The current datasets.Dataset.map() example in the documentation demonstrates batched processing using a tokenizer object without defining or importing it. This causes a NameError when users copy and run the example as-is, breaking the expected seamless experience.
## Correction
This PR fixes the issue b... | closed | 2025-07-26T14:18:17 | https://api.github.com/repos/huggingface/datasets/issues/7704/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/7704",
"html_url": "https://github.com/huggingface/datasets/pull/7704",
"diff_url": "https://github.com/huggingface/datasets/pull/7704.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/7704.patch",
"merged_at": null
} | true | Fix map() example in datasets documentation: define tokenizer before use
## Problem
The current datasets.Dataset.map() example in the documentation demonstrates batched processing using a tokenizer object without defining or importing it. This causes a NameError when users copy and run the example as-is, breaking the ... | [] |
https://api.github.com/repos/huggingface/datasets/issues/7703 | 7,703 | [Docs] map() example uses undefined `tokenizer` — causes NameError | ## Description
The current documentation example for `datasets.Dataset.map()` demonstrates batched processing but uses a `tokenizer` object without defining or importing it. This causes an error every time it's copied.
Here is the problematic line:
```python
# process a batch of examples
>>> ds = ds.map(lambda examp... | open | 2025-07-26T13:35:11 | https://api.github.com/repos/huggingface/datasets/issues/7703/comments | null | false | [Docs] map() example uses undefined `tokenizer` — causes NameError
## Description
The current documentation example for `datasets.Dataset.map()` demonstrates batched processing but uses a `tokenizer` object without defining or importing it. This causes an error every time it's copied.
Here is the problematic line:
`... | [] |
https://api.github.com/repos/huggingface/datasets/issues/7702 | 7,702 | num_proc=0 behave like None, num_proc=1 uses one worker (not main process) and clarify num_proc documentation | Fixes issue #7700
This PR makes num_proc=0 behave like None in Dataset.map(), disabling multiprocessing.
It improves UX by aligning with DataLoader(num_workers=0) behavior.
The num_proc docstring is also updated to clearly explain valid values and behavior.
@SunMarc
| closed | 2025-07-26T08:19:39 | https://api.github.com/repos/huggingface/datasets/issues/7702/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/7702",
"html_url": "https://github.com/huggingface/datasets/pull/7702",
"diff_url": "https://github.com/huggingface/datasets/pull/7702.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/7702.patch",
"merged_at": "2025-07-31T14:52... | true | num_proc=0 behave like None, num_proc=1 uses one worker (not main process) and clarify num_proc documentation
Fixes issue #7700
This PR makes num_proc=0 behave like None in Dataset.map(), disabling multiprocessing.
It improves UX by aligning with DataLoader(num_workers=0) behavior.
The num_proc docstring is also u... | [] |
https://api.github.com/repos/huggingface/datasets/issues/7701 | 7,701 | Update fsspec max version to current release 2025.7.0 | Diffusers currently asks for a max fsspec version of `2025.3.0`. This change updates it to the current latest version. This change is mainly required to resolve conflicts with other packages in an environment. In my particular case, `aider-chat` which is a part of my environment installs `2025.5.1` which is incompatibl... | closed | 2025-07-26T06:47:59 | https://api.github.com/repos/huggingface/datasets/issues/7701/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/7701",
"html_url": "https://github.com/huggingface/datasets/pull/7701",
"diff_url": "https://github.com/huggingface/datasets/pull/7701.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/7701.patch",
"merged_at": "2025-07-28T11:58... | true | Update fsspec max version to current release 2025.7.0
Diffusers currently asks for a max fsspec version of `2025.3.0`. This change updates it to the current latest version. This change is mainly required to resolve conflicts with other packages in an environment. In my particular case, `aider-chat` which is a part of m... | [] |
https://api.github.com/repos/huggingface/datasets/issues/7700 | 7,700 | [doc] map.num_proc needs clarification | https://huggingface.co/docs/datasets/v4.0.0/en/package_reference/main_classes#datasets.Dataset.map.num_proc
```
num_proc (int, optional, defaults to None) — Max number of processes when generating cache. Already cached
shards are loaded sequentially.
```
for batch:
```
num_proc (int, optional, defaults to None): The n... | open | 2025-07-25T17:35:09 | https://api.github.com/repos/huggingface/datasets/issues/7700/comments | null | false | [doc] map.num_proc needs clarification
https://huggingface.co/docs/datasets/v4.0.0/en/package_reference/main_classes#datasets.Dataset.map.num_proc
```
num_proc (int, optional, defaults to None) — Max number of processes when generating cache. Already cached
shards are loaded sequentially.
```
for batch:
```
num_proc (... | [] |
https://api.github.com/repos/huggingface/datasets/issues/7699 | 7,699 | Broken link in documentation for "Create a video dataset" | The link to "the [WebDataset documentation](https://webdataset.github.io/webdataset)." is broken.
https://huggingface.co/docs/datasets/main/en/video_dataset#webdataset
<img width="2048" height="264" alt="Image" src="https://github.com/user-attachments/assets/975dd10c-aad8-42fc-9fbc-de0e2747a326" /> | open | 2025-07-24T19:46:28 | https://api.github.com/repos/huggingface/datasets/issues/7699/comments | null | false | Broken link in documentation for "Create a video dataset"
The link to "the [WebDataset documentation](https://webdataset.github.io/webdataset)." is broken.
https://huggingface.co/docs/datasets/main/en/video_dataset#webdataset
<img width="2048" height="264" alt="Image" src="https://github.com/user-attachments/assets/... | [] |
https://api.github.com/repos/huggingface/datasets/issues/7698 | 7,698 | NotImplementedError when using streaming=True in Google Colab environment | ### Describe the bug
When attempting to load a large dataset (like tiiuae/falcon-refinedweb or allenai/c4) using streaming=True in a standard Google Colab notebook, the process fails with a NotImplementedError: Loading a streaming dataset cached in a LocalFileSystem is not supported yet. This issue persists even after... | open | 2025-07-23T08:04:53 | https://api.github.com/repos/huggingface/datasets/issues/7698/comments | null | false | NotImplementedError when using streaming=True in Google Colab environment
### Describe the bug
When attempting to load a large dataset (like tiiuae/falcon-refinedweb or allenai/c4) using streaming=True in a standard Google Colab notebook, the process fails with a NotImplementedError: Loading a streaming dataset cached... | [] |
https://api.github.com/repos/huggingface/datasets/issues/7697 | 7,697 | - | - | closed | 2025-07-23T01:30:32 | https://api.github.com/repos/huggingface/datasets/issues/7697/comments | null | false | -
- | [] |
https://api.github.com/repos/huggingface/datasets/issues/7696 | 7,696 | load_dataset() in 4.0.0 returns different audio samples compared to earlier versions breaking reproducibility | ### Describe the bug
In datasets 4.0.0 release, `load_dataset()` returns different audio samples compared to earlier versions, this breaks integration tests that depend on consistent sample data across different environments (first and second envs specified below).
### Steps to reproduce the bug
```python
from dat... | closed | 2025-07-22T17:02:17 | https://api.github.com/repos/huggingface/datasets/issues/7696/comments | null | false | load_dataset() in 4.0.0 returns different audio samples compared to earlier versions breaking reproducibility
### Describe the bug
In datasets 4.0.0 release, `load_dataset()` returns different audio samples compared to earlier versions, this breaks integration tests that depend on consistent sample data across differe... | [] |
https://api.github.com/repos/huggingface/datasets/issues/7695 | 7,695 | Support downloading specific splits in load_dataset | This PR builds on #6832 by @mariosasko.
May close - #4101, #2538
Discussion - https://github.com/huggingface/datasets/pull/7648#issuecomment-3084050130
---
### Note - This PR is under work and frequent changes will be pushed. | closed | 2025-07-22T09:33:54 | https://api.github.com/repos/huggingface/datasets/issues/7695/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/7695",
"html_url": "https://github.com/huggingface/datasets/pull/7695",
"diff_url": "https://github.com/huggingface/datasets/pull/7695.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/7695.patch",
"merged_at": null
} | true | Support downloading specific splits in load_dataset
This PR builds on #6832 by @mariosasko.
May close - #4101, #2538
Discussion - https://github.com/huggingface/datasets/pull/7648#issuecomment-3084050130
---
### Note - This PR is under work and frequent changes will be pushed. | [] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.