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/7593
7,593
Fix broken link to albumentations
A few months back I rewrote all docs at [https://albumentations.ai/docs](https://albumentations.ai/docs), and some pages changed their links. In this PR fixed link to the most recent doc in Albumentations about bounding boxes and it's format. Fix a few typos in the doc as well.
closed
2025-06-04T19:00:13
https://api.github.com/repos/huggingface/datasets/issues/7593/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7593", "html_url": "https://github.com/huggingface/datasets/pull/7593", "diff_url": "https://github.com/huggingface/datasets/pull/7593.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7593.patch", "merged_at": "2025-06-05T16:36...
true
Fix broken link to albumentations A few months back I rewrote all docs at [https://albumentations.ai/docs](https://albumentations.ai/docs), and some pages changed their links. In this PR fixed link to the most recent doc in Albumentations about bounding boxes and it's format. Fix a few typos in the doc as well.
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7593). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "@lhoestq ping" ]
https://api.github.com/repos/huggingface/datasets/issues/7592
7,592
Remove scripts altogether
TODO: - [x] remplace fixtures based on script with no-script fixtures - [x] windaube
closed
2025-06-04T15:14:11
https://api.github.com/repos/huggingface/datasets/issues/7592/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7592", "html_url": "https://github.com/huggingface/datasets/pull/7592", "diff_url": "https://github.com/huggingface/datasets/pull/7592.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7592.patch", "merged_at": "2025-06-09T16:45...
true
Remove scripts altogether TODO: - [x] remplace fixtures based on script with no-script fixtures - [x] windaube
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7592). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "Hi @lhoestq,\r\nI wanted to ask\r\nare you planning to stop supporting dataset builds u...
https://api.github.com/repos/huggingface/datasets/issues/7591
7,591
Add num_proc parameter to push_to_hub
### Feature request A number of processes parameter to the dataset.push_to_hub method ### Motivation Shards are currently uploaded serially which makes it slow for many shards, uploading can be done in parallel and much faster
closed
2025-06-04T13:19:15
https://api.github.com/repos/huggingface/datasets/issues/7591/comments
null
false
Add num_proc parameter to push_to_hub ### Feature request A number of processes parameter to the dataset.push_to_hub method ### Motivation Shards are currently uploaded serially which makes it slow for many shards, uploading can be done in parallel and much faster
[ "Hi @SwayStar123 \n\nI'd be interested in taking this up. I plan to add a `num_proc` parameter to `push_to_hub()` and use parallel uploads for shards using `concurrent.futures`. Will explore whether `ThreadPoolExecutor` or `ProcessPoolExecutor` is more suitable based on current implementation. Let me know if that s...
https://api.github.com/repos/huggingface/datasets/issues/7590
7,590
`Sequence(Features(...))` causes PyArrow cast error in `load_dataset` despite correct schema.
### Description When loading a dataset with a field declared as a list of structs using `Sequence(Features(...))`, `load_dataset` incorrectly infers the field as a plain `struct<...>` instead of a `list<struct<...>>`. This leads to the following error: ``` ArrowNotImplementedError: Unsupported cast from list<item: st...
closed
2025-05-29T22:53:36
https://api.github.com/repos/huggingface/datasets/issues/7590/comments
null
false
`Sequence(Features(...))` causes PyArrow cast error in `load_dataset` despite correct schema. ### Description When loading a dataset with a field declared as a list of structs using `Sequence(Features(...))`, `load_dataset` incorrectly infers the field as a plain `struct<...>` instead of a `list<struct<...>>`. This le...
[ "Hi @lhoestq \n\nCould you help confirm whether this qualifies as a bug?\n\nIt looks like the issue stems from how `Sequence(Features(...))` is interpreted as a plain struct during schema inference, which leads to a mismatch when casting with PyArrow (especially with nested structs inside lists). From the descripti...
https://api.github.com/repos/huggingface/datasets/issues/7589
7,589
feat: use content defined chunking
Use content defined chunking by default when writing parquet files. - [x] set the parameters in `io.parquet.ParquetDatasetReader` - [x] set the parameters in `arrow_writer.ParquetWriter` It requires a new pyarrow pin ">=21.0.0" which is released now.
closed
2025-05-29T18:19:41
https://api.github.com/repos/huggingface/datasets/issues/7589/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7589", "html_url": "https://github.com/huggingface/datasets/pull/7589", "diff_url": "https://github.com/huggingface/datasets/pull/7589.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7589.patch", "merged_at": "2025-09-09T13:45...
true
feat: use content defined chunking Use content defined chunking by default when writing parquet files. - [x] set the parameters in `io.parquet.ParquetDatasetReader` - [x] set the parameters in `arrow_writer.ParquetWriter` It requires a new pyarrow pin ">=21.0.0" which is released now.
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7589). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "Need to set `DEFAULT_MAX_BATCH_SIZE = 1024 * 1024`", "We should consider enabling pag...
https://api.github.com/repos/huggingface/datasets/issues/7588
7,588
ValueError: Invalid pattern: '**' can only be an entire path component [Colab]
### Describe the bug I have a dataset on HF [here](https://huggingface.co/datasets/kambale/luganda-english-parallel-corpus) that i've previously used to train a translation model [here](https://huggingface.co/kambale/pearl-11m-translate). now i changed a few hyperparameters to increase number of tokens for the model,...
closed
2025-05-27T13:46:05
https://api.github.com/repos/huggingface/datasets/issues/7588/comments
null
false
ValueError: Invalid pattern: '**' can only be an entire path component [Colab] ### Describe the bug I have a dataset on HF [here](https://huggingface.co/datasets/kambale/luganda-english-parallel-corpus) that i've previously used to train a translation model [here](https://huggingface.co/kambale/pearl-11m-translate). ...
[ "Could you please run the following code snippet in your environment and share the exact output? This will help check for any compatibility issues within the env itself. \n\n```\nimport datasets\nimport huggingface_hub\nimport fsspec\n\nprint(\"datasets version:\", datasets.__version__)\nprint(\"huggingface_hub ver...
https://api.github.com/repos/huggingface/datasets/issues/7587
7,587
load_dataset splits typing
close https://github.com/huggingface/datasets/issues/7583
closed
2025-05-26T18:28:40
https://api.github.com/repos/huggingface/datasets/issues/7587/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7587", "html_url": "https://github.com/huggingface/datasets/pull/7587", "diff_url": "https://github.com/huggingface/datasets/pull/7587.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7587.patch", "merged_at": "2025-05-26T18:29...
true
load_dataset splits typing close https://github.com/huggingface/datasets/issues/7583
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7587). 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/7586
7,586
help is appreciated
### Feature request https://github.com/rajasekarnp1/neural-audio-upscaler/tree/main ### Motivation ai model develpment and audio ### Your contribution ai model develpment and audio
open
2025-05-26T14:00:42
https://api.github.com/repos/huggingface/datasets/issues/7586/comments
null
false
help is appreciated ### Feature request https://github.com/rajasekarnp1/neural-audio-upscaler/tree/main ### Motivation ai model develpment and audio ### Your contribution ai model develpment and audio
[ "how is this related to this repository ?" ]
https://api.github.com/repos/huggingface/datasets/issues/7585
7,585
Avoid multiple default config names
Fix duplicating default config names. Currently, when calling `push_to_hub(set_default=True` with 2 different config names, both are set as default. Moreover, this will generate an error next time we try to push another default config name, raised by `MetadataConfigs.get_default_config_name`: https://github.com...
closed
2025-05-26T13:27:59
https://api.github.com/repos/huggingface/datasets/issues/7585/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7585", "html_url": "https://github.com/huggingface/datasets/pull/7585", "diff_url": "https://github.com/huggingface/datasets/pull/7585.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7585.patch", "merged_at": "2025-06-05T12:41...
true
Avoid multiple default config names Fix duplicating default config names. Currently, when calling `push_to_hub(set_default=True` with 2 different config names, both are set as default. Moreover, this will generate an error next time we try to push another default config name, raised by `MetadataConfigs.get_defau...
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7585). 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/7584
7,584
Add LMDB format support
### Feature request Add LMDB format support for large memory-mapping files ### Motivation Add LMDB format support for large memory-mapping files ### Your contribution I'm trying to add it
open
2025-05-26T07:10:13
https://api.github.com/repos/huggingface/datasets/issues/7584/comments
null
false
Add LMDB format support ### Feature request Add LMDB format support for large memory-mapping files ### Motivation Add LMDB format support for large memory-mapping files ### Your contribution I'm trying to add it
[ "Hi ! Can you explain what's your use case ? Is it about converting LMDB to Dataset objects (i.e. converting to Arrow) ?" ]
https://api.github.com/repos/huggingface/datasets/issues/7583
7,583
load_dataset type stubs reject List[str] for split parameter, but runtime supports it
### Describe the bug The [load_dataset](https://huggingface.co/docs/datasets/v3.6.0/en/package_reference/loading_methods#datasets.load_dataset) method accepts a `List[str]` as the split parameter at runtime, however, the current type stubs restrict the split parameter to `Union[str, Split, None]`. This causes type che...
closed
2025-05-25T02:33:18
https://api.github.com/repos/huggingface/datasets/issues/7583/comments
null
false
load_dataset type stubs reject List[str] for split parameter, but runtime supports it ### Describe the bug The [load_dataset](https://huggingface.co/docs/datasets/v3.6.0/en/package_reference/loading_methods#datasets.load_dataset) method accepts a `List[str]` as the split parameter at runtime, however, the current type...
[]
https://api.github.com/repos/huggingface/datasets/issues/7582
7,582
fix: Add embed_storage in Pdf feature
Add missing `embed_storage` method in Pdf feature (Same as in Audio and Image)
closed
2025-05-22T14:06:29
https://api.github.com/repos/huggingface/datasets/issues/7582/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7582", "html_url": "https://github.com/huggingface/datasets/pull/7582", "diff_url": "https://github.com/huggingface/datasets/pull/7582.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7582.patch", "merged_at": "2025-05-22T14:17...
true
fix: Add embed_storage in Pdf feature Add missing `embed_storage` method in Pdf feature (Same as in Audio and Image)
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7582). 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/7581
7,581
Add missing property on `RepeatExamplesIterable`
Fixes #7561
closed
2025-05-22T11:41:07
https://api.github.com/repos/huggingface/datasets/issues/7581/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7581", "html_url": "https://github.com/huggingface/datasets/pull/7581", "diff_url": "https://github.com/huggingface/datasets/pull/7581.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7581.patch", "merged_at": "2025-06-05T12:41...
true
Add missing property on `RepeatExamplesIterable` Fixes #7561
[]
https://api.github.com/repos/huggingface/datasets/issues/7580
7,580
Requesting a specific split (eg: test) still downloads all (train, test, val) data when streaming=False.
### Describe the bug When using load_dataset() from the datasets library (in load.py), specifying a particular split (e.g., split="train") still results in downloading data for all splits when streaming=False. This happens during the builder_instance.download_and_prepare() call. This behavior leads to unnecessary band...
open
2025-05-22T11:08:16
https://api.github.com/repos/huggingface/datasets/issues/7580/comments
null
false
Requesting a specific split (eg: test) still downloads all (train, test, val) data when streaming=False. ### Describe the bug When using load_dataset() from the datasets library (in load.py), specifying a particular split (e.g., split="train") still results in downloading data for all splits when streaming=False. This...
[ "Hi ! There was a PR open to improve this: https://github.com/huggingface/datasets/pull/6832 \nbut it hasn't been continued so far.\n\nIt would be a cool improvement though !", "Been having this problem with datasets and dataloader for a while." ]
https://api.github.com/repos/huggingface/datasets/issues/7579
7,579
Fix typos in PDF and Video documentation
null
closed
2025-05-22T02:27:40
https://api.github.com/repos/huggingface/datasets/issues/7579/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7579", "html_url": "https://github.com/huggingface/datasets/pull/7579", "diff_url": "https://github.com/huggingface/datasets/pull/7579.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7579.patch", "merged_at": "2025-05-22T12:53...
true
Fix typos in PDF and Video documentation
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7579). 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/7577
7,577
arrow_schema is not compatible with list
### Describe the bug ``` import datasets f = datasets.Features({'x': list[datasets.Value(dtype='int32')]}) f.arrow_schema Traceback (most recent call last): File "datasets/features/features.py", line 1826, in arrow_schema return pa.schema(self.type).with_metadata({"huggingface": json.dumps(hf_metadata)}) ...
closed
2025-05-21T16:37:01
https://api.github.com/repos/huggingface/datasets/issues/7577/comments
null
false
arrow_schema is not compatible with list ### Describe the bug ``` import datasets f = datasets.Features({'x': list[datasets.Value(dtype='int32')]}) f.arrow_schema Traceback (most recent call last): File "datasets/features/features.py", line 1826, in arrow_schema return pa.schema(self.type).with_metadata({"huggi...
[ "Thanks for reporting, I'll look into it", "Actually it looks like you just forgot parenthesis:\n\n```diff\n- f = datasets.Features({'x': list[datasets.Value(dtype='int32')]})\n+ f = datasets.Features({'x': list([datasets.Value(dtype='int32')])})\n```\n\nor simply using the `[ ]` syntax:\n\n```python\nf = dataset...
https://api.github.com/repos/huggingface/datasets/issues/7576
7,576
Fix regex library warnings
# PR Summary This small PR resolves the regex library warnings showing starting Python3.11: ```python DeprecationWarning: 'count' is passed as positional argument ```
closed
2025-05-21T14:31:58
https://api.github.com/repos/huggingface/datasets/issues/7576/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7576", "html_url": "https://github.com/huggingface/datasets/pull/7576", "diff_url": "https://github.com/huggingface/datasets/pull/7576.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7576.patch", "merged_at": "2025-06-05T12:37...
true
Fix regex library warnings # PR Summary This small PR resolves the regex library warnings showing starting Python3.11: ```python DeprecationWarning: 'count' is passed as positional argument ```
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7576). 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/7575
7,575
[MINOR:TYPO] Update save_to_disk docstring
r/hub/filesystem in save_to_disk
closed
2025-05-21T13:22:24
https://api.github.com/repos/huggingface/datasets/issues/7575/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7575", "html_url": "https://github.com/huggingface/datasets/pull/7575", "diff_url": "https://github.com/huggingface/datasets/pull/7575.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7575.patch", "merged_at": "2025-06-05T12:39...
true
[MINOR:TYPO] Update save_to_disk docstring r/hub/filesystem in save_to_disk
[]
https://api.github.com/repos/huggingface/datasets/issues/7574
7,574
Missing multilingual directions in IWSLT2017 dataset's processing script
### Describe the bug Hi, Upon using `iwslt2017.py` in `IWSLT/iwslt2017` on the Hub for loading the datasets, I am unable to obtain the datasets for the language pairs `de-it`, `de-ro`, `de-nl`, `it-de`, `nl-de`, and `ro-de` using it. These 6 pairs do not show up when using `get_dataset_config_names()` to obtain the ...
open
2025-05-21T09:53:17
https://api.github.com/repos/huggingface/datasets/issues/7574/comments
null
false
Missing multilingual directions in IWSLT2017 dataset's processing script ### Describe the bug Hi, Upon using `iwslt2017.py` in `IWSLT/iwslt2017` on the Hub for loading the datasets, I am unable to obtain the datasets for the language pairs `de-it`, `de-ro`, `de-nl`, `it-de`, `nl-de`, and `ro-de` using it. These 6 pa...
[ "I have opened 2 PRs on the Hub: `https://huggingface.co/datasets/IWSLT/iwslt2017/discussions/7` and `https://huggingface.co/datasets/IWSLT/iwslt2017/discussions/8` to resolve this issue", "cool ! I pinged the owners of the dataset on HF to merge your PRs :)" ]
https://api.github.com/repos/huggingface/datasets/issues/7573
7,573
No Samsum dataset
### Describe the bug https://huggingface.co/datasets/Samsung/samsum dataset not found error 404 Originated from https://github.com/meta-llama/llama-cookbook/issues/948 ### Steps to reproduce the bug go to website https://huggingface.co/datasets/Samsung/samsum see the error also downloading it with python throws `...
closed
2025-05-20T09:54:35
https://api.github.com/repos/huggingface/datasets/issues/7573/comments
null
false
No Samsum dataset ### Describe the bug https://huggingface.co/datasets/Samsung/samsum dataset not found error 404 Originated from https://github.com/meta-llama/llama-cookbook/issues/948 ### Steps to reproduce the bug go to website https://huggingface.co/datasets/Samsung/samsum see the error also downloading it wit...
[ "According to the following https://huggingface.co/posts/seawolf2357/424129432408590, as of now the dataset seems to be inaccessible.\n\n@IgorKasianenko, would https://huggingface.co/datasets/knkarthick/samsum suffice for your purpose?\n", "Thanks @SP1029 for the update!\nThat will work for now, using it as repla...
https://api.github.com/repos/huggingface/datasets/issues/7572
7,572
Fixed typos
More info: [comment](https://github.com/huggingface/datasets/pull/7564#issuecomment-2863391781).
closed
2025-05-19T17:16:59
https://api.github.com/repos/huggingface/datasets/issues/7572/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7572", "html_url": "https://github.com/huggingface/datasets/pull/7572", "diff_url": "https://github.com/huggingface/datasets/pull/7572.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7572.patch", "merged_at": "2025-06-05T12:25...
true
Fixed typos More info: [comment](https://github.com/huggingface/datasets/pull/7564#issuecomment-2863391781).
[ "@lhoestq, mentioning in case you haven't seen this PR. The contribution is very small and easy to check :)" ]
https://api.github.com/repos/huggingface/datasets/issues/7571
7,571
fix string_to_dict test
null
closed
2025-05-19T14:49:23
https://api.github.com/repos/huggingface/datasets/issues/7571/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7571", "html_url": "https://github.com/huggingface/datasets/pull/7571", "diff_url": "https://github.com/huggingface/datasets/pull/7571.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7571.patch", "merged_at": "2025-05-19T14:49...
true
fix string_to_dict test
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7571). 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/7570
7,570
Dataset lib seems to broke after fssec lib update
### Describe the bug I am facing an issue since today where HF's dataset is acting weird and in some instances failure to recognise a valid dataset entirely, I think it is happening due to recent change in `fsspec` lib as using this command fixed it for me in one-time: `!pip install -U datasets huggingface_hub fsspec`...
closed
2025-05-15T11:45:06
https://api.github.com/repos/huggingface/datasets/issues/7570/comments
null
false
Dataset lib seems to broke after fssec lib update ### Describe the bug I am facing an issue since today where HF's dataset is acting weird and in some instances failure to recognise a valid dataset entirely, I think it is happening due to recent change in `fsspec` lib as using this command fixed it for me in one-time:...
[ "Hi, can you try updating `datasets` ? Colab still installs `datasets` 2.x by default, instead of 3.x\n\nIt would be cool to also report this to google colab, they have a GitHub repo for this IIRC", "@lhoestq I have updated it to `datasets==3.6.0` and now there's an entirely different issue on colab while locally...
https://api.github.com/repos/huggingface/datasets/issues/7569
7,569
Dataset creation is broken if nesting a dict inside a dict inside a list
### Describe the bug Hey, I noticed that the creation of datasets with `Dataset.from_generator` is broken if dicts and lists are nested in a certain way and a schema is being passed. See below for details. Best, Tim ### Steps to reproduce the bug Runing this code: ```python from datasets import Dataset, Features,...
open
2025-05-13T21:06:45
https://api.github.com/repos/huggingface/datasets/issues/7569/comments
null
false
Dataset creation is broken if nesting a dict inside a dict inside a list ### Describe the bug Hey, I noticed that the creation of datasets with `Dataset.from_generator` is broken if dicts and lists are nested in a certain way and a schema is being passed. See below for details. Best, Tim ### Steps to reproduce the ...
[ "Hi ! That's because Séquence is a type that comes from tensorflow datasets and inverts lists and focus when doing Séquence(dict).\n\nInstead you should use a list. In your case\n```python\nfeatures = Features({\n \"a\": [{\"b\": {\"c\": Value(\"string\")}}]\n})\n```", "Hi,\n\nThanks for the swift reply! Could...
https://api.github.com/repos/huggingface/datasets/issues/7568
7,568
`IterableDatasetDict.map()` call removes `column_names` (in fact info.features)
When calling `IterableDatasetDict.map()`, each split’s `IterableDataset.map()` is invoked without a `features` argument. While omitting the argument isn’t itself incorrect, the implementation then sets `info.features = features`, which destroys the original `features` content. Since `IterableDataset.column_names` relie...
open
2025-05-13T15:45:42
https://api.github.com/repos/huggingface/datasets/issues/7568/comments
null
false
`IterableDatasetDict.map()` call removes `column_names` (in fact info.features) When calling `IterableDatasetDict.map()`, each split’s `IterableDataset.map()` is invoked without a `features` argument. While omitting the argument isn’t itself incorrect, the implementation then sets `info.features = features`, which dest...
[ "Hi ! IterableDataset doesn't know what's the output of the function you pass to map(), so it's not possible to know in advance the features of the output dataset.\n\nThere is a workaround though: either do `ds = ds.map(..., features=features)`, or you can do `ds = ds._resolve_features()` which iterates on the firs...
https://api.github.com/repos/huggingface/datasets/issues/7567
7,567
interleave_datasets seed with multiple workers
### Describe the bug Using interleave_datasets with multiple dataloader workers and a seed set causes the same dataset sampling order across all workers. Should the seed be modulated with the worker id? ### Steps to reproduce the bug See above ### Expected behavior See above ### Environment info - `datasets` ve...
closed
2025-05-12T22:38:27
https://api.github.com/repos/huggingface/datasets/issues/7567/comments
null
false
interleave_datasets seed with multiple workers ### Describe the bug Using interleave_datasets with multiple dataloader workers and a seed set causes the same dataset sampling order across all workers. Should the seed be modulated with the worker id? ### Steps to reproduce the bug See above ### Expected behavior S...
[ "Hi ! It's already the case IIRC: the effective seed looks like `seed + worker_id`. Do you have a reproducible example ?", "here is an example with shuffle\n\n```\nimport itertools\nimport datasets\nimport multiprocessing\nimport torch.utils.data\n\n\ndef gen(shard):\n worker_info = torch.utils.data.get_worker_i...
https://api.github.com/repos/huggingface/datasets/issues/7566
7,566
terminate called without an active exception; Aborted (core dumped)
### Describe the bug I use it as in the tutorial here: https://huggingface.co/docs/datasets/stream, and it ends up with abort. ### Steps to reproduce the bug 1. `pip install datasets` 2. ``` $ cat main.py #!/usr/bin/env python3 from datasets import load_dataset dataset = load_dataset('HuggingFaceFW/fineweb', spl...
open
2025-05-11T23:05:54
https://api.github.com/repos/huggingface/datasets/issues/7566/comments
null
false
terminate called without an active exception; Aborted (core dumped) ### Describe the bug I use it as in the tutorial here: https://huggingface.co/docs/datasets/stream, and it ends up with abort. ### Steps to reproduce the bug 1. `pip install datasets` 2. ``` $ cat main.py #!/usr/bin/env python3 from datasets impo...
[ "@alexey-milovidov I followed the code snippet, but am able to successfully execute without any error. Could you please verify if the error persists or there is any additional details.", "@alexey-milovidov else if the problem does not exist please feel free to close this issue.", "```\nmilovidov@milovidov-pc:~/...
https://api.github.com/repos/huggingface/datasets/issues/7565
7,565
add check if repo exists for dataset uploading
Currently, I'm reuploading datasets for [`MTEB`](https://github.com/embeddings-benchmark/mteb/). Some of them have many splits (more than 20), and I'm encountering the error: `Too many requests for https://huggingface.co/datasets/repo/create`. It seems that this issue occurs because the dataset tries to recreate it...
closed
2025-05-09T10:27:00
https://api.github.com/repos/huggingface/datasets/issues/7565/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7565", "html_url": "https://github.com/huggingface/datasets/pull/7565", "diff_url": "https://github.com/huggingface/datasets/pull/7565.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7565.patch", "merged_at": null }
true
add check if repo exists for dataset uploading Currently, I'm reuploading datasets for [`MTEB`](https://github.com/embeddings-benchmark/mteb/). Some of them have many splits (more than 20), and I'm encountering the error: `Too many requests for https://huggingface.co/datasets/repo/create`. It seems that this issue ...
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7565). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "@lhoestq Can you review, please? I don't think that errors in CI are related to my chan...
https://api.github.com/repos/huggingface/datasets/issues/7564
7,564
Implementation of iteration over values of a column in an IterableDataset object
Refers to [this issue](https://github.com/huggingface/datasets/issues/7381).
closed
2025-05-08T14:59:22
https://api.github.com/repos/huggingface/datasets/issues/7564/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7564", "html_url": "https://github.com/huggingface/datasets/pull/7564", "diff_url": "https://github.com/huggingface/datasets/pull/7564.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7564.patch", "merged_at": "2025-05-19T12:15...
true
Implementation of iteration over values of a column in an IterableDataset object Refers to [this issue](https://github.com/huggingface/datasets/issues/7381).
[ "A couple of questions:\r\n1. I've noticed two strange things: 1) \"Around 80% of the final dataset is made of the `en_dataset`\" in https://huggingface.co/docs/datasets/stream, 2) \"Click on \"Pull request\" to send your to the project maintainers\" in https://github.com/huggingface/datasets/blob/main/CONTRIBUTING...
https://api.github.com/repos/huggingface/datasets/issues/7563
7,563
set dev version
null
closed
2025-05-07T15:18:29
https://api.github.com/repos/huggingface/datasets/issues/7563/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7563", "html_url": "https://github.com/huggingface/datasets/pull/7563", "diff_url": "https://github.com/huggingface/datasets/pull/7563.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7563.patch", "merged_at": "2025-05-07T15:18...
true
set dev version
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7563). 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/7562
7,562
release: 3.6.0
null
closed
2025-05-07T15:15:13
https://api.github.com/repos/huggingface/datasets/issues/7562/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7562", "html_url": "https://github.com/huggingface/datasets/pull/7562", "diff_url": "https://github.com/huggingface/datasets/pull/7562.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7562.patch", "merged_at": "2025-05-07T15:15...
true
release: 3.6.0
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7562). 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/7561
7,561
NotImplementedError: <class 'datasets.iterable_dataset.RepeatExamplesIterable'> doesn't implement num_shards yet
### Describe the bug When using `.repeat()` on an `IterableDataset`, this error gets thrown. There is [this thread](https://discuss.huggingface.co/t/making-an-infinite-iterabledataset/146192/5) that seems to imply the fix is trivial, but I don't know anything about this codebase, so I'm opening this issue rather than ...
closed
2025-05-07T15:05:42
https://api.github.com/repos/huggingface/datasets/issues/7561/comments
null
false
NotImplementedError: <class 'datasets.iterable_dataset.RepeatExamplesIterable'> doesn't implement num_shards yet ### Describe the bug When using `.repeat()` on an `IterableDataset`, this error gets thrown. There is [this thread](https://discuss.huggingface.co/t/making-an-infinite-iterabledataset/146192/5) that seems t...
[]
https://api.github.com/repos/huggingface/datasets/issues/7560
7,560
fix decoding tests
null
closed
2025-05-07T14:56:14
https://api.github.com/repos/huggingface/datasets/issues/7560/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7560", "html_url": "https://github.com/huggingface/datasets/pull/7560", "diff_url": "https://github.com/huggingface/datasets/pull/7560.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7560.patch", "merged_at": "2025-05-07T14:56...
true
fix decoding tests
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7560). 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/7559
7,559
fix aiohttp import
null
closed
2025-05-07T14:31:32
https://api.github.com/repos/huggingface/datasets/issues/7559/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7559", "html_url": "https://github.com/huggingface/datasets/pull/7559", "diff_url": "https://github.com/huggingface/datasets/pull/7559.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7559.patch", "merged_at": "2025-05-07T14:31...
true
fix aiohttp import
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7559). 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/7558
7,558
fix regression
reported in https://github.com/huggingface/datasets/pull/7557 (I just reorganized the condition) wanted to apply this change to the original PR but github didn't let me apply it directly - merging this one instead
closed
2025-05-07T13:56:03
https://api.github.com/repos/huggingface/datasets/issues/7558/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7558", "html_url": "https://github.com/huggingface/datasets/pull/7558", "diff_url": "https://github.com/huggingface/datasets/pull/7558.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7558.patch", "merged_at": "2025-05-07T13:56...
true
fix regression reported in https://github.com/huggingface/datasets/pull/7557 (I just reorganized the condition) wanted to apply this change to the original PR but github didn't let me apply it directly - merging this one instead
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7558). 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/7557
7,557
check for empty _formatting
Fixes a regression from #7553 breaking shuffling of iterable datasets <img width="884" alt="Screenshot 2025-05-07 at 9 16 52 AM" src="https://github.com/user-attachments/assets/d2f43c5f-4092-4efe-ac31-a32cbd025fe3" />
closed
2025-05-07T13:22:37
https://api.github.com/repos/huggingface/datasets/issues/7557/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7557", "html_url": "https://github.com/huggingface/datasets/pull/7557", "diff_url": "https://github.com/huggingface/datasets/pull/7557.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7557.patch", "merged_at": null }
true
check for empty _formatting Fixes a regression from #7553 breaking shuffling of iterable datasets <img width="884" alt="Screenshot 2025-05-07 at 9 16 52 AM" src="https://github.com/user-attachments/assets/d2f43c5f-4092-4efe-ac31-a32cbd025fe3" />
[ "Thanks for reporting and for the fix ! I tried to reorganize the condition in your PR but didn't get the right permission so. I ended up merging https://github.com/huggingface/datasets/pull/7558 directly so I can make a release today - I hope you don't mind" ]
https://api.github.com/repos/huggingface/datasets/issues/7556
7,556
Add `--merge-pull-request` option for `convert_to_parquet`
Closes #7527 Note that this implementation **will only merge the last PR in the case that they get split up by `push_to_hub`**. See https://github.com/huggingface/datasets/discussions/7555 for more details.
closed
2025-05-06T18:05:05
https://api.github.com/repos/huggingface/datasets/issues/7556/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7556", "html_url": "https://github.com/huggingface/datasets/pull/7556", "diff_url": "https://github.com/huggingface/datasets/pull/7556.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7556.patch", "merged_at": null }
true
Add `--merge-pull-request` option for `convert_to_parquet` Closes #7527 Note that this implementation **will only merge the last PR in the case that they get split up by `push_to_hub`**. See https://github.com/huggingface/datasets/discussions/7555 for more details.
[ "This is ready for a review, happy to make any changes. The main question for maintainers is how this should interact with #7555. If my suggestion there is accepted, this PR can be kept as is. If not, more changes are required to merge all the PR parts.", "Closing since convert to parquet has been removed... http...
https://api.github.com/repos/huggingface/datasets/issues/7554
7,554
datasets downloads and generates all splits, even though a single split is requested (for dataset with loading script)
### Describe the bug `datasets` downloads and generates all splits, even though a single split is requested. [This](https://huggingface.co/datasets/jordiae/exebench) is the dataset in question. It uses a loading script. I am not 100% sure that this is a bug, because maybe with loading scripts `datasets` must actual...
closed
2025-05-06T14:43:38
https://api.github.com/repos/huggingface/datasets/issues/7554/comments
null
false
datasets downloads and generates all splits, even though a single split is requested (for dataset with loading script) ### Describe the bug `datasets` downloads and generates all splits, even though a single split is requested. [This](https://huggingface.co/datasets/jordiae/exebench) is the dataset in question. It u...
[ "Hi ! there has been some effort on allowing to download only a subset of splits in https://github.com/huggingface/datasets/pull/6832 but no one has been continuing this work so far. This would be a welcomed contribution though\n\nAlso note that loading script are often unoptimized, and we recommend using datasets ...
https://api.github.com/repos/huggingface/datasets/issues/7553
7,553
Rebatch arrow iterables before formatted iterable
close https://github.com/huggingface/datasets/issues/7538 and https://github.com/huggingface/datasets/issues/7475
closed
2025-05-06T13:59:58
https://api.github.com/repos/huggingface/datasets/issues/7553/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7553", "html_url": "https://github.com/huggingface/datasets/pull/7553", "diff_url": "https://github.com/huggingface/datasets/pull/7553.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7553.patch", "merged_at": "2025-05-06T14:03...
true
Rebatch arrow iterables before formatted iterable close https://github.com/huggingface/datasets/issues/7538 and https://github.com/huggingface/datasets/issues/7475
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7553). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "@lhoestq Our CI found an issue with this changeset causing a regression with shuffling ...
https://api.github.com/repos/huggingface/datasets/issues/7552
7,552
Enable xet in push to hub
follows https://github.com/huggingface/huggingface_hub/pull/3035 related to https://github.com/huggingface/datasets/issues/7526
closed
2025-05-05T17:02:09
https://api.github.com/repos/huggingface/datasets/issues/7552/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7552", "html_url": "https://github.com/huggingface/datasets/pull/7552", "diff_url": "https://github.com/huggingface/datasets/pull/7552.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7552.patch", "merged_at": "2025-05-06T12:42...
true
Enable xet in push to hub follows https://github.com/huggingface/huggingface_hub/pull/3035 related to https://github.com/huggingface/datasets/issues/7526
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7552). 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/7551
7,551
Issue with offline mode and partial dataset cached
### Describe the bug Hi, a issue related to #4760 here when loading a single file from a dataset, unable to access it in offline mode afterwards ### Steps to reproduce the bug ```python import os # os.environ["HF_HUB_OFFLINE"] = "1" os.environ["HF_TOKEN"] = "xxxxxxxxxxxxxx" import datasets dataset_name = "uonlp/...
open
2025-05-04T16:49:37
https://api.github.com/repos/huggingface/datasets/issues/7551/comments
null
false
Issue with offline mode and partial dataset cached ### Describe the bug Hi, a issue related to #4760 here when loading a single file from a dataset, unable to access it in offline mode afterwards ### Steps to reproduce the bug ```python import os # os.environ["HF_HUB_OFFLINE"] = "1" os.environ["HF_TOKEN"] = "xxxxx...
[ "It seems the problem comes from builder.py / create_config_id()\n\nOn the first call, when the cache is empty we have\n```\nconfig_kwargs = {'data_files': {'train': ['hf://datasets/uonlp/CulturaX@6a8734bc69fefcbb7735f4f9250f43e4cd7a442e/fr/fr_part_00038.parquet']}}\n```\nleading to config_id beeing 'default-2935e8...
https://api.github.com/repos/huggingface/datasets/issues/7550
7,550
disable aiohttp depend for python 3.13t free-threading compat
null
closed
2025-05-03T00:28:18
https://api.github.com/repos/huggingface/datasets/issues/7550/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7550", "html_url": "https://github.com/huggingface/datasets/pull/7550", "diff_url": "https://github.com/huggingface/datasets/pull/7550.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7550.patch", "merged_at": null }
true
disable aiohttp depend for python 3.13t free-threading compat
[]
https://api.github.com/repos/huggingface/datasets/issues/7549
7,549
TypeError: Couldn't cast array of type string to null on webdataset format dataset
### Describe the bug ```python from datasets import load_dataset dataset = load_dataset("animetimm/danbooru-wdtagger-v4-w640-ws-30k") ``` got ``` File "/home/ubuntu/miniconda3/lib/python3.10/site-packages/datasets/arrow_writer.py", line 626, in write_batch arrays.append(pa.array(typed_sequence)) File "pyarro...
open
2025-05-02T15:18:07
https://api.github.com/repos/huggingface/datasets/issues/7549/comments
null
false
TypeError: Couldn't cast array of type string to null on webdataset format dataset ### Describe the bug ```python from datasets import load_dataset dataset = load_dataset("animetimm/danbooru-wdtagger-v4-w640-ws-30k") ``` got ``` File "/home/ubuntu/miniconda3/lib/python3.10/site-packages/datasets/arrow_writer.py", ...
[ "seems to get fixed by explicitly adding `dataset_infos.json` like this\n\n```json\n{\n \"default\": {\n \"description\": \"Image dataset with tags and ratings\",\n \"citation\": \"\",\n \"homepage\": \"\",\n \"license\": \"\",\n \"features\": {\n \"image\": {\n \"dtype\": \"image\",\n ...
https://api.github.com/repos/huggingface/datasets/issues/7548
7,548
Python 3.13t (free threads) Compat
### Describe the bug Cannot install `datasets` under `python 3.13t` due to dependency on `aiohttp` and aiohttp cannot be built for free-threading python. The `free threading` support issue in `aiothttp` is active since August 2024! Ouch. https://github.com/aio-libs/aiohttp/issues/8796#issue-2475941784 `pip install...
open
2025-05-02T09:20:09
https://api.github.com/repos/huggingface/datasets/issues/7548/comments
null
false
Python 3.13t (free threads) Compat ### Describe the bug Cannot install `datasets` under `python 3.13t` due to dependency on `aiohttp` and aiohttp cannot be built for free-threading python. The `free threading` support issue in `aiothttp` is active since August 2024! Ouch. https://github.com/aio-libs/aiohttp/issues/...
[ "Update: `datasets` use `aiohttp` for data streaming and from what I understand data streaming is useful for large datasets that do not fit in memory and/or multi-modal datasets like image/audio where you only what the actual binary bits to fed in as needed. \n\nHowever, there are also many cases where aiohttp will...
https://api.github.com/repos/huggingface/datasets/issues/7547
7,547
Avoid global umask for setting file mode.
This PR updates the method for setting the permissions on `cache_path` after calling `shutil.move`. The call to `shutil.move` may not preserve permissions if the source and destination are on different filesystems. Reading and resetting umask can cause race conditions, so directly read what permissions were set for the...
closed
2025-05-01T22:24:24
https://api.github.com/repos/huggingface/datasets/issues/7547/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7547", "html_url": "https://github.com/huggingface/datasets/pull/7547", "diff_url": "https://github.com/huggingface/datasets/pull/7547.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7547.patch", "merged_at": "2025-05-06T13:05...
true
Avoid global umask for setting file mode. This PR updates the method for setting the permissions on `cache_path` after calling `shutil.move`. The call to `shutil.move` may not preserve permissions if the source and destination are on different filesystems. Reading and resetting umask can cause race conditions, so direc...
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7547). 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/7546
7,546
Large memory use when loading large datasets to a ZFS pool
### Describe the bug When I load large parquet based datasets from the hub like `MLCommons/peoples_speech` using `load_dataset`, all my memory (500GB) is used and isn't released after loading, meaning that the process is terminated by the kernel if I try to load an additional dataset. This makes it impossible to train...
closed
2025-05-01T14:43:47
https://api.github.com/repos/huggingface/datasets/issues/7546/comments
null
false
Large memory use when loading large datasets to a ZFS pool ### Describe the bug When I load large parquet based datasets from the hub like `MLCommons/peoples_speech` using `load_dataset`, all my memory (500GB) is used and isn't released after loading, meaning that the process is terminated by the kernel if I try to lo...
[ "Hi ! datasets are memory mapped from disk, so they don't fill out your RAM. Not sure what's the source of your memory issue.\n\nWhat kind of system are you using ? and what kind of disk ?", "Well, the fact of the matter is that my RAM is getting filled out by running the given example, as shown in [this video](h...
https://api.github.com/repos/huggingface/datasets/issues/7545
7,545
Networked Pull Through Cache
### Feature request Introduce a HF_DATASET_CACHE_NETWORK_LOCATION configuration (e.g. an environment variable) together with a companion network cache service. Enable a three-tier cache lookup for datasets: 1. Local on-disk cache 2. Configurable network cache proxy 3. Official Hugging Face Hub ### Motivation - Dis...
open
2025-04-30T15:16:33
https://api.github.com/repos/huggingface/datasets/issues/7545/comments
null
false
Networked Pull Through Cache ### Feature request Introduce a HF_DATASET_CACHE_NETWORK_LOCATION configuration (e.g. an environment variable) together with a companion network cache service. Enable a three-tier cache lookup for datasets: 1. Local on-disk cache 2. Configurable network cache proxy 3. Official Hugging Fa...
[]
https://api.github.com/repos/huggingface/datasets/issues/7544
7,544
Add try_original_type to DatasetDict.map
This PR resolves #7472 for DatasetDict The previously merged PR #7483 added `try_original_type` to ArrowDataset, but DatasetDict misses `try_original_type` Cc: @lhoestq
closed
2025-04-29T04:39:44
https://api.github.com/repos/huggingface/datasets/issues/7544/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7544", "html_url": "https://github.com/huggingface/datasets/pull/7544", "diff_url": "https://github.com/huggingface/datasets/pull/7544.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7544.patch", "merged_at": "2025-05-05T14:42...
true
Add try_original_type to DatasetDict.map This PR resolves #7472 for DatasetDict The previously merged PR #7483 added `try_original_type` to ArrowDataset, but DatasetDict misses `try_original_type` Cc: @lhoestq
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7544). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "Sure! I just committed the changes", "@lhoestq \r\nLet me know if there are other thi...
https://api.github.com/repos/huggingface/datasets/issues/7543
7,543
The memory-disk mapping failure issue of the map function(resolved, but there are some suggestions.)
### Describe the bug ## bug When the map function processes a large dataset, it temporarily stores the data in a cache file on the disk. After the data is stored, the memory occupied by it is released. Therefore, when using the map function to process a large-scale dataset, only a dataset space of the size of `writer_...
closed
2025-04-29T03:04:59
https://api.github.com/repos/huggingface/datasets/issues/7543/comments
null
false
The memory-disk mapping failure issue of the map function(resolved, but there are some suggestions.) ### Describe the bug ## bug When the map function processes a large dataset, it temporarily stores the data in a cache file on the disk. After the data is stored, the memory occupied by it is released. Therefore, when ...
[]
https://api.github.com/repos/huggingface/datasets/issues/7542
7,542
set dev version
null
closed
2025-04-28T14:03:48
https://api.github.com/repos/huggingface/datasets/issues/7542/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7542", "html_url": "https://github.com/huggingface/datasets/pull/7542", "diff_url": "https://github.com/huggingface/datasets/pull/7542.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7542.patch", "merged_at": "2025-04-28T14:04...
true
set dev version
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7542). 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/7541
7,541
release: 3.5.1
null
closed
2025-04-28T14:00:59
https://api.github.com/repos/huggingface/datasets/issues/7541/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7541", "html_url": "https://github.com/huggingface/datasets/pull/7541", "diff_url": "https://github.com/huggingface/datasets/pull/7541.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7541.patch", "merged_at": "2025-04-28T14:01...
true
release: 3.5.1
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7541). 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/7540
7,540
support pyarrow 20
fix ``` TypeError: ArrayExtensionArray.to_pylist() got an unexpected keyword argument 'maps_as_pydicts' ```
closed
2025-04-28T13:01:11
https://api.github.com/repos/huggingface/datasets/issues/7540/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7540", "html_url": "https://github.com/huggingface/datasets/pull/7540", "diff_url": "https://github.com/huggingface/datasets/pull/7540.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7540.patch", "merged_at": "2025-04-28T13:23...
true
support pyarrow 20 fix ``` TypeError: ArrayExtensionArray.to_pylist() got an unexpected keyword argument 'maps_as_pydicts' ```
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7540). 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/7539
7,539
Fix IterableDataset state_dict shard_example_idx counting
# Fix IterableDataset's state_dict shard_example_idx reporting ## Description This PR fixes issue #7475 where the `shard_example_idx` value in `IterableDataset`'s `state_dict()` always equals the number of samples in a shard, even if only a few examples have been consumed. The issue is in the `_iter_arrow` met...
closed
2025-04-27T20:41:18
https://api.github.com/repos/huggingface/datasets/issues/7539/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7539", "html_url": "https://github.com/huggingface/datasets/pull/7539", "diff_url": "https://github.com/huggingface/datasets/pull/7539.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7539.patch", "merged_at": null }
true
Fix IterableDataset state_dict shard_example_idx counting # Fix IterableDataset's state_dict shard_example_idx reporting ## Description This PR fixes issue #7475 where the `shard_example_idx` value in `IterableDataset`'s `state_dict()` always equals the number of samples in a shard, even if only a few examples ha...
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7539). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "Hi ! FYI I made a PR to fix https://github.com/huggingface/datasets/issues/7538 and it ...
https://api.github.com/repos/huggingface/datasets/issues/7538
7,538
`IterableDataset` drops samples when resuming from a checkpoint
When resuming from a checkpoint, `IterableDataset` will drop samples if `num_shards % world_size == 0` and the underlying example supports `iter_arrow` and needs to be formatted. In that case, the `FormattedExamplesIterable` fetches a batch of samples from the child iterable's `iter_arrow` and yields them one by one ...
closed
2025-04-27T19:34:49
https://api.github.com/repos/huggingface/datasets/issues/7538/comments
null
false
`IterableDataset` drops samples when resuming from a checkpoint When resuming from a checkpoint, `IterableDataset` will drop samples if `num_shards % world_size == 0` and the underlying example supports `iter_arrow` and needs to be formatted. In that case, the `FormattedExamplesIterable` fetches a batch of samples fr...
[ "Thanks for reporting ! I fixed the issue using RebatchedArrowExamplesIterable before the formatted iterable" ]
https://api.github.com/repos/huggingface/datasets/issues/7537
7,537
`datasets.map(..., num_proc=4)` multi-processing fails
The following code fails in python 3.11+ ```python tokenized_datasets = datasets.map(tokenize_function, batched=True, num_proc=4, remove_columns=["text"]) ``` Error log: ```bash Traceback (most recent call last): File "/usr/local/lib/python3.12/dist-packages/multiprocess/process.py", line 315, in _bootstrap self.ru...
open
2025-04-25T01:53:47
https://api.github.com/repos/huggingface/datasets/issues/7537/comments
null
false
`datasets.map(..., num_proc=4)` multi-processing fails The following code fails in python 3.11+ ```python tokenized_datasets = datasets.map(tokenize_function, batched=True, num_proc=4, remove_columns=["text"]) ``` Error log: ```bash Traceback (most recent call last): File "/usr/local/lib/python3.12/dist-packages/mu...
[ "related: https://github.com/huggingface/datasets/issues/7510\n\nwe need to do more tests to see if latest `dill` is deterministic" ]
https://api.github.com/repos/huggingface/datasets/issues/7536
7,536
[Errno 13] Permission denied: on `.incomplete` file
### Describe the bug When downloading a dataset, we frequently hit the below Permission Denied error. This looks to happen (at least) across datasets in HF, S3, and GCS. It looks like the `temp_file` being passed [here](https://github.com/huggingface/datasets/blob/main/src/datasets/utils/file_utils.py#L412) can somet...
closed
2025-04-24T20:52:45
https://api.github.com/repos/huggingface/datasets/issues/7536/comments
null
false
[Errno 13] Permission denied: on `.incomplete` file ### Describe the bug When downloading a dataset, we frequently hit the below Permission Denied error. This looks to happen (at least) across datasets in HF, S3, and GCS. It looks like the `temp_file` being passed [here](https://github.com/huggingface/datasets/blob/m...
[ "It must be an issue with umask being used by multiple threads indeed. Maybe we can try to make a thread safe function to apply the umask (using filelock for example)", "> It must be an issue with umask being used by multiple threads indeed. Maybe we can try to make a thread safe function to apply the umask (usin...
https://api.github.com/repos/huggingface/datasets/issues/7535
7,535
Change dill version in requirements
Change dill version to >=0.3.9,<0.4.5 and check for errors
open
2025-04-24T19:44:28
https://api.github.com/repos/huggingface/datasets/issues/7535/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7535", "html_url": "https://github.com/huggingface/datasets/pull/7535", "diff_url": "https://github.com/huggingface/datasets/pull/7535.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7535.patch", "merged_at": null }
true
Change dill version in requirements Change dill version to >=0.3.9,<0.4.5 and check for errors
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7535). 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/7534
7,534
TensorFlow RaggedTensor Support (batch-level)
### Feature request Hi, Currently datasets does not support RaggedTensor output on batch-level. When building a Object Detection Dataset (with TensorFlow) I need to enable RaggedTensors as that's how BBoxes & classes are expected from the Keras Model POV. Currently there's a error thrown saying that "Nested Data is ...
open
2025-04-24T13:14:52
https://api.github.com/repos/huggingface/datasets/issues/7534/comments
null
false
TensorFlow RaggedTensor Support (batch-level) ### Feature request Hi, Currently datasets does not support RaggedTensor output on batch-level. When building a Object Detection Dataset (with TensorFlow) I need to enable RaggedTensors as that's how BBoxes & classes are expected from the Keras Model POV. Currently there...
[ "Keras doesn't support other inputs other than tf.data.Dataset objects ? it's a bit painful to have to support and maintain this kind of integration\n\nIs there a way to use a `datasets.Dataset` with outputs formatted as tensors / ragged tensors instead ? like in https://huggingface.co/docs/datasets/use_with_tensor...
https://api.github.com/repos/huggingface/datasets/issues/7533
7,533
Add custom fingerprint support to `from_generator`
This PR adds `dataset_id_suffix` parameter to 'Dataset.from_generator' function. `Dataset.from_generator` function passes all of its arguments to `BuilderConfig.create_config_id`, including generator function itself. `BuilderConfig.create_config_id` function tries to hash all the args, which can take a large amount ...
closed
2025-04-23T19:31:35
https://api.github.com/repos/huggingface/datasets/issues/7533/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7533", "html_url": "https://github.com/huggingface/datasets/pull/7533", "diff_url": "https://github.com/huggingface/datasets/pull/7533.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7533.patch", "merged_at": "2025-10-23T16:25...
true
Add custom fingerprint support to `from_generator` This PR adds `dataset_id_suffix` parameter to 'Dataset.from_generator' function. `Dataset.from_generator` function passes all of its arguments to `BuilderConfig.create_config_id`, including generator function itself. `BuilderConfig.create_config_id` function tries t...
[ "This is great !\r\n\r\nWhat do you think of passing `config_id=` directly to the builder instead of just the suffix ? This would be a power user argument though, or for internal use. And in from_generator the new argument can be `fingerprint=` as in `Dataset.__init__()`\r\n\r\nThe `config_id` can be defined using ...
https://api.github.com/repos/huggingface/datasets/issues/7532
7,532
Document the HF_DATASETS_CACHE environment variable in the datasets cache documentation
This pull request updates the Datasets documentation to include the `HF_DATASETS_CACHE` environment variable. While the current documentation only mentions `HF_HOME` for overriding the default cache directory, `HF_DATASETS_CACHE` is also a supported and useful option for specifying a custom cache location for dataset...
closed
2025-04-22T00:23:13
https://api.github.com/repos/huggingface/datasets/issues/7532/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7532", "html_url": "https://github.com/huggingface/datasets/pull/7532", "diff_url": "https://github.com/huggingface/datasets/pull/7532.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7532.patch", "merged_at": "2025-05-06T15:54...
true
Document the HF_DATASETS_CACHE environment variable in the datasets cache documentation This pull request updates the Datasets documentation to include the `HF_DATASETS_CACHE` environment variable. While the current documentation only mentions `HF_HOME` for overriding the default cache directory, `HF_DATASETS_CACHE` ...
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7532). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "Your clarification in your comment at https://github.com/huggingface/datasets/issues/74...
https://api.github.com/repos/huggingface/datasets/issues/7531
7,531
Deepspeed reward training hangs at end of training with Dataset.from_list
There seems to be a weird interaction between Deepspeed, the Dataset.from_list method and trl's RewardTrainer. On a multi-GPU setup (10 A100s), training always hangs at the very end of training until it times out. The training itself works fine until the end of training and running the same script with Deepspeed on a s...
open
2025-04-21T17:29:20
https://api.github.com/repos/huggingface/datasets/issues/7531/comments
null
false
Deepspeed reward training hangs at end of training with Dataset.from_list There seems to be a weird interaction between Deepspeed, the Dataset.from_list method and trl's RewardTrainer. On a multi-GPU setup (10 A100s), training always hangs at the very end of training until it times out. The training itself works fine u...
[ "Hi ! How big is the dataset ? if you load it using `from_list`, the dataset lives in memory and has to be copied to every gpu process, which can be slow.\n\nIt's fasted if you load it from JSON files from disk, because in that case the dataset in converted to Arrow and loaded from disk using memory mapping. Memory...
https://api.github.com/repos/huggingface/datasets/issues/7530
7,530
How to solve "Spaces stuck in Building" problems
### Describe the bug Public spaces may stuck in Building after restarting, error log as follows: build error Unexpected job error ERROR: failed to push spaces-registry.huggingface.tech/spaces/*:cpu-*-*: unexpected status from HEAD request to https://spaces-registry.huggingface.tech/v2/spaces/*/manifests/cpu-*-*: 401...
closed
2025-04-21T03:08:38
https://api.github.com/repos/huggingface/datasets/issues/7530/comments
null
false
How to solve "Spaces stuck in Building" problems ### Describe the bug Public spaces may stuck in Building after restarting, error log as follows: build error Unexpected job error ERROR: failed to push spaces-registry.huggingface.tech/spaces/*:cpu-*-*: unexpected status from HEAD request to https://spaces-registry.hu...
[ "I'm facing the same issue—Space stuck in \"Building\" even after restart and Factory rebuild. Any fix?\n", "> I'm facing the same issue—Space stuck in \"Building\" even after restart and Factory rebuild. Any fix?\n\nAlso see https://github.com/huggingface/huggingface_hub/issues/3019", "I'm facing the same issu...
https://api.github.com/repos/huggingface/datasets/issues/7529
7,529
audio folder builder cannot detect custom split name
### Describe the bug when using audio folder builder (`load_dataset("audiofolder", data_dir="/path/to/folder")`), it cannot detect custom split name other than train/validation/test ### Steps to reproduce the bug i have the following folder structure ``` my_dataset/ ├── train/ │ ├── lorem.wav │ ├── … │ └── met...
closed
2025-04-20T16:53:21
https://api.github.com/repos/huggingface/datasets/issues/7529/comments
null
false
audio folder builder cannot detect custom split name ### Describe the bug when using audio folder builder (`load_dataset("audiofolder", data_dir="/path/to/folder")`), it cannot detect custom split name other than train/validation/test ### Steps to reproduce the bug i have the following folder structure ``` my_datase...
[ "Hi! Triaging older issues — reproduced your behavior, but I think this is by design rather than a bug.\n\nThe folder-based builders (`audiofolder`/`imagefolder`/`videofolder`) auto-detect splits using a fixed keyword list (`train`, `validation`/`valid`/`val`/`dev`, `test`/`testing`/`eval`/`evaluation`) — see `SPLI...
https://api.github.com/repos/huggingface/datasets/issues/7528
7,528
Data Studio Error: Convert JSONL incorrectly
### Describe the bug Hi there, I uploaded a dataset here https://huggingface.co/datasets/V-STaR-Bench/V-STaR, but I found that Data Studio incorrectly convert the "bboxes" value for the whole dataset. Therefore, anyone who downloaded the dataset via the API would get the wrong "bboxes" value in the data file. Could ...
open
2025-04-19T13:21:44
https://api.github.com/repos/huggingface/datasets/issues/7528/comments
null
false
Data Studio Error: Convert JSONL incorrectly ### Describe the bug Hi there, I uploaded a dataset here https://huggingface.co/datasets/V-STaR-Bench/V-STaR, but I found that Data Studio incorrectly convert the "bboxes" value for the whole dataset. Therefore, anyone who downloaded the dataset via the API would get the w...
[ "Hi ! Your JSONL file is incompatible with Arrow / Parquet. Indeed in Arrow / Parquet every dict should have the same keys, while in your dataset the bboxes have varying keys.\n\nThis causes the Data Studio to treat the bboxes as if each row was missing the keys from other rows.\n\nFeel free to take a look at the d...
https://api.github.com/repos/huggingface/datasets/issues/7527
7,527
Auto-merge option for `convert-to-parquet`
### Feature request Add a command-line option, e.g. `--auto-merge-pull-request` that enables automatic merging of the commits created by the `convert-to-parquet` tool. ### Motivation Large datasets may result in dozens of PRs due to the splitting mechanism. Each of these has to be manually accepted via the website. ...
closed
2025-04-18T16:03:22
https://api.github.com/repos/huggingface/datasets/issues/7527/comments
null
false
Auto-merge option for `convert-to-parquet` ### Feature request Add a command-line option, e.g. `--auto-merge-pull-request` that enables automatic merging of the commits created by the `convert-to-parquet` tool. ### Motivation Large datasets may result in dozens of PRs due to the splitting mechanism. Each of these ha...
[ "Alternatively, there could be an option to switch from submitting PRs to just committing changes directly to `main`.", "Why not, I'd be in favor of `--merge-pull-request` to call `HfApi().merge_pull_request()` at the end of the conversion :) feel free to open a PR if you'd like", "#self-assign", "Closing sin...
https://api.github.com/repos/huggingface/datasets/issues/7526
7,526
Faster downloads/uploads with Xet storage
![Image](https://github.com/user-attachments/assets/6e247f4a-d436-4428-a682-fe18ebdc73a9) ## Xet is out ! Over the past few weeks, Hugging Face’s [Xet Team](https://huggingface.co/xet-team) took a major step forward by [migrating the first Model and Dataset repositories off LFS and to Xet storage](https://huggingface...
open
2025-04-18T14:46:42
https://api.github.com/repos/huggingface/datasets/issues/7526/comments
null
false
Faster downloads/uploads with Xet storage ![Image](https://github.com/user-attachments/assets/6e247f4a-d436-4428-a682-fe18ebdc73a9) ## Xet is out ! Over the past few weeks, Hugging Face’s [Xet Team](https://huggingface.co/xet-team) took a major step forward by [migrating the first Model and Dataset repositories off L...
[]
https://api.github.com/repos/huggingface/datasets/issues/7525
7,525
Fix indexing in split commit messages
When a large commit is split up, it seems the commit index in the message is zero-based while the total number is one-based. I came across this running `convert-to-parquet` and was wondering why there was no `6-of-6` commit. This PR fixes that by adding one to the commit index, so both are one-based. Current behavio...
closed
2025-04-17T17:06:26
https://api.github.com/repos/huggingface/datasets/issues/7525/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7525", "html_url": "https://github.com/huggingface/datasets/pull/7525", "diff_url": "https://github.com/huggingface/datasets/pull/7525.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7525.patch", "merged_at": null }
true
Fix indexing in split commit messages When a large commit is split up, it seems the commit index in the message is zero-based while the total number is one-based. I came across this running `convert-to-parquet` and was wondering why there was no `6-of-6` commit. This PR fixes that by adding one to the commit index, so ...
[ "Hi ! this is expected and is coherent with other naming conventions in `datasets` such as parquet shards naming" ]
https://api.github.com/repos/huggingface/datasets/issues/7524
7,524
correct use with polars example
null
closed
2025-04-17T10:19:19
https://api.github.com/repos/huggingface/datasets/issues/7524/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7524", "html_url": "https://github.com/huggingface/datasets/pull/7524", "diff_url": "https://github.com/huggingface/datasets/pull/7524.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7524.patch", "merged_at": "2025-04-28T13:48...
true
correct use with polars example
[]
https://api.github.com/repos/huggingface/datasets/issues/7523
7,523
mention av in video docs
null
closed
2025-04-16T13:11:12
https://api.github.com/repos/huggingface/datasets/issues/7523/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7523", "html_url": "https://github.com/huggingface/datasets/pull/7523", "diff_url": "https://github.com/huggingface/datasets/pull/7523.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7523.patch", "merged_at": "2025-04-16T13:11...
true
mention av in video docs
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7523). 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/7522
7,522
Preserve formatting in concatenated IterableDataset
Fixes #7515
closed
2025-04-16T02:37:33
https://api.github.com/repos/huggingface/datasets/issues/7522/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7522", "html_url": "https://github.com/huggingface/datasets/pull/7522", "diff_url": "https://github.com/huggingface/datasets/pull/7522.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7522.patch", "merged_at": "2025-05-19T15:07...
true
Preserve formatting in concatenated IterableDataset Fixes #7515
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7522). 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/7521
7,521
fix: Image Feature in Datasets Library Fails to Handle bytearray Objects from Spark DataFrames (#7517)
## Task Support bytes-like objects (bytes and bytearray) in Features classes ### Description The `Features` classes only accept `bytes` objects for binary data, but not `bytearray`. This leads to errors when using `IterableDataset.from_spark()` with Spark DataFrames as they contain `bytearray` objects, even though...
closed
2025-04-15T21:23:58
https://api.github.com/repos/huggingface/datasets/issues/7521/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7521", "html_url": "https://github.com/huggingface/datasets/pull/7521", "diff_url": "https://github.com/huggingface/datasets/pull/7521.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7521.patch", "merged_at": "2025-05-07T14:17...
true
fix: Image Feature in Datasets Library Fails to Handle bytearray Objects from Spark DataFrames (#7517) ## Task Support bytes-like objects (bytes and bytearray) in Features classes ### Description The `Features` classes only accept `bytes` objects for binary data, but not `bytearray`. This leads to errors when usin...
[ "@lhoestq let me know if you prefer to change the spark iterator so it outputs `bytes`", "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7521). 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/7520
7,520
Update items in the dataset without `map`
### Feature request I would like to be able to update items in my dataset without affecting all rows. At least if there was a range option, I would be able to process those items, save the dataset, and then continue. If I am supposed to split the dataset first, that is not clear, since the docs suggest that any of th...
open
2025-04-15T19:39:01
https://api.github.com/repos/huggingface/datasets/issues/7520/comments
null
false
Update items in the dataset without `map` ### Feature request I would like to be able to update items in my dataset without affecting all rows. At least if there was a range option, I would be able to process those items, save the dataset, and then continue. If I am supposed to split the dataset first, that is not cl...
[ "Hello!\n\nHave you looked at `Dataset.shard`? [Docs](https://huggingface.co/docs/datasets/en/process#shard)\n\nUsing this method you could break your dataset in N shards. Apply `map` on each shard and concatenate them back." ]
https://api.github.com/repos/huggingface/datasets/issues/7519
7,519
pdf docs fixes
close https://github.com/huggingface/datasets/issues/7494
closed
2025-04-15T13:35:56
https://api.github.com/repos/huggingface/datasets/issues/7519/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7519", "html_url": "https://github.com/huggingface/datasets/pull/7519", "diff_url": "https://github.com/huggingface/datasets/pull/7519.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7519.patch", "merged_at": "2025-04-15T13:36...
true
pdf docs fixes close https://github.com/huggingface/datasets/issues/7494
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7519). 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/7518
7,518
num_proc parallelization works only for first ~10s.
### Describe the bug When I try to load an already downloaded dataset with num_proc=64, the speed is very high for the first 10-20 seconds acheiving 30-40K samples / s, and 100% utilization for all cores but it soon drops to <= 1000 with almost 0% utilization for most cores. ### Steps to reproduce the bug ``` // do...
open
2025-04-15T11:44:03
https://api.github.com/repos/huggingface/datasets/issues/7518/comments
null
false
num_proc parallelization works only for first ~10s. ### Describe the bug When I try to load an already downloaded dataset with num_proc=64, the speed is very high for the first 10-20 seconds acheiving 30-40K samples / s, and 100% utilization for all cores but it soon drops to <= 1000 with almost 0% utilization for mos...
[ "Hi, can you check if the processes are still alive ? It's a bit weird because `datasets` does check if processes crash and return an error in that case", "Thank you for reverting quickly. I digged a bit, and realized my disk's IOPS is also limited - which is causing this. will check further and report if it's an...
https://api.github.com/repos/huggingface/datasets/issues/7517
7,517
Image Feature in Datasets Library Fails to Handle bytearray Objects from Spark DataFrames
### Describe the bug When using `IterableDataset.from_spark()` with a Spark DataFrame containing image data, the `Image` feature class fails to properly process this data type, causing an `AttributeError: 'bytearray' object has no attribute 'get'` ### Steps to reproduce the bug 1. Create a Spark DataFrame with a col...
closed
2025-04-15T11:29:17
https://api.github.com/repos/huggingface/datasets/issues/7517/comments
null
false
Image Feature in Datasets Library Fails to Handle bytearray Objects from Spark DataFrames ### Describe the bug When using `IterableDataset.from_spark()` with a Spark DataFrame containing image data, the `Image` feature class fails to properly process this data type, causing an `AttributeError: 'bytearray' object has n...
[ "Hi ! The `Image()` type accepts either\n- a `bytes` object containing the image bytes\n- a `str` object containing the image path\n- a `PIL.Image` object\n\nbut it doesn't support `bytearray`, maybe you can convert to `bytes` beforehand ?", "Hi @lhoestq, \nconverting to bytes is certainly possible and would work...
https://api.github.com/repos/huggingface/datasets/issues/7516
7,516
unsloth/DeepSeek-R1-Distill-Qwen-32B server error
### Describe the bug hfhubhttperror: 500 server error: internal server error for url: https://huggingface.co/api/models/unsloth/deepseek-r1-distill-qwen-32b-bnb-4bit/commits/main (request id: root=1-67fe23fa-3a2150eb444c2a823c388579;de3aed68-c397-4da5-94d4-6565efd3b919) internal error - we're working hard to fix this ...
closed
2025-04-15T09:26:53
https://api.github.com/repos/huggingface/datasets/issues/7516/comments
null
false
unsloth/DeepSeek-R1-Distill-Qwen-32B server error ### Describe the bug hfhubhttperror: 500 server error: internal server error for url: https://huggingface.co/api/models/unsloth/deepseek-r1-distill-qwen-32b-bnb-4bit/commits/main (request id: root=1-67fe23fa-3a2150eb444c2a823c388579;de3aed68-c397-4da5-94d4-6565efd3b919...
[]
https://api.github.com/repos/huggingface/datasets/issues/7515
7,515
`concatenate_datasets` does not preserve Pytorch format for IterableDataset
### Describe the bug When concatenating datasets with `concatenate_datasets`, I would expect the resulting combined dataset to be in the same format as the inputs (assuming it's consistent). This is indeed the behavior when combining `Dataset`, but not when combining `IterableDataset`. Specifically, when applying `con...
closed
2025-04-15T04:36:34
https://api.github.com/repos/huggingface/datasets/issues/7515/comments
null
false
`concatenate_datasets` does not preserve Pytorch format for IterableDataset ### Describe the bug When concatenating datasets with `concatenate_datasets`, I would expect the resulting combined dataset to be in the same format as the inputs (assuming it's consistent). This is indeed the behavior when combining `Dataset`...
[ "Hi ! Oh indeed it would be cool to return the same format in that case. Would you like to submit a PR ? The function that does the concatenation is here:\n\nhttps://github.com/huggingface/datasets/blob/90e5bf8a8599b625d6103ee5ac83b98269991141/src/datasets/iterable_dataset.py#L3375-L3380", "Thank you for the poin...
https://api.github.com/repos/huggingface/datasets/issues/7514
7,514
Do not hash `generator` in `BuilderConfig.create_config_id`
`Dataset.from_generator` function passes all of its arguments to `BuilderConfig.create_config_id`, including generator function itself. `BuilderConfig.create_config_id` function tries to hash all the args, and hashing a `generator` can take a large amount of time or even cause MemoryError if the dataset processed in a ...
closed
2025-04-15T01:26:43
https://api.github.com/repos/huggingface/datasets/issues/7514/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7514", "html_url": "https://github.com/huggingface/datasets/pull/7514", "diff_url": "https://github.com/huggingface/datasets/pull/7514.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7514.patch", "merged_at": null }
true
Do not hash `generator` in `BuilderConfig.create_config_id` `Dataset.from_generator` function passes all of its arguments to `BuilderConfig.create_config_id`, including generator function itself. `BuilderConfig.create_config_id` function tries to hash all the args, and hashing a `generator` can take a large amount of t...
[]
https://api.github.com/repos/huggingface/datasets/issues/7513
7,513
MemoryError while creating dataset from generator
### Describe the bug # TL:DR `Dataset.from_generator` function passes all of its arguments to `BuilderConfig.create_config_id`, including `generator` function itself. `BuilderConfig.create_config_id` function tries to hash all the args, which can take a large amount of time or even cause MemoryError if the dataset pr...
closed
2025-04-15T01:02:02
https://api.github.com/repos/huggingface/datasets/issues/7513/comments
null
false
MemoryError while creating dataset from generator ### Describe the bug # TL:DR `Dataset.from_generator` function passes all of its arguments to `BuilderConfig.create_config_id`, including `generator` function itself. `BuilderConfig.create_config_id` function tries to hash all the args, which can take a large amount o...
[ "Upd: created a PR that can probably solve the problem: #7514", "Hi ! We need to take the generator into account for the cache. The generator is hashed to make the dataset fingerprint used by the cache. This way you can reload the Dataset from the cache without regenerating in subsequent `from_generator` calls.\n...
https://api.github.com/repos/huggingface/datasets/issues/7512
7,512
.map() fails if function uses pyvista
### Describe the bug Using PyVista inside a .map() produces a crash with `objc[78796]: +[NSResponder initialize] may have been in progress in another thread when fork() was called. We cannot safely call it or ignore it in the fork() child process. Crashing instead. Set a breakpoint on objc_initializeAfterForkError to ...
open
2025-04-14T19:43:02
https://api.github.com/repos/huggingface/datasets/issues/7512/comments
null
false
.map() fails if function uses pyvista ### Describe the bug Using PyVista inside a .map() produces a crash with `objc[78796]: +[NSResponder initialize] may have been in progress in another thread when fork() was called. We cannot safely call it or ignore it in the fork() child process. Crashing instead. Set a breakpoin...
[ "I found a similar (?) issue in https://github.com/huggingface/datasets/issues/6435, where someone had issues with forks and CUDA. According to https://huggingface.co/docs/datasets/main/en/process#multiprocessing we should do \n\n```\nfrom multiprocess import set_start_method\nset_start_method(\"spawn\")\n```\n\nto...
https://api.github.com/repos/huggingface/datasets/issues/7510
7,510
Incompatibile dill version (0.3.9) in datasets 2.18.0 - 3.5.0
### Describe the bug Datasets 2.18.0 - 3.5.0 has a dependency on dill < 0.3.9. This causes errors with dill >= 0.3.9. Could you please take a look into it and make it compatible? ### Steps to reproduce the bug 1. Install setuptools >= 2.18.0 2. Install dill >=0.3.9 3. Run pip check 4. Output: ERROR: pip's dependenc...
closed
2025-04-14T07:22:44
https://api.github.com/repos/huggingface/datasets/issues/7510/comments
null
false
Incompatibile dill version (0.3.9) in datasets 2.18.0 - 3.5.0 ### Describe the bug Datasets 2.18.0 - 3.5.0 has a dependency on dill < 0.3.9. This causes errors with dill >= 0.3.9. Could you please take a look into it and make it compatible? ### Steps to reproduce the bug 1. Install setuptools >= 2.18.0 2. Install d...
[ "Hi ! We can bump `dill` to 0.3.9 if we make sure it's deterministic and doesn't break the caching mechanism in `datasets`.\n\nWould you be interested in opening a PR ? Then we can run the CI to see if it works", "Hi!. Yeah I can do it. Should I make any changes besides dill versions?", "There are probably some...
https://api.github.com/repos/huggingface/datasets/issues/7509
7,509
Dataset uses excessive memory when loading files
### Describe the bug Hi I am having an issue when loading a dataset. I have about 200 json files each about 1GB (total about 215GB). each row has a few features which are a list of ints. I am trying to load the dataset using `load_dataset`. The dataset is about 1.5M samples I use `num_proc=32` and a node with 378GB of...
open
2025-04-13T21:09:49
https://api.github.com/repos/huggingface/datasets/issues/7509/comments
null
false
Dataset uses excessive memory when loading files ### Describe the bug Hi I am having an issue when loading a dataset. I have about 200 json files each about 1GB (total about 215GB). each row has a few features which are a list of ints. I am trying to load the dataset using `load_dataset`. The dataset is about 1.5M sam...
[ "small update: I converted the jsons to parquet and it now works well with 32 proc and the same node. \nI still think this needs to be understood, since json is a very popular and easy-to-use format. ", "Hi ! The JSON loader loads full files in memory, unless they are JSON Lines. In this case it iterates on the J...
https://api.github.com/repos/huggingface/datasets/issues/7508
7,508
Iterating over Image feature columns is extremely slow
We are trying to load datasets where the image column stores `PIL.PngImagePlugin.PngImageFile` images. However, iterating over these datasets is extremely slow. What I have found: 1. It is the presence of the image column that causes the slowdown. Removing the column from the dataset results in blazingly fast (as expe...
open
2025-04-10T19:00:54
https://api.github.com/repos/huggingface/datasets/issues/7508/comments
null
false
Iterating over Image feature columns is extremely slow We are trying to load datasets where the image column stores `PIL.PngImagePlugin.PngImageFile` images. However, iterating over these datasets is extremely slow. What I have found: 1. It is the presence of the image column that causes the slowdown. Removing the col...
[ "Hi ! Could it be because the `Image()` type in dataset does `image = Image.open(image_path)` and also `image.load()` which actually loads the image data in memory ? This is needed to avoid too many open files issues, see https://github.com/huggingface/datasets/issues/3985", "Yes, that seems to be it. For my pur...
https://api.github.com/repos/huggingface/datasets/issues/7507
7,507
Front-end statistical data quantity deviation
### Describe the bug While browsing the dataset at https://huggingface.co/datasets/NeuML/wikipedia-20250123, I noticed that a dataset with nearly 7M entries was estimated to be only 4M in size—almost half the actual amount. According to the post-download loading and the dataset_info (https://huggingface.co/datasets/Ne...
open
2025-04-10T02:51:38
https://api.github.com/repos/huggingface/datasets/issues/7507/comments
null
false
Front-end statistical data quantity deviation ### Describe the bug While browsing the dataset at https://huggingface.co/datasets/NeuML/wikipedia-20250123, I noticed that a dataset with nearly 7M entries was estimated to be only 4M in size—almost half the actual amount. According to the post-download loading and the da...
[ "Hi ! the format of this dataset is not supported by the Dataset Viewer. It looks like this dataset was saved using `save_to_disk()` which is meant for local storage / easy reload without compression, not for sharing online." ]
https://api.github.com/repos/huggingface/datasets/issues/7506
7,506
HfHubHTTPError: 429 Client Error: Too Many Requests for URL when trying to access Fineweb-10BT on 4A100 GPUs using SLURM
### Describe the bug I am trying to run some finetunings on 4 A100 GPUs using SLURM using axolotl training framework which in turn uses Huggingface's Trainer and Accelerate on [Fineweb-10BT](https://huggingface.co/datasets/HuggingFaceFW/fineweb), but I end up running into 429 Client Error: Too Many Requests for URL er...
open
2025-04-09T06:32:04
https://api.github.com/repos/huggingface/datasets/issues/7506/comments
null
false
HfHubHTTPError: 429 Client Error: Too Many Requests for URL when trying to access Fineweb-10BT on 4A100 GPUs using SLURM ### Describe the bug I am trying to run some finetunings on 4 A100 GPUs using SLURM using axolotl training framework which in turn uses Huggingface's Trainer and Accelerate on [Fineweb-10BT](https:/...
[ "Hi ! make sure to be logged in with your HF account (e.g. using `huggingface-cli login` or passing `token=` to `load_dataset()`), otherwise you'll get rate limited at one point", "Hey @calvintanama! Just building on what @lhoestq mentioned above — I ran into similar issues in multi-GPU SLURM setups and here’s wh...
https://api.github.com/repos/huggingface/datasets/issues/7505
7,505
HfHubHTTPError: 403 Forbidden: None. Cannot access content at: https://hf.co/api/s3proxy
I have already logged in Huggingface using CLI with my valid token. Now trying to download the datasets using following code: from transformers import WhisperProcessor, WhisperForConditionalGeneration, WhisperTokenizer, Trainer, TrainingArguments, DataCollatorForSeq2Seq from datasets import load_dataset, Data...
open
2025-04-08T14:08:40
https://api.github.com/repos/huggingface/datasets/issues/7505/comments
null
false
HfHubHTTPError: 403 Forbidden: None. Cannot access content at: https://hf.co/api/s3proxy I have already logged in Huggingface using CLI with my valid token. Now trying to download the datasets using following code: from transformers import WhisperProcessor, WhisperForConditionalGeneration, WhisperTokenizer, Train...
[]
https://api.github.com/repos/huggingface/datasets/issues/7504
7,504
BuilderConfig ParquetConfig(...) doesn't have a 'use_auth_token' key.
### Describe the bug Trying to run the following fine-tuning script (based on this page [here](https://github.com/huggingface/instruction-tuned-sd)): ``` ! accelerate launch /content/instruction-tuned-sd/finetune_instruct_pix2pix.py \ --pretrained_model_name_or_path=${MODEL_ID} \ --dataset_name=${DATASET_NAME...
open
2025-04-08T10:55:03
https://api.github.com/repos/huggingface/datasets/issues/7504/comments
null
false
BuilderConfig ParquetConfig(...) doesn't have a 'use_auth_token' key. ### Describe the bug Trying to run the following fine-tuning script (based on this page [here](https://github.com/huggingface/instruction-tuned-sd)): ``` ! accelerate launch /content/instruction-tuned-sd/finetune_instruct_pix2pix.py \ --pretrai...
[ "I encountered the same error, have you resolved it?", "Hi ! `use_auth_token` has been deprecated and removed some time ago. You should use `token` instead in `load_dataset()`", "Hi @lhoestq, I'd like to take this up.\n\nAs discussed in #7504, the issue arises when `use_auth_token` is passed to `load_dataset`, ...
https://api.github.com/repos/huggingface/datasets/issues/7503
7,503
Inconsistency between load_dataset and load_from_disk functionality
## Issue Description I've encountered confusion when using `load_dataset` and `load_from_disk` in the datasets library. Specifically, when working offline with the gsm8k dataset, I can load it using a local path: ```python import datasets ds = datasets.load_dataset('/root/xxx/datasets/gsm8k', 'main') ``` output: ```t...
open
2025-04-08T03:46:22
https://api.github.com/repos/huggingface/datasets/issues/7503/comments
null
false
Inconsistency between load_dataset and load_from_disk functionality ## Issue Description I've encountered confusion when using `load_dataset` and `load_from_disk` in the datasets library. Specifically, when working offline with the gsm8k dataset, I can load it using a local path: ```python import datasets ds = datase...
[ "Hi ! you can find more info here: https://github.com/huggingface/datasets/issues/5044#issuecomment-1263714347\n\n> What's the recommended approach for this use case? Should I manually process my gsm8k-new dataset to make it compatible with load_dataset? Is there a standard way to convert between these formats?\n\n...
https://api.github.com/repos/huggingface/datasets/issues/7502
7,502
`load_dataset` of size 40GB creates a cache of >720GB
Hi there, I am trying to load a dataset from the Hugging Face Hub and split it into train and validation splits. Somehow, when I try to do it with `load_dataset`, it exhausts my disk quota. So, I tried manually downloading the parquet files from the hub and loading them as follows: ```python ds = DatasetDict( ...
closed
2025-04-07T16:52:34
https://api.github.com/repos/huggingface/datasets/issues/7502/comments
null
false
`load_dataset` of size 40GB creates a cache of >720GB Hi there, I am trying to load a dataset from the Hugging Face Hub and split it into train and validation splits. Somehow, when I try to do it with `load_dataset`, it exhausts my disk quota. So, I tried manually downloading the parquet files from the hub and loading...
[ "Hi ! Parquet is a compressed format. When you load a dataset, it uncompresses the Parquet data into Arrow data on your disk. That's why you can indeed end up with 720GB of uncompressed data on disk. The uncompression is needed to enable performant dataset objects (especially for random access).\n\nTo save some sto...
https://api.github.com/repos/huggingface/datasets/issues/7501
7,501
Nested Feature raises ArrowNotImplementedError: Unsupported cast using function cast_struct
### Describe the bug `datasets.Features` seems to be unable to handle json file that contains fields of `list[dict]`. ### Steps to reproduce the bug ```json // test.json {"a": 1, "b": [{"c": 2, "d": 3}, {"c": 4, "d": 5}]} {"a": 5, "b": [{"c": 7, "d": 8}, {"c": 9, "d": 10}]} ``` ```python import json from datasets i...
closed
2025-04-07T12:35:39
https://api.github.com/repos/huggingface/datasets/issues/7501/comments
null
false
Nested Feature raises ArrowNotImplementedError: Unsupported cast using function cast_struct ### Describe the bug `datasets.Features` seems to be unable to handle json file that contains fields of `list[dict]`. ### Steps to reproduce the bug ```json // test.json {"a": 1, "b": [{"c": 2, "d": 3}, {"c": 4, "d": 5}]} {"a...
[ "Solved by the default `load_dataset(features)` parameters. Do not use `Sequence` for the `list` in `list[any]` json schema, just simply use `[]`. For example, `\"b\": Sequence({...})` fails but `\"b\": [{...}]` works fine." ]
https://api.github.com/repos/huggingface/datasets/issues/7500
7,500
Make `with_format` correctly indicate that a `Dataset` is compatible with PyTorch's `Dataset` class
### Feature request Currently `datasets` does not correctly indicate to the Python type-checker (e.g. `pyright` / `Pylance`) that the output of `with_format` is compatible with PyTorch's `Dataloader` since it does not indicate that the HuggingFace `Dataset` is compatible with the PyTorch `Dataset` class. It would be g...
open
2025-04-06T09:56:09
https://api.github.com/repos/huggingface/datasets/issues/7500/comments
null
false
Make `with_format` correctly indicate that a `Dataset` is compatible with PyTorch's `Dataset` class ### Feature request Currently `datasets` does not correctly indicate to the Python type-checker (e.g. `pyright` / `Pylance`) that the output of `with_format` is compatible with PyTorch's `Dataloader` since it does not i...
[ "Does the torch `DataLoader` really require the dataset to be a subclass of `torch.utils.data.Dataset` ? Or is there a simpler type we could use ?\n\nPS: also note that a dataset without `with_format()` can also be used in a torch `DataLoader` . Calling `with_format(\"torch\")` simply makes the output of the datase...
https://api.github.com/repos/huggingface/datasets/issues/7499
7,499
Added cache dirs to load and file_utils
When adding "cache_dir" to datasets.load_dataset, the cache_dir gets lost in the function calls, changing the cache dir to the default path. This fixes a few of these instances.
closed
2025-04-04T22:36:04
https://api.github.com/repos/huggingface/datasets/issues/7499/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7499", "html_url": "https://github.com/huggingface/datasets/pull/7499", "diff_url": "https://github.com/huggingface/datasets/pull/7499.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7499.patch", "merged_at": null }
true
Added cache dirs to load and file_utils When adding "cache_dir" to datasets.load_dataset, the cache_dir gets lost in the function calls, changing the cache dir to the default path. This fixes a few of these instances.
[ "hi ! the `hf_hub_download` cache_dir is a different cache directory than the one for `datasets`.\r\n\r\n`hf_hub_download` uses the `huggingface_hub` cache which is located in by default in `~/.cache/huggingface/hub`, while `datasets` uses a different cache for Arrow files and map() results `~/.cache/huggingface/da...
https://api.github.com/repos/huggingface/datasets/issues/7498
7,498
Extreme memory bandwidth.
### Describe the bug When I use hf datasets on 4 GPU with 40 workers I get some extreme memory bandwidth of constant ~3GB/s. However, if I wrap the dataset in `IterableDataset`, this issue is gone and the data also loads way faster (4x faster training on 1 worker). It seems like the workers don't share memory and b...
open
2025-04-03T11:09:08
https://api.github.com/repos/huggingface/datasets/issues/7498/comments
null
false
Extreme memory bandwidth. ### Describe the bug When I use hf datasets on 4 GPU with 40 workers I get some extreme memory bandwidth of constant ~3GB/s. However, if I wrap the dataset in `IterableDataset`, this issue is gone and the data also loads way faster (4x faster training on 1 worker). It seems like the worker...
[]
https://api.github.com/repos/huggingface/datasets/issues/7497
7,497
How to convert videos to images?
### Feature request Does someone know how to return the images from videos? ### Motivation I am trying to use openpi(https://github.com/Physical-Intelligence/openpi) to finetune my Lerobot dataset(V2.0 and V2.1). I find that although the codedaset is v2.0, they are different. It seems like Lerobot V2.0 has two versi...
open
2025-04-03T07:08:39
https://api.github.com/repos/huggingface/datasets/issues/7497/comments
null
false
How to convert videos to images? ### Feature request Does someone know how to return the images from videos? ### Motivation I am trying to use openpi(https://github.com/Physical-Intelligence/openpi) to finetune my Lerobot dataset(V2.0 and V2.1). I find that although the codedaset is v2.0, they are different. It seem...
[ "Hi ! there is some documentation here on how to read video frames: https://huggingface.co/docs/datasets/video_load" ]
https://api.github.com/repos/huggingface/datasets/issues/7496
7,496
Json builder: Allow features to override problematic Arrow types
### Feature request In the JSON builder, use explicitly requested feature types before or while converting to Arrow. ### Motivation Working with JSON datasets is really hard because of Arrow. At the very least, it seems like it should be possible to work-around these problems by explicitly setting problematic colum...
open
2025-04-02T19:27:16
https://api.github.com/repos/huggingface/datasets/issues/7496/comments
null
false
Json builder: Allow features to override problematic Arrow types ### Feature request In the JSON builder, use explicitly requested feature types before or while converting to Arrow. ### Motivation Working with JSON datasets is really hard because of Arrow. At the very least, it seems like it should be possible to w...
[ "Hi ! It would be cool indeed, currently the JSON data are generally loaded here: \n\nhttps://github.com/huggingface/datasets/blob/90e5bf8a8599b625d6103ee5ac83b98269991141/src/datasets/packaged_modules/json/json.py#L137-L140\n\nMaybe we can pass a Arrow `schema` to avoid errors ?" ]
https://api.github.com/repos/huggingface/datasets/issues/7495
7,495
Columns in the dataset obtained though load_dataset do not correspond to the one in the dataset viewer since 3.4.0
### Describe the bug I have noticed that on my dataset named [BrunoHays/Accueil_UBS](https://huggingface.co/datasets/BrunoHays/Accueil_UBS), since the version 3.4.0, every column except audio is missing when I load the dataset. Interestingly, the dataset viewer still shows the correct columns ### Steps to reproduce ...
closed
2025-04-02T17:01:11
https://api.github.com/repos/huggingface/datasets/issues/7495/comments
null
false
Columns in the dataset obtained though load_dataset do not correspond to the one in the dataset viewer since 3.4.0 ### Describe the bug I have noticed that on my dataset named [BrunoHays/Accueil_UBS](https://huggingface.co/datasets/BrunoHays/Accueil_UBS), since the version 3.4.0, every column except audio is missing w...
[ "Hi, the dataset viewer shows all the possible columns and their types, but `load_dataset()` iterates through all the columns that you defined. It seems that you only have one column (‘audio’) defined in your dataset because when I ran `print(ds.column_names)`, the only name I got was “audio”. You need to clearly d...
https://api.github.com/repos/huggingface/datasets/issues/7494
7,494
Broken links in pdf loading documentation
### Describe the bug Hi, just a couple of small issues I ran into while reading the docs for [loading pdf data](https://huggingface.co/docs/datasets/main/en/document_load): 1. The link for the [`Create a pdf dataset`](https://huggingface.co/docs/datasets/main/en/document_load#pdffolder) points to https://huggingface....
closed
2025-04-02T06:45:22
https://api.github.com/repos/huggingface/datasets/issues/7494/comments
null
false
Broken links in pdf loading documentation ### Describe the bug Hi, just a couple of small issues I ran into while reading the docs for [loading pdf data](https://huggingface.co/docs/datasets/main/en/document_load): 1. The link for the [`Create a pdf dataset`](https://huggingface.co/docs/datasets/main/en/document_load...
[ "thanks for reporting ! I fixed the links, the docs will be updated in the next release" ]
https://api.github.com/repos/huggingface/datasets/issues/7493
7,493
push_to_hub does not upload videos
### Describe the bug Hello, I would like to upload a video dataset (some .mp4 files and some segments within them), i.e. rows correspond to subsequences from videos. Videos might be referenced by several rows. I created a dataset locally and it references the videos and the video readers can read them correctly. I u...
closed
2025-04-01T17:00:20
https://api.github.com/repos/huggingface/datasets/issues/7493/comments
null
false
push_to_hub does not upload videos ### Describe the bug Hello, I would like to upload a video dataset (some .mp4 files and some segments within them), i.e. rows correspond to subsequences from videos. Videos might be referenced by several rows. I created a dataset locally and it references the videos and the video r...
[ "Hi ! the `Video` type is still experimental, and in particular `push_to_hub` doesn't upload videos at the moment (only the paths).\n\nThere is an open question to either upload the videos inside the Parquet files, or rather have them as separate files (which is great to enable remote seeking/streaming)", "im hav...
https://api.github.com/repos/huggingface/datasets/issues/7492
7,492
Closes #7457
This PR updates the documentation to include the HF_DATASETS_CACHE environment variable, which allows users to customize the cache location for datasets—similar to HF_HUB_CACHE for models.
closed
2025-03-30T20:41:20
https://api.github.com/repos/huggingface/datasets/issues/7492/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7492", "html_url": "https://github.com/huggingface/datasets/pull/7492", "diff_url": "https://github.com/huggingface/datasets/pull/7492.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7492.patch", "merged_at": null }
true
Closes #7457 This PR updates the documentation to include the HF_DATASETS_CACHE environment variable, which allows users to customize the cache location for datasets—similar to HF_HUB_CACHE for models.
[ "This PR fixes issue #7457" ]
https://api.github.com/repos/huggingface/datasets/issues/7491
7,491
docs: update cache.mdx to include HF_DATASETS_CACHE documentation
null
closed
2025-03-30T20:35:03
https://api.github.com/repos/huggingface/datasets/issues/7491/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7491", "html_url": "https://github.com/huggingface/datasets/pull/7491", "diff_url": "https://github.com/huggingface/datasets/pull/7491.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7491.patch", "merged_at": null }
true
docs: update cache.mdx to include HF_DATASETS_CACHE documentation
[ "Already included HF_DATASETS_CACHE" ]