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/8228 | 8,228 | fix: stable fingerprint for closures capturing non-deterministic state | Fixes #7986
When `.map()` uses a closure capturing `self` with non-deterministic state
(like UUIDs or loggers), the fingerprint changes every run causing cache misses.
Fix: only hash primitive attributes of captured objects instead of the full object.
Added a regression test in `tests/test_fingerprint.py`. | open | 2026-05-30T09:38:59 | https://api.github.com/repos/huggingface/datasets/issues/8228/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8228",
"html_url": "https://github.com/huggingface/datasets/pull/8228",
"diff_url": "https://github.com/huggingface/datasets/pull/8228.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8228.patch",
"merged_at": null
} | true | fix: stable fingerprint for closures capturing non-deterministic state
Fixes #7986
When `.map()` uses a closure capturing `self` with non-deterministic state
(like UUIDs or loggers), the fingerprint changes every run causing cache misses.
Fix: only hash primitive attributes of captured objects instead of the fu... | [] |
https://api.github.com/repos/huggingface/datasets/issues/8227 | 8,227 | Security/Logic Fix: Autonomous Code Review | ## Autonomous Bug Report & Patch
This vulnerability and fix were autonomously discovered by the Lucy Red Team swarm.
Upon reviewing the provided code snippet from `src/datasets/io/generator.py`, I didn't find any obvious critical bugs. However, there are a few areas that could be improved or clarified:
1. **Do... | open | 2026-05-29T18:50:22 | https://api.github.com/repos/huggingface/datasets/issues/8227/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8227",
"html_url": "https://github.com/huggingface/datasets/pull/8227",
"diff_url": "https://github.com/huggingface/datasets/pull/8227.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8227.patch",
"merged_at": null
} | true | Security/Logic Fix: Autonomous Code Review
## Autonomous Bug Report & Patch
This vulnerability and fix were autonomously discovered by the Lucy Red Team swarm.
Upon reviewing the provided code snippet from `src/datasets/io/generator.py`, I didn't find any obvious critical bugs. However, there are a few areas that... | [] |
https://api.github.com/repos/huggingface/datasets/issues/8225 | 8,225 | Fix single lance file form pylance 7.0 | fix lance test in CI, due to JSON being picked up instead of lance now that latest_version_hint.json is a thing | closed | 2026-05-28T15:27:04 | https://api.github.com/repos/huggingface/datasets/issues/8225/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8225",
"html_url": "https://github.com/huggingface/datasets/pull/8225",
"diff_url": "https://github.com/huggingface/datasets/pull/8225.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8225.patch",
"merged_at": "2026-05-28T15:33... | true | Fix single lance file form pylance 7.0
fix lance test in CI, due to JSON being picked up instead of lance now that latest_version_hint.json is a thing | [] |
https://api.github.com/repos/huggingface/datasets/issues/8224 | 8,224 | fix: embed_external_files=True for mesh support | ## Fix for #8055
This is follow-up PR for fixing a specific issue related to `dataset.push_to_hub(repo_id, embed_external_files=True)`
### Test Conducted
```python
from datasets import Features, Image, Mesh, Value, load_dataset
repo_id = "VINAY-UMRETHE/My-Mesh-Dataset"
dataset = load_dataset("json", ... | open | 2026-05-27T17:14:11 | https://api.github.com/repos/huggingface/datasets/issues/8224/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8224",
"html_url": "https://github.com/huggingface/datasets/pull/8224",
"diff_url": "https://github.com/huggingface/datasets/pull/8224.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8224.patch",
"merged_at": null
} | true | fix: embed_external_files=True for mesh support
## Fix for #8055
This is follow-up PR for fixing a specific issue related to `dataset.push_to_hub(repo_id, embed_external_files=True)`
### Test Conducted
```python
from datasets import Features, Image, Mesh, Value, load_dataset
repo_id = "VINAY-UMRETHE/My-... | [] |
https://api.github.com/repos/huggingface/datasets/issues/8223 | 8,223 | DOC: document missing save_infos and max_depth parameters | ## What this fixes
Two public API functions were missing parameters from their docstrings:
### 1. `load_dataset()` — missing `save_infos`
The `save_infos` parameter has been in the function signature but was absent from the `Args` section of the docstring. When `save_infos=True`, it overrides `verification_mod... | open | 2026-05-27T07:04:13 | https://api.github.com/repos/huggingface/datasets/issues/8223/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8223",
"html_url": "https://github.com/huggingface/datasets/pull/8223",
"diff_url": "https://github.com/huggingface/datasets/pull/8223.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8223.patch",
"merged_at": null
} | true | DOC: document missing save_infos and max_depth parameters
## What this fixes
Two public API functions were missing parameters from their docstrings:
### 1. `load_dataset()` — missing `save_infos`
The `save_infos` parameter has been in the function signature but was absent from the `Args` section of the docstri... | [] |
https://api.github.com/repos/huggingface/datasets/issues/8222 | 8,222 | Validate split name before starting download | ## What this fixes
Closes #5523.
When you pass an invalid split name to `load_dataset()`, the error only surfaces after the entire dataset has already been downloaded. For large datasets that can mean waiting many minutes before seeing a one-liner like:
```python
from datasets import load_dataset
load_dataset("mozil... | open | 2026-05-27T01:54:14 | https://api.github.com/repos/huggingface/datasets/issues/8222/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8222",
"html_url": "https://github.com/huggingface/datasets/pull/8222",
"diff_url": "https://github.com/huggingface/datasets/pull/8222.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8222.patch",
"merged_at": null
} | true | Validate split name before starting download
## What this fixes
Closes #5523.
When you pass an invalid split name to `load_dataset()`, the error only surfaces after the entire dataset has already been downloaded. For large datasets that can mean waiting many minutes before seeing a one-liner like:
```python
from dat... | [] |
https://api.github.com/repos/huggingface/datasets/issues/8221 | 8,221 | chore: enable Dependabot weekly GitHub Actions bumps | ## Summary
Adds `.github/dependabot.yml` so this repo's pinned GitHub Action SHAs
get bumped automatically once a week.
All action updates are **grouped into one weekly PR** (not one PR per
action) to keep the noise down, and Dependabot waits **7 days after a
release before opening the bump** (cooldown). The 7-day co... | open | 2026-05-26T10:31:28 | https://api.github.com/repos/huggingface/datasets/issues/8221/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8221",
"html_url": "https://github.com/huggingface/datasets/pull/8221",
"diff_url": "https://github.com/huggingface/datasets/pull/8221.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8221.patch",
"merged_at": null
} | true | chore: enable Dependabot weekly GitHub Actions bumps
## Summary
Adds `.github/dependabot.yml` so this repo's pinned GitHub Action SHAs
get bumped automatically once a week.
All action updates are **grouped into one weekly PR** (not one PR per
action) to keep the noise down, and Dependabot waits **7 days after a
relea... | [] |
https://api.github.com/repos/huggingface/datasets/issues/8220 | 8,220 | Support composed splits in streaming datasets | Fixes #2699
Fixes #4804
This PR adds support for unsliced split composition when loading datasets in streaming mode, e.g. `split="train+validation"`.
Previously, `DatasetBuilder.as_streaming_dataset()` only accepted a single split name or returned all splits as an `IterableDatasetDict`, so composed split strings... | open | 2026-05-23T16:41:38 | https://api.github.com/repos/huggingface/datasets/issues/8220/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8220",
"html_url": "https://github.com/huggingface/datasets/pull/8220",
"diff_url": "https://github.com/huggingface/datasets/pull/8220.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8220.patch",
"merged_at": null
} | true | Support composed splits in streaming datasets
Fixes #2699
Fixes #4804
This PR adds support for unsliced split composition when loading datasets in streaming mode, e.g. `split="train+validation"`.
Previously, `DatasetBuilder.as_streaming_dataset()` only accepted a single split name or returned all splits as an `I... | [] |
https://api.github.com/repos/huggingface/datasets/issues/8219 | 8,219 | Add `.conll` / `.conllu` dataset format loader (CoNLL-2003 / 2000 / U) | Closes #7757.
## Summary
Adds a `packaged_modules/conll/` builder so `.conll` and `.conllu` files load directly via `load_dataset(...)` without manual parsing scripts. Each row of the loaded dataset corresponds to one sentence, with each configured column produced as a list aligned with the token list.
Builder... | closed | 2026-05-23T12:19:24 | https://api.github.com/repos/huggingface/datasets/issues/8219/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8219",
"html_url": "https://github.com/huggingface/datasets/pull/8219",
"diff_url": "https://github.com/huggingface/datasets/pull/8219.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8219.patch",
"merged_at": "2026-05-27T14:09... | true | Add `.conll` / `.conllu` dataset format loader (CoNLL-2003 / 2000 / U)
Closes #7757.
## Summary
Adds a `packaged_modules/conll/` builder so `.conll` and `.conllu` files load directly via `load_dataset(...)` without manual parsing scripts. Each row of the loaded dataset corresponds to one sentence, with each confi... | [] |
https://api.github.com/repos/huggingface/datasets/issues/8218 | 8,218 | Include version in DatasetInfo YAML so push_to_hub preserves it | DatasetInfo._INCLUDED_INFO_IN_YAML controls which fields land in the README.md dataset_info block written by push_to_hub, and it currently omits version. Setting version on a Dataset (e.g. via load_dataset(..., version=...)) and pushing it to the Hub silently drops the version from the rendered front matter, so reloadi... | open | 2026-05-22T10:58:49 | https://api.github.com/repos/huggingface/datasets/issues/8218/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8218",
"html_url": "https://github.com/huggingface/datasets/pull/8218",
"diff_url": "https://github.com/huggingface/datasets/pull/8218.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8218.patch",
"merged_at": null
} | true | Include version in DatasetInfo YAML so push_to_hub preserves it
DatasetInfo._INCLUDED_INFO_IN_YAML controls which fields land in the README.md dataset_info block written by push_to_hub, and it currently omits version. Setting version on a Dataset (e.g. via load_dataset(..., version=...)) and pushing it to the Hub silen... | [] |
https://api.github.com/repos/huggingface/datasets/issues/8217 | 8,217 | Multi-GPU Training with Large Dataset — NCCL Timeouts / Slow Data Loading + Excessive Memory Usage with keep_in_memory=True | Hi, I'm training a large dataset using Lerobot (which relies on Hugging Face Datasets) and encountering severe performance issues when scaling to multi-GPU training.
### Problem Description
- Unstable/slow data loading + NCCL timeouts
- Step time fluctuates drastically: ~1s/step (fast) vs ~45s/step (extremely slow)
... | open | 2026-05-22T09:55:13 | https://api.github.com/repos/huggingface/datasets/issues/8217/comments | null | false | Multi-GPU Training with Large Dataset — NCCL Timeouts / Slow Data Loading + Excessive Memory Usage with keep_in_memory=True
Hi, I'm training a large dataset using Lerobot (which relies on Hugging Face Datasets) and encountering severe performance issues when scaling to multi-GPU training.
### Problem Description
- Uns... | [] |
https://api.github.com/repos/huggingface/datasets/issues/8216 | 8,216 | Read cached dataset_info.json to populate config_names offline | ## What
`get_dataset_config_names` with `HF_DATASETS_OFFLINE=1` returns `['default']` even when the cache contains multiple config subdirectories for the dataset. For example, after caching `cais/mmlu`:
```
$ HF_DATASETS_OFFLINE=1 python -c "import datasets; print(datasets.get_dataset_config_names('cais/mmlu'))"
Usin... | open | 2026-05-21T23:27:32 | https://api.github.com/repos/huggingface/datasets/issues/8216/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8216",
"html_url": "https://github.com/huggingface/datasets/pull/8216",
"diff_url": "https://github.com/huggingface/datasets/pull/8216.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8216.patch",
"merged_at": null
} | true | Read cached dataset_info.json to populate config_names offline
## What
`get_dataset_config_names` with `HF_DATASETS_OFFLINE=1` returns `['default']` even when the cache contains multiple config subdirectories for the dataset. For example, after caching `cais/mmlu`:
```
$ HF_DATASETS_OFFLINE=1 python -c "import datase... | [] |
https://api.github.com/repos/huggingface/datasets/issues/8215 | 8,215 | Warn instead of raise when user-provided data_files yields a subset | Fixes #7867.
NonMatchingSplitsSizesError currently fires whenever the loaded split size differs from the expected size, including when the user explicitly passed data_files for a known subset of the dataset. The only user-side workaround is verification_mode='no_checks', which silences ALL checks rather than just the ... | open | 2026-05-21T23:23:19 | https://api.github.com/repos/huggingface/datasets/issues/8215/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8215",
"html_url": "https://github.com/huggingface/datasets/pull/8215",
"diff_url": "https://github.com/huggingface/datasets/pull/8215.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8215.patch",
"merged_at": null
} | true | Warn instead of raise when user-provided data_files yields a subset
Fixes #7867.
NonMatchingSplitsSizesError currently fires whenever the loaded split size differs from the expected size, including when the user explicitly passed data_files for a known subset of the dataset. The only user-side workaround is verificati... | [] |
https://api.github.com/repos/huggingface/datasets/issues/8214 | 8,214 | feat: Add return_file_name parameter to JSON builder (#5806) | ## Description
Resolves #5806.
This PR introduces an optional `return_file_name` boolean parameter to the packaged JSON builder. When enabled, it injects a `file_name` column into the generated PyArrow tables, allowing downstream users to track exactly which data shard a specific row originated from during interrup... | open | 2026-05-21T14:37:14 | https://api.github.com/repos/huggingface/datasets/issues/8214/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8214",
"html_url": "https://github.com/huggingface/datasets/pull/8214",
"diff_url": "https://github.com/huggingface/datasets/pull/8214.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8214.patch",
"merged_at": null
} | true | feat: Add return_file_name parameter to JSON builder (#5806)
## Description
Resolves #5806.
This PR introduces an optional `return_file_name` boolean parameter to the packaged JSON builder. When enabled, it injects a `file_name` column into the generated PyArrow tables, allowing downstream users to track exactly wh... | [] |
https://api.github.com/repos/huggingface/datasets/issues/8213 | 8,213 | update single seg repos in ci | needed for https://github.com/huggingface/huggingface_hub/releases/tag/v1.16.0.rc0 | closed | 2026-05-21T11:05:56 | https://api.github.com/repos/huggingface/datasets/issues/8213/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8213",
"html_url": "https://github.com/huggingface/datasets/pull/8213",
"diff_url": "https://github.com/huggingface/datasets/pull/8213.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8213.patch",
"merged_at": "2026-05-21T11:07... | true | update single seg repos in ci
needed for https://github.com/huggingface/huggingface_hub/releases/tag/v1.16.0.rc0 | [] |
https://api.github.com/repos/huggingface/datasets/issues/8212 | 8,212 | docs: surface `repository_structure` earlier in the Get Started flow | > **Dear maintainer** — this PR has a permanent home with methodology + [opt-out](https://github.com/adv0r/tokens-for-good/blob/main/MAINTAINER_REMOVAL.md) at [tokens-for-good](https://github.com/adv0r/tokens-for-good). A one-line "no thanks" → auto-close + blacklist. Sorry for the notification this edit caused.
>
> --... | open | 2026-05-20T15:45:58 | https://api.github.com/repos/huggingface/datasets/issues/8212/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8212",
"html_url": "https://github.com/huggingface/datasets/pull/8212",
"diff_url": "https://github.com/huggingface/datasets/pull/8212.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8212.patch",
"merged_at": null
} | true | docs: surface `repository_structure` earlier in the Get Started flow
> **Dear maintainer** — this PR has a permanent home with methodology + [opt-out](https://github.com/adv0r/tokens-for-good/blob/main/MAINTAINER_REMOVAL.md) at [tokens-for-good](https://github.com/adv0r/tokens-for-good). A one-line "no thanks" → auto-c... | [] |
https://api.github.com/repos/huggingface/datasets/issues/8211 | 8,211 | Fix duplicate keyword arguments | null | closed | 2026-05-20T05:57:38 | https://api.github.com/repos/huggingface/datasets/issues/8211/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8211",
"html_url": "https://github.com/huggingface/datasets/pull/8211",
"diff_url": "https://github.com/huggingface/datasets/pull/8211.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8211.patch",
"merged_at": null
} | true | Fix duplicate keyword arguments
| [] |
https://api.github.com/repos/huggingface/datasets/issues/8210 | 8,210 | Fix parquet columns arg | Fix the error message "The columns and features argument must contain the same columns, but got.." when passing `columns=` to load_dataset on a streaming parquet dataset (with features declared in the README.md)
useful e.g. for https://huggingface.co/datasets/jasperai/monet to load the thumbnails without the embeddi... | closed | 2026-05-19T16:28:28 | https://api.github.com/repos/huggingface/datasets/issues/8210/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8210",
"html_url": "https://github.com/huggingface/datasets/pull/8210",
"diff_url": "https://github.com/huggingface/datasets/pull/8210.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8210.patch",
"merged_at": "2026-05-20T10:32... | true | Fix parquet columns arg
Fix the error message "The columns and features argument must contain the same columns, but got.." when passing `columns=` to load_dataset on a streaming parquet dataset (with features declared in the README.md)
useful e.g. for https://huggingface.co/datasets/jasperai/monet to load the thumbn... | [] |
https://api.github.com/repos/huggingface/datasets/issues/8209 | 8,209 | Preserve float columns when JSON loader uses `field=` | Closes #6937.
When `load_dataset("json", data_files=..., field="data", ...)` is used, columns whose values are all integer-valued floats (`[0.0, 1.0, 2.0]`) get silently coerced to `int64`. Repro:
```python
import tempfile, json
from datasets import load_dataset
with tempfile.NamedTemporaryFile(mode="w", suffix=".js... | open | 2026-05-18T21:51:34 | https://api.github.com/repos/huggingface/datasets/issues/8209/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8209",
"html_url": "https://github.com/huggingface/datasets/pull/8209",
"diff_url": "https://github.com/huggingface/datasets/pull/8209.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8209.patch",
"merged_at": null
} | true | Preserve float columns when JSON loader uses `field=`
Closes #6937.
When `load_dataset("json", data_files=..., field="data", ...)` is used, columns whose values are all integer-valued floats (`[0.0, 1.0, 2.0]`) get silently coerced to `int64`. Repro:
```python
import tempfile, json
from datasets import load_dataset
... | [] |
https://api.github.com/repos/huggingface/datasets/issues/8208 | 8,208 | update readme | null | closed | 2026-05-18T17:32:31 | https://api.github.com/repos/huggingface/datasets/issues/8208/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8208",
"html_url": "https://github.com/huggingface/datasets/pull/8208",
"diff_url": "https://github.com/huggingface/datasets/pull/8208.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8208.patch",
"merged_at": "2026-05-20T10:32... | true | update readme
| [] |
https://api.github.com/repos/huggingface/datasets/issues/8207 | 8,207 | fix docs: use AutoImageProcessor for vision model examples | swaps AutoFeatureExtractor for AutoImageProcessor in the image preprocessing section of use_dataset.mdx — aligns with the transformers library direction where vision feature extractor references were already replaced in their own docs (see PRs #20111 and #20501). audio section is untouched since AutoFeatureExtractor is... | open | 2026-05-18T13:03:41 | https://api.github.com/repos/huggingface/datasets/issues/8207/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8207",
"html_url": "https://github.com/huggingface/datasets/pull/8207",
"diff_url": "https://github.com/huggingface/datasets/pull/8207.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8207.patch",
"merged_at": null
} | true | fix docs: use AutoImageProcessor for vision model examples
swaps AutoFeatureExtractor for AutoImageProcessor in the image preprocessing section of use_dataset.mdx — aligns with the transformers library direction where vision feature extractor references were already replaced in their own docs (see PRs #20111 and #20501... | [] |
https://api.github.com/repos/huggingface/datasets/issues/8206 | 8,206 | Fix duplicate keyword arguments | ## Summary
This PR fixes a duplicate keyword argument collision in `load_dataset_builder()` when the same parameter is passed through both `builder_kwargs` and `config_kwargs`.
Previously, calling `load_dataset()` or `load_dataset_builder()` with arguments such as `base_path` could raise:
```python
TypeError:... | closed | 2026-05-17T14:53:18 | https://api.github.com/repos/huggingface/datasets/issues/8206/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8206",
"html_url": "https://github.com/huggingface/datasets/pull/8206",
"diff_url": "https://github.com/huggingface/datasets/pull/8206.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8206.patch",
"merged_at": null
} | true | Fix duplicate keyword arguments
## Summary
This PR fixes a duplicate keyword argument collision in `load_dataset_builder()` when the same parameter is passed through both `builder_kwargs` and `config_kwargs`.
Previously, calling `load_dataset()` or `load_dataset_builder()` with arguments such as `base_path` could... | [] |
https://api.github.com/repos/huggingface/datasets/issues/8205 | 8,205 | fix: pass token_per_repo_id to embed_table_storage when pushing shards | ## Summary
- Fixes #6348
- When `push_to_hub` is called with a `token`, the per-repo token map (`token_per_repo_id`) is built correctly earlier in the function — but it was never forwarded to `embed_table_storage` during the shard-map step.
- This caused a one-line fix: wrap `embed_table_storage` with `functools.parti... | closed | 2026-05-16T15:12:27 | https://api.github.com/repos/huggingface/datasets/issues/8205/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8205",
"html_url": "https://github.com/huggingface/datasets/pull/8205",
"diff_url": "https://github.com/huggingface/datasets/pull/8205.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8205.patch",
"merged_at": null
} | true | fix: pass token_per_repo_id to embed_table_storage when pushing shards
## Summary
- Fixes #6348
- When `push_to_hub` is called with a `token`, the per-repo token map (`token_per_repo_id`) is built correctly earlier in the function — but it was never forwarded to `embed_table_storage` during the shard-map step.
- This ... | [] |
https://api.github.com/repos/huggingface/datasets/issues/8204 | 8,204 | Please enable Private Vulnerability Reporting | Hi datasets team,
I have a security finding in datasets that I would like to disclose privately. GitHub Private Vulnerability Reporting is currently disabled on this repo.
Could you turn it on? It's at Settings > Security > Code security and analysis > Private vulnerability reporting. Once enabled I will file the ful... | open | 2026-05-16T13:28:01 | https://api.github.com/repos/huggingface/datasets/issues/8204/comments | null | false | Please enable Private Vulnerability Reporting
Hi datasets team,
I have a security finding in datasets that I would like to disclose privately. GitHub Private Vulnerability Reporting is currently disabled on this repo.
Could you turn it on? It's at Settings > Security > Code security and analysis > Private vulnerabili... | [] |
https://api.github.com/repos/huggingface/datasets/issues/8203 | 8,203 | fix(webdataset): when loading data in WebDataset format using load_datasets during multi-matchines training. | ## Description
Fixes #8201
**The Bug:**
During distributed training with `streaming=True`, if a user provides fewer `.tar` files than the number of distributed ranks, some ranks receive an empty list of files. This caused an `IndexError: list index out of range` in `webdataset.py` because the code assumed `tar_pa... | open | 2026-05-16T06:41:37 | https://api.github.com/repos/huggingface/datasets/issues/8203/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8203",
"html_url": "https://github.com/huggingface/datasets/pull/8203",
"diff_url": "https://github.com/huggingface/datasets/pull/8203.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8203.patch",
"merged_at": null
} | true | fix(webdataset): when loading data in WebDataset format using load_datasets during multi-matchines training.
## Description
Fixes #8201
**The Bug:**
During distributed training with `streaming=True`, if a user provides fewer `.tar` files than the number of distributed ranks, some ranks receive an empty list of fi... | [] |
https://api.github.com/repos/huggingface/datasets/issues/8202 | 8,202 | fix pathlib.Path support in save_to_disk and load_from_disk | `url_to_fs` from fsspec only accepts strings, but `save_to_disk` and `load_from_disk` in `arrow_dataset.py`, `dataset_dict.py`, and `load.py` pass the user-supplied path directly without converting it, causing a crash when a `pathlib.Path` is provided. Added `str()` conversion at each `url_to_fs` call site so all path-... | open | 2026-05-16T01:03:23 | https://api.github.com/repos/huggingface/datasets/issues/8202/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8202",
"html_url": "https://github.com/huggingface/datasets/pull/8202",
"diff_url": "https://github.com/huggingface/datasets/pull/8202.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8202.patch",
"merged_at": null
} | true | fix pathlib.Path support in save_to_disk and load_from_disk
`url_to_fs` from fsspec only accepts strings, but `save_to_disk` and `load_from_disk` in `arrow_dataset.py`, `dataset_dict.py`, and `load.py` pass the user-supplied path directly without converting it, causing a crash when a `pathlib.Path` is provided. Added `... | [] |
https://api.github.com/repos/huggingface/datasets/issues/8201 | 8,201 | Encountered an error when loading data in WebDataset format using `load_datasets` during multi-matchines training. | ### Describe the bug
Single-machine training works fine, but multi-machine training throws up all sorts of weird bugs. Help me!
### Steps to reproduce the bug
train_dataset = load_dataset(
"webdataset", data_files=args.train_dataset, split="train", streaming=True,cache_dir='/dev/shm/.cache'
)
args.train... | open | 2026-05-15T19:21:24 | https://api.github.com/repos/huggingface/datasets/issues/8201/comments | null | false | Encountered an error when loading data in WebDataset format using `load_datasets` during multi-matchines training.
### Describe the bug
Single-machine training works fine, but multi-machine training throws up all sorts of weird bugs. Help me!
### Steps to reproduce the bug
train_dataset = load_dataset(
"webd... | [] |
https://api.github.com/repos/huggingface/datasets/issues/8200 | 8,200 | replace AutoFeatureExtractor with AutoImageProcessor in docs | Closes #8199
## What does this PR do?
Replaces `AutoFeatureExtractor` with `AutoImageProcessor` in the image augmentation example in `docs/source/use_dataset.mdx`. For vision models, `AutoImageProcessor` is the recommended API and better reflects current `transformers` conventions.
This is consistent with the ... | open | 2026-05-15T17:45:15 | https://api.github.com/repos/huggingface/datasets/issues/8200/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8200",
"html_url": "https://github.com/huggingface/datasets/pull/8200",
"diff_url": "https://github.com/huggingface/datasets/pull/8200.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8200.patch",
"merged_at": null
} | true | replace AutoFeatureExtractor with AutoImageProcessor in docs
Closes #8199
## What does this PR do?
Replaces `AutoFeatureExtractor` with `AutoImageProcessor` in the image augmentation example in `docs/source/use_dataset.mdx`. For vision models, `AutoImageProcessor` is the recommended API and better reflects curren... | [] |
https://api.github.com/repos/huggingface/datasets/issues/8199 | 8,199 | Replace AutoFeatureExtractor with AutoImageProcessor in image preprocessing docs | ## Summary
The `docs/source/use_dataset.mdx` documentation uses `AutoFeatureExtractor` from `transformers` in its image preprocessing example. For vision models, `AutoImageProcessor` is now the recommended API and better reflects current `transformers` conventions.
## Problem
In the [[Apply data augmentations](https... | open | 2026-05-15T17:34:53 | https://api.github.com/repos/huggingface/datasets/issues/8199/comments | null | false | Replace AutoFeatureExtractor with AutoImageProcessor in image preprocessing docs
## Summary
The `docs/source/use_dataset.mdx` documentation uses `AutoFeatureExtractor` from `transformers` in its image preprocessing example. For vision models, `AutoImageProcessor` is now the recommended API and better reflects current ... | [] |
https://api.github.com/repos/huggingface/datasets/issues/8198 | 8,198 | Fix/type hints list to sequence | Fix #5354 Consider using "Sequence" instead of "List"
In datasets/arrow_writer.py, replaced all the type annotations of List method with Sequence.
Library used and changes made are as follows:
```bash
from collections.abc import Sequence as Sequence_
Before : List(Image())
After : Sequence_(Image())
| open | 2026-05-15T10:06:17 | https://api.github.com/repos/huggingface/datasets/issues/8198/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8198",
"html_url": "https://github.com/huggingface/datasets/pull/8198",
"diff_url": "https://github.com/huggingface/datasets/pull/8198.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8198.patch",
"merged_at": null
} | true | Fix/type hints list to sequence
Fix #5354 Consider using "Sequence" instead of "List"
In datasets/arrow_writer.py, replaced all the type annotations of List method with Sequence.
Library used and changes made are as follows:
```bash
from collections.abc import Sequence as Sequence_
Before : List(Image())
... | [] |
https://api.github.com/repos/huggingface/datasets/issues/8197 | 8,197 | Feature Request / Discussion: Skip origin_metadata fetch when streaming=True? | Hi team!
I've been looking into the initialization process of the `DatasetBuilder` and noticed that the ETag/origin metadata caching path is executed unconditionally.
While fetching the `origin_metadata` and calculating the ETag is necessary for safely managing a local disk cache when using `as_dataset()`, it seems t... | open | 2026-05-15T07:43:57 | https://api.github.com/repos/huggingface/datasets/issues/8197/comments | null | false | Feature Request / Discussion: Skip origin_metadata fetch when streaming=True?
Hi team!
I've been looking into the initialization process of the `DatasetBuilder` and noticed that the ETag/origin metadata caching path is executed unconditionally.
While fetching the `origin_metadata` and calculating the ETag is necessar... | [] |
https://api.github.com/repos/huggingface/datasets/issues/8196 | 8,196 | fix(arrow_dataset): clear stale local temp dir before re-downloading from remote FS | ## What does this PR do?
Fixes #5114 — `Dataset.load_from_disk` raises a `FileNotFoundError` when called **twice** on the same remote-filesystem path within the same Python session.
### Root cause
`Dataset.load_from_disk` uses `fs.download(src, dest, recursive=True)` to copy the remote dataset to a local temp direct... | open | 2026-05-14T11:33:11 | https://api.github.com/repos/huggingface/datasets/issues/8196/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8196",
"html_url": "https://github.com/huggingface/datasets/pull/8196",
"diff_url": "https://github.com/huggingface/datasets/pull/8196.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8196.patch",
"merged_at": null
} | true | fix(arrow_dataset): clear stale local temp dir before re-downloading from remote FS
## What does this PR do?
Fixes #5114 — `Dataset.load_from_disk` raises a `FileNotFoundError` when called **twice** on the same remote-filesystem path within the same Python session.
### Root cause
`Dataset.load_from_disk` uses `fs.do... | [] |
https://api.github.com/repos/huggingface/datasets/issues/8195 | 8,195 | Fix spurious label column when folder builders see split-named directories | Closes #7880.
## What
`folder_based_builder._split_generators` allocates a single `labels: set[str]` outside the per-split loop and `analyze(...)` mutates it across every split. When the user passes:
```python
load_dataset("audiofolder", data_files={"train": "train/**", "test": "test/**"})
```
and the actual files ... | open | 2026-05-12T10:45:35 | https://api.github.com/repos/huggingface/datasets/issues/8195/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8195",
"html_url": "https://github.com/huggingface/datasets/pull/8195",
"diff_url": "https://github.com/huggingface/datasets/pull/8195.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8195.patch",
"merged_at": null
} | true | Fix spurious label column when folder builders see split-named directories
Closes #7880.
## What
`folder_based_builder._split_generators` allocates a single `labels: set[str]` outside the per-split loop and `analyze(...)` mutates it across every split. When the user passes:
```python
load_dataset("audiofolder", data... | [] |
https://api.github.com/repos/huggingface/datasets/issues/8194 | 8,194 | Use multiple input shards for shuffle buffer | ```python
ds = load_dataset(..., streaming=True)
ds = ds.shuffle(seed=42)
# or configure local buffer shuffling manually, default is:
ds = ds.shuffle(seed=42, buffer_size=1000, max_buffer_input_shards=10)
```
before👎:
<img width="1061" height="529" alt="image" src="https://github.com/user-attachments/assets/d... | closed | 2026-05-11T15:04:57 | https://api.github.com/repos/huggingface/datasets/issues/8194/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8194",
"html_url": "https://github.com/huggingface/datasets/pull/8194",
"diff_url": "https://github.com/huggingface/datasets/pull/8194.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8194.patch",
"merged_at": "2026-05-18T13:59... | true | Use multiple input shards for shuffle buffer
```python
ds = load_dataset(..., streaming=True)
ds = ds.shuffle(seed=42)
# or configure local buffer shuffling manually, default is:
ds = ds.shuffle(seed=42, buffer_size=1000, max_buffer_input_shards=10)
```
before👎:
<img width="1061" height="529" alt="image" src=... | [] |
https://api.github.com/repos/huggingface/datasets/issues/8193 | 8,193 | fix parquet reshard | .reshard() would not do anything and return the same iterable dataset for parquet, now it returns the resharded iterable dataset - sharded per row group instead of per file | closed | 2026-05-11T15:02:26 | https://api.github.com/repos/huggingface/datasets/issues/8193/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8193",
"html_url": "https://github.com/huggingface/datasets/pull/8193",
"diff_url": "https://github.com/huggingface/datasets/pull/8193.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8193.patch",
"merged_at": "2026-05-12T09:44... | true | fix parquet reshard
.reshard() would not do anything and return the same iterable dataset for parquet, now it returns the resharded iterable dataset - sharded per row group instead of per file | [] |
https://api.github.com/repos/huggingface/datasets/issues/8192 | 8,192 | Escape glob chars in `base_path` so directory paths with `[]` work (#7468) | Fixes #7468.
## Summary
`load_dataset(..., data_dir="/path/[D_DATA]/foo")` — or any path with `[`, `]`, `*`, `?` in the literal directory name — failed: `fs.glob` interpreted the bracketed segment as a glob character class, walked a much larger tree (often the whole disk on Windows) and returned no files. Users saw a... | open | 2026-05-10T12:01:55 | https://api.github.com/repos/huggingface/datasets/issues/8192/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8192",
"html_url": "https://github.com/huggingface/datasets/pull/8192",
"diff_url": "https://github.com/huggingface/datasets/pull/8192.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8192.patch",
"merged_at": null
} | true | Escape glob chars in `base_path` so directory paths with `[]` work (#7468)
Fixes #7468.
## Summary
`load_dataset(..., data_dir="/path/[D_DATA]/foo")` — or any path with `[`, `]`, `*`, `?` in the literal directory name — failed: `fs.glob` interpreted the bracketed segment as a glob character class, walked a much large... | [] |
https://api.github.com/repos/huggingface/datasets/issues/8191 | 8,191 | Preserve `info.features` across `IterableDataset.map(remove_columns=...)` (#7568) | Fixes #7568.
## Summary
`IterableDataset.map(remove_columns=[...])` (without an explicit `features=` and without a user-provided `function`) overwrites `info.features` with `None`, so `IterableDataset.column_names` (which reads `info.features.keys()`) silently becomes `None`. The same regression bubbles up through `I... | open | 2026-05-10T11:58:54 | https://api.github.com/repos/huggingface/datasets/issues/8191/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8191",
"html_url": "https://github.com/huggingface/datasets/pull/8191",
"diff_url": "https://github.com/huggingface/datasets/pull/8191.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8191.patch",
"merged_at": null
} | true | Preserve `info.features` across `IterableDataset.map(remove_columns=...)` (#7568)
Fixes #7568.
## Summary
`IterableDataset.map(remove_columns=[...])` (without an explicit `features=` and without a user-provided `function`) overwrites `info.features` with `None`, so `IterableDataset.column_names` (which reads `info.fe... | [] |
https://api.github.com/repos/huggingface/datasets/issues/8190 | 8,190 | Reject `num_shards > len(dataset)` in `Dataset.shard` (#7443) | Fixes #7443.
## Summary
`Dataset.shard(num_shards=N, index=i)` with `N > len(dataset)`:
- silently produced empty shards (`contiguous=True`)
- crashed with `IndexError: Index ... out of range for dataset of size ...` deep in `.select` (`contiguous=False`)
`push_to_hub` / `save_to_disk` then surfaced this confusing I... | open | 2026-05-10T11:54:07 | https://api.github.com/repos/huggingface/datasets/issues/8190/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8190",
"html_url": "https://github.com/huggingface/datasets/pull/8190",
"diff_url": "https://github.com/huggingface/datasets/pull/8190.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8190.patch",
"merged_at": null
} | true | Reject `num_shards > len(dataset)` in `Dataset.shard` (#7443)
Fixes #7443.
## Summary
`Dataset.shard(num_shards=N, index=i)` with `N > len(dataset)`:
- silently produced empty shards (`contiguous=True`)
- crashed with `IndexError: Index ... out of range for dataset of size ...` deep in `.select` (`contiguous=False`)
... | [] |
https://api.github.com/repos/huggingface/datasets/issues/8189 | 8,189 | docs: clarify `num_proc` semantics in `Dataset.batch` / `Dataset.filter` (#7700) | Fixes #7700.
## Summary
`Dataset.batch.num_proc` and `Dataset.filter.num_proc` had a one-liner docstring (\"Max number of processes when generating cache. Already cached shards are loaded sequentially.\") that left readers wondering whether `None` means "no multiprocessing" or "pick a number".
Both methods simply de... | open | 2026-05-10T09:14:55 | https://api.github.com/repos/huggingface/datasets/issues/8189/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8189",
"html_url": "https://github.com/huggingface/datasets/pull/8189",
"diff_url": "https://github.com/huggingface/datasets/pull/8189.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8189.patch",
"merged_at": null
} | true | docs: clarify `num_proc` semantics in `Dataset.batch` / `Dataset.filter` (#7700)
Fixes #7700.
## Summary
`Dataset.batch.num_proc` and `Dataset.filter.num_proc` had a one-liner docstring (\"Max number of processes when generating cache. Already cached shards are loaded sequentially.\") that left readers wondering whet... | [] |
https://api.github.com/repos/huggingface/datasets/issues/8188 | 8,188 | Don't infer labels from split-named directories in folder-based builders (#7880) | Fixes #7880.
## Summary
When an `audiofolder`/`imagefolder`/`videofolder` dataset is laid out as
```
folder/train/file0.mp3
folder/test/file1.mp3
```
with no class subdirectories, label inference accumulates the parent directory of each file across **all splits**, ends up with `labels = {\"train\", \"test\"}`, sees... | open | 2026-05-10T09:12:22 | https://api.github.com/repos/huggingface/datasets/issues/8188/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8188",
"html_url": "https://github.com/huggingface/datasets/pull/8188",
"diff_url": "https://github.com/huggingface/datasets/pull/8188.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8188.patch",
"merged_at": null
} | true | Don't infer labels from split-named directories in folder-based builders (#7880)
Fixes #7880.
## Summary
When an `audiofolder`/`imagefolder`/`videofolder` dataset is laid out as
```
folder/train/file0.mp3
folder/test/file1.mp3
```
with no class subdirectories, label inference accumulates the parent directory of eac... | [] |
https://api.github.com/repos/huggingface/datasets/issues/8187 | 8,187 | Better error for sliced splits in streaming mode (`train[:10%]`, `train[:N]`) (#7721) | Fixes #7721.
## Summary
```python
load_dataset("user/dataset", split="train[0%:10%]", streaming=True)
```
raised the generic
```
ValueError: Bad split: train[0%:10%]. Available splits: ['train']
```
which makes it look like the slice syntax is malformed. The actual reason is that streaming mode doesn't know the da... | open | 2026-05-10T09:07:20 | https://api.github.com/repos/huggingface/datasets/issues/8187/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8187",
"html_url": "https://github.com/huggingface/datasets/pull/8187",
"diff_url": "https://github.com/huggingface/datasets/pull/8187.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8187.patch",
"merged_at": null
} | true | Better error for sliced splits in streaming mode (`train[:10%]`, `train[:N]`) (#7721)
Fixes #7721.
## Summary
```python
load_dataset("user/dataset", split="train[0%:10%]", streaming=True)
```
raised the generic
```
ValueError: Bad split: train[0%:10%]. Available splits: ['train']
```
which makes it look like the s... | [] |
https://api.github.com/repos/huggingface/datasets/issues/8186 | 8,186 | docs: fix broken WebDataset documentation link in audio/video/image dataset pages (#7699) | Fixes #7699.
## Summary
The link to the WebDataset documentation in the audio, video and image dataset docs pages points to `https://webdataset.github.io/webdataset`, which returns **HTTP 404**.
The WebDataset library now lives at `https://github.com/webdataset/webdataset`, which is the canonical documentation entry... | open | 2026-05-10T09:02:54 | https://api.github.com/repos/huggingface/datasets/issues/8186/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8186",
"html_url": "https://github.com/huggingface/datasets/pull/8186",
"diff_url": "https://github.com/huggingface/datasets/pull/8186.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8186.patch",
"merged_at": null
} | true | docs: fix broken WebDataset documentation link in audio/video/image dataset pages (#7699)
Fixes #7699.
## Summary
The link to the WebDataset documentation in the audio, video and image dataset docs pages points to `https://webdataset.github.io/webdataset`, which returns **HTTP 404**.
The WebDataset library now lives... | [] |
https://api.github.com/repos/huggingface/datasets/issues/8185 | 8,185 | docs: make `Dataset.map` batched example self-contained (#7703) | Fixes #7703.
## Summary
The batched-map example in `Dataset.map`, `DatasetDict.map` and `docs/README.md` referenced `tokenizer` without defining or importing it:
```python
>>> ds = ds.map(lambda example: tokenizer(example["text"]), batched=True)
```
Users copy-pasting the snippet hit `NameError: name 'tokenizer' is... | open | 2026-05-10T09:01:43 | https://api.github.com/repos/huggingface/datasets/issues/8185/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8185",
"html_url": "https://github.com/huggingface/datasets/pull/8185",
"diff_url": "https://github.com/huggingface/datasets/pull/8185.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8185.patch",
"merged_at": null
} | true | docs: make `Dataset.map` batched example self-contained (#7703)
Fixes #7703.
## Summary
The batched-map example in `Dataset.map`, `DatasetDict.map` and `docs/README.md` referenced `tokenizer` without defining or importing it:
```python
>>> ds = ds.map(lambda example: tokenizer(example["text"]), batched=True)
```
Us... | [] |
https://api.github.com/repos/huggingface/datasets/issues/8184 | 8,184 | Preserve triple-slash in remote URLs (HDFS, file://, ...) in `_as_str` (#7934) | Fixes #7934.
## Summary
`_as_str` routed every non-`xPath` argument — including raw strings — through `xPath(str(path))`, which inherits from `pathlib.PurePosixPath`. PurePosixPath collapses runs of slashes:
```python
>>> str(PurePosixPath("hdfs:///user/path/data.parquet"))
'hdfs:/user/path/data.parquet'
```
`xPath... | open | 2026-05-10T08:59:29 | https://api.github.com/repos/huggingface/datasets/issues/8184/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8184",
"html_url": "https://github.com/huggingface/datasets/pull/8184",
"diff_url": "https://github.com/huggingface/datasets/pull/8184.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8184.patch",
"merged_at": null
} | true | Preserve triple-slash in remote URLs (HDFS, file://, ...) in `_as_str` (#7934)
Fixes #7934.
## Summary
`_as_str` routed every non-`xPath` argument — including raw strings — through `xPath(str(path))`, which inherits from `pathlib.PurePosixPath`. PurePosixPath collapses runs of slashes:
```python
>>> str(PurePosixPat... | [] |
https://api.github.com/repos/huggingface/datasets/issues/8183 | 8,183 | Add dtype="list" to List / Sequence / LargeList features (#8002) | Fixes #8002.
## Summary
Most feature types expose a descriptive `dtype` string:
- `Value("int64").dtype == "int64"`
- `ClassLabel(...).dtype == "int64"`
- `Array2D(...).dtype == "<element-dtype>"`
- `Image().dtype == "PIL.Image.Image"`
- `Audio().dtype == "dict"`
But `List`, `LargeList` and `Sequence(non-dict)` (wh... | open | 2026-05-10T08:53:40 | https://api.github.com/repos/huggingface/datasets/issues/8183/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8183",
"html_url": "https://github.com/huggingface/datasets/pull/8183",
"diff_url": "https://github.com/huggingface/datasets/pull/8183.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8183.patch",
"merged_at": null
} | true | Add dtype="list" to List / Sequence / LargeList features (#8002)
Fixes #8002.
## Summary
Most feature types expose a descriptive `dtype` string:
- `Value("int64").dtype == "int64"`
- `ClassLabel(...).dtype == "int64"`
- `Array2D(...).dtype == "<element-dtype>"`
- `Image().dtype == "PIL.Image.Image"`
- `Audio().dtype... | [] |
https://api.github.com/repos/huggingface/datasets/issues/8182 | 8,182 | Fix Dataset.map crash when first examples return None and later return dict (#7990) | Fixes #7990.
## Summary
`Dataset.map` crashed with `AttributeError: 'NoneType' object has no attribute 'write'` when the user's map function returned `None` for the first few examples and a `dict` (or `pa.Table` / DataFrame) for later ones.
The writer was initialized only when `i == 0` (or `i[0] == 0` in batched mod... | open | 2026-05-10T08:46:55 | https://api.github.com/repos/huggingface/datasets/issues/8182/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8182",
"html_url": "https://github.com/huggingface/datasets/pull/8182",
"diff_url": "https://github.com/huggingface/datasets/pull/8182.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8182.patch",
"merged_at": null
} | true | Fix Dataset.map crash when first examples return None and later return dict (#7990)
Fixes #7990.
## Summary
`Dataset.map` crashed with `AttributeError: 'NoneType' object has no attribute 'write'` when the user's map function returned `None` for the first few examples and a `dict` (or `pa.Table` / DataFrame) for later... | [] |
https://api.github.com/repos/huggingface/datasets/issues/8178 | 8,178 | The full dataset viewer is not available (click to read why). Only showing a preview of the rows. Job manager crashed while running this job (missing heartbeats). Error code: JobManagerCrashedError | ### Describe the bug
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
Job manager crashed while running this job (missing heartbeats).
Error code: JobManagerCrashedError
see: https://huggingface.co/datasets/Genius-Society/tt100k/viewer
### Steps to reproduce the bug... | open | 2026-05-07T08:33:48 | https://api.github.com/repos/huggingface/datasets/issues/8178/comments | null | false | The full dataset viewer is not available (click to read why). Only showing a preview of the rows. Job manager crashed while running this job (missing heartbeats). Error code: JobManagerCrashedError
### Describe the bug
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
... | [] |
https://api.github.com/repos/huggingface/datasets/issues/8177 | 8,177 | Nightly OSS: Bug loading `sentence-transformers/parallel-sentences` | Automated nightly Codex contribution for https://github.com/huggingface/datasets/issues/5081.
Verification:
- See the uploaded nightly artifacts for the Codex final report.
- See this workflow run for exact commands and logs.
This PR is generated by xodn348/oss-nightly-control and is opened ready for maintainer revie... | open | 2026-05-07T08:04:50 | https://api.github.com/repos/huggingface/datasets/issues/8177/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8177",
"html_url": "https://github.com/huggingface/datasets/pull/8177",
"diff_url": "https://github.com/huggingface/datasets/pull/8177.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8177.patch",
"merged_at": null
} | true | Nightly OSS: Bug loading `sentence-transformers/parallel-sentences`
Automated nightly Codex contribution for https://github.com/huggingface/datasets/issues/5081.
Verification:
- See the uploaded nightly artifacts for the Codex final report.
- See this workflow run for exact commands and logs.
This PR is generated by ... | [] |
https://api.github.com/repos/huggingface/datasets/issues/8176 | 8,176 | Fix Parquet streaming hangs at the end of script | the fix is applied for pyarrow<=24 for now since it involves a gc.collect() call that won't be needed as a fix is being added in arrow
fix https://github.com/huggingface/datasets/issues/8169
fix https://github.com/huggingface/datasets/issues/7467 | closed | 2026-05-06T14:38:47 | https://api.github.com/repos/huggingface/datasets/issues/8176/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8176",
"html_url": "https://github.com/huggingface/datasets/pull/8176",
"diff_url": "https://github.com/huggingface/datasets/pull/8176.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8176.patch",
"merged_at": "2026-05-06T16:06... | true | Fix Parquet streaming hangs at the end of script
the fix is applied for pyarrow<=24 for now since it involves a gc.collect() call that won't be needed as a fix is being added in arrow
fix https://github.com/huggingface/datasets/issues/8169
fix https://github.com/huggingface/datasets/issues/7467 | [] |
https://api.github.com/repos/huggingface/datasets/issues/8175 | 8,175 | Support fsspec 2026.4.0 | add a fix for https://github.com/fsspec/filesystem_spec/pull/2012 | closed | 2026-05-06T12:23:52 | https://api.github.com/repos/huggingface/datasets/issues/8175/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8175",
"html_url": "https://github.com/huggingface/datasets/pull/8175",
"diff_url": "https://github.com/huggingface/datasets/pull/8175.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8175.patch",
"merged_at": "2026-05-06T12:39... | true | Support fsspec 2026.4.0
add a fix for https://github.com/fsspec/filesystem_spec/pull/2012 | [] |
https://api.github.com/repos/huggingface/datasets/issues/8174 | 8,174 | feat: add `on_error` to Image/Audio/Video features and IterableDatase… | …t.decode()
Adds a new `on_error` parameter that controls how decoding failures are handled. This addresses the long-standing problem where a single corrupted sample in a streaming dataset (bad EXIF, truncated bytes, unidentified format, ...) raises an exception inside the generator frame and silently kills the enti... | open | 2026-05-06T07:29:30 | https://api.github.com/repos/huggingface/datasets/issues/8174/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8174",
"html_url": "https://github.com/huggingface/datasets/pull/8174",
"diff_url": "https://github.com/huggingface/datasets/pull/8174.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8174.patch",
"merged_at": null
} | true | feat: add `on_error` to Image/Audio/Video features and IterableDatase…
…t.decode()
Adds a new `on_error` parameter that controls how decoding failures are handled. This addresses the long-standing problem where a single corrupted sample in a streaming dataset (bad EXIF, truncated bytes, unidentified format, ...) rai... | [] |
https://api.github.com/repos/huggingface/datasets/issues/8173 | 8,173 | fix(image): guard exif_transpose against corrupted EXIF rational tags | ## Summary
When an `IterableDataset` contains images with corrupted EXIF metadata (e.g. a TIFF rational tag whose denominator is zero), `PIL.ImageOps.exif_transpose` raises `ZeroDivisionError` inside `Image.decode_example`. Because this exception escapes the internal generator frame, the streaming iterator dies immedi... | open | 2026-05-05T05:16:04 | https://api.github.com/repos/huggingface/datasets/issues/8173/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8173",
"html_url": "https://github.com/huggingface/datasets/pull/8173",
"diff_url": "https://github.com/huggingface/datasets/pull/8173.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8173.patch",
"merged_at": null
} | true | fix(image): guard exif_transpose against corrupted EXIF rational tags
## Summary
When an `IterableDataset` contains images with corrupted EXIF metadata (e.g. a TIFF rational tag whose denominator is zero), `PIL.ImageOps.exif_transpose` raises `ZeroDivisionError` inside `Image.decode_example`. Because this exception es... | [] |
https://api.github.com/repos/huggingface/datasets/issues/8172 | 8,172 | Add batch(by_column=...) | Will be useful for robotics dataset to batch samples by episode cc @pkooij
example of usage:
```python
from datasets import Dataset
ds = Dataset.from_dict({"episode": [0] * 10 + [1] * 10, "frame": list(range(10)) * 2})
# ds = ds.to_iterable_dataset()
ds = ds.batch(by_column="episode")
for x in ds:
pr... | closed | 2026-05-04T18:49:33 | https://api.github.com/repos/huggingface/datasets/issues/8172/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8172",
"html_url": "https://github.com/huggingface/datasets/pull/8172",
"diff_url": "https://github.com/huggingface/datasets/pull/8172.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8172.patch",
"merged_at": "2026-05-09T13:16... | true | Add batch(by_column=...)
Will be useful for robotics dataset to batch samples by episode cc @pkooij
example of usage:
```python
from datasets import Dataset
ds = Dataset.from_dict({"episode": [0] * 10 + [1] * 10, "frame": list(range(10)) * 2})
# ds = ds.to_iterable_dataset()
ds = ds.batch(by_column="episod... | [] |
https://api.github.com/repos/huggingface/datasets/issues/8171 | 8,171 | Dataset UI shows 0:00/0:00 for audio after push_to_hub | I’m seeing an issue where audio previews in the dataset viewer show `0:00/0:00` after uploading with push_to_hub.
## What I did
I tried to avoid `torchcodec` because I want to keep the packages small using the following code:
```python
import io
import os
import shutil
import tempfile
from pathlib import Path
imp... | closed | 2026-05-04T13:17:25 | https://api.github.com/repos/huggingface/datasets/issues/8171/comments | null | false | Dataset UI shows 0:00/0:00 for audio after push_to_hub
I’m seeing an issue where audio previews in the dataset viewer show `0:00/0:00` after uploading with push_to_hub.
## What I did
I tried to avoid `torchcodec` because I want to keep the packages small using the following code:
```python
import io
import os
impo... | [] |
https://api.github.com/repos/huggingface/datasets/issues/8170 | 8,170 | fix(map): fix progress bar exceeding total when load_from_cache_file=False | ## Summary
When `load_from_cache_file=False`, the progress bar in `Dataset.map()` displayed a count that exceeded the dataset size (e.g. "800 examples" for a 400-row dataset).
The bug: `pbar_initial` was computed using `len(existing_cache_files)`, which counts cache files on disk regardless of whether they would... | closed | 2026-05-03T14:49:46 | https://api.github.com/repos/huggingface/datasets/issues/8170/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/8170",
"html_url": "https://github.com/huggingface/datasets/pull/8170",
"diff_url": "https://github.com/huggingface/datasets/pull/8170.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/8170.patch",
"merged_at": "2026-05-29T10:59... | true | fix(map): fix progress bar exceeding total when load_from_cache_file=False
## Summary
When `load_from_cache_file=False`, the progress bar in `Dataset.map()` displayed a count that exceeded the dataset size (e.g. "800 examples" for a 400-row dataset).
The bug: `pbar_initial` was computed using `len(existing_cache... | [] |
https://api.github.com/repos/huggingface/datasets/issues/8169 | 8,169 | Streaming dataset hangs consistently | ### Describe the bug
When loading a dataset with `streaming=True`, some background process prevents the script from ever returning (or at least for a very long time).
This did not happen with `huggingface-hub < 1`.
### Steps to reproduce the bug
from datasets import load_dataset
ds = load_dataset("IRIIS-RESEARCH/N... | closed | 2026-05-01T20:27:58 | https://api.github.com/repos/huggingface/datasets/issues/8169/comments | null | false | Streaming dataset hangs consistently
### Describe the bug
When loading a dataset with `streaming=True`, some background process prevents the script from ever returning (or at least for a very long time).
This did not happen with `huggingface-hub < 1`.
### Steps to reproduce the bug
from datasets import load_dataset... | [] |
GitHub Issues Dataset (huggingface/datasets)
Dataset Description
This dataset contains GitHub issues and pull requests from the huggingface/datasets repository. It was created using the GitHub REST API and processed into a machine-learning-friendly format using the Hugging Face datasets library.
Each record represents either:
- a GitHub issue, or
- a pull request (which GitHub treats as a special type of issue)
The dataset includes cleaned metadata fields and derived features to support NLP and machine learning tasks such as classification, summarisation, and exploratory analysis.
Dataset Summary
- Source: GitHub REST API (
huggingface/datasetsrepository) - Format: JSONL
- Total samples: ~8,000 (issues + pull requests combined)
- Language: English
- Created using: Python, Hugging Face
datasets, GitHub API
Dataset Fields
Each entry contains the following fields:
url: Direct GitHub URL to the issue or pull requestnumber: Issue or PR numbertitle: Title of the issuebody: Full text content of the issuestate: Issue state (openorclosed)created_at: Creation timestampcomments_url: API URL for commentspull_request: If present, indicates the issue is a pull request (otherwisenull)is_pull_request: Derived boolean flag (trueif pull request, elsefalse)text: Combined field oftitle + bodyfor NLP tasks
Data Processing Pipeline
The dataset was built using the following steps:
- Extracted issues using GitHub REST API
- Saved raw responses into JSONL format
- Cleaned nested and inconsistent fields
- Removed problematic timestamp/nested structures when necessary
- Created derived features:
is_pull_requesttext(concatenated title and body)
- Loaded using Hugging Face
datasets.load_dataset
Intended Uses
This dataset is suitable for:
- Issue vs pull request classification
- NLP text classification tasks
- Summarisation of GitHub issues
- Repository analytics and insights
- Learning and experimenting with Hugging Face datasets
Limitations
- Contains data from only one repository (
huggingface/datasets) - Includes both issues and pull requests (must be filtered if not needed)
- Subject to GitHub API rate limits during data collection
- Text quality varies depending on user input in issues
- Not representative of all GitHub repositories
Ethical Considerations
- All data is publicly available on GitHub
- No private or sensitive user data is included beyond public usernames and contributions
- This dataset should not be used for profiling individual developers
- This project is done with the following in mind
- Australian Privacy Act 1988 (Cyber + Data Protection) https://www.oaic.gov.au/privacy/the-privacy-act
- ISO/IEC 27001 https://www.iso.org/isoiec-27001-information-security.html
- ISO/IEC 27002 – Security Controls Guidance https://www.iso.org/standard/75652.html
License
This dataset inherits the license of the original GitHub repository content (MIT License where applicable). Users should verify licensing constraints before commercial use.
Citation
If you use this dataset, please cite:
@dataset{github_issues_hf_datasets,
author = {Jon-Paul Fitzgerald},
title = {GitHub Issues Dataset (huggingface/datasets)},
year = {2026},
url = {https://github.com/huggingface/datasets}
}
@inproceedings{sanh2019distilbert,
title={DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lighter},
author={Sanh, Victor and Debut, Lysandre and Chaumond, Julien and Wolf, Thomas},
year={2019},
url ={https://huggingface.co/docs/transformers/main/en/model_doc/distilbert#transformers.DistilBertForSequenceClassification}
eprint={1910.01108},
archivePrefix={arXiv}
}
- Downloads last month
- 37