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
30
https://api.github.com/repos/huggingface/datasets/issues/7898
7,898
docs: making PyPi to PyPI ensuring no spelling errors
This PR adds a short clarification in the README section wherein PyPI the python package was mistakenly typed as PyPi which i have fixed
open
2025-12-05T10:20:48
https://api.github.com/repos/huggingface/datasets/issues/7898/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7898", "html_url": "https://github.com/huggingface/datasets/pull/7898", "diff_url": "https://github.com/huggingface/datasets/pull/7898.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7898.patch", "merged_at": null }
true
docs: making PyPi to PyPI ensuring no spelling errors This PR adds a short clarification in the README section wherein PyPI the python package was mistakenly typed as PyPi which i have fixed
[ "Hey pls review " ]
https://api.github.com/repos/huggingface/datasets/issues/7897
7,897
Save input shard lengths
will be useful for the Viewer, to know what (original) shard each row belongs to cc @cfahlgren1 next step is use it in Dataset Viewer and expose an API that returns the file containing the row at rowId (took the opportunity to remove unusued code)
closed
2025-12-03T17:56:55
https://api.github.com/repos/huggingface/datasets/issues/7897/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7897", "html_url": "https://github.com/huggingface/datasets/pull/7897", "diff_url": "https://github.com/huggingface/datasets/pull/7897.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7897.patch", "merged_at": "2025-12-05T16:21...
true
Save input shard lengths will be useful for the Viewer, to know what (original) shard each row belongs to cc @cfahlgren1 next step is use it in Dataset Viewer and expose an API that returns the file containing the row at rowId (took the opportunity to remove unusued code)
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7897). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
https://api.github.com/repos/huggingface/datasets/issues/7896
7,896
fix: force contiguous copy for sliced list arrays in embed_array_storage
## Summary Fixes SIGKILL crash in `embed_array_storage` when processing sliced/sharded datasets with nested types like `Sequence(Nifti())` or `Sequence(Image())`. **Root cause**: When `ds.shard()` or `ds.select()` creates a sliced view, `array.values` on a sliced `ListArray` returns values with internal offset refere...
open
2025-12-03T04:34:26
https://api.github.com/repos/huggingface/datasets/issues/7896/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7896", "html_url": "https://github.com/huggingface/datasets/pull/7896", "diff_url": "https://github.com/huggingface/datasets/pull/7896.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7896.patch", "merged_at": null }
true
fix: force contiguous copy for sliced list arrays in embed_array_storage ## Summary Fixes SIGKILL crash in `embed_array_storage` when processing sliced/sharded datasets with nested types like `Sequence(Nifti())` or `Sequence(Image())`. **Root cause**: When `ds.shard()` or `ds.select()` creates a sliced view, `array.v...
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7896). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "Hi @The-Obstacle-Is-The-Way, I haven't had a chance to try your repro at https://github...
https://api.github.com/repos/huggingface/datasets/issues/7895
7,895
fix: use temp files in push_to_hub to prevent OOM on large datasets
## Summary Fixes memory accumulation in `_push_parquet_shards_to_hub_single` that causes OOM when uploading large datasets with many shards. **Root cause**: The current implementation stores ALL parquet shard bytes in memory via `BytesIO`, accumulating in the `additions` list. For N shards of ~300MB each, this requir...
closed
2025-12-03T04:33:55
https://api.github.com/repos/huggingface/datasets/issues/7895/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7895", "html_url": "https://github.com/huggingface/datasets/pull/7895", "diff_url": "https://github.com/huggingface/datasets/pull/7895.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7895.patch", "merged_at": null }
true
fix: use temp files in push_to_hub to prevent OOM on large datasets ## Summary Fixes memory accumulation in `_push_parquet_shards_to_hub_single` that causes OOM when uploading large datasets with many shards. **Root cause**: The current implementation stores ALL parquet shard bytes in memory via `BytesIO`, accumulati...
[ "Closing this PR.\n\nAfter further investigation (prompted by @lhoestq's feedback on #7893), I discovered that `free_memory=True` does work correctly - memory doesn't actually accumulate in the `additions` list as I originally thought.\n\nI tested standard `push_to_hub()` with 902 shards and it processed 625 shards...
https://api.github.com/repos/huggingface/datasets/issues/7894
7,894
embed_table_storage crashes (SIGKILL) on sharded datasets with Sequence() nested types
## Summary `embed_table_storage` crashes with SIGKILL (exit code 137) when processing sharded datasets containing `Sequence()` nested types like `Sequence(Nifti())`. Likely affects `Sequence(Image())` and `Sequence(Audio())` as well. The crash occurs at the C++ level with no Python traceback. ### Related Issues - #...
open
2025-12-03T04:20:06
https://api.github.com/repos/huggingface/datasets/issues/7894/comments
null
false
embed_table_storage crashes (SIGKILL) on sharded datasets with Sequence() nested types ## Summary `embed_table_storage` crashes with SIGKILL (exit code 137) when processing sharded datasets containing `Sequence()` nested types like `Sequence(Nifti())`. Likely affects `Sequence(Image())` and `Sequence(Audio())` as well...
[ "I wasn't able to reproduce the crash on my side (macos arm 54, pyarrow 22 and a nifti file I found [online](https://s3.amazonaws.com/openneuro.org/ds004884/sub-M2001/ses-1076/anat/sub-M2001_ses-1076_acq-tfl3_run-4_T1w.nii.gz?versionId=9aVGb3C.VcoBgxrhNzFnL6O0MvxQsXX7&AWSAccessKeyId=AKIARTA7OOV5WQ3DGSOB&Signature=L...
https://api.github.com/repos/huggingface/datasets/issues/7893
7,893
push_to_hub OOM: _push_parquet_shards_to_hub accumulates all shard bytes in memory
## Summary Large dataset uploads crash or hang due to memory exhaustion. This appears to be the root cause of several long-standing issues. ### Related Issues This is the root cause of: - #5990 - Pushing a large dataset on the hub consistently hangs (46 comments, open since 2023) - #7400 - 504 Gateway Timeout when u...
closed
2025-12-03T04:19:34
https://api.github.com/repos/huggingface/datasets/issues/7893/comments
null
false
push_to_hub OOM: _push_parquet_shards_to_hub accumulates all shard bytes in memory ## Summary Large dataset uploads crash or hang due to memory exhaustion. This appears to be the root cause of several long-standing issues. ### Related Issues This is the root cause of: - #5990 - Pushing a large dataset on the hub con...
[ "`preupload_lfs_files` removes the parquet bytes in `shard_addition` since the default is `free_memory=True`: it doesn't accumulate in memory. Can you check this is indeed the case, i.e. that `shard_addition.path_or_fileobj` is indeed empty ?", "@lhoestq Thank you for pushing back on this and helping me understan...
https://api.github.com/repos/huggingface/datasets/issues/7892
7,892
encode nifti correctly when uploading lazily
When trying to upload nifti datasets lazily I got the error: ```python from pathlib import Path from datasets import load_dataset nifti_dir = Path("<local_path>") dataset = load_dataset( "niftifolder", data_dir=str(nifti_dir.absolute()), streaming=True, ) dataset.push_to_hub(repo...
closed
2025-12-01T16:35:07
https://api.github.com/repos/huggingface/datasets/issues/7892/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7892", "html_url": "https://github.com/huggingface/datasets/pull/7892", "diff_url": "https://github.com/huggingface/datasets/pull/7892.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7892.patch", "merged_at": "2025-12-19T14:13...
true
encode nifti correctly when uploading lazily When trying to upload nifti datasets lazily I got the error: ```python from pathlib import Path from datasets import load_dataset nifti_dir = Path("<local_path>") dataset = load_dataset( "niftifolder", data_dir=str(nifti_dir.absolute()), s...
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7892). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
https://api.github.com/repos/huggingface/datasets/issues/7891
7,891
fix(fingerprint): treat TMPDIR as strict API and fail (Issue #7877)
Fixes #7877 and follows up on feedback from [`#7890`](https://github.com/huggingface/datasets/pull/7890). ## Context In [`#7890`](https://github.com/huggingface/datasets/pull/7890) it was introduced an automatic creation of the `TMPDIR` directory in `_TempCacheDir` so that `datasets` does not silently fall back to `/...
closed
2025-12-01T15:37:57
https://api.github.com/repos/huggingface/datasets/issues/7891/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7891", "html_url": "https://github.com/huggingface/datasets/pull/7891", "diff_url": "https://github.com/huggingface/datasets/pull/7891.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7891.patch", "merged_at": "2025-12-16T14:20...
true
fix(fingerprint): treat TMPDIR as strict API and fail (Issue #7877) Fixes #7877 and follows up on feedback from [`#7890`](https://github.com/huggingface/datasets/pull/7890). ## Context In [`#7890`](https://github.com/huggingface/datasets/pull/7890) it was introduced an automatic creation of the `TMPDIR` directory in ...
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7891). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "> lgtm !\r\n\r\nthanks for taking a look!" ]
https://api.github.com/repos/huggingface/datasets/issues/7890
7,890
Fix: Auto-create TMPDIR directory when it doesn't exist (Issue #7877)
# Fix: Auto-create TMPDIR directory when it doesn't exist Fixes #7877 ## Description This PR fixes issue #7877 by implementing automatic creation of the `TMPDIR` directory when it is set but doesn't exist. Previously, `tempfile.mkdtemp()` would silently ignore `TMPDIR` and fall back to `/tmp` if the specified direct...
closed
2025-11-29T20:35:24
https://api.github.com/repos/huggingface/datasets/issues/7890/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7890", "html_url": "https://github.com/huggingface/datasets/pull/7890", "diff_url": "https://github.com/huggingface/datasets/pull/7890.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7890.patch", "merged_at": null }
true
Fix: Auto-create TMPDIR directory when it doesn't exist (Issue #7877) # Fix: Auto-create TMPDIR directory when it doesn't exist Fixes #7877 ## Description This PR fixes issue #7877 by implementing automatic creation of the `TMPDIR` directory when it is set but doesn't exist. Previously, `tempfile.mkdtemp()` would si...
[ "> Thank you for implementing this, @ada-ggf25\r\n> \r\n> I see there are a few more uses of `tempfile` in `datasets` besides the one treated here - should they be treated in the same way as well?\r\n\r\nI had a look through the other tempfile call sites:\r\n- In `arrow_dataset.py` the code always pass an explicit ...
https://api.github.com/repos/huggingface/datasets/issues/7889
7,889
fix(tests): stabilize flaky Hub LFS integration test
## Problem `test_push_dataset_dict_to_hub_overwrite_files` intermittently fails with: ``` BadRequestError: LFS pointer pointed to a file that does not exist ``` This has been causing the `deps-latest` integration tests to fail on main (visible in recent CI runs). I ran into this while working on the BIDS loader PR an...
open
2025-11-29T17:13:18
https://api.github.com/repos/huggingface/datasets/issues/7889/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7889", "html_url": "https://github.com/huggingface/datasets/pull/7889", "diff_url": "https://github.com/huggingface/datasets/pull/7889.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7889.patch", "merged_at": null }
true
fix(tests): stabilize flaky Hub LFS integration test ## Problem `test_push_dataset_dict_to_hub_overwrite_files` intermittently fails with: ``` BadRequestError: LFS pointer pointed to a file that does not exist ``` This has been causing the `deps-latest` integration tests to fail on main (visible in recent CI runs). I...
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7889). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "Maybe `push_to_hub()` can retry on error 400 when committing to the Hub instead ? This ...
https://api.github.com/repos/huggingface/datasets/issues/7888
7,888
Add type overloads to load_dataset for better static type inference
Fixes #7883 This PR adds @overload decorators to load_dataset() to help type checkers like Pylance and mypy correctly infer the return type based on the split and streaming parameters. Changes: - Added typing imports (Literal, overload) to load.py - Added 4 @overload signatures that map argument combinations to...
closed
2025-11-29T06:19:30
https://api.github.com/repos/huggingface/datasets/issues/7888/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7888", "html_url": "https://github.com/huggingface/datasets/pull/7888", "diff_url": "https://github.com/huggingface/datasets/pull/7888.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7888.patch", "merged_at": "2025-12-08T12:06...
true
Add type overloads to load_dataset for better static type inference Fixes #7883 This PR adds @overload decorators to load_dataset() to help type checkers like Pylance and mypy correctly infer the return type based on the split and streaming parameters. Changes: - Added typing imports (Literal, overload) to load....
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7888). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
https://api.github.com/repos/huggingface/datasets/issues/7887
7,887
fix(nifti): enable lazy loading for Nifti1ImageWrapper
## Summary - **Single-line fix**: Change `dataobj=nifti_image.get_fdata()` → `dataobj=nifti_image.dataobj` - Preserves nibabel's `ArrayProxy` for true lazy loading instead of eagerly loading entire NIfTI files into memory - Improves error handling: corrupted files now fail at access time with clear context instead of s...
closed
2025-11-29T01:40:27
https://api.github.com/repos/huggingface/datasets/issues/7887/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7887", "html_url": "https://github.com/huggingface/datasets/pull/7887", "diff_url": "https://github.com/huggingface/datasets/pull/7887.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7887.patch", "merged_at": "2025-12-19T14:14...
true
fix(nifti): enable lazy loading for Nifti1ImageWrapper ## Summary - **Single-line fix**: Change `dataobj=nifti_image.get_fdata()` → `dataobj=nifti_image.dataobj` - Preserves nibabel's `ArrayProxy` for true lazy loading instead of eagerly loading entire NIfTI files into memory - Improves error handling: corrupted files ...
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7887). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
https://api.github.com/repos/huggingface/datasets/issues/7886
7,886
feat(bids): Add BIDS dataset loader for neuroimaging data
## Summary Adds native BIDS (Brain Imaging Data Structure) dataset loading support using PyBIDS, enabling `load_dataset('bids', data_dir='/path/to/bids')` workflow for neuroimaging researchers. **Contributes to #7804** (Support scientific data formats) - BIDS is a widely-used standard for organizing neuroimaging data...
open
2025-11-29T01:22:06
https://api.github.com/repos/huggingface/datasets/issues/7886/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7886", "html_url": "https://github.com/huggingface/datasets/pull/7886", "diff_url": "https://github.com/huggingface/datasets/pull/7886.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7886.patch", "merged_at": null }
true
feat(bids): Add BIDS dataset loader for neuroimaging data ## Summary Adds native BIDS (Brain Imaging Data Structure) dataset loading support using PyBIDS, enabling `load_dataset('bids', data_dir='/path/to/bids')` workflow for neuroimaging researchers. **Contributes to #7804** (Support scientific data formats) - BIDS ...
[]
https://api.github.com/repos/huggingface/datasets/issues/7885
7,885
Add visualization paragraph to nifti readme
Add small paragraph and video.
open
2025-11-28T14:31:28
https://api.github.com/repos/huggingface/datasets/issues/7885/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7885", "html_url": "https://github.com/huggingface/datasets/pull/7885", "diff_url": "https://github.com/huggingface/datasets/pull/7885.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7885.patch", "merged_at": null }
true
Add visualization paragraph to nifti readme Add small paragraph and video.
[]
https://api.github.com/repos/huggingface/datasets/issues/7884
7,884
Fix 7846: add_column and add_item erroneously(?) require new_fingerprint parameter
Summary of the change: Made new_fingerprint optional (Optional[str] = None) in Dataset.add_column and Dataset.add_item Added a simple test to verify both methods work without providing a fingerprint Why this change is safe: The Dataset constructor already handles fingerprint=None by generating a new fingerpri...
closed
2025-11-27T19:32:10
https://api.github.com/repos/huggingface/datasets/issues/7884/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7884", "html_url": "https://github.com/huggingface/datasets/pull/7884", "diff_url": "https://github.com/huggingface/datasets/pull/7884.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7884.patch", "merged_at": "2025-12-04T16:09...
true
Fix 7846: add_column and add_item erroneously(?) require new_fingerprint parameter Summary of the change: Made new_fingerprint optional (Optional[str] = None) in Dataset.add_column and Dataset.add_item Added a simple test to verify both methods work without providing a fingerprint Why this change is safe: Th...
[ "@lhoestq can you help review this pull request?", "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7884). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
https://api.github.com/repos/huggingface/datasets/issues/7883
7,883
Data.to_csv() cannot be recognized by pylance
### Describe the bug Hi, everyone ! I am a beginner with datasets. I am testing reading multiple CSV files from a zip archive. The result of reading the dataset shows success, and it can ultimately be correctly saved to CSV. Intermediate results: ``` Generating train split: 62973 examples [00:00, 175939.01 examples/...
closed
2025-11-26T16:16:56
https://api.github.com/repos/huggingface/datasets/issues/7883/comments
null
false
Data.to_csv() cannot be recognized by pylance ### Describe the bug Hi, everyone ! I am a beginner with datasets. I am testing reading multiple CSV files from a zip archive. The result of reading the dataset shows success, and it can ultimately be correctly saved to CSV. Intermediate results: ``` Generating train spl...
[]
https://api.github.com/repos/huggingface/datasets/issues/7882
7,882
Inconsistent loading of LFS-hosted files in epfml/FineWeb-HQ dataset
### Describe the bug Some files in the `epfml/FineWeb-HQ` dataset fail to load via the Hugging Face `datasets` library. - xet-hosted files load fine - LFS-hosted files sometimes fail Example: - Fails: https://huggingface.co/datasets/epfml/FineWeb-HQ/blob/main/data/CC-MAIN-2024-26/000_00003.parquet - Works: ht...
open
2025-11-26T14:06:02
https://api.github.com/repos/huggingface/datasets/issues/7882/comments
null
false
Inconsistent loading of LFS-hosted files in epfml/FineWeb-HQ dataset ### Describe the bug Some files in the `epfml/FineWeb-HQ` dataset fail to load via the Hugging Face `datasets` library. - xet-hosted files load fine - LFS-hosted files sometimes fail Example: - Fails: https://huggingface.co/datasets/epfml/Fine...
[ "we are investigating the issue, I'll post updates here", "It should be all good now, sorry for the inconvenience.\n\nWe found an error that happened during the migration of this repository from Git LFS to Xet and fixed the issue" ]
https://api.github.com/repos/huggingface/datasets/issues/7881
7,881
Fix spurious label column when directories match split names
Issue - https://github.com/huggingface/datasets/issues/7880
open
2025-11-26T13:59:46
https://api.github.com/repos/huggingface/datasets/issues/7881/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7881", "html_url": "https://github.com/huggingface/datasets/pull/7881", "diff_url": "https://github.com/huggingface/datasets/pull/7881.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7881.patch", "merged_at": null }
true
Fix spurious label column when directories match split names Issue - https://github.com/huggingface/datasets/issues/7880
[]
https://api.github.com/repos/huggingface/datasets/issues/7880
7,880
Spurious label column created when audiofolder/imagefolder directories match split names
## Describe the bug When using `audiofolder` or `imagefolder` with directories for **splits** (train/test) rather than class labels, a spurious `label` column is incorrectly created. **Example:** https://huggingface.co/datasets/datasets-examples/doc-audio-4 ``` from datasets import load_dataset ds = load_dataset("dat...
open
2025-11-26T13:36:24
https://api.github.com/repos/huggingface/datasets/issues/7880/comments
null
false
Spurious label column created when audiofolder/imagefolder directories match split names ## Describe the bug When using `audiofolder` or `imagefolder` with directories for **splits** (train/test) rather than class labels, a spurious `label` column is incorrectly created. **Example:** https://huggingface.co/datasets/d...
[]
https://api.github.com/repos/huggingface/datasets/issues/7879
7,879
python core dump when downloading dataset
### Describe the bug When downloading a dataset in streamed mode and exiting the program before the download completes, the python program core dumps when exiting: ``` terminate called without an active exception Aborted (core dumped) ``` Tested with python 3.12.3, python 3.9.21 ### Steps to reproduce the bug Cr...
open
2025-11-24T06:22:53
https://api.github.com/repos/huggingface/datasets/issues/7879/comments
null
false
python core dump when downloading dataset ### Describe the bug When downloading a dataset in streamed mode and exiting the program before the download completes, the python program core dumps when exiting: ``` terminate called without an active exception Aborted (core dumped) ``` Tested with python 3.12.3, python 3....
[ "Hi @hansewetz I'm curious, for me it works just fine. Are you still observing the issue?", "Yup ... still the same issue.\nHowever, after adding a ```sleep(1)``` call after the ``` for``` loop by accident during debugging, the program terminates properly (not a good solution though ... :-) ).\nAre there some thr...
https://api.github.com/repos/huggingface/datasets/issues/7878
7,878
Replace papaya with niivue
I was contacted by Chris Rorden whose group is developing NiiVue (see https://github.com/niivue/niivue), which leverages WebGL2 (in contrast to Papaya which is WebGL1 based). He also offered support in the implementation, which might come in handy in case of any questions later on (see DICOM implemenation). I completel...
closed
2025-11-21T22:19:56
https://api.github.com/repos/huggingface/datasets/issues/7878/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7878", "html_url": "https://github.com/huggingface/datasets/pull/7878", "diff_url": "https://github.com/huggingface/datasets/pull/7878.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7878.patch", "merged_at": "2025-11-27T18:00...
true
Replace papaya with niivue I was contacted by Chris Rorden whose group is developing NiiVue (see https://github.com/niivue/niivue), which leverages WebGL2 (in contrast to Papaya which is WebGL1 based). He also offered support in the implementation, which might come in handy in case of any questions later on (see DICOM ...
[ "@CloseChoice thanks for your work on this. As you mentioned, the prime developers for Papaya have moved on, so it is in maintenance mode, albeit it is mature and may fill all your requirements. \r\n\r\nPapaya does reflect the era of its creation, so it uses WebGL1 (which only supports 2D textures) for display and ...
https://api.github.com/repos/huggingface/datasets/issues/7877
7,877
work around `tempfile` silently ignoring `TMPDIR` if the dir doesn't exist
This should help a lot of users running into `No space left on device` while using `datasets`. Normally the issue is is that `/tmp` is too small and the user needs to use another path, which they would normally set as `export TMPDIR=/some/big/storage` However, the `tempfile` facility that `datasets` and `pyarrow` use ...
closed
2025-11-21T19:51:48
https://api.github.com/repos/huggingface/datasets/issues/7877/comments
null
false
work around `tempfile` silently ignoring `TMPDIR` if the dir doesn't exist This should help a lot of users running into `No space left on device` while using `datasets`. Normally the issue is is that `/tmp` is too small and the user needs to use another path, which they would normally set as `export TMPDIR=/some/big/st...
[ "Hi! Just created a Pull Request (#7890) to try to fix this using your suggestions. I hope it helps!" ]
https://api.github.com/repos/huggingface/datasets/issues/7876
7,876
test: add verification for HuggingFaceM4/InterleavedWebDocuments
Adds an integration test for the `HuggingFaceM4/InterleavedWebDocuments` dataset. - Gracefully skips if the dataset is not yet available on the Hub - Checks basic loading and structure once it becomes available Closes #7394 First-time contributor to `datasets` — really excited about this! Happy to make any ad...
open
2025-11-21T15:42:09
https://api.github.com/repos/huggingface/datasets/issues/7876/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7876", "html_url": "https://github.com/huggingface/datasets/pull/7876", "diff_url": "https://github.com/huggingface/datasets/pull/7876.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7876.patch", "merged_at": null }
true
test: add verification for HuggingFaceM4/InterleavedWebDocuments Adds an integration test for the `HuggingFaceM4/InterleavedWebDocuments` dataset. - Gracefully skips if the dataset is not yet available on the Hub - Checks basic loading and structure once it becomes available Closes #7394 First-time contributo...
[]
https://api.github.com/repos/huggingface/datasets/issues/7875
7,875
Add quickstart example to datasets README
null
open
2025-11-20T22:13:52
https://api.github.com/repos/huggingface/datasets/issues/7875/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7875", "html_url": "https://github.com/huggingface/datasets/pull/7875", "diff_url": "https://github.com/huggingface/datasets/pull/7875.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7875.patch", "merged_at": null }
true
Add quickstart example to datasets README
[]
https://api.github.com/repos/huggingface/datasets/issues/7874
7,874
Nifti visualization support
closes #7870 leverage Papaya to visualize nifti images. For this I created a Wrapper class for `nibabel.nifti1.Nifti1Image` that provides the same interface but exposes an additional `_repr_html_` method, which is needed to visualize the image in jupyter (didn't test in colab, but that should work equivalently). ...
closed
2025-11-19T21:56:56
https://api.github.com/repos/huggingface/datasets/issues/7874/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7874", "html_url": "https://github.com/huggingface/datasets/pull/7874", "diff_url": "https://github.com/huggingface/datasets/pull/7874.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7874.patch", "merged_at": "2025-11-21T12:31...
true
Nifti visualization support closes #7870 leverage Papaya to visualize nifti images. For this I created a Wrapper class for `nibabel.nifti1.Nifti1Image` that provides the same interface but exposes an additional `_repr_html_` method, which is needed to visualize the image in jupyter (didn't test in colab, but that s...
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7874). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "I tested in Colab and it works perfectly :) now I want to add `_repr_html_` everywhere ...
https://api.github.com/repos/huggingface/datasets/issues/7873
7,873
Fix chunk casting and schema unification in dataset
Updated chunk handling to cast to expected schema when features are provided or to unify schemas when not. This ensures proper schema alignment for the yielded batches. fixes #7872 This PR fixes a bug where `IterableDataset` created from a generator with explicit `features` parameter would fail during arrow oper...
open
2025-11-19T18:43:47
https://api.github.com/repos/huggingface/datasets/issues/7873/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7873", "html_url": "https://github.com/huggingface/datasets/pull/7873", "diff_url": "https://github.com/huggingface/datasets/pull/7873.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7873.patch", "merged_at": null }
true
Fix chunk casting and schema unification in dataset Updated chunk handling to cast to expected schema when features are provided or to unify schemas when not. This ensures proper schema alignment for the yielded batches. fixes #7872 This PR fixes a bug where `IterableDataset` created from a generator with explic...
[ "\r\n@lhoestq would like to hear from you!\r\n", "Hi @lhoestq can you please review this? Thanks!", "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7873). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the l...
https://api.github.com/repos/huggingface/datasets/issues/7872
7,872
IterableDataset does not use features information in to_pandas
### Describe the bug `IterableDataset` created from generator with explicit `features=` parameter seems to ignore provided features description for certain operations, e.g. `.to_pandas(...)` when data coming from the generator has missing values. ### Steps to reproduce the bug ```python import datasets from datasets...
open
2025-11-19T17:12:59
https://api.github.com/repos/huggingface/datasets/issues/7872/comments
null
false
IterableDataset does not use features information in to_pandas ### Describe the bug `IterableDataset` created from generator with explicit `features=` parameter seems to ignore provided features description for certain operations, e.g. `.to_pandas(...)` when data coming from the generator has missing values. ### Step...
[ "Created A PR!", "Another test script that can be used to test the behavior - \n\n```\nimport datasets\nfrom datasets import features\n\ndef test_crash():\n common_features = features.Features({\n \"a\": features.Value(\"int64\"),\n \"b\": features.List({\"c\": features.Value(\"int64\")}),\n }...
https://api.github.com/repos/huggingface/datasets/issues/7871
7,871
Reqwest Error: HTTP status client error (429 Too Many Requests)
### Describe the bug full error message: ``` Traceback (most recent call last): File "/home/yanan/miniconda3/bin/hf", line 7, in <module> sys.exit(main()) ~~~~^^ File "/home/yanan/miniconda3/lib/python3.13/site-packages/huggingface_hub/cli/hf.py", line 56, in main app() ~~~^^ File "/ho...
closed
2025-11-19T16:52:24
https://api.github.com/repos/huggingface/datasets/issues/7871/comments
null
false
Reqwest Error: HTTP status client error (429 Too Many Requests) ### Describe the bug full error message: ``` Traceback (most recent call last): File "/home/yanan/miniconda3/bin/hf", line 7, in <module> sys.exit(main()) ~~~~^^ File "/home/yanan/miniconda3/lib/python3.13/site-packages/huggingface_...
[ "the dataset repo: `https://huggingface.co/datasets/nvidia/PhysicalAI-Robotics-GR00T-X-Embodiment-Sim`", "Hi @yanan1116,\n\nThanks for the detailed report! However, this issue was filed in the wrong repository. This is a `huggingface_hub` issue, not a `datasets` issue.\n\nLooking at your traceback, you're using t...
https://api.github.com/repos/huggingface/datasets/issues/7870
7,870
Visualization for Medical Imaging Datasets
This is a followup to: https://github.com/huggingface/datasets/pull/7815. I checked the possibilities to visualize the nifti (and potentially dicom), and here's what I found: - https://github.com/aces/brainbrowser, AGPL3 license, last commit 3 months ago, latest (github) release from 2017. It's available on jsdelivr...
closed
2025-11-19T11:05:39
https://api.github.com/repos/huggingface/datasets/issues/7870/comments
null
false
Visualization for Medical Imaging Datasets This is a followup to: https://github.com/huggingface/datasets/pull/7815. I checked the possibilities to visualize the nifti (and potentially dicom), and here's what I found: - https://github.com/aces/brainbrowser, AGPL3 license, last commit 3 months ago, latest (github) re...
[ "It would be amazing to be able to show the Papaya UI in google colab / jupyter notebook. IIRC both allow serving javascript via nbextensions that we can surely use in HTML() objects.\n\nAlternatively we could also start with a simple approach and dump the medical image data as a video file that goes through the sl...
https://api.github.com/repos/huggingface/datasets/issues/7869
7,869
Why does dataset merge fail when tools have different parameters?
Hi, I have a question about SFT (Supervised Fine-tuning) for an agent model. Suppose I want to fine-tune an agent model that may receive two different tools: tool1 and tool2. These tools have different parameters and types in their schema definitions. When I try to merge datasets containing different tool definitions...
closed
2025-11-18T08:33:04
https://api.github.com/repos/huggingface/datasets/issues/7869/comments
null
false
Why does dataset merge fail when tools have different parameters? Hi, I have a question about SFT (Supervised Fine-tuning) for an agent model. Suppose I want to fine-tune an agent model that may receive two different tools: tool1 and tool2. These tools have different parameters and types in their schema definitions. ...
[ "Hi @hitszxs,\n This is indeed by design,\n\nThe `datasets` library is built on top of [Apache Arrow](https://arrow.apache.org/), which uses a **columnar storage format** with strict schema requirements. When you try to concatenate/merge datasets, the library checks if features can be aligned using the [`_check_if_...
https://api.github.com/repos/huggingface/datasets/issues/7868
7,868
Data duplication with `split_dataset_by_node` and `interleaved_dataset`
### Describe the bug Data duplication in different rank, when process a iterabledataset with first `split_dataset_by_node` and then `interleaved_dataset` ### Steps to reproduce the bug I have provide a minimum scripts ```python import os from datasets import interleave_datasets, load_dataset from datasets.distribu...
closed
2025-11-17T09:15:24
https://api.github.com/repos/huggingface/datasets/issues/7868/comments
null
false
Data duplication with `split_dataset_by_node` and `interleaved_dataset` ### Describe the bug Data duplication in different rank, when process a iterabledataset with first `split_dataset_by_node` and then `interleaved_dataset` ### Steps to reproduce the bug I have provide a minimum scripts ```python import os from ...
[ "Hi @ValMystletainn ,\nCan I be assigned this issue?", "> split_dataset_by_node\n\nHello, I have some questions about your intended use: (1) It seems unnecessary to use interleaving for a single dataset. (2) For multiple datasets, it seems possible to interleave first and then split by node?", "Hi ! I think int...
https://api.github.com/repos/huggingface/datasets/issues/7867
7,867
NonMatchingSplitsSizesError when loading partial dataset files
### Describe the bug When loading only a subset of dataset files while the dataset's README.md contains split metadata, the system throws a NonMatchingSplitsSizesError . This prevents users from loading partial datasets for quick validation in cases of poor network conditions or very large datasets. ### Steps to repr...
open
2025-11-13T12:03:23
https://api.github.com/repos/huggingface/datasets/issues/7867/comments
null
false
NonMatchingSplitsSizesError when loading partial dataset files ### Describe the bug When loading only a subset of dataset files while the dataset's README.md contains split metadata, the system throws a NonMatchingSplitsSizesError . This prevents users from loading partial datasets for quick validation in cases of poo...
[ "While using verification_mode='no_checks' parameter in load_dataset() can bypass this validation, this solution is not intuitive or convenient for most users, especially those who are not familiar with all the parameters of the load_dataset() function.\n\n```python\nbook_corpus_ds = load_dataset(\n \"SaylorTwif...
https://api.github.com/repos/huggingface/datasets/issues/7866
7,866
docs: add Python version requirement note to installation section
Added note about Python version requirement for conda installation.
open
2025-11-13T09:54:35
https://api.github.com/repos/huggingface/datasets/issues/7866/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7866", "html_url": "https://github.com/huggingface/datasets/pull/7866", "diff_url": "https://github.com/huggingface/datasets/pull/7866.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7866.patch", "merged_at": null }
true
docs: add Python version requirement note to installation section Added note about Python version requirement for conda installation.
[]
https://api.github.com/repos/huggingface/datasets/issues/7865
7,865
[FEAT] MIDI feature support
This PR adds a new `Midi` feature for reading and importing MIDI files into the datasets.
open
2025-11-13T08:31:51
https://api.github.com/repos/huggingface/datasets/issues/7865/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7865", "html_url": "https://github.com/huggingface/datasets/pull/7865", "diff_url": "https://github.com/huggingface/datasets/pull/7865.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7865.patch", "merged_at": null }
true
[FEAT] MIDI feature support This PR adds a new `Midi` feature for reading and importing MIDI files into the datasets.
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7865). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
https://api.github.com/repos/huggingface/datasets/issues/7864
7,864
add_column and add_item erroneously(?) require new_fingerprint parameter
### Describe the bug Contradicting their documentation (which doesn't mention the parameter at all), both Dataset.add_column and Dataset.add_item require a new_fingerprint string. This parameter is passed directly to the dataset constructor, which has the fingerprint parameter listed as optional; is there any reason i...
open
2025-11-13T02:56:49
https://api.github.com/repos/huggingface/datasets/issues/7864/comments
null
false
add_column and add_item erroneously(?) require new_fingerprint parameter ### Describe the bug Contradicting their documentation (which doesn't mention the parameter at all), both Dataset.add_column and Dataset.add_item require a new_fingerprint string. This parameter is passed directly to the dataset constructor, whic...
[ "Take this with a grain of salt, this is just my personal understanding:\nWhile you technically can overwrite the new_fingerprint with a string, e.g.\n```python\nt = d.add_column(\"new_column\", col_value, new_fingerprint=\"dummy_fp\")\nassert t._fingerprint == \"dummy_fp\" # this is true and will pass\n```\nthis ...
https://api.github.com/repos/huggingface/datasets/issues/7863
7,863
Support hosting lance / vortex / iceberg / zarr datasets on huggingface hub
### Feature request Huggingface datasets has great support for large tabular datasets in parquet with large partitions. I would love to see two things in the future: - equivalent support for `lance`, `vortex`, `iceberg`, `zarr` (in that order) in a way that I can stream them using the datasets library - more fine-gr...
open
2025-11-13T00:51:07
https://api.github.com/repos/huggingface/datasets/issues/7863/comments
null
false
Support hosting lance / vortex / iceberg / zarr datasets on huggingface hub ### Feature request Huggingface datasets has great support for large tabular datasets in parquet with large partitions. I would love to see two things in the future: - equivalent support for `lance`, `vortex`, `iceberg`, `zarr` (in that orde...
[ "Kudos!", "So cool ! Would love to see support for lance :)", "@lhoestq thanks for your support! Any suggestions across `datasets` or `huggingface_hub` projects to make this happen?\n\nI just noticed this blog post: https://huggingface.co/blog/streaming-datasets\n\nDo you know if `hfFileSystem` from `huggingfac...
https://api.github.com/repos/huggingface/datasets/issues/7862
7,862
Add flatten_indices option to save_to_disk method
Added flatten_indices parameter to control index flattening during dataset saving. Solves #7861 This PR introduces a new optional argument, flatten_indices, to the save_to_disk methods in both Dataset and DatasetDict. The change allows users to skip the expensive index-flattening step when saving datasets that ...
open
2025-11-12T19:38:51
https://api.github.com/repos/huggingface/datasets/issues/7862/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7862", "html_url": "https://github.com/huggingface/datasets/pull/7862", "diff_url": "https://github.com/huggingface/datasets/pull/7862.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7862.patch", "merged_at": null }
true
Add flatten_indices option to save_to_disk method Added flatten_indices parameter to control index flattening during dataset saving. Solves #7861 This PR introduces a new optional argument, flatten_indices, to the save_to_disk methods in both Dataset and DatasetDict. The change allows users to skip the expensiv...
[ "as said by @KCKawalkar used below script to test - \r\n\r\nBEFORE PATCH - \r\nTEST.PY:\r\n```\r\nfrom datasets import Dataset\r\nimport time\r\n\r\ndataset = Dataset.from_dict({'text': [f'sample {i}' for i in range(100000)]})\r\n\r\n# Baseline save (no indices)\r\nstart = time.time()\r\ndataset.save_to_disk('basel...
https://api.github.com/repos/huggingface/datasets/issues/7861
7,861
Performance Issue: save_to_disk() 200-1200% slower due to unconditional flatten_indices()
## 🐛 Bug Description The `save_to_disk()` method unconditionally calls `flatten_indices()` when `_indices` is not None, causing severe performance degradation for datasets processed with filtering, shuffling, or multiprocessed mapping operations. **Root cause**: This line rebuilds the entire dataset unnecessarily: `...
open
2025-11-11T11:05:38
https://api.github.com/repos/huggingface/datasets/issues/7861/comments
null
false
Performance Issue: save_to_disk() 200-1200% slower due to unconditional flatten_indices() ## 🐛 Bug Description The `save_to_disk()` method unconditionally calls `flatten_indices()` when `_indices` is not None, causing severe performance degradation for datasets processed with filtering, shuffling, or multiprocessed m...
[]
https://api.github.com/repos/huggingface/datasets/issues/7860
7,860
Support loading local arrow datasets via load_dataset
Load_dataset will handle local saved datasets that way #7018
open
2025-11-11T04:58:33
https://api.github.com/repos/huggingface/datasets/issues/7860/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7860", "html_url": "https://github.com/huggingface/datasets/pull/7860", "diff_url": "https://github.com/huggingface/datasets/pull/7860.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7860.patch", "merged_at": null }
true
Support loading local arrow datasets via load_dataset Load_dataset will handle local saved datasets that way #7018
[]
https://api.github.com/repos/huggingface/datasets/issues/7859
7,859
fix some broken links
would be cool to automate finding those broken links as i think there might be many of them @lhoestq @albertvillanova
closed
2025-11-10T15:34:46
https://api.github.com/repos/huggingface/datasets/issues/7859/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7859", "html_url": "https://github.com/huggingface/datasets/pull/7859", "diff_url": "https://github.com/huggingface/datasets/pull/7859.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7859.patch", "merged_at": "2025-11-10T17:11...
true
fix some broken links would be cool to automate finding those broken links as i think there might be many of them @lhoestq @albertvillanova
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7859). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
https://api.github.com/repos/huggingface/datasets/issues/7858
7,858
Support downloading specific splits in `load_dataset`
This is PR builds on top of #7706 to revive the unfinished #6832 but isn't just cleaning up things, here are some important changes: - `download_mode="FORCE_REDOWNLOAD"` is interpreted as always creating a clean slate, that means that even if we already did: ```python load_dataset("<name>") load_dataset("<name>",...
open
2025-11-09T20:44:00
https://api.github.com/repos/huggingface/datasets/issues/7858/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7858", "html_url": "https://github.com/huggingface/datasets/pull/7858", "diff_url": "https://github.com/huggingface/datasets/pull/7858.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7858.patch", "merged_at": null }
true
Support downloading specific splits in `load_dataset` This is PR builds on top of #7706 to revive the unfinished #6832 but isn't just cleaning up things, here are some important changes: - `download_mode="FORCE_REDOWNLOAD"` is interpreted as always creating a clean slate, that means that even if we already did: ```...
[ "@CloseChoice This looks great! You're absolutely right about the missing comparison - that's a critical bug I missed. ", "@lhoestq just resolved the conflicts inflicted by the latest changes. Thought it might be good giving this a shot now before more changes mess with this PR.", "The docs for this PR live [he...
https://api.github.com/repos/huggingface/datasets/issues/7856
7,856
Missing transcript column when loading a local dataset with "audiofolder"
### Describe the bug My local dataset is not properly loaded when using `load_dataset("audiofolder", data_dir="my_dataset")` with a `jsonl` metadata file. Only the `audio` column is read while the `transcript` column is not. The last tested `datasets` version where the behavior was still correct is 2.18.0. ### Steps...
closed
2025-11-08T16:27:58
https://api.github.com/repos/huggingface/datasets/issues/7856/comments
null
false
Missing transcript column when loading a local dataset with "audiofolder" ### Describe the bug My local dataset is not properly loaded when using `load_dataset("audiofolder", data_dir="my_dataset")` with a `jsonl` metadata file. Only the `audio` column is read while the `transcript` column is not. The last tested `da...
[ "First bad commit 5c8869f8c36dbc8c8d423030b7b7c4fd64f8c729\n\nEDIT: This is not a bug or a regression. It was a breaking change introduced in the commit I mentioned and was also documented in there. The docs state how to handle this now, see https://huggingface.co/docs/datasets/main/en/audio_load#audiofolder-with-m...
https://api.github.com/repos/huggingface/datasets/issues/7855
7,855
ArXiv -> HF Papers
null
closed
2025-11-07T22:16:36
https://api.github.com/repos/huggingface/datasets/issues/7855/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7855", "html_url": "https://github.com/huggingface/datasets/pull/7855", "diff_url": "https://github.com/huggingface/datasets/pull/7855.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7855.patch", "merged_at": "2025-11-10T15:01...
true
ArXiv -> HF Papers
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7855). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
https://api.github.com/repos/huggingface/datasets/issues/7854
7,854
[Distributed] split_dataset_by_node() gives the same number of examples for each node
this works: ```python import torch.distributed as dist from datasets import IterableDataset from datasets.distributed import split_dataset_by_node from collections import Counter def g(shards): for shard in shards: # shards don't have the same length num_examples = 3 + shard f...
open
2025-11-06T17:14:18
https://api.github.com/repos/huggingface/datasets/issues/7854/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7854", "html_url": "https://github.com/huggingface/datasets/pull/7854", "diff_url": "https://github.com/huggingface/datasets/pull/7854.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7854.patch", "merged_at": null }
true
[Distributed] split_dataset_by_node() gives the same number of examples for each node this works: ```python import torch.distributed as dist from datasets import IterableDataset from datasets.distributed import split_dataset_by_node from collections import Counter def g(shards): for shard in shards: ...
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7854). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "Making this work with multiple workers could create a lot of communication for not a lo...
https://api.github.com/repos/huggingface/datasets/issues/7853
7,853
Fix embed storage nifti
Fixes #7852 Adds `embed_storage` function and allows gzipped files to be loaded correctly from local storage.
closed
2025-11-06T15:07:58
https://api.github.com/repos/huggingface/datasets/issues/7853/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7853", "html_url": "https://github.com/huggingface/datasets/pull/7853", "diff_url": "https://github.com/huggingface/datasets/pull/7853.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7853.patch", "merged_at": "2025-11-06T16:20...
true
Fix embed storage nifti Fixes #7852 Adds `embed_storage` function and allows gzipped files to be loaded correctly from local storage.
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7853). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
https://api.github.com/repos/huggingface/datasets/issues/7852
7,852
Problems with NifTI
### Describe the bug There are currently 2 problems with the new NifTI feature: 1. dealing with zipped files, this is mentioned and explained [here](https://github.com/huggingface/datasets/pull/7815#issuecomment-3496199503) 2. when uploading via the `niftifolder` feature, the resulting parquet only contains relative p...
closed
2025-11-06T11:46:33
https://api.github.com/repos/huggingface/datasets/issues/7852/comments
null
false
Problems with NifTI ### Describe the bug There are currently 2 problems with the new NifTI feature: 1. dealing with zipped files, this is mentioned and explained [here](https://github.com/huggingface/datasets/pull/7815#issuecomment-3496199503) 2. when uploading via the `niftifolder` feature, the resulting parquet only...
[ "> 2. when uploading via the niftifolder feature, the resulting parquet only contains relative paths to the nifti files:\n\nwhat did you use to upload the dataset ? iirc push_to_hub() does upload the bytes as well, but to_parquet() doesn't", "> > 2. when uploading via the niftifolder feature, the resulting parque...
https://api.github.com/repos/huggingface/datasets/issues/7851
7,851
Add fasta support
This PR adds support for FASTA files conversion to Parquet.
open
2025-11-05T18:11:12
https://api.github.com/repos/huggingface/datasets/issues/7851/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7851", "html_url": "https://github.com/huggingface/datasets/pull/7851", "diff_url": "https://github.com/huggingface/datasets/pull/7851.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7851.patch", "merged_at": null }
true
Add fasta support This PR adds support for FASTA files conversion to Parquet.
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7851). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "A few comments:\r\n\r\n- Have you tried using this with longer sequences? @UriNeri deve...
https://api.github.com/repos/huggingface/datasets/issues/7850
7,850
dev version
null
closed
2025-11-05T16:02:23
https://api.github.com/repos/huggingface/datasets/issues/7850/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7850", "html_url": "https://github.com/huggingface/datasets/pull/7850", "diff_url": "https://github.com/huggingface/datasets/pull/7850.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7850.patch", "merged_at": "2025-11-05T16:02...
true
dev version
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7850). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
https://api.github.com/repos/huggingface/datasets/issues/7849
7,849
release: 4.4.1
null
closed
2025-11-05T16:00:05
https://api.github.com/repos/huggingface/datasets/issues/7849/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7849", "html_url": "https://github.com/huggingface/datasets/pull/7849", "diff_url": "https://github.com/huggingface/datasets/pull/7849.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7849.patch", "merged_at": "2025-11-05T16:00...
true
release: 4.4.1
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7849). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
https://api.github.com/repos/huggingface/datasets/issues/7848
7,848
DOC: remove mode parameter in docstring of pdf and video feature
closes #7841 As mentioned in the issue `mode` has been copy-pasted but isn't used in these files.
closed
2025-11-05T09:11:46
https://api.github.com/repos/huggingface/datasets/issues/7848/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7848", "html_url": "https://github.com/huggingface/datasets/pull/7848", "diff_url": "https://github.com/huggingface/datasets/pull/7848.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7848.patch", "merged_at": "2025-11-05T14:04...
true
DOC: remove mode parameter in docstring of pdf and video feature closes #7841 As mentioned in the issue `mode` has been copy-pasted but isn't used in these files.
[]
https://api.github.com/repos/huggingface/datasets/issues/7847
7,847
Better streaming retries (504 and 429)
null
closed
2025-11-04T11:23:58
https://api.github.com/repos/huggingface/datasets/issues/7847/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7847", "html_url": "https://github.com/huggingface/datasets/pull/7847", "diff_url": "https://github.com/huggingface/datasets/pull/7847.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7847.patch", "merged_at": "2025-11-04T13:52...
true
Better streaming retries (504 and 429)
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7847). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
https://api.github.com/repos/huggingface/datasets/issues/7846
7,846
set dev version
null
closed
2025-11-04T10:44:27
https://api.github.com/repos/huggingface/datasets/issues/7846/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7846", "html_url": "https://github.com/huggingface/datasets/pull/7846", "diff_url": "https://github.com/huggingface/datasets/pull/7846.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7846.patch", "merged_at": "2025-11-04T10:44...
true
set dev version
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7846). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
https://api.github.com/repos/huggingface/datasets/issues/7845
7,845
Release: 4.4.0
null
closed
2025-11-04T10:35:33
https://api.github.com/repos/huggingface/datasets/issues/7845/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7845", "html_url": "https://github.com/huggingface/datasets/pull/7845", "diff_url": "https://github.com/huggingface/datasets/pull/7845.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7845.patch", "merged_at": "2025-11-04T10:36...
true
Release: 4.4.0
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7845). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
https://api.github.com/repos/huggingface/datasets/issues/7844
7,844
support fsspec 2025.10.0
null
closed
2025-11-03T14:34:29
https://api.github.com/repos/huggingface/datasets/issues/7844/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7844", "html_url": "https://github.com/huggingface/datasets/pull/7844", "diff_url": "https://github.com/huggingface/datasets/pull/7844.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7844.patch", "merged_at": "2025-11-03T14:51...
true
support fsspec 2025.10.0
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7844). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
https://api.github.com/repos/huggingface/datasets/issues/7843
7,843
fix column with transform
fix https://github.com/huggingface/datasets/issues/7842
closed
2025-11-03T14:23:01
https://api.github.com/repos/huggingface/datasets/issues/7843/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7843", "html_url": "https://github.com/huggingface/datasets/pull/7843", "diff_url": "https://github.com/huggingface/datasets/pull/7843.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7843.patch", "merged_at": "2025-11-03T14:34...
true
fix column with transform fix https://github.com/huggingface/datasets/issues/7842
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7843). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
https://api.github.com/repos/huggingface/datasets/issues/7842
7,842
Transform with columns parameter triggers on non-specified column access
### Describe the bug Iterating over a [`Column`](https://github.com/huggingface/datasets/blob/8b1bd4ec1cc9e9ce022f749abb6485ef984ae7c0/src/datasets/arrow_dataset.py#L633-L692) iterates through the parent [`Dataset`](https://github.com/huggingface/datasets/blob/8b1bd4ec1cc9e9ce022f749abb6485ef984ae7c0/src/datasets/arro...
closed
2025-11-03T13:55:27
https://api.github.com/repos/huggingface/datasets/issues/7842/comments
null
false
Transform with columns parameter triggers on non-specified column access ### Describe the bug Iterating over a [`Column`](https://github.com/huggingface/datasets/blob/8b1bd4ec1cc9e9ce022f749abb6485ef984ae7c0/src/datasets/arrow_dataset.py#L633-L692) iterates through the parent [`Dataset`](https://github.com/huggingface...
[]
https://api.github.com/repos/huggingface/datasets/issues/7841
7,841
DOC: `mode` parameter on pdf and video features unused
Following up on https://github.com/huggingface/datasets/pull/7840 I asked claude code to check for undocumented parameters for other features and it found: - mode parameter on video is documented but unused: https://github.com/huggingface/datasets/blob/main/src/datasets/features/video.py#L48-L49 - the same goes for the...
closed
2025-11-02T12:37:47
https://api.github.com/repos/huggingface/datasets/issues/7841/comments
null
false
DOC: `mode` parameter on pdf and video features unused Following up on https://github.com/huggingface/datasets/pull/7840 I asked claude code to check for undocumented parameters for other features and it found: - mode parameter on video is documented but unused: https://github.com/huggingface/datasets/blob/main/src/dat...
[ "They seem to be artefacts from a copy-paste of the Image feature ^^' we should remove them" ]
https://api.github.com/repos/huggingface/datasets/issues/7840
7,840
Add num channels to audio
Fixes #7837 We currently have the [mono attribute for Audio documented](https://github.com/huggingface/datasets/blob/41c05299348a499807432ab476e1cdc4143c8772/src/datasets/features/audio.py#L52C1-L54C22) but not used anywhere resulting in confusion for users. Since torchcodec does not know this attribute I suggest us...
closed
2025-11-02T12:10:24
https://api.github.com/repos/huggingface/datasets/issues/7840/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7840", "html_url": "https://github.com/huggingface/datasets/pull/7840", "diff_url": "https://github.com/huggingface/datasets/pull/7840.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7840.patch", "merged_at": "2025-11-03T14:24...
true
Add num channels to audio Fixes #7837 We currently have the [mono attribute for Audio documented](https://github.com/huggingface/datasets/blob/41c05299348a499807432ab476e1cdc4143c8772/src/datasets/features/audio.py#L52C1-L54C22) but not used anywhere resulting in confusion for users. Since torchcodec does not know t...
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7840). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
https://api.github.com/repos/huggingface/datasets/issues/7839
7,839
datasets doesn't work with python 3.14
### Describe the bug Seems that `dataset` doesn't work with python==3.14. The root cause seems to be something with a `deel` API that was changed. ``` TypeError: Pickler._batch_setitems() takes 2 positional arguments but 3 were given ``` ### Steps to reproduce the bug (on a new folder) uv init uv python pin 3.14 uv...
closed
2025-11-02T09:09:06
https://api.github.com/repos/huggingface/datasets/issues/7839/comments
null
false
datasets doesn't work with python 3.14 ### Describe the bug Seems that `dataset` doesn't work with python==3.14. The root cause seems to be something with a `deel` API that was changed. ``` TypeError: Pickler._batch_setitems() takes 2 positional arguments but 3 were given ``` ### Steps to reproduce the bug (on a new...
[ "Thanks for the report.\nHave you tried on main? This should work, there was recently a PR merged to address this problem, see #7817", "Works on main 👍 \nWhat's the release schedule for `datasets`? Seems like a cadence of ~2weeks so I assume a real version is due pretty soon?", "let's say we do a new release l...
https://api.github.com/repos/huggingface/datasets/issues/7837
7,837
mono parameter to the Audio feature is missing
According to the docs, there is a "mono" parameter to the Audio feature, which turns any stereo into mono. In practice the signal is not touched and the mono parameter, even though documented, does not exist. https://github.com/huggingface/datasets/blob/41c05299348a499807432ab476e1cdc4143c8772/src/datasets/features/a...
closed
2025-10-31T15:41:39
https://api.github.com/repos/huggingface/datasets/issues/7837/comments
null
false
mono parameter to the Audio feature is missing According to the docs, there is a "mono" parameter to the Audio feature, which turns any stereo into mono. In practice the signal is not touched and the mono parameter, even though documented, does not exist. https://github.com/huggingface/datasets/blob/41c05299348a49980...
[ "Hey, we removed the misleading passage in the docstring and enabled support for `num_channels` as torchcodec does", "thanks!" ]
https://api.github.com/repos/huggingface/datasets/issues/7836
7,836
Python 3.14
null
closed
2025-10-28T16:11:13
https://api.github.com/repos/huggingface/datasets/issues/7836/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7836", "html_url": "https://github.com/huggingface/datasets/pull/7836", "diff_url": "https://github.com/huggingface/datasets/pull/7836.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7836.patch", "merged_at": "2025-10-31T17:27...
true
Python 3.14
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7836). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
https://api.github.com/repos/huggingface/datasets/issues/7835
7,835
Add DICOM support
supports #7804 Add support for the dicom file format. This PR follows PR #7815 and PR #7325 closely. Remarkable differences: I made sure that we can load all of pydicom's test data, and encountered the `force=True` parameter that we explicitly support here. This allows to trying to load corrupted dicom files, we...
open
2025-10-28T10:41:05
https://api.github.com/repos/huggingface/datasets/issues/7835/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7835", "html_url": "https://github.com/huggingface/datasets/pull/7835", "diff_url": "https://github.com/huggingface/datasets/pull/7835.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7835.patch", "merged_at": null }
true
Add DICOM support supports #7804 Add support for the dicom file format. This PR follows PR #7815 and PR #7325 closely. Remarkable differences: I made sure that we can load all of pydicom's test data, and encountered the `force=True` parameter that we explicitly support here. This allows to trying to load corrupt...
[ "Awesome ! For the docs should we rename https://huggingface.co/docs/datasets/nifti_dataset to medical_imaging_dataset and have both DICOM and NIfTI together or have separate pages in you opinion ?", "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7835). All of your document...
https://api.github.com/repos/huggingface/datasets/issues/7834
7,834
Audio.cast_column() or Audio.decode_example() causes Colab kernel crash (std::bad_alloc)
### Describe the bug When using the huggingface datasets.Audio feature to decode a local or remote (public HF dataset) audio file inside Google Colab, the notebook kernel crashes with std::bad_alloc (C++ memory allocation failure). The crash happens even with a minimal code example and valid .wav file that can be read...
open
2025-10-27T22:02:00
https://api.github.com/repos/huggingface/datasets/issues/7834/comments
null
false
Audio.cast_column() or Audio.decode_example() causes Colab kernel crash (std::bad_alloc) ### Describe the bug When using the huggingface datasets.Audio feature to decode a local or remote (public HF dataset) audio file inside Google Colab, the notebook kernel crashes with std::bad_alloc (C++ memory allocation failure)...
[ "Hi ! `datasets` v4 uses `torchcodec` for audio decoding (previous versions were using `soundfile`). What is your `torchcodec` version ? Can you try other versions of `torchcodec` and see if it works ?", "When I install `datasets` with `pip install datasets[audio]` it install this version of `torchcodec`:\n```\nN...
https://api.github.com/repos/huggingface/datasets/issues/7833
7,833
Fix: Properly render [!TIP] block in stream.shuffle documentation
The second line starting with the bracket doesn't properly render on huggingface/docs. Added "> " to address it. In the client documentation, the markdown 'TIP' paragraph in docs/stream#shuffle is not well executed, not as the other in the same page / while markdown is correctly considering it. Documentation: ht...
closed
2025-10-27T10:09:31
https://api.github.com/repos/huggingface/datasets/issues/7833/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7833", "html_url": "https://github.com/huggingface/datasets/pull/7833", "diff_url": "https://github.com/huggingface/datasets/pull/7833.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7833.patch", "merged_at": "2025-10-28T15:57...
true
Fix: Properly render [!TIP] block in stream.shuffle documentation The second line starting with the bracket doesn't properly render on huggingface/docs. Added "> " to address it. In the client documentation, the markdown 'TIP' paragraph in docs/stream#shuffle is not well executed, not as the other in the same page /...
[]
https://api.github.com/repos/huggingface/datasets/issues/7832
7,832
[DOCS][minor] TIPS paragraph not compiled in docs/stream
In the client documentation, the markdown 'TIP' paragraph for paragraph in docs/stream#shuffle is not well executed — not as the other in the same page / while markdown is correctly considering it. Documentation: https://huggingface.co/docs/datasets/v4.3.0/en/stream#shuffle:~:text=%5B!TIP%5D%5BIterableDataset.shuffle(...
closed
2025-10-27T10:03:22
https://api.github.com/repos/huggingface/datasets/issues/7832/comments
null
false
[DOCS][minor] TIPS paragraph not compiled in docs/stream In the client documentation, the markdown 'TIP' paragraph for paragraph in docs/stream#shuffle is not well executed — not as the other in the same page / while markdown is correctly considering it. Documentation: https://huggingface.co/docs/datasets/v4.3.0/en/st...
[]
https://api.github.com/repos/huggingface/datasets/issues/7831
7,831
resolves the ValueError: Unable to avoid copy while creating an array
## Summary Fixes #7818 This PR resolves the `ValueError: Unable to avoid copy while creating an array` error that occurs when using `train_test_split` with `stratify_by_column` parameter in NumPy 2.0+. ## Changes - Wrapped the stratify column array access with `np.asarray()` in `arrow_dataset.py` - This allow...
closed
2025-10-25T08:13:54
https://api.github.com/repos/huggingface/datasets/issues/7831/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7831", "html_url": "https://github.com/huggingface/datasets/pull/7831", "diff_url": "https://github.com/huggingface/datasets/pull/7831.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7831.patch", "merged_at": "2025-10-28T16:10...
true
resolves the ValueError: Unable to avoid copy while creating an array ## Summary Fixes #7818 This PR resolves the `ValueError: Unable to avoid copy while creating an array` error that occurs when using `train_test_split` with `stratify_by_column` parameter in NumPy 2.0+. ## Changes - Wrapped the stratify colum...
[ "## Also i have done some tests on real dataset\r\n\r\n### Tested with real datasets:\r\n- ✅ IMDB dataset with NumPy 1.26.4 and 2.3.4\r\n- ✅ Rotten Tomatoes dataset with NumPy 1.26.4 and 2.3.4\r\n- ✅ Artificial datasets with ClassLabel features\r\n\r\n### Results:\r\n- Stratified splits work correctly in both NumPy...
https://api.github.com/repos/huggingface/datasets/issues/7830
7,830
fix ci compressionfs
null
closed
2025-10-24T14:29:00
https://api.github.com/repos/huggingface/datasets/issues/7830/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7830", "html_url": "https://github.com/huggingface/datasets/pull/7830", "diff_url": "https://github.com/huggingface/datasets/pull/7830.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7830.patch", "merged_at": "2025-10-24T14:46...
true
fix ci compressionfs
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7830). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
https://api.github.com/repos/huggingface/datasets/issues/7829
7,829
Memory leak / Large memory usage with num_workers = 0 and numerous dataset within DatasetDict
### Describe the bug Hi team, first off, I love the datasets library! 🥰 I'm encountering a potential memory leak / increasing memory usage when training a model on a very large DatasetDict. Setup: I have a DatasetDict containing 362 distinct datasets, which sum up to ~2.8 billion rows. Training Task: I'm performin...
open
2025-10-24T09:51:38
https://api.github.com/repos/huggingface/datasets/issues/7829/comments
null
false
Memory leak / Large memory usage with num_workers = 0 and numerous dataset within DatasetDict ### Describe the bug Hi team, first off, I love the datasets library! 🥰 I'm encountering a potential memory leak / increasing memory usage when training a model on a very large DatasetDict. Setup: I have a DatasetDict cont...
[ "Thanks for the report, this is possibly related #7722 and #7694.\n\nCould you pls provide steps to reproduce this?", "To overcome this issue right now I did simply reduce the size of the dataset and ended up running a for loop (my training has now a constant learning rate schedule). From what I understood, and I...
https://api.github.com/repos/huggingface/datasets/issues/7828
7,828
set dev version
null
closed
2025-10-23T16:34:44
https://api.github.com/repos/huggingface/datasets/issues/7828/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7828", "html_url": "https://github.com/huggingface/datasets/pull/7828", "diff_url": "https://github.com/huggingface/datasets/pull/7828.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7828.patch", "merged_at": "2025-10-23T16:34...
true
set dev version
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7828). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
https://api.github.com/repos/huggingface/datasets/issues/7827
7,827
release: 4.3.0
null
closed
2025-10-23T16:30:48
https://api.github.com/repos/huggingface/datasets/issues/7827/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7827", "html_url": "https://github.com/huggingface/datasets/pull/7827", "diff_url": "https://github.com/huggingface/datasets/pull/7827.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7827.patch", "merged_at": "2025-10-23T16:31...
true
release: 4.3.0
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7827). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
https://api.github.com/repos/huggingface/datasets/issues/7826
7,826
picklable batch_fn
null
closed
2025-10-23T16:28:52
https://api.github.com/repos/huggingface/datasets/issues/7826/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7826", "html_url": "https://github.com/huggingface/datasets/pull/7826", "diff_url": "https://github.com/huggingface/datasets/pull/7826.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7826.patch", "merged_at": "2025-10-23T16:29...
true
picklable batch_fn
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7826). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
https://api.github.com/repos/huggingface/datasets/issues/7825
7,825
Fix ArrowInvalid for large variables
Fixes #7821 In addition to the solution proposed in the issue, I encountered we also need to support 64bit types when writing using the `RecordBatchStreamWriter`. Not sure if we want to create such large objects in the CI, but this is the only way to test that the issue is fixed, therefore I added the unit test.
open
2025-10-22T14:42:47
https://api.github.com/repos/huggingface/datasets/issues/7825/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7825", "html_url": "https://github.com/huggingface/datasets/pull/7825", "diff_url": "https://github.com/huggingface/datasets/pull/7825.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7825.patch", "merged_at": null }
true
Fix ArrowInvalid for large variables Fixes #7821 In addition to the solution proposed in the issue, I encountered we also need to support 64bit types when writing using the `RecordBatchStreamWriter`. Not sure if we want to create such large objects in the CI, but this is the only way to test that the issue is fi...
[ "@lhoestq : from what I see in the CI logs ( tests/test_arrow_dataset.py::test_map_int32_overflow \r\n/opt/hostedtoolcache/Python/3.9.23/x64/lib/python3.9/site-packages/multiprocess/resource_tracker.py:219: UserWarning: resource_tracker: There appear to be 24 leaked shared_memory objects to clean up at shutdown\r\n...
https://api.github.com/repos/huggingface/datasets/issues/7824
7,824
Fix batch_size default description in to_polars docstrings
Fix batch_size default description in `to_polars` docstrings.
closed
2025-10-20T06:38:19
https://api.github.com/repos/huggingface/datasets/issues/7824/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7824", "html_url": "https://github.com/huggingface/datasets/pull/7824", "diff_url": "https://github.com/huggingface/datasets/pull/7824.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7824.patch", "merged_at": "2025-10-20T13:49...
true
Fix batch_size default description in to_polars docstrings Fix batch_size default description in `to_polars` docstrings.
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7824). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
https://api.github.com/repos/huggingface/datasets/issues/7823
7,823
Fix random seed on shuffle and interleave_datasets
closes #7567 Add `shift_rngs` method to `ExamplesIterable` that is called directly after sharding. If a generator is available (not the case for all subclasses) we update the seed of the generator by shifting by the worker_id. ~This is just the fix for `shuffle`, in the corresponding issue `interleave_datasets` i...
closed
2025-10-17T10:21:47
https://api.github.com/repos/huggingface/datasets/issues/7823/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7823", "html_url": "https://github.com/huggingface/datasets/pull/7823", "diff_url": "https://github.com/huggingface/datasets/pull/7823.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7823.patch", "merged_at": "2025-10-24T14:04...
true
Fix random seed on shuffle and interleave_datasets closes #7567 Add `shift_rngs` method to `ExamplesIterable` that is called directly after sharding. If a generator is available (not the case for all subclasses) we update the seed of the generator by shifting by the worker_id. ~This is just the fix for `shuffle`,...
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7823). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "Cool ! To avoid unwanted side effects it could be implemented for every class instead o...
https://api.github.com/repos/huggingface/datasets/issues/7822
7,822
Retry open hf file
Fix this error ```python File "/workdir/.venv/lib/python3.13/site-packages/datasets/utils/file_utils.py", line 934, in xopen file_obj = fsspec.open(file, mode=mode, *args, **kwargs).open() File "/workdir/.venv/lib/python3.13/site-packages/fsspec/core.py", line 147, in open return self.__enter__() ...
closed
2025-10-17T09:48:51
https://api.github.com/repos/huggingface/datasets/issues/7822/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7822", "html_url": "https://github.com/huggingface/datasets/pull/7822", "diff_url": "https://github.com/huggingface/datasets/pull/7822.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7822.patch", "merged_at": "2025-10-17T09:51...
true
Retry open hf file Fix this error ```python File "/workdir/.venv/lib/python3.13/site-packages/datasets/utils/file_utils.py", line 934, in xopen file_obj = fsspec.open(file, mode=mode, *args, **kwargs).open() File "/workdir/.venv/lib/python3.13/site-packages/fsspec/core.py", line 147, in open return s...
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7822). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
https://api.github.com/repos/huggingface/datasets/issues/7821
7,821
Building a dataset with large variable size arrays results in error ArrowInvalid: Value X too large to fit in C integer type
### Describe the bug I used map to store raw audio waveforms of variable lengths in a column of a dataset the `map` call fails with ArrowInvalid: Value X too large to fit in C integer type. ``` Traceback (most recent call last): Traceback (most recent call last): File "...lib/python3.12/site-packages/multiprocess/p...
open
2025-10-16T08:45:17
https://api.github.com/repos/huggingface/datasets/issues/7821/comments
null
false
Building a dataset with large variable size arrays results in error ArrowInvalid: Value X too large to fit in C integer type ### Describe the bug I used map to store raw audio waveforms of variable lengths in a column of a dataset the `map` call fails with ArrowInvalid: Value X too large to fit in C integer type. ```...
[ "Thanks for reporting ! You can fix this by specifying the output type explicitly and use `LargeList` which uses int64 for offsets:\n\n```python\nfeatures = Features({\"audio\": LargeList(Value(\"uint16\"))})\nds = ds.map(..., features=features)\n```\n\nIt would be cool to improve `list_of_pa_arrays_to_pyarrow_list...
https://api.github.com/repos/huggingface/datasets/issues/7820
7,820
Keep hffs cache in workers when streaming
(and also reorder the hffs args to improve caching) When using `DataLoader(iterable_dataset, num_workers=...)` the dataset is pickled and passed to the worker. However previously the resulting dataset would be in a process with an empty hffs cache. By keeping the cache attached to `IterableDataset`, the cached hffs ...
closed
2025-10-15T15:51:28
https://api.github.com/repos/huggingface/datasets/issues/7820/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7820", "html_url": "https://github.com/huggingface/datasets/pull/7820", "diff_url": "https://github.com/huggingface/datasets/pull/7820.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7820.patch", "merged_at": "2025-10-17T09:59...
true
Keep hffs cache in workers when streaming (and also reorder the hffs args to improve caching) When using `DataLoader(iterable_dataset, num_workers=...)` the dataset is pickled and passed to the worker. However previously the resulting dataset would be in a process with an empty hffs cache. By keeping the cache attac...
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7820). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
https://api.github.com/repos/huggingface/datasets/issues/7819
7,819
Cannot download opus dataset
When I tried to download opus_books using: from datasets import load_dataset dataset = load_dataset("Helsinki-NLP/opus_books") I got the following errors: FileNotFoundError: Couldn't find any data file at /workspace/Helsinki-NLP/opus_books. Couldn't find 'Helsinki-NLP/opus_books' on the Hugging Face Hub either: Local...
open
2025-10-15T09:06:19
https://api.github.com/repos/huggingface/datasets/issues/7819/comments
null
false
Cannot download opus dataset When I tried to download opus_books using: from datasets import load_dataset dataset = load_dataset("Helsinki-NLP/opus_books") I got the following errors: FileNotFoundError: Couldn't find any data file at /workspace/Helsinki-NLP/opus_books. Couldn't find 'Helsinki-NLP/opus_books' on the H...
[ "Hi ! it seems \"en-zh\" doesn't exist for this dataset\n\nYou can see the list of subsets here: https://huggingface.co/datasets/Helsinki-NLP/opus_books" ]
https://api.github.com/repos/huggingface/datasets/issues/7818
7,818
train_test_split and stratify breaks with Numpy 2.0
### Describe the bug As stated in the title, since Numpy changed in version >2.0 with copy, the stratify parameters break. e.g. `all_dataset.train_test_split(test_size=0.2,stratify_by_column="label")` returns a Numpy error. It works if you downgrade Numpy to a version lower than 2.0. ### Steps to reproduce the bug ...
closed
2025-10-15T00:01:19
https://api.github.com/repos/huggingface/datasets/issues/7818/comments
null
false
train_test_split and stratify breaks with Numpy 2.0 ### Describe the bug As stated in the title, since Numpy changed in version >2.0 with copy, the stratify parameters break. e.g. `all_dataset.train_test_split(test_size=0.2,stratify_by_column="label")` returns a Numpy error. It works if you downgrade Numpy to a vers...
[ "I can't reproduce this. Could you pls provide an example with a public dataset/artificial dataset and show how you loaded that?\n\nThis works for me:\n\n```python\nimport numpy as np\nfrom datasets import Dataset, Features, ClassLabel, Value\n\ndata = {\"text\": [f\"sample_{i}\" for i in range(100)], \"label\": [i...
https://api.github.com/repos/huggingface/datasets/issues/7817
7,817
fix: better args passthrough for `_batch_setitems()`
In Python 3.14, there's a change in the signature of `_Pickler._batch_setitems`. It's changed to: ```python # pickle.py def _batch_setitems(self, items, obj): # Helper to batch up SETITEMS sequences; proto >= 1 only save = self.save write = self.write ``` To accomodate this, in `dill`, we h...
closed
2025-10-14T22:51:51
https://api.github.com/repos/huggingface/datasets/issues/7817/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7817", "html_url": "https://github.com/huggingface/datasets/pull/7817", "diff_url": "https://github.com/huggingface/datasets/pull/7817.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7817.patch", "merged_at": "2025-10-27T17:08...
true
fix: better args passthrough for `_batch_setitems()` In Python 3.14, there's a change in the signature of `_Pickler._batch_setitems`. It's changed to: ```python # pickle.py def _batch_setitems(self, items, obj): # Helper to batch up SETITEMS sequences; proto >= 1 only save = self.save write = s...
[ "@sghng There is a regression with python 3.13.8 when lm-eval is calling datasets load\r\n\r\n```python\r\nself = <test_llama3_2.TestLlama3_2 testMethod=test_llama3_2>\r\n\r\n def test_llama3_2(self):\r\n> self.quant_lm_eval()\r\n\r\ntests/models/test_llama3_2.py:35: \r\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ...
https://api.github.com/repos/huggingface/datasets/issues/7816
7,816
disable_progress_bar() not working as expected
### Describe the bug Hi, I'm trying to load a dataset on Kaggle TPU image. There is some known compat issue with progress bar on Kaggle, so I'm trying to disable the progress bar globally. This does not work as you can see in [here](https://www.kaggle.com/code/windmaple/hf-datasets-issue). In contract, disabling pro...
closed
2025-10-14T03:25:39
https://api.github.com/repos/huggingface/datasets/issues/7816/comments
null
false
disable_progress_bar() not working as expected ### Describe the bug Hi, I'm trying to load a dataset on Kaggle TPU image. There is some known compat issue with progress bar on Kaggle, so I'm trying to disable the progress bar globally. This does not work as you can see in [here](https://www.kaggle.com/code/windmaple/...
[ "@xianbaoqian ", "Closing this one since it's a Xet issue." ]
https://api.github.com/repos/huggingface/datasets/issues/7815
7,815
Add nifti support
Add support for NIfTI. supports #7804 This PR follows https://github.com/huggingface/datasets/pull/7325 very closely I am a bit unsure what we need to add to the `document_dataset.mdx` and `document_load.mdx`. I should probably create a dataset on the hub first to create this guide instead of copy+pasting from...
closed
2025-10-13T20:07:32
https://api.github.com/repos/huggingface/datasets/issues/7815/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7815", "html_url": "https://github.com/huggingface/datasets/pull/7815", "diff_url": "https://github.com/huggingface/datasets/pull/7815.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7815.patch", "merged_at": "2025-10-24T13:22...
true
Add nifti support Add support for NIfTI. supports #7804 This PR follows https://github.com/huggingface/datasets/pull/7325 very closely I am a bit unsure what we need to add to the `document_dataset.mdx` and `document_load.mdx`. I should probably create a dataset on the hub first to create this guide instead of...
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7815). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "Btw I couldn't resist but share your PR with the community online on twitter already, I...
https://api.github.com/repos/huggingface/datasets/issues/7814
7,814
Allow streaming hdf5 files
Add streaming support after https://github.com/huggingface/datasets/pull/7690, cc @klamike :) ## Details in `datasets` loaders, `open()` is extended to work with files that are on disk but also on HF. Files on HF are streamed using HTTP range requests using the `HfFileSystem` implementation in the `huggingface_hu...
closed
2025-10-13T15:25:44
https://api.github.com/repos/huggingface/datasets/issues/7814/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7814", "html_url": "https://github.com/huggingface/datasets/pull/7814", "diff_url": "https://github.com/huggingface/datasets/pull/7814.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7814.patch", "merged_at": "2025-10-13T15:28...
true
Allow streaming hdf5 files Add streaming support after https://github.com/huggingface/datasets/pull/7690, cc @klamike :) ## Details in `datasets` loaders, `open()` is extended to work with files that are on disk but also on HF. Files on HF are streamed using HTTP range requests using the `HfFileSystem` implementa...
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7814). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
https://api.github.com/repos/huggingface/datasets/issues/7813
7,813
Caching does not work when using python3.14
### Describe the bug Traceback (most recent call last): File "/workspace/ctn.py", line 8, in <module> ds = load_dataset(f"naver-clova-ix/synthdog-{lang}") # или "synthdog-zh" для китайского File "/workspace/.venv/lib/python3.14/site-packages/datasets/load.py", line 1397, in load_dataset builder_instance =...
closed
2025-10-10T15:36:46
https://api.github.com/repos/huggingface/datasets/issues/7813/comments
null
false
Caching does not work when using python3.14 ### Describe the bug Traceback (most recent call last): File "/workspace/ctn.py", line 8, in <module> ds = load_dataset(f"naver-clova-ix/synthdog-{lang}") # или "synthdog-zh" для китайского File "/workspace/.venv/lib/python3.14/site-packages/datasets/load.py", line ...
[ "https://github.com/uqfoundation/dill/issues/725", "@intexcor does #7817 fix your problem?" ]
https://api.github.com/repos/huggingface/datasets/issues/7812
7,812
docs: document_dataset PDFs & OCR
Use acronyms consistently across document_dataset docs.
closed
2025-10-09T23:31:41
https://api.github.com/repos/huggingface/datasets/issues/7812/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7812", "html_url": "https://github.com/huggingface/datasets/pull/7812", "diff_url": "https://github.com/huggingface/datasets/pull/7812.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7812.patch", "merged_at": "2025-10-20T14:03...
true
docs: document_dataset PDFs & OCR Use acronyms consistently across document_dataset docs.
[]
https://api.github.com/repos/huggingface/datasets/issues/7811
7,811
SIGSEGV when Python exits due to near null deref
### Describe the bug When I run the following python script using datasets I get a segfault. ```python from datasets import load_dataset from tqdm import tqdm progress_bar = tqdm(total=(1000), unit='cols', desc='cols ') progress_bar.update(1) ``` ``` % lldb -- python3 crashmin.py (lldb) target create "python3" Cur...
open
2025-10-09T22:00:11
https://api.github.com/repos/huggingface/datasets/issues/7811/comments
null
false
SIGSEGV when Python exits due to near null deref ### Describe the bug When I run the following python script using datasets I get a segfault. ```python from datasets import load_dataset from tqdm import tqdm progress_bar = tqdm(total=(1000), unit='cols', desc='cols ') progress_bar.update(1) ``` ``` % lldb -- python...
[ "The issue seems to come from `dill` which is a `datasets` dependency, e.g. this segfaults:\n\n```python\nimport dill\nfrom tqdm import tqdm\nprogress_bar = tqdm(total=(1000), unit='cols', desc='cols ')\nprogress_bar.update(1)\n```\n\n`tqdm` seems to segfault when `dill` is imported. I only found this about segfaul...
https://api.github.com/repos/huggingface/datasets/issues/7810
7,810
fix conda deps
null
closed
2025-10-09T16:32:04
https://api.github.com/repos/huggingface/datasets/issues/7810/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7810", "html_url": "https://github.com/huggingface/datasets/pull/7810", "diff_url": "https://github.com/huggingface/datasets/pull/7810.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7810.patch", "merged_at": "2025-10-09T16:35...
true
fix conda deps
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7810). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
https://api.github.com/repos/huggingface/datasets/issues/7809
7,809
Set dev version
null
closed
2025-10-09T16:19:19
https://api.github.com/repos/huggingface/datasets/issues/7809/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7809", "html_url": "https://github.com/huggingface/datasets/pull/7809", "diff_url": "https://github.com/huggingface/datasets/pull/7809.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7809.patch", "merged_at": "2025-10-09T16:19...
true
Set dev version
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7809). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
https://api.github.com/repos/huggingface/datasets/issues/7808
7,808
release: 4.2.0
null
closed
2025-10-09T16:10:53
https://api.github.com/repos/huggingface/datasets/issues/7808/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7808", "html_url": "https://github.com/huggingface/datasets/pull/7808", "diff_url": "https://github.com/huggingface/datasets/pull/7808.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7808.patch", "merged_at": "2025-10-09T16:11...
true
release: 4.2.0
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7808). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
https://api.github.com/repos/huggingface/datasets/issues/7807
7,807
typo
add an s to be consistent with pandas' on_bad_lines
closed
2025-10-09T16:06:47
https://api.github.com/repos/huggingface/datasets/issues/7807/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7807", "html_url": "https://github.com/huggingface/datasets/pull/7807", "diff_url": "https://github.com/huggingface/datasets/pull/7807.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7807.patch", "merged_at": "2025-10-09T16:06...
true
typo add an s to be consistent with pandas' on_bad_lines
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7807). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
https://api.github.com/repos/huggingface/datasets/issues/7806
7,806
Parquet: add `on_bad_file` argument to error/warn/skip bad files
```python from datasets import load_dataset on_bad_file = "error" # default # on_bad_file = "warn" # warn and skip bad file # on_bad_file = "skip" # skip bad file ds = load_dataset(parquet_dataset_id, on_bad_file=on_bad_file) ```
closed
2025-10-09T14:41:46
https://api.github.com/repos/huggingface/datasets/issues/7806/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7806", "html_url": "https://github.com/huggingface/datasets/pull/7806", "diff_url": "https://github.com/huggingface/datasets/pull/7806.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7806.patch", "merged_at": "2025-10-09T16:04...
true
Parquet: add `on_bad_file` argument to error/warn/skip bad files ```python from datasets import load_dataset on_bad_file = "error" # default # on_bad_file = "warn" # warn and skip bad file # on_bad_file = "skip" # skip bad file ds = load_dataset(parquet_dataset_id, on_bad_file=on_bad_file) ```
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7806). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
https://api.github.com/repos/huggingface/datasets/issues/7805
7,805
Less api calls when resolving data_files
There ~10 unnecessary `/api/datasets/user/dataset/revision`calls due to multithreading in data files resolution. I disabled multithreading, which was actually not useful anymore since `HfFileSystem` has been using caching for a while now.
closed
2025-10-09T13:53:06
https://api.github.com/repos/huggingface/datasets/issues/7805/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7805", "html_url": "https://github.com/huggingface/datasets/pull/7805", "diff_url": "https://github.com/huggingface/datasets/pull/7805.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7805.patch", "merged_at": "2025-10-09T14:01...
true
Less api calls when resolving data_files There ~10 unnecessary `/api/datasets/user/dataset/revision`calls due to multithreading in data files resolution. I disabled multithreading, which was actually not useful anymore since `HfFileSystem` has been using caching for a while now.
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7805). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
https://api.github.com/repos/huggingface/datasets/issues/7804
7,804
Support scientific data formats
List of formats and libraries we can use to load the data in `datasets`: - [ ] DICOMs: pydicom - [x] NIfTIs: nibabel - [ ] WFDB: wfdb cc @zaRizk7 for viz Feel free to comment / suggest other formats and libs you'd like to see or to share your interest in one of the mentioned format
open
2025-10-09T10:18:24
https://api.github.com/repos/huggingface/datasets/issues/7804/comments
null
false
Support scientific data formats List of formats and libraries we can use to load the data in `datasets`: - [ ] DICOMs: pydicom - [x] NIfTIs: nibabel - [ ] WFDB: wfdb cc @zaRizk7 for viz Feel free to comment / suggest other formats and libs you'd like to see or to share your interest in one of the mentioned format
[ "Please add the support for `Zarr`! That's what we use in the Bioimaging community. It is crucial, because raw upload of a *single* bio image can take _terrabytes in memory_!\n\nThe python library would be `bioio` or `zarr`:\n- [ ] Zarr: `bioio` or `zarr`\n\nSee a [Zarr example](https://ome.github.io/ome-ngff-valid...
https://api.github.com/repos/huggingface/datasets/issues/7803
7,803
More Parquet streaming docs
null
closed
2025-10-09T09:39:11
https://api.github.com/repos/huggingface/datasets/issues/7803/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7803", "html_url": "https://github.com/huggingface/datasets/pull/7803", "diff_url": "https://github.com/huggingface/datasets/pull/7803.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7803.patch", "merged_at": "2025-10-09T10:01...
true
More Parquet streaming docs
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7803). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
https://api.github.com/repos/huggingface/datasets/issues/7802
7,802
[Docs] Missing documentation for `Dataset.from_dict`
Documentation link: https://huggingface.co/docs/datasets/en/package_reference/main_classes Link to method (docstring present): https://github.com/huggingface/datasets/blob/6f2502c5a026caa89839713f6f7c8b958e5e83eb/src/datasets/arrow_dataset.py#L1029 The docstring is present for the function, but seems missing from the...
open
2025-10-09T02:54:41
https://api.github.com/repos/huggingface/datasets/issues/7802/comments
null
false
[Docs] Missing documentation for `Dataset.from_dict` Documentation link: https://huggingface.co/docs/datasets/en/package_reference/main_classes Link to method (docstring present): https://github.com/huggingface/datasets/blob/6f2502c5a026caa89839713f6f7c8b958e5e83eb/src/datasets/arrow_dataset.py#L1029 The docstring is...
[ "I'd like to work on this documentation issue.", "Hi I'd like to work on this. I can see the docstring is already in the code. \nCould you confirm:\n1. Is this still available?\n2. Should I add this to the main_classes.md file, or is there a specific \n documentation file I should update?\n3. Are there any form...
https://api.github.com/repos/huggingface/datasets/issues/7801
7,801
Add parquet scan options and docs
I added scan options, useful to control buffering and caching when streaming and docs, including how to select a subset of columns and apply filters
closed
2025-10-08T18:04:52
https://api.github.com/repos/huggingface/datasets/issues/7801/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7801", "html_url": "https://github.com/huggingface/datasets/pull/7801", "diff_url": "https://github.com/huggingface/datasets/pull/7801.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7801.patch", "merged_at": "2025-10-09T07:55...
true
Add parquet scan options and docs I added scan options, useful to control buffering and caching when streaming and docs, including how to select a subset of columns and apply filters
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7801). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
https://api.github.com/repos/huggingface/datasets/issues/7800
7,800
Fix polars cast column image
Fixes #7765 The problem here is that polars uses pyarrow large_string for images, while pandas and others just use the string type. This PR solves that and adds a test. ```python import polars as pl from datasets import Dataset import pandas as pd import pyarrow as pa from pathlib import Path shared_data...
closed
2025-10-08T10:01:18
https://api.github.com/repos/huggingface/datasets/issues/7800/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7800", "html_url": "https://github.com/huggingface/datasets/pull/7800", "diff_url": "https://github.com/huggingface/datasets/pull/7800.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7800.patch", "merged_at": "2025-10-13T14:39...
true
Fix polars cast column image Fixes #7765 The problem here is that polars uses pyarrow large_string for images, while pandas and others just use the string type. This PR solves that and adds a test. ```python import polars as pl from datasets import Dataset import pandas as pd import pyarrow as pa from pathl...
[ "The Image() type is set to have a storage of `string` for \"path\" and not `large_string`. Therefore while your change does work to do the conversion, it can create issues in other places. For example I'm pretty sure you wouldn't be able to concatenate the resulting dataset with a dataset with Image() using `strin...
https://api.github.com/repos/huggingface/datasets/issues/7799
7,799
Define CI future
this should fix the CI which currently uses transformers on 3.9 while it's now unsupported
closed
2025-10-06T15:15:45
https://api.github.com/repos/huggingface/datasets/issues/7799/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7799", "html_url": "https://github.com/huggingface/datasets/pull/7799", "diff_url": "https://github.com/huggingface/datasets/pull/7799.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7799.patch", "merged_at": "2025-10-07T14:30...
true
Define CI future this should fix the CI which currently uses transformers on 3.9 while it's now unsupported
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7799). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
https://api.github.com/repos/huggingface/datasets/issues/7798
7,798
Audio dataset is not decoding on 4.1.1
### Describe the bug The audio column remain as non-decoded objects even when accessing them. ```python dataset = load_dataset("MrDragonFox/Elise", split = "train") dataset[0] # see that it doesn't show 'array' etc... ``` Works fine with `datasets==3.6.0` Followed the docs in - https://huggingface.co/docs/dataset...
open
2025-10-05T06:37:50
https://api.github.com/repos/huggingface/datasets/issues/7798/comments
null
false
Audio dataset is not decoding on 4.1.1 ### Describe the bug The audio column remain as non-decoded objects even when accessing them. ```python dataset = load_dataset("MrDragonFox/Elise", split = "train") dataset[0] # see that it doesn't show 'array' etc... ``` Works fine with `datasets==3.6.0` Followed the docs in ...
[ "Previously (datasets<=3.6.0), audio columns were decoded automatically when accessing a row. Now, for performance reasons, audio decoding is lazy by default: you just see the file path unless you explicitly cast the column to Audio.\n\nHere’s the fix (following the current [datasets audio docs](https://huggingface...
https://api.github.com/repos/huggingface/datasets/issues/7797
7,797
Datasets: Add WMT21 & WMT22 loaders (basic TSV loaders, sample data, tests)
- Implemented TSV-based dataset loaders: - WMT21Dataset (local_datasets/wmt21/wmt21_dataset.py) - WMT22Dataset (local_datasets/wmt22/wmt22_dataset.py) These classes load source-target pairs from .tsv files for train, validation, and test splits. - Created sample dummy data for both datasets: - dummy_da...
closed
2025-10-01T10:46:01
https://api.github.com/repos/huggingface/datasets/issues/7797/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7797", "html_url": "https://github.com/huggingface/datasets/pull/7797", "diff_url": "https://github.com/huggingface/datasets/pull/7797.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7797.patch", "merged_at": null }
true
Datasets: Add WMT21 & WMT22 loaders (basic TSV loaders, sample data, tests) - Implemented TSV-based dataset loaders: - WMT21Dataset (local_datasets/wmt21/wmt21_dataset.py) - WMT22Dataset (local_datasets/wmt22/wmt22_dataset.py) These classes load source-target pairs from .tsv files for train, validation, and...
[ "closing since datasets should be added on https://huggingface.co directly" ]