id
stringlengths
18
24
number
int64
2
8.48k
title
stringlengths
1
290
body
stringlengths
0
228k
state
stringclasses
2 values
createdAt
timestamp[s]date
2020-04-14 18:18:51
2026-08-13 03:02:44
updatedAt
timestamp[s]date
2020-04-29 09:23:05
2026-08-15 04:47:12
closedAt
timestamp[s]date
2020-04-29 09:23:05
2026-07-28 10:29:56
url
stringlengths
48
51
author
dict
labels
dict
comments
listlengths
0
30
I_kwDODunzps6dWtp1
7,280
Add filename in error message when ReadError or similar occur
Please update error messages to include relevant information for debugging when loading datasets with `load_dataset()` that may have a few corrupted files. Whenever downloading a full dataset, some files might be corrupted (either at the source or from downloading corruption). However the errors often only let me k...
OPEN
2024-11-07T06:00:53
2026-07-22T12:52:39
null
https://github.com/huggingface/datasets/issues/7280
{ "login": "elisa-aleman" }
{ "nodes": [] }
[ "Hi Elisa, please share the error traceback here, and if you manage to find the location in the `datasets` code where the error occurs, feel free to open a PR to add the necessary logging / improve the error message.", "> please share the error traceback\n\nI don't have access to it but it should be during [this ...
I_kwDODunzps6c3993
7,276
Accessing audio dataset value throws Format not recognised error
### Describe the bug Accessing audio dataset value throws `Format not recognised error` ### Steps to reproduce the bug **code:** ```py from datasets import load_dataset dataset = load_dataset("fawazahmed0/bug-audio") for data in dataset["train"]: print(data) ``` **output:** ```bash (mypy) ...
OPEN
2024-11-04T05:59:13
2024-11-09T18:51:52
null
https://github.com/huggingface/datasets/issues/7276
{ "login": "fawazahmed0" }
{ "nodes": [] }
[ "Hi ! can you try if this works ?\r\n\r\n```python\r\nimport soundfile as sf\r\n\r\nwith open('C:\\\\Users\\\\Nawaz-Server\\\\.cache\\\\huggingface\\\\hub\\\\datasets--fawazahmed0--bug-audio\\\\snapshots\\\\fab1398431fed1c0a2a7bff0945465bab8b5daef\\\\data\\\\Ghamadi\\\\037136.mp3', 'rb') as f:\r\n print(sf.read(...
I_kwDODunzps6c3MJ1
7,275
load_dataset
### Describe the bug I am performing two operations I see on a hugging face tutorial (Fine-tune a language model), and I am defining every aspect inside the mapped functions, also some imports of the library because it doesnt identify anything not defined outside that function where the dataset elements are being mapp...
OPEN
2024-11-04T03:01:44
2024-11-04T03:01:44
null
https://github.com/huggingface/datasets/issues/7275
{ "login": "santiagobp99" }
{ "nodes": [] }
[]
I_kwDODunzps6ckunz
7,269
Memory leak when streaming
### Describe the bug I try to use a dataset with streaming=True, the issue I have is that the RAM usage becomes higher and higher until it is no longer sustainable. I understand that huggingface store data in ram during the streaming, and more worker in dataloader there are, more a lot of shard will be stored in ...
OPEN
2024-10-31T13:33:52
2025-12-19T07:48:08
null
https://github.com/huggingface/datasets/issues/7269
{ "login": "Jourdelune" }
{ "nodes": [] }
[ "I seem to have encountered the same problem when loading non streaming datasets. load_from_disk. Causing hundreds of GB of memory, but the dataset actually only has 50GB", "FYI when streaming parquet data, only one row group per worker is loaded in memory at a time.\r\n\r\nBtw for datasets of embeddings you can ...
I_kwDODunzps6cj7jv
7,268
load_from_disk
### Describe the bug I have data saved with save_to_disk. The data is big (700Gb). When I try loading it, the only option is load_from_disk, and this function copies the data to a tmp directory, causing me to run out of disk space. Is there an alternative solution to that? ### Steps to reproduce the bug when trying ...
OPEN
2024-10-31T11:51:56
2025-07-01T08:42:17
null
https://github.com/huggingface/datasets/issues/7268
{ "login": "ghaith-mq" }
{ "nodes": [] }
[ "Hello, It's an interesting issue here. I have the same problem, I have a local dataset and I want to push the dataset to the hub but huggingface does a copy of it.\r\n\r\n```py\r\nfrom datasets import load_dataset\r\n\r\ndataset = load_dataset(\"webdataset\", data_files=\"/media/works/data/*.tar\") # copy here\r\n...
I_kwDODunzps6cjQ6t
7,267
Source installation fails on Macintosh with python 3.10
### Describe the bug Hi, Decord is a dev dependency not maintained since couple years. It does not have an ARM package available rendering it uninstallable on non-intel based macs Suggestion is to move to eva-decord (https://github.com/georgia-tech-db/eva-decord) which doesnt have this problem. Happy to...
OPEN
2024-10-31T10:18:45
2024-11-04T22:18:06
null
https://github.com/huggingface/datasets/issues/7267
{ "login": "mayankagarwals" }
{ "nodes": [] }
[ "I encountered the same problem on M1, a workaround I did was to simply comment out the dependency:\r\n\r\n```python\r\n...\r\n \"zstandard\",\r\n \"polars[timezone]>=0.20.0\",\r\n # \"decord==0.6.0\",\r\n]\r\n```\r\n\r\nThis worked for me as the adjustments I did to the code do not use the dependency, but...
I_kwDODunzps6ccTnn
7,266
The dataset viewer should be available soon. Please retry later.
### Describe the bug After waiting for 2 hours, it still presents ``The dataset viewer should be available soon. Please retry later.'' ### Steps to reproduce the bug dataset link: https://huggingface.co/datasets/BryanW/HI_EDIT ### Expected behavior Present the dataset viewer. ### Environment info NA
CLOSED
2024-10-30T16:32:00
2024-10-31T03:48:11
2024-10-31T03:48:10
https://github.com/huggingface/datasets/issues/7266
{ "login": "viiika" }
{ "nodes": [] }
[ "Waiting is all you need. 10 hours later, it works." ]
I_kwDODunzps6cMdJ4
7,261
Cannot load the cache when mapping the dataset
### Describe the bug I'm training the flux controlnet. The train_dataset.map() takes long time to finish. However, when I killed one training process and want to restart a new training with the same dataset. I can't reuse the mapped result even I defined the cache dir for the dataset. with accelerator.main_process_...
OPEN
2024-10-29T08:29:40
2025-03-24T13:27:55
null
https://github.com/huggingface/datasets/issues/7261
{ "login": "zhangn77" }
{ "nodes": [] }
[ "@zhangn77 Hi ,have you solved this problem? I encountered the same issue during training. Could we discuss it?", "I also encountered the same problem, why is that?" ]
I_kwDODunzps6cKj7N
7,260
cache can't cleaned or disabled
### Describe the bug I tried following ways, the cache can't be disabled. I got 2T data, but I also got more than 2T cache file. I got pressure on storage. I need to diable cache or cleaned immediately after processed. Following ways are all not working, please give some help! ```python from datasets import ...
OPEN
2024-10-29T03:15:28
2024-12-11T09:04:52
null
https://github.com/huggingface/datasets/issues/7260
{ "login": "charliedream1" }
{ "nodes": [] }
[ "Hey I have a similar problem and found a workaround using [temporary directories](https://docs.python.org/3/library/tempfile.html):\r\n\r\n```python\r\nfrom tempfile import TemporaryDirectory\r\n\r\nwith TemporaryDirectory() as cache_dir:\r\n data = load_dataset('json', data_files=save_local_path, split='train'...
I_kwDODunzps6b76mU
7,254
mismatch for datatypes when providing `Features` with `Array2D` and user specified `dtype` and using with_format("numpy")
### Describe the bug If the user provides a `Features` type value to `datasets.Dataset` with members having `Array2D` with a value for `dtype`, it is not respected during `with_format("numpy")` which should return a `np.array` with `dtype` that the user provided for `Array2D`. It seems for floats, it will be set to `f...
OPEN
2024-10-26T22:06:27
2024-10-26T22:07:37
null
https://github.com/huggingface/datasets/issues/7254
{ "login": "Akhil-CM" }
{ "nodes": [] }
[ "It seems that https://github.com/huggingface/datasets/issues/5517 is exactly the same issue.\r\n\r\nIt was mentioned there that this would be fixed in version 3.x" ]
I_kwDODunzps6b6uO6
7,253
Unable to upload a large dataset zip either from command line or UI
### Describe the bug Unable to upload a large dataset zip from command line or UI. UI simply says error. I am trying to a upload a tar.gz file of 17GB. <img width="550" alt="image" src="https://github.com/user-attachments/assets/f9d29024-06c8-49c4-a109-0492cff79d34"> <img width="755" alt="image" src="https://githu...
OPEN
2024-10-26T13:17:06
2024-10-26T13:17:06
null
https://github.com/huggingface/datasets/issues/7253
{ "login": "vakyansh" }
{ "nodes": [] }
[]
I_kwDODunzps6bk4Y8
7,249
How to debugging
### Describe the bug I wanted to use my own script to handle the processing, and followed the tutorial documentation by rewriting the MyDatasetConfig and MyDatasetBuilder (which contains the _info,_split_generators and _generate_examples methods) classes. Testing with simple data was able to output the results of the ...
OPEN
2024-10-24T01:03:51
2024-10-24T01:03:51
null
https://github.com/huggingface/datasets/issues/7249
{ "login": "ShDdu" }
{ "nodes": [] }
[]
I_kwDODunzps6bkE_J
7,248
ModuleNotFoundError: No module named 'datasets.tasks'
### Describe the bug --------------------------------------------------------------------------- ModuleNotFoundError Traceback (most recent call last) [<ipython-input-9-13b5f31bd391>](https://bcb6shpazyu-496ff2e9c6d22116-0-colab.googleusercontent.com/outputframe.html?vrz=colab_20241022-060119_R...
OPEN
2024-10-23T21:58:25
2024-10-24T17:00:19
null
https://github.com/huggingface/datasets/issues/7248
{ "login": "shoowadoo" }
{ "nodes": [] }
[ "tasks was removed in v3: #6999 \r\n\r\nI also don't see why TextClassification is imported, since it's not used after. So the fix is simple: delete this line.", "I opened https://huggingface.co/datasets/knowledgator/events_classification_biotech/discussions/7 to remove the line, hopefully the dataset owner will ...
I_kwDODunzps6bV-oN
7,247
Adding column with dict struction when mapping lead to wrong order
### Describe the bug in `map()` function, I want to add a new column with a dict structure. ``` def map_fn(example): example['text'] = {'user': ..., 'assistant': ...} return example ``` However this leads to a wrong order `{'assistant':..., 'user':...}` in the dataset. Thus I can't concatenate two datasets ...
OPEN
2024-10-22T18:55:11
2024-10-22T18:55:23
null
https://github.com/huggingface/datasets/issues/7247
{ "login": "chchch0109" }
{ "nodes": [] }
[]
I_kwDODunzps6bJGM0
7,243
ArrayXD with None as leading dim incompatible with DatasetCardData
### Describe the bug Creating a dataset with ArrayXD features leads to errors when downloading from hub due to DatasetCardData removing the Nones @lhoestq ### Steps to reproduce the bug ```python import numpy as np from datasets import Array2D, Dataset, Features, load_dataset def examples_generator():...
OPEN
2024-10-21T15:08:13
2024-10-22T14:18:10
null
https://github.com/huggingface/datasets/issues/7243
{ "login": "alex-hh" }
{ "nodes": [] }
[ "It looks like `CardData` in `huggingface_hub` removes None values where it shouldn't. Indeed it calls `_remove_none` on the return of `to_dict()`:\r\n\r\n```python\r\n def to_dict(self) -> Dict[str, Any]:\r\n \"\"\"Converts CardData to a dict.\r\n\r\n Returns:\r\n `dict`: CardData repre...
I_kwDODunzps6a91AU
7,241
`push_to_hub` overwrite argument
### Feature request Add an `overwrite` argument to the `push_to_hub` method. ### Motivation I want to overwrite a repo without deleting it on Hugging Face. Is this possible? I couldn't find anything in the documentation or tutorials. ### Your contribution I can create a PR.
CLOSED
2024-10-20T03:23:26
2024-10-24T17:39:08
2024-10-24T17:39:08
https://github.com/huggingface/datasets/issues/7241
{ "login": "ceferisbarov" }
{ "nodes": [ { "name": "enhancement" } ] }
[ "Hi ! Do you mean deleting all the files ? or erasing the repository git history before push_to_hub ?", "Hi! I meant the latter.", "I don't think there is a `huggingface_hub` utility to erase the git history, cc @Wauplin maybe ?", "What is the goal exactly of deleting all the git history without deleting the ...
I_kwDODunzps6a4JcJ
7,238
incompatibily issue when using load_dataset with datasets==3.0.1
### Describe the bug There is a bug when using load_dataset with dataset version at 3.0.1 . Please see below in the "steps to reproduce the bug". To resolve the bug, I had to downgrade to version 2.21.0 OS: Ubuntu 24 (AWS instance) Python: same bug under 3.12 and 3.10 The error I had was: Traceback (most rec...
OPEN
2024-10-18T21:25:23
2024-12-09T09:49:32
null
https://github.com/huggingface/datasets/issues/7238
{ "login": "jupiterMJM" }
{ "nodes": [] }
[ "Hi! I'm also getting the same issue - have you been able to find a solution to this? ", "From what I remember, I stayed at the \"downgraded\" version of dataset (2.21.0)" ]
I_kwDODunzps6am9IJ
7,233
数据集数量问题
### Describe the bug 这里我进行大模型微调,当数据集数量为718时,模型可以正常微调,但是当我添加一个在前718个数据集中的数据或者新增一个数据就会报错 ### Steps to reproduce the bug 1. 这里我的数据集可以微调的最后两个数据集是: { "messages": [ { "role": "user", "content": "完成校正装置设计后需要进行哪些工作?" }, { "role": "assistant", "content": "一旦完成校正装置设计后,需要进行系统实际调校...
OPEN
2024-10-17T07:41:44
2024-10-17T07:41:44
null
https://github.com/huggingface/datasets/issues/7233
{ "login": "want-well" }
{ "nodes": [] }
[]
I_kwDODunzps6aNzgO
7,228
Composite (multi-column) features
### Feature request Structured data types (graphs etc.) might often be most efficiently stored as multiple columns, which then need to be combined during feature decoding Although it is currently possible to nest features as structs, my impression is that in particular when dealing with e.g. a feature composed of...
OPEN
2024-10-14T23:59:19
2024-10-15T11:17:15
null
https://github.com/huggingface/datasets/issues/7228
{ "login": "alex-hh" }
{ "nodes": [ { "name": "enhancement" } ] }
[]
I_kwDODunzps6aMUWf
7,226
Add R as a How to use from the Polars (R) Library as an option
### Feature request The boiler plate code to access a dataset via the hugging face file system is very useful. Please addd ## Add Polars (R) option The equivailent code works, because the [Polars-R](https://github.com/pola-rs/r-polars) wrapper has hugging faces funcitonaliy as well. ```r library(polars) ...
OPEN
2024-10-14T19:56:07
2024-10-14T19:57:13
null
https://github.com/huggingface/datasets/issues/7226
{ "login": "ran-codes" }
{ "nodes": [ { "name": "enhancement" } ] }
[]
I_kwDODunzps6aJrng
7,225
Huggingface GIT returns null as Content-Type instead of application/x-git-receive-pack-result
### Describe the bug We push changes to our datasets programmatically. Our git client jGit reports that the hf git server returns null as Content-Type after a push. ### Steps to reproduce the bug A basic kotlin application: ``` val person = PersonIdent( "padmalcom", "padmalcom@sth.com" ) ...
OPEN
2024-10-14T14:33:06
2024-10-14T14:33:06
null
https://github.com/huggingface/datasets/issues/7225
{ "login": "padmalcom" }
{ "nodes": [] }
[]
I_kwDODunzps6Z-Pxm
7,223
Fallback to arrow defaults when loading dataset with custom features that aren't registered locally
### Describe the bug Datasets allows users to create and register custom features. However if datasets are then pushed to the hub, this means that anyone calling load_dataset without registering the custom Features in the same way as the dataset creator will get an error message. It would be nice to offer a fall...
OPEN
2024-10-12T16:08:20
2024-10-12T16:08:20
null
https://github.com/huggingface/datasets/issues/7223
{ "login": "alex-hh" }
{ "nodes": [] }
[]
I_kwDODunzps6Z8IoR
7,222
TypeError: Couldn't cast array of type string to null in long json
### Describe the bug In general, changing the type from string to null is allowed within a dataset — there are even examples of this in the documentation. However, if the dataset is large and unevenly distributed, this allowance stops working. The schema gets locked in after reading a chunk. Consequently, if al...
OPEN
2024-10-12T08:14:59
2025-09-26T11:54:48
null
https://github.com/huggingface/datasets/issues/7222
{ "login": "nokados" }
{ "nodes": [] }
[ "I am encountering this same issue. It seems that the library manages to recognise an optional column (but not **exclusively** null) if there is at least one non-null instance within the same file. For example, given a `test_0.jsonl` file:\r\n```json\r\n{\"a\": \"a1\", \"b\": \"b1\", \"c\": null, \"d\": null}\r\n{\...
I_kwDODunzps6Z5r6O
7,220
Custom features not compatible with special encoding/decoding logic
### Describe the bug It is possible to register custom features using datasets.features.features.register_feature (https://github.com/huggingface/datasets/pull/6727) However such features are not compatible with Features.encode_example/decode_example if they require special encoding / decoding logic because encod...
OPEN
2024-10-11T19:20:11
2024-11-08T15:10:58
null
https://github.com/huggingface/datasets/issues/7220
{ "login": "alex-hh" }
{ "nodes": [] }
[ "I think you can fix this simply by replacing the line with hardcoded features with `hastattr(schema, \"encode_example\")` actually", "#7284 " ]
I_kwDODunzps6Z2GK6
7,217
ds.map(f, num_proc=10) is slower than df.apply
### Describe the bug pandas columns: song_id, song_name ds = Dataset.from_pandas(df) def has_cover(song_name): if song_name is None or pd.isna(song_name): return False return 'cover' in song_name.lower() df['has_cover'] = df.song_name.progress_apply(has_cover) ds = ds.map(lambda x: {'has_cov...
OPEN
2024-10-11T11:04:05
2025-02-28T21:21:01
null
https://github.com/huggingface/datasets/issues/7217
{ "login": "lanlanlanlanlanlan365" }
{ "nodes": [] }
[ "Hi ! `map()` reads all the columns and writes the resulting dataset with all the columns as well, while df.column_name.apply only reads and writes one column and does it in memory. So this is speed difference is actually expected.\r\n\r\nMoreover using multiprocessing on a dataset that lives in memory (from_pandas...
I_kwDODunzps6Zxs4b
7,215
Iterable dataset map with explicit features causes slowdown for Sequence features
### Describe the bug When performing map, it's nice to be able to pass the new feature type, and indeed required by interleave and concatenate datasets. However, this can cause a major slowdown for certain types of array features due to the features being re-encoded. This is separate to the slowdown reported i...
OPEN
2024-10-10T22:08:20
2024-10-10T22:10:32
null
https://github.com/huggingface/datasets/issues/7215
{ "login": "alex-hh" }
{ "nodes": [] }
[]
I_kwDODunzps6ZtIGh
7,214
Formatted map + with_format(None) changes array dtype for iterable datasets
### Describe the bug When applying with_format -> map -> with_format(None), array dtypes seem to change, even if features are passed ### Steps to reproduce the bug ```python features=Features(**{"array0": Array3D((None, 10, 10), dtype="float32")}) dataset = Dataset.from_dict({f"array0": [np.zeros((100,10,10...
OPEN
2024-10-10T12:45:16
2024-10-12T16:55:57
null
https://github.com/huggingface/datasets/issues/7214
{ "login": "alex-hh" }
{ "nodes": [] }
[ "possibly due to this logic:\r\n\r\n```python\r\n def _arrow_array_to_numpy(self, pa_array: pa.Array) -> np.ndarray:\r\n if isinstance(pa_array, pa.ChunkedArray):\r\n if isinstance(pa_array.type, _ArrayXDExtensionType):\r\n # don't call to_pylist() to preserve dtype of the fixed-...
I_kwDODunzps6Zs3dt
7,213
Add with_rank to Dataset.from_generator
### Feature request Add `with_rank` to `Dataset.from_generator` similar to `Dataset.map` and `Dataset.filter`. ### Motivation As for `Dataset.map` and `Dataset.filter`, this is useful when creating cache files using multi-GPU, where the rank can be used to select GPU IDs. For now, rank can be added in the `ge...
OPEN
2024-10-10T12:15:29
2024-10-10T12:17:11
null
https://github.com/huggingface/datasets/issues/7213
{ "login": "muthissar" }
{ "nodes": [ { "name": "enhancement" } ] }
[]
I_kwDODunzps6ZsvFr
7,212
Windows do not supprot signal.alarm and singal.signal
### Describe the bug signal.alarm and signal.signal are used in the load.py module, but these are not supported by Windows. ### Steps to reproduce the bug lighteval accelerate --model_args "pretrained=gpt2,trust_remote_code=True" --tasks "community|kinit_sts" --custom_tasks "community_tasks/kinit_evals.py" --output...
OPEN
2024-10-10T12:00:19
2024-10-10T12:00:19
null
https://github.com/huggingface/datasets/issues/7212
{ "login": "TomasJavurek" }
{ "nodes": [] }
[]
I_kwDODunzps6ZkMB2
7,211
Describe only selected fields in README
### Feature request Hi Datasets team! Is it possible to add the ability to describe only selected fields of the dataset files in `README.md`? For example, I have this open dataset ([open-llm-leaderboard/results](https://huggingface.co/datasets/open-llm-leaderboard/results?row=0)) and I want to describe only some f...
OPEN
2024-10-09T16:25:47
2024-10-09T16:25:47
null
https://github.com/huggingface/datasets/issues/7211
{ "login": "alozowski" }
{ "nodes": [ { "name": "enhancement" } ] }
[]
I_kwDODunzps6ZiN6j
7,210
Convert Array features to numpy arrays rather than lists by default
### Feature request It is currently quite easy to cause massive slowdowns when using datasets and not familiar with the underlying data conversions by e.g. making bad choices of formatting. Would it be more user-friendly to set defaults that avoid this as much as possible? e.g. format Array features as numpy arrays...
OPEN
2024-10-09T13:05:21
2024-10-09T13:05:21
null
https://github.com/huggingface/datasets/issues/7210
{ "login": "alex-hh" }
{ "nodes": [ { "name": "enhancement" } ] }
[]
I_kwDODunzps6ZgsVg
7,208
Iterable dataset.filter should not override features
### Describe the bug When calling filter on an iterable dataset, the features get set to None ### Steps to reproduce the bug import numpy as np import time from datasets import Dataset, Features, Array3D ```python features=Features(**{"array0": Array3D((None, 10, 10), dtype="float32"), "array1": Array3D((None,...
CLOSED
2024-10-09T10:23:45
2024-10-09T16:08:46
2024-10-09T16:08:45
https://github.com/huggingface/datasets/issues/7208
{ "login": "alex-hh" }
{ "nodes": [] }
[ "closed by https://github.com/huggingface/datasets/pull/7209, thanks @alex-hh !" ]
I_kwDODunzps6ZZYXr
7,206
Slow iteration for iterable dataset with numpy formatting for array data
### Describe the bug When working with large arrays, setting with_format to e.g. numpy then applying map causes a significant slowdown for iterable datasets. ### Steps to reproduce the bug ```python import numpy as np import time from datasets import Dataset, Features, Array3D features=Features(**{"array...
OPEN
2024-10-08T15:38:11
2024-10-17T17:14:52
null
https://github.com/huggingface/datasets/issues/7206
{ "login": "alex-hh" }
{ "nodes": [] }
[ "The below easily eats up 32G of RAM. Leaving it for a while bricked the laptop with 16GB.\r\n\r\n```\r\ndataset = load_dataset(\"Voxel51/OxfordFlowers102\", data_dir=\"data\").with_format(\"numpy\")\r\nprocessed_dataset = dataset.map(lambda x: x)\r\n```\r\n\r\n![image](https://github.com/user-attachments/assets/c1...
I_kwDODunzps6ZVoN2
7,202
`from_parquet` return type annotation
### Describe the bug As already posted in https://github.com/microsoft/pylance-release/issues/6534, the correct type hinting fails when building a dataset using the `from_parquet` constructor. Their suggestion is to comprehensively annotate the method's return type to better align with the docstring information. ###...
OPEN
2024-10-08T09:08:10
2024-10-08T09:08:10
null
https://github.com/huggingface/datasets/issues/7202
{ "login": "saiden89" }
{ "nodes": [] }
[]
I_kwDODunzps6ZLJnX
7,201
`load_dataset()` of images from a single directory where `train.png` image exists
### Describe the bug Hey! Firstly, thanks for maintaining such framework! I had a small issue, where I wanted to load a custom dataset of image+text captioning. I had all of my images in a single directory, and one of the images had the name `train.png`. Then, the loaded dataset had only this image. I guess it'...
OPEN
2024-10-07T09:14:17
2026-06-10T01:14:37
null
https://github.com/huggingface/datasets/issues/7201
{ "login": "SagiPolaczek" }
{ "nodes": [] }
[ "#self-assign", "#self-assign" ]
I_kwDODunzps6Y8Oe0
7,197
ConnectionError: Couldn't reach 'allenai/c4' on the Hub (ConnectionError)数据集下不下来,怎么回事
### Describe the bug from datasets import load_dataset print("11") traindata = load_dataset('ptb_text_only', 'penn_treebank', split='train') print("22") valdata = load_dataset('ptb_text_only', 'penn_treebank', split='validation') ### Steps to reproduce the b...
OPEN
2024-10-04T09:33:25
2025-02-26T02:26:16
null
https://github.com/huggingface/datasets/issues/7197
{ "login": "Mrgengli" }
{ "nodes": [] }
[ "Also cant download \"allenai/c4\", but with different error reported:\r\n```\r\nTraceback (most recent call last): ...
I_kwDODunzps6Y1t7G
7,196
concatenate_datasets does not preserve shuffling state
### Describe the bug After concatenate datasets on an iterable dataset, the shuffling state is destroyed, similar to #7156 This means concatenation cant be used for resolving uneven numbers of samples across devices when using iterable datasets in a distributed setting as discussed in #6623 I also noticed th...
CLOSED
2024-10-03T14:30:38
2026-02-04T18:55:36
2026-02-04T18:55:36
https://github.com/huggingface/datasets/issues/7196
{ "login": "alex-hh" }
{ "nodes": [] }
[ "It also does preserve `split_by_node`, so in the meantime you should call `shuffle` or `split_by_node` AFTER `interleave_datasets` or `concatenate_datasets`" ]
I_kwDODunzps6Y1J2Z
7,195
Add support for 3D datasets
See https://huggingface.co/datasets/allenai/objaverse for example
OPEN
2024-10-03T13:27:44
2024-10-04T09:23:36
null
https://github.com/huggingface/datasets/issues/7195
{ "login": "severo" }
{ "nodes": [ { "name": "enhancement" } ] }
[ "maybe related: https://github.com/huggingface/datasets/issues/6388", "Also look at https://github.com/huggingface/dataset-viewer/blob/f5fd117ceded990a7766e705bba1203fa907d6ad/services/worker/src/worker/job_runners/dataset/modalities.py#L241 which lists the 3D file formats that will assign the 3D modality to a da...
I_kwDODunzps6YydVn
7,194
datasets.exceptions.DatasetNotFoundError for private dataset
### Describe the bug The following Python code tries to download a private dataset and fails with the error `datasets.exceptions.DatasetNotFoundError: Dataset 'ClimatePolicyRadar/all-document-text-data-weekly' doesn't exist on the Hub or cannot be accessed.`. Downloading a public dataset doesn't work. ``` py fro...
CLOSED
2024-10-03T07:49:36
2024-10-03T10:09:28
2024-10-03T10:09:28
https://github.com/huggingface/datasets/issues/7194
{ "login": "kdutia" }
{ "nodes": [] }
[ "Actually there is no such dataset available, that is why you are getting that error.", "Fixed with @kdutia in Slack chat. Generating a new token fixed this issue. " ]
I_kwDODunzps6YuwM3
7,193
Support of num_workers (multiprocessing) in map for IterableDataset
### Feature request Currently, IterableDataset doesn't support setting num_worker in .map(), which results in slow processing here. Could we add support for it? As .map() can be run in the batch fashion (e.g., batch_size is default to 1000 in datasets), it seems to be doable for IterableDataset as the regular Dataset....
OPEN
2024-10-02T18:34:04
2024-10-03T09:54:15
null
https://github.com/huggingface/datasets/issues/7193
{ "login": "getao" }
{ "nodes": [ { "name": "enhancement" } ] }
[ "I was curious about the same - since map is applied on the fly I was assuming that setting num_workers>1 in DataLoader would effectively do the map in parallel, have you tried that?" ]
I_kwDODunzps6YuW_q
7,192
Add repeat() for iterable datasets
### Feature request It would be useful to be able to straightforwardly repeat iterable datasets indefinitely, to provide complete control over starting and ending of iteration to the user. An IterableDataset.repeat(n) function could do this automatically ### Motivation This feature was discussed in this iss...
CLOSED
2024-10-02T17:48:13
2025-03-18T10:48:33
2025-03-18T10:48:32
https://github.com/huggingface/datasets/issues/7192
{ "login": "alex-hh" }
{ "nodes": [ { "name": "enhancement" } ] }
[ "perhaps concatenate_datasets can already be used to achieve almost the same effect? ", "`concatenate_datasets` does the job when there is a finite number of repetitions, but in case of `.repeat()` forever we need a new logic in `iterable_dataset.py`", "done in https://github.com/huggingface/datasets/pull/7198"...
I_kwDODunzps6Yt4Al
7,190
Datasets conflicts with fsspec 2024.9
### Describe the bug Installing both in latest versions are not possible `pip install "datasets==3.0.1" "fsspec==2024.9.0"` But using older version of datasets is ok `pip install "datasets==1.24.4" "fsspec==2024.9.0"` ### Steps to reproduce the bug `pip install "datasets==3.0.1" "fsspec==2024.9.0"` #...
OPEN
2024-10-02T16:43:46
2024-10-10T07:33:18
null
https://github.com/huggingface/datasets/issues/7190
{ "login": "cw-igormorgado" }
{ "nodes": [] }
[ "Yes, I need to use the latest version of fsspec and datasets for my usecase. \r\nhttps://github.com/fsspec/s3fs/pull/888#issuecomment-2404204606\r\nhttps://github.com/apache/arrow/issues/34363#issuecomment-2403553473\r\n\r\nlast version where things install without conflict is: 2.14.4\r\n\r\nSo this issue starts f...
I_kwDODunzps6Yt1mN
7,189
Audio preview in dataset viewer for audio array data without a path/filename
### Feature request Huggingface has quite a comprehensive set of guides for [audio datasets](https://huggingface.co/docs/datasets/en/audio_dataset). It seems, however, all these guides assume the audio array data to be decoded/inserted into a HF dataset always originates from individual files. The [Audio-dataclass](...
OPEN
2024-10-02T16:38:38
2024-10-02T17:01:40
null
https://github.com/huggingface/datasets/issues/7189
{ "login": "Lauler" }
{ "nodes": [ { "name": "enhancement" } ] }
[]
I_kwDODunzps6YniY8
7,187
shard_data_sources() got an unexpected keyword argument 'worker_id'
### Describe the bug ``` [rank0]: File "/home/qinghao/miniconda3/envs/doremi/lib/python3.10/site-packages/datasets/iterable_dataset.py", line 238, in __iter__ [rank0]: for key_example in islice(self.generate_examples_fn(**gen_kwags), shard_example_idx_start, None): [rank0]: File "/home/qinghao/miniconda3/en...
OPEN
2024-10-02T01:26:35
2024-10-02T01:26:35
null
https://github.com/huggingface/datasets/issues/7187
{ "login": "Qinghao-Hu" }
{ "nodes": [] }
[]
I_kwDODunzps6Ym3FN
7,186
pinning `dill<0.3.9` without pinning `multiprocess`
### Describe the bug The [latest `multiprocess` release](https://github.com/uqfoundation/multiprocess/releases/tag/0.70.17) requires `dill>=0.3.9` which causes issues when installing `datasets` without backtracking during package version resolution. Is it possible to add a pin for multiprocess so something like `multi...
CLOSED
2024-10-01T22:29:32
2024-10-02T06:08:24
2024-10-02T06:08:24
https://github.com/huggingface/datasets/issues/7186
{ "login": "shubhbapna" }
{ "nodes": [] }
[]
I_kwDODunzps6Yf77M
7,185
CI benchmarks are broken
Since Aug 30, 2024, CI benchmarks are broken: https://github.com/huggingface/datasets/actions/runs/11108421214/job/30861323975 ``` {"level":"error","message":"Resource not accessible by integration","name":"HttpError","request":{"body":"{\"body\":\"<details>\\n<summary>Show benchmarks</summary>\\n\\nPyArrow==8.0.0\\n...
CLOSED
2024-10-01T08:16:08
2024-10-09T16:07:48
2024-10-09T16:07:48
https://github.com/huggingface/datasets/issues/7185
{ "login": "albertvillanova" }
{ "nodes": [ { "name": "maintenance" } ] }
[ "Fixed by #7205" ]
I_kwDODunzps6YZYE_
7,183
CI is broken for deps-latest
See: https://github.com/huggingface/datasets/actions/runs/11106149906/job/30853879890 ``` =========================== short test summary info ============================ FAILED tests/test_arrow_dataset.py::BaseDatasetTest::test_filter_caching_on_disk - AssertionError: Lists differ: [{'fi[44 chars] {'filename': '/...
CLOSED
2024-09-30T14:02:07
2024-09-30T14:38:58
2024-09-30T14:38:58
https://github.com/huggingface/datasets/issues/7183
{ "login": "albertvillanova" }
{ "nodes": [] }
[]
I_kwDODunzps6YPq6O
7,180
Memory leak when wrapping datasets into PyTorch Dataset without explicit deletion
### Describe the bug I've encountered a memory leak when wrapping the HuggingFace dataset into a PyTorch Dataset. The RAM usage constantly increases during iteration if items are not explicitly deleted after use. ### Steps to reproduce the bug Steps to reproduce: Create a PyTorch Dataset wrapper f...
CLOSED
2024-09-28T14:00:47
2024-09-30T12:07:56
2024-09-30T12:07:56
https://github.com/huggingface/datasets/issues/7180
{ "login": "iamwangyabin" }
{ "nodes": [] }
[ "> I've encountered a memory leak when wrapping the HuggingFace dataset into a PyTorch Dataset. The RAM usage constantly increases during iteration if items are not explicitly deleted after use.\r\n\r\nDatasets are memory mapped so they work like SWAP memory. In particular as long as you have RAM available the data...
I_kwDODunzps6YIjPa
7,178
Support Python 3.11
Support Python 3.11: https://peps.python.org/pep-0664/
CLOSED
2024-09-27T08:50:47
2024-10-08T16:21:04
2024-10-08T16:21:04
https://github.com/huggingface/datasets/issues/7178
{ "login": "albertvillanova" }
{ "nodes": [ { "name": "enhancement" } ] }
[]
I_kwDODunzps6YDIUZ
7,175
[FSTimeoutError] load_dataset
### Describe the bug When using `load_dataset`to load [HuggingFaceM4/VQAv2](https://huggingface.co/datasets/HuggingFaceM4/VQAv2), I am getting `FSTimeoutError`. ### Error ``` TimeoutError: The above exception was the direct cause of the following exception: FSTimeoutError Trac...
CLOSED
2024-09-26T15:42:29
2025-02-01T09:09:35
2024-09-30T17:28:35
https://github.com/huggingface/datasets/issues/7175
{ "login": "cosmo3769" }
{ "nodes": [] }
[ "Is this `FSTimeoutError` due to download network issue from remote resource (from where it is being accessed)?", "It seems to happen for all datasets, not just a specific one, and especially for versions after 3.0. (3.0.0, 3.0.1 have this problem)\r\n\r\nI had the same error on a different dataset, but after dow...
I_kwDODunzps6X-e2n
7,171
CI is broken: No solution found when resolving dependencies
See: https://github.com/huggingface/datasets/actions/runs/11046967444/job/30687294297 ``` Run uv pip install --system -r additional-tests-requirements.txt --no-deps × No solution found when resolving dependencies: ╰─▶ Because the current Python version (3.8.18) does not satisfy Python>=3.9 and torchdata=...
CLOSED
2024-09-26T07:24:58
2024-09-26T08:05:41
2024-09-26T08:05:41
https://github.com/huggingface/datasets/issues/7171
{ "login": "albertvillanova" }
{ "nodes": [ { "name": "bug" } ] }
[]
I_kwDODunzps6XzoT8
7,169
JSON lines with missing columns raise CastError
JSON lines with missing columns raise CastError: > CastError: Couldn't cast ... to ... because column names don't match Related to: - #7159 - #7161
CLOSED
2024-09-25T04:43:28
2024-09-26T06:42:08
2024-09-26T06:42:08
https://github.com/huggingface/datasets/issues/7169
{ "login": "albertvillanova" }
{ "nodes": [ { "name": "bug" } ] }
[]
I_kwDODunzps6Xy7hn
7,168
sd1.5 diffusers controlnet training script gives new error
### Describe the bug This will randomly pop up during training now ``` Traceback (most recent call last): File "/workspace/diffusers/examples/controlnet/train_controlnet.py", line 1192, in <module> main(args) File "/workspace/diffusers/examples/controlnet/train_controlnet.py", line 1041, in main ...
CLOSED
2024-09-25T01:42:49
2025-09-16T15:38:01
2024-09-30T05:24:02
https://github.com/huggingface/datasets/issues/7168
{ "login": "Night1099" }
{ "nodes": [] }
[ "not sure why the issue is formatting oddly", "I guess this is a dupe of\r\n\r\nhttps://github.com/huggingface/datasets/issues/7071", "this turned out to be because of a bad image in dataset", "@Night1099 could you spiecify what exactly was wrong with your image in the dataset? I think im facing the same issu...
I_kwDODunzps6Xy64u
7,167
Error Mapping on sd3, sdxl and upcoming flux controlnet training scripts in diffusers
### Describe the bug ``` Map: 6%|██████ | 8000/138120 [19:27<5:16:36, 6.85 examples/s] Traceback (most recent call last): File "/workspace/diffusers/examples/controlnet/train_controlnet_sd3.py", line 1416, in <mod...
CLOSED
2024-09-25T01:39:51
2024-09-30T05:28:15
2024-09-30T05:28:04
https://github.com/huggingface/datasets/issues/7167
{ "login": "Night1099" }
{ "nodes": [] }
[ "this is happening on large datasets, if anyone happens upon this i was able to fix by changing\r\n\r\n```\r\ntrain_dataset = train_dataset.map(compute_embeddings_fn, batched=True, new_fingerprint=new_fingerprint)\r\n```\r\n\r\nto\r\n\r\n```\r\ntrain_dataset = train_dataset.map(compute_embeddings_fn, batched=True, ...
I_kwDODunzps6Xreox
7,164
fsspec.exceptions.FSTimeoutError when downloading dataset
### Describe the bug I am trying to download the `librispeech_asr` `clean` dataset, which results in a `FSTimeoutError` exception after downloading around 61% of the data. ### Steps to reproduce the bug ``` import datasets datasets.load_dataset("librispeech_asr", "clean") ``` The output is as follows: > Dow...
CLOSED
2024-09-24T08:45:05
2025-07-28T14:58:49
2025-07-28T14:58:49
https://github.com/huggingface/datasets/issues/7164
{ "login": "timonmerk" }
{ "nodes": [] }
[ "Hi ! If you check the dataset loading script [here](https://huggingface.co/datasets/openslr/librispeech_asr/blob/main/librispeech_asr.py) you'll see that it downloads the data from OpenSLR, and apparently their storage has timeout issues. It would be great to ultimately host the dataset on Hugging Face instead.\r\...
I_kwDODunzps6XiVqS
7,163
Set explicit seed in iterable dataset ddp shuffling example
### Describe the bug In the examples section of the iterable dataset docs https://huggingface.co/docs/datasets/en/package_reference/main_classes#datasets.IterableDataset the ddp example shuffles without seeding ```python from datasets.distributed import split_dataset_by_node ids = ds.to_iterable_dataset(num_sh...
CLOSED
2024-09-23T11:34:06
2024-09-24T14:40:15
2024-09-24T14:40:15
https://github.com/huggingface/datasets/issues/7163
{ "login": "alex-hh" }
{ "nodes": [] }
[ "thanks for reporting !" ]
I_kwDODunzps6Xg2nb
7,161
JSON lines with empty struct raise ArrowTypeError
JSON lines with empty struct raise ArrowTypeError: struct fields don't match or are in the wrong order See example: https://huggingface.co/datasets/wikimedia/structured-wikipedia/discussions/5 > ArrowTypeError: struct fields don't match or are in the wrong order: Input fields: struct<> output fields: struct<pov_c...
CLOSED
2024-09-23T08:48:56
2024-09-25T04:43:44
2024-09-23T11:30:07
https://github.com/huggingface/datasets/issues/7161
{ "login": "albertvillanova" }
{ "nodes": [ { "name": "bug" } ] }
[]
I_kwDODunzps6XgcqN
7,159
JSON lines with missing struct fields raise TypeError: Couldn't cast array
JSON lines with missing struct fields raise TypeError: Couldn't cast array of type. See example: https://huggingface.co/datasets/wikimedia/structured-wikipedia/discussions/5 One would expect that the struct missing fields are added with null values.
CLOSED
2024-09-23T07:57:58
2024-10-21T08:07:07
2024-09-23T11:09:18
https://github.com/huggingface/datasets/issues/7159
{ "login": "albertvillanova" }
{ "nodes": [ { "name": "bug" } ] }
[ "Hello,\r\n\r\nI have still the same issue when loading the dataset with the new version:\r\n[https://huggingface.co/datasets/wikimedia/structured-wikipedia/discussions/5](https://huggingface.co/datasets/wikimedia/structured-wikipedia/discussions/5)\r\n\r\nI have downloaded and unzipped the wikimedia/structured-wik...
I_kwDODunzps6XW5Fp
7,156
interleave_datasets resets shuffle state
### Describe the bug ``` import datasets import torch.utils.data def gen(shards): yield {"shards": shards} def main(): dataset = datasets.IterableDataset.from_generator( gen, gen_kwargs={'shards': list(range(25))} ) dataset = dataset.shuffle(buffer_size=1) dataset...
OPEN
2024-09-20T17:57:54
2025-03-18T10:56:25
null
https://github.com/huggingface/datasets/issues/7156
{ "login": "jonathanasdf" }
{ "nodes": [] }
[ "It also does preserve `split_by_node`, so in the meantime you should call `shuffle` or `split_by_node` AFTER `interleave_datasets` or `concatenate_datasets`" ]
I_kwDODunzps6XBE6O
7,155
Dataset viewer not working! Failure due to more than 32 splits.
Hello guys, I have a dataset and I didn't know I couldn't upload more than 32 splits. Now, my dataset viewer is not working. I don't have the dataset locally on my node anymore and recreating would take a week. And I have to publish the dataset coming Monday. I read about the practice, how I can resolve it and avoi...
CLOSED
2024-09-18T12:43:21
2024-09-18T13:20:03
2024-09-18T13:20:03
https://github.com/huggingface/datasets/issues/7155
{ "login": "sleepingcat4" }
{ "nodes": [] }
[ "I have fixed it! But I would appreciate a new feature wheere I could iterate over and see what each file looks like. " ]
I_kwDODunzps6W90lL
7,153
Support data files with .ndjson extension
### Feature request Support data files with `.ndjson` extension. ### Motivation We already support data files with `.jsonl` extension. ### Your contribution I am opening a PR.
CLOSED
2024-09-18T05:54:45
2024-09-19T11:25:15
2024-09-19T11:25:15
https://github.com/huggingface/datasets/issues/7153
{ "login": "albertvillanova" }
{ "nodes": [ { "name": "enhancement" } ] }
[]
I_kwDODunzps6Wp6zn
7,150
WebDataset loader splits keys differently than WebDataset library
As reported by @ragavsachdeva (see discussion here: https://github.com/huggingface/datasets/pull/7144#issuecomment-2348307792), our webdataset loader is not aligned with the `webdataset` library when splitting keys from filenames. For example, we get a different key splitting for filename `/some/path/22.0/1.1.png`: ...
CLOSED
2024-09-16T06:02:47
2024-09-16T15:26:35
2024-09-16T15:26:35
https://github.com/huggingface/datasets/issues/7150
{ "login": "albertvillanova" }
{ "nodes": [ { "name": "bug" } ] }
[]
I_kwDODunzps6WeMYo
7,149
Datasets Unknown Keyword Argument Error - task_templates
### Describe the bug Issue ```python from datasets import load_dataset examples = load_dataset('facebook/winoground', use_auth_token=<YOUR USER ACCESS TOKEN>) ``` Gives error ``` TypeError: DatasetInfo.__init__() got an unexpected keyword argument 'task_templates' ``` A simple downgrade to lower `data...
CLOSED
2024-09-13T10:30:57
2025-03-06T07:11:55
2024-09-13T14:10:48
https://github.com/huggingface/datasets/issues/7149
{ "login": "varungupta31" }
{ "nodes": [] }
[ "Thanks, for reporting.\r\n\r\nWe have been fixing most Hub datasets to remove the deprecated (and now non-supported) task templates, but we missed the \"facebook/winoground\".\r\n\r\nIt is fixed now: https://huggingface.co/datasets/facebook/winoground/discussions/8\r\n\r\n", "Hello @albertvillanova \r\n\r\nI got...
I_kwDODunzps6WbqRF
7,148
Bug: Error when downloading mteb/mtop_domain
### Describe the bug When downloading the dataset "mteb/mtop_domain", ran into the following error: ``` Traceback (most recent call last): File "/share/project/xzy/test/test_download.py", line 3, in <module> data = load_dataset("mteb/mtop_domain", "en", trust_remote_code=True) File "/opt/conda/lib/pytho...
CLOSED
2024-09-13T04:09:39
2024-09-14T15:11:35
2024-09-14T15:11:35
https://github.com/huggingface/datasets/issues/7148
{ "login": "ZiyiXia" }
{ "nodes": [] }
[ "Could you please try with `force_redownload` instead?\r\nEDIT:\r\n```python\r\ndata = load_dataset(\"mteb/mtop_domain\", \"en\", download_mode=\"force_redownload\")\r\n```", "Seems the error is still there", "I am not able to reproduce the issue:\r\n```python\r\nIn [1]: from datasets import load_dataset\r\n\r\...
I_kwDODunzps6WY-Z5
7,147
IterableDataset strange deadlock
### Describe the bug ``` import datasets import torch.utils.data num_shards = 1024 def gen(shards): for shard in shards: if shard < 25: yield {"shard": shard} def main(): dataset = datasets.IterableDataset.from_generator( gen, gen_kwargs={"shards": lis...
CLOSED
2024-09-12T18:59:33
2024-09-23T09:32:27
2024-09-21T17:37:34
https://github.com/huggingface/datasets/issues/7147
{ "login": "jonathanasdf" }
{ "nodes": [] }
[ "Yes `interleave_datasets` seems to have an issue with shuffling, could you open a new issue on this ?\r\n\r\nThen regarding the deadlock, it has to do with interleave_dataset with probabilities=[1, 0] with workers that may contain an empty dataset in first position (it can be empty since you distribute 1024 shard ...
I_kwDODunzps6VvdDK
7,142
Specifying datatype when adding a column to a dataset.
### Feature request There should be a way to specify the datatype of a column in `datasets.add_column()`. ### Motivation To specify a custom datatype, we have to use `datasets.add_column()` followed by `datasets.cast_column()` which is slow for large datasets. Another workaround is to pass a `numpy.array()` of desi...
CLOSED
2024-09-08T07:34:24
2024-09-17T03:46:32
2024-09-17T03:46:32
https://github.com/huggingface/datasets/issues/7142
{ "login": "varadhbhatnagar" }
{ "nodes": [ { "name": "enhancement" } ] }
[ "#self-assign" ]
I_kwDODunzps6Vp7tV
7,141
Older datasets throwing safety errors with 2.21.0
### Describe the bug The dataset loading was throwing some safety errors for this popular dataset `wmt14`. [in]: ``` import datasets # train_data = datasets.load_dataset("wmt14", "de-en", split="train") train_data = datasets.load_dataset("wmt14", "de-en", split="train") val_data = datasets.load_dataset(...
CLOSED
2024-09-06T16:26:30
2024-09-06T21:14:14
2024-09-06T19:09:29
https://github.com/huggingface/datasets/issues/7141
{ "login": "alvations" }
{ "nodes": [] }
[ "I am also getting this error with this dataset: https://huggingface.co/datasets/google/IFEval", "Me too, didn't have this issue few hours ago.", "same observation. I even downgraded `datasets==2.20.0` and `huggingface_hub==0.23.5` leading me to believe it's an issue on the server.\r\n\r\nany known workarounds?...
I_kwDODunzps6Vfj8K
7,139
Use load_dataset to load imagenet-1K But find a empty dataset
### Describe the bug ```python def get_dataset(data_path, train_folder="train", val_folder="val"): traindir = os.path.join(data_path, train_folder) valdir = os.path.join(data_path, val_folder) def transform_val_examples(examples): transform = Compose([ Resize(256), ...
OPEN
2024-09-05T15:12:22
2024-10-09T04:02:41
null
https://github.com/huggingface/datasets/issues/7139
{ "login": "fscdc" }
{ "nodes": [] }
[ "Imagenet-1k is a gated dataset which means you’ll have to agree to share your contact info to access it. Have you tried this yet? Once you have, you can sign in with your user token (you can find this in your Hugging Face account settings) when prompted by running.\r\n\r\n```\r\nhuggingface-cli login\r\ntrain_set...
I_kwDODunzps6VeQzE
7,138
Cache only changed columns?
### Feature request Cache only the actual changes to the dataset i.e. changed columns. ### Motivation I realized that caching actually saves the complete dataset again. This is especially problematic for image datasets if one wants to only change another column e.g. some metadata and then has to save 5 TB again. #...
OPEN
2024-09-05T12:56:47
2024-09-20T13:27:20
null
https://github.com/huggingface/datasets/issues/7138
{ "login": "Modexus" }
{ "nodes": [ { "name": "enhancement" } ] }
[ "so I guess a workaround to this is to simply remove all columns except the ones to cache and then add them back with `concatenate_datasets(..., axis=1)`.", "yes this is the right workaround. We're keeping the cache like this to make it easier for people to delete intermediate cache files" ]
I_kwDODunzps6Va4Lo
7,137
[BUG] dataset_info sequence unexpected behavior in README.md YAML
### Describe the bug When working on `dataset_info` yaml, I find my data column with format `list[dict[str, str]]` cannot be coded correctly. My data looks like ``` {"answers":[{"text": "ADDRESS", "label": "abc"}]} ``` My `dataset_info` in README.md is: ``` dataset_info: - config_name: default feature...
CLOSED
2024-09-05T06:06:06
2025-07-07T09:20:29
2025-07-04T19:50:59
https://github.com/huggingface/datasets/issues/7137
{ "login": "ain-soph" }
{ "nodes": [] }
[ "The non-sequence case works well (`dict[str, str]` instead of `list[dict[str, str]]`), which makes me believe it shall be a bug for `sequence` and my proposed behavior shall be expected.\r\n```\r\ndataset_info:\r\n- config_name: default\r\n features:\r\n - name: answers\r\n dtype:\r\n - name: text\r\n ...
I_kwDODunzps6VNZs4
7,135
Bug: Type Mismatch in Dataset Mapping
# Issue: Type Mismatch in Dataset Mapping ## Description There is an issue with the `map` function in the `datasets` library where the mapped output does not reflect the expected type change. After applying a mapping function to convert an integer label to a string, the resulting type remains an integer instead of ...
OPEN
2024-09-03T16:37:01
2024-09-05T14:09:05
null
https://github.com/huggingface/datasets/issues/7135
{ "login": "marko1616" }
{ "nodes": [] }
[ "By the way, following code is working. This show the inconsistentcy.\r\n```python\r\nfrom datasets import Dataset\r\n\r\n# Original data\r\ndata = {\r\n 'text': ['Hello', 'world', 'this', 'is', 'a', 'test'],\r\n 'label': [0, 1, 0, 1, 1, 0]\r\n}\r\n\r\n# Creating a Dataset object\r\ndataset = Dataset.from_dic...
I_kwDODunzps6U-xmJ
7,134
Attempting to return a rank 3 grayscale image from dataset.map results in extreme slowdown
### Describe the bug Background: Digital images are often represented as a (Height, Width, Channel) tensor. This is the same for huggingface datasets that contain images. These images are loaded in Pillow containers which offer, for example, the `.convert` method. I can convert an image from a (H,W,3) shape to a...
OPEN
2024-09-01T13:55:41
2024-09-02T10:34:53
null
https://github.com/huggingface/datasets/issues/7134
{ "login": "navidmafi" }
{ "nodes": [] }
[]
I_kwDODunzps6UiAb6
7,129
Inconsistent output in documentation example: `num_classes` not displayed in `ClassLabel` output
In the documentation for [ClassLabel](https://huggingface.co/docs/datasets/v2.21.0/en/package_reference/main_classes#datasets.ClassLabel), there is an example of usage with the following code: ```` from datasets import Features features = Features({'label': ClassLabel(num_classes=3, names=['bad', 'ok', 'good'])}) ...
CLOSED
2024-08-28T12:27:48
2024-12-06T11:32:02
2024-12-06T11:32:02
https://github.com/huggingface/datasets/issues/7129
{ "login": "sergiopaniego" }
{ "nodes": [] }
[]
I_kwDODunzps6UbpPX
7,128
Filter Large Dataset Entry by Entry
### Feature request I am not sure if this is a new feature, but I wanted to post this problem here, and hear if others have ways of optimizing and speeding up this process. Let's say I have a really large dataset that I cannot load into memory. At this point, I am only aware of `streaming=True` to load the dataset....
OPEN
2024-08-27T20:31:09
2024-10-07T23:37:44
null
https://github.com/huggingface/datasets/issues/7128
{ "login": "QiyaoWei" }
{ "nodes": [ { "name": "enhancement" } ] }
[ "Hi ! you can do\r\n\r\n```python\r\nfiltered_dataset = dataset.filter(filter_function)\r\n```\r\n\r\non a subset:\r\n\r\n```python\r\nfiltered_subset = dataset.select(range(10_000)).filter(filter_function)\r\n```\r\n", "Jumping on this as it seems relevant - when I use the `filter` method, it often results in an...
I_kwDODunzps6UNVwm
7,127
Caching shuffles by np.random.Generator results in unintiutive behavior
### Describe the bug Create a dataset. Save it to disk. Load from disk. Shuffle, usning a `np.random.Generator`. Iterate. Shuffle again. Iterate. The iterates are different since the supplied np.random.Generator has progressed between the shuffles. Load dataset from disk again. Shuffle and Iterate. See same result ...
OPEN
2024-08-26T10:29:48
2025-07-28T11:00:00
null
https://github.com/huggingface/datasets/issues/7127
{ "login": "el-hult" }
{ "nodes": [] }
[ "I first thought this was a mistake of mine, and also posted on stack overflow. https://stackoverflow.com/questions/78913797/iterating-a-huggingface-dataset-from-disk-using-generator-seems-broken-how-to-d \r\n\r\nIt seems to me the issue is the caching step in \r\n\r\nhttps://github.com/huggingface/datasets/blob/be...
I_kwDODunzps6UDuRh
7,123
Make dataset viewer more flexible in displaying metadata alongside images
### Feature request To display images with their associated metadata in the dataset viewer, a `metadata.csv` file is required. In the case of a dataset with multiple subsets, this would require the CSVs to be contained in the same folder as the images since they all need to be named `metadata.csv`. The request is th...
OPEN
2024-08-23T22:56:01
2024-10-17T09:13:47
null
https://github.com/huggingface/datasets/issues/7123
{ "login": "egrace479" }
{ "nodes": [ { "name": "enhancement" } ] }
[ "Note that you can already have one directory per subset just for the metadata, e.g.\r\n\r\n```\r\nconfigs:\r\n - config_name: subset0\r\n data_files:\r\n - subset0/metadata.csv\r\n - images/*.jpg\r\n - config_name: subset1\r\n data_files:\r\n - subset1/metadata.csv\r\n - images/*.jpg\r\...
I_kwDODunzps6T9896
7,122
[interleave_dataset] sample batches from a single source at a time
### Feature request interleave_dataset and [RandomlyCyclingMultiSourcesExamplesIterable](https://github.com/huggingface/datasets/blob/3813ce846e52824b38e53895810682f0a496a2e3/src/datasets/iterable_dataset.py#L816) enable us to sample data examples from different sources. But can we also sample batches in a similar man...
OPEN
2024-08-23T07:21:15
2024-08-23T07:21:15
null
https://github.com/huggingface/datasets/issues/7122
{ "login": "memray" }
{ "nodes": [ { "name": "enhancement" } ] }
[]
I_kwDODunzps6TnT2L
7,117
Audio dataset load everything in RAM and is very slow
Hello, I'm working with an audio dataset. I want to transcribe the audio that the dataset contain, and for that I use whisper. My issue is that the dataset load everything in the RAM when I map the dataset, obviously, when RAM usage is too high, the program crashes. To fix this issue, I'm using writer_batch_size tha...
OPEN
2024-08-20T21:18:12
2024-08-26T13:11:55
null
https://github.com/huggingface/datasets/issues/7117
{ "login": "Jourdelune" }
{ "nodes": [] }
[ "Hi ! I think the issue comes from the fact that you return `row` entirely, and therefore the dataset has to re-encode the audio data in `row`.\r\n\r\nCan you try this instead ?\r\n\r\n```python\r\n# map the dataset\r\ndef transcribe_audio(row):\r\n audio = row[\"audio\"] # get the audio but do nothing with it\...
I_kwDODunzps6TjXqh
7,116
datasets cannot handle nested json if features is given.
### Describe the bug I have a json named temp.json. ```json {"ref1": "ABC", "ref2": "DEF", "cuts":[{"cut1": 3, "cut2": 5}]} ``` I want to load it. ```python ds = datasets.load_dataset('json', data_files="./temp.json", features=datasets.Features({ 'ref1': datasets.Value('string'), 'ref2': datasets.Value...
CLOSED
2024-08-20T12:27:49
2024-09-03T10:18:23
2024-09-03T10:18:07
https://github.com/huggingface/datasets/issues/7116
{ "login": "ljw20180420" }
{ "nodes": [] }
[ "Hi ! `Sequence` has a weird behavior for dictionaries (from tensorflow-datasets), use a regular list instead:\r\n\r\n```python\r\nds = datasets.load_dataset('json', data_files=\"./temp.json\", features=datasets.Features({\r\n 'ref1': datasets.Value('string'),\r\n 'ref2': datasets.Value('string'),\r\n 'cut...
I_kwDODunzps6TiwtG
7,115
module 'pyarrow.lib' has no attribute 'ListViewType'
### Describe the bug Code: `!pipuninstall -y pyarrow !pip install --no-cache-dir pyarrow !pip uninstall -y pyarrow !pip install pyarrow --no-cache-dir !pip install --upgrade datasets transformers pyarrow !pip install pyarrow.parquet ! pip install pyarrow-core libparquet !pip install pyarrow --no-cache-di...
CLOSED
2024-08-20T11:05:44
2024-09-10T06:51:08
2024-09-10T06:51:08
https://github.com/huggingface/datasets/issues/7115
{ "login": "neurafusionai" }
{ "nodes": [] }
[ "https://github.com/neurafusionai/Hugging_Face/blob/main/meta_opt_350m_customer_support_lora_v1.ipynb\r\n\r\ncouldnt train because of GPU\r\nI didnt pip install datasets -U\r\nbut looks like restarting worked" ]
I_kwDODunzps6ThfSI
7,113
Stream dataset does not iterate if the batch size is larger than the dataset size (related to drop_last_batch)
### Describe the bug Hi there, I use streaming and interleaving to combine multiple datasets saved in jsonl files. The size of dataset can vary (from 100ish to 100k-ish). I use dataset.map() and a big batch size to reduce the IO cost. It was working fine with datasets-2.16.1 but this problem shows up after I upgr...
CLOSED
2024-08-20T08:26:40
2024-08-26T04:24:11
2024-08-26T04:24:10
https://github.com/huggingface/datasets/issues/7113
{ "login": "memray" }
{ "nodes": [] }
[ "That's expected behavior, it's also the same in `torch`:\r\n\r\n```python\r\n>>> list(DataLoader(list(range(5)), batch_size=10, drop_last=True))\r\n[]\r\n```" ]
I_kwDODunzps6ThZLk
7,112
cudf-cu12 24.4.1, ibis-framework 8.0.0 requires pyarrow<15.0.0a0,>=14.0.1,pyarrow<16,>=2 and datasets 2.21.0 requires pyarrow>=15.0.0
### Describe the bug !pip install accelerate>=0.16.0 torchvision transformers>=4.25.1 datasets>=2.19.1 ftfy tensorboard Jinja2 peft==0.7.0 ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. c...
OPEN
2024-08-20T08:13:55
2024-09-20T15:30:03
null
https://github.com/huggingface/datasets/issues/7112
{ "login": "SoumyaMB10" }
{ "nodes": [] }
[ "@sayakpaul please advice ", "Hits the same dependency conflict" ]
I_kwDODunzps6ThDgF
7,111
CI is broken for numpy-2: Failed to fetch wheel: llvmlite==0.34.0
Ci is broken with error `Failed to fetch wheel: llvmlite==0.34.0`: https://github.com/huggingface/datasets/actions/runs/10466825281/job/28984414269 ``` Run uv pip install --system "datasets[tests_numpy2] @ ." Resolved 150 packages in 4.42s error: Failed to prepare distributions Caused by: Failed to fetch wheel: ...
CLOSED
2024-08-20T07:27:28
2024-08-21T05:05:36
2024-08-20T09:02:36
https://github.com/huggingface/datasets/issues/7111
{ "login": "albertvillanova" }
{ "nodes": [] }
[ "Note that the CI before was using:\r\n- llvmlite: 0.43.0\r\n- numba: 0.60.0\r\n\r\nNow it tries to use:\r\n- llvmlite: 0.34.0\r\n- numba: 0.51.2", "The issue is because numba-0.60.0 pins numpy<2.1 and `uv` tries to install latest numpy-2.1.0 with an old numba-0.51.0 version (and llvmlite-0.34.0). See discussion ...
I_kwDODunzps6TbJko
7,109
ConnectionError for gated datasets and unauthenticated users
Since the Hub returns dataset info for gated datasets and unauthenticated users, there is dead code: https://github.com/huggingface/datasets/blob/98fdc9e78e6d057ca66e58a37f49d6618aab8130/src/datasets/load.py#L1846-L1852 We should remove the dead code and properly handle this case: currently we are raising a `Connect...
CLOSED
2024-08-19T13:27:45
2024-08-20T09:14:36
2024-08-20T09:14:35
https://github.com/huggingface/datasets/issues/7109
{ "login": "albertvillanova" }
{ "nodes": [] }
[]
I_kwDODunzps6TQ1xv
7,108
website broken: Create a new dataset repository, doesn't create a new repo in Firefox
### Describe the bug This issue is also reported here: https://discuss.huggingface.co/t/create-a-new-dataset-repository-broken-page/102644 This page is broken. https://huggingface.co/new-dataset I fill in the form with my text, and click `Create Dataset`. ![Screenshot 2024-08-16 at 15 55 37](https://github....
CLOSED
2024-08-16T17:23:00
2024-08-19T13:21:12
2024-08-19T06:52:48
https://github.com/huggingface/datasets/issues/7108
{ "login": "neoneye" }
{ "nodes": [] }
[ "I don't reproduce, I was able to create a new repo: https://huggingface.co/datasets/severo/reproduce-datasets-issues-7108. Can you confirm it's still broken?", "I have just tried again.\r\n\r\nFirefox: The `Create dataset` doesn't work. It has worked in the past. It's my preferred browser.\r\n\r\nChrome: The `Cr...
I_kwDODunzps6TP_68
7,107
load_dataset broken in 2.21.0
### Describe the bug `eval_set = datasets.load_dataset("tatsu-lab/alpaca_eval", "alpaca_eval_gpt4_baseline", trust_remote_code=True)` used to work till 2.20.0 but doesn't work in 2.21.0 In 2.20.0: ![Screenshot 2024-08-16 at 3 57 10 PM](https://github.com/user-attachments/assets/0516489b-8187-486d-bee8-88af3381de...
CLOSED
2024-08-16T14:59:51
2024-08-18T09:28:43
2024-08-18T09:27:12
https://github.com/huggingface/datasets/issues/7107
{ "login": "anjor" }
{ "nodes": [] }
[ "There seems to be a PR related to the load_dataset path that went into 2.21.0 -- https://github.com/huggingface/datasets/pull/6862/files\r\n\r\nTaking a look at it now", "+1\r\n\r\nDowngrading to 2.20.0 fixed my issue, hopefully helpful for others.", "I tried adding a simple test to `test_load.py` with the alp...
I_kwDODunzps6TCc0y
7,102
Slow iteration speeds when using IterableDataset.shuffle with load_dataset(data_files=..., streaming=True)
### Describe the bug When I load a dataset from a number of arrow files, as in: ``` random_dataset = load_dataset( "arrow", data_files={split: shard_filepaths}, streaming=True, split=split, ) ``` I'm able to get fast iteration speeds when iterating over the dataset without shuffling. ...
OPEN
2024-08-14T21:44:44
2024-08-15T16:17:31
null
https://github.com/huggingface/datasets/issues/7102
{ "login": "lajd" }
{ "nodes": [] }
[ "Hi @lajd , I was skeptical about how we are saving the shards each as their own dataset (arrow file) in the script above, and so I updated the script to try out saving the shards in a few different file formats. From the experiments I ran, I saw binary format show significantly the best performance, with arrow a...
I_kwDODunzps6TA_e_
7,101
`load_dataset` from Hub with `name` to specify `config` using incorrect builder type when multiple data formats are present
Following [documentation](https://huggingface.co/docs/datasets/repository_structure#define-your-splits-and-subsets-in-yaml) I had defined different configs for [`Dataception`](https://huggingface.co/datasets/bigdata-pw/Dataception), a dataset of datasets: ```yaml configs: - config_name: dataception data_files: ...
OPEN
2024-08-14T18:12:25
2024-08-18T10:33:38
null
https://github.com/huggingface/datasets/issues/7101
{ "login": "hlky" }
{ "nodes": [] }
[ "Having looked into this further it seems the core of the issue is with two different formats in the same repo.\r\n\r\nWhen the `parquet` config is first, the `WebDataset`s are loaded as `parquet`, if the `WebDataset` configs are first, the `parquet` is loaded as `WebDataset`.\r\n\r\nA workaround in my case would b...
I_kwDODunzps6S9P5G
7,100
IterableDataset: cannot resolve features from list of numpy arrays
### Describe the bug when resolve features of `IterableDataset`, got `pyarrow.lib.ArrowInvalid: Can only convert 1-dimensional array values` error. ``` Traceback (most recent call last): File "test.py", line 6 iter_ds = iter_ds._resolve_features() File "lib/python3.10/site-packages/datasets/iterable_dat...
OPEN
2024-08-14T11:01:51
2024-10-03T05:47:23
null
https://github.com/huggingface/datasets/issues/7100
{ "login": "VeryLazyBoy" }
{ "nodes": [] }
[ "Assign this issue to me under Hacktoberfest with hacktoberfest label inserted on the issue" ]
I_kwDODunzps6SiQ3B
7,097
Some of DownloadConfig's properties are always being overridden in load.py
### Describe the bug The `extract_compressed_file` and `force_extract` properties of DownloadConfig are always being set to True in the function `dataset_module_factory` in the `load.py` file. This behavior is very annoying because data extracted will just be ignored the next time the dataset is loaded. See this im...
OPEN
2024-08-09T18:26:37
2024-08-09T18:26:37
null
https://github.com/huggingface/datasets/issues/7097
{ "login": "ductai199x" }
{ "nodes": [] }
[]
I_kwDODunzps6SS18S
7,093
Add Arabic Docs to datasets
### Feature request Add Arabic Docs to datasets [Datasets Arabic](https://github.com/AhmedAlmaghz/datasets/blob/main/docs/source/ar/index.mdx) ### Motivation @AhmedAlmaghz https://github.com/AhmedAlmaghz/datasets/blob/main/docs/source/ar/index.mdx ### Your contribution @AhmedAlmaghz https://github.com/AhmedAlma...
OPEN
2024-08-07T21:48:05
2024-08-07T21:48:05
null
https://github.com/huggingface/datasets/issues/7093
{ "login": "AhmedAlmaghz" }
{ "nodes": [ { "name": "enhancement" } ] }
[]
I_kwDODunzps6SHUx6
7,092
load_dataset with multiple jsonlines files interprets datastructure too early
### Describe the bug likely related to #6460 using `datasets.load_dataset("json", data_dir= ... )` with multiple `.jsonl` files will error if one of the files (maybe the first file?) contains a full column of empty data. ### Steps to reproduce the bug real world example: data is available in this [PR-bra...
OPEN
2024-08-06T17:42:55
2024-08-08T16:35:01
null
https://github.com/huggingface/datasets/issues/7092
{ "login": "Vipitis" }
{ "nodes": [] }
[ "I’ll take a look", "Possible definitions of done for this issue:\r\n\r\n1. A fix so you can load your dataset specifically\r\n2. A general fix for datasets similar to this in the `datasets` library\r\n\r\nOption 1 is trivial. I think option 2 requires significant changes to the library.\r\n\r\nSince you outlined...
I_kwDODunzps6SA3Ki
7,090
The test test_move_script_doesnt_change_hash fails because it runs the 'python' command while the python executable has a different name
### Describe the bug Tests should use the same pythin path as they are launched with, which in the case of FreeBSD is /usr/local/bin/python3.11 Failure: ``` if err_filename is not None: > raise child_exception_type(errno_num, err_msg, err_filename) E FileNotFo...
OPEN
2024-08-06T00:35:05
2024-08-06T00:35:05
null
https://github.com/huggingface/datasets/issues/7090
{ "login": "yurivict" }
{ "nodes": [] }
[]
I_kwDODunzps6SABdM
7,089
Missing pyspark dependency causes the testsuite to error out, instead of a few tests to be skipped
### Describe the bug see the subject ### Steps to reproduce the bug regular tests ### Expected behavior n/a ### Environment info version 2.20.0
OPEN
2024-08-05T21:05:11
2024-08-05T21:05:11
null
https://github.com/huggingface/datasets/issues/7089
{ "login": "yurivict" }
{ "nodes": [] }
[]
I_kwDODunzps6R4B2E
7,088
Disable warning when using with_format format on tensors
### Feature request If we write this code: ```python """Get data and define datasets.""" from enum import StrEnum from datasets import load_dataset from torch.utils.data import DataLoader from torchvision import transforms class Split(StrEnum): """Describes what type of split to use in the dataloa...
OPEN
2024-08-05T00:45:50
2024-08-05T00:45:50
null
https://github.com/huggingface/datasets/issues/7088
{ "login": "Haislich" }
{ "nodes": [ { "name": "enhancement" } ] }
[]
I_kwDODunzps6R3K1z
7,087
Unable to create dataset card for Lushootseed language
### Feature request While I was creating the dataset which contained all documents from the Lushootseed Wikipedia, the dataset card asked me to enter which language the dataset was in. Since Lushootseed is a critically endangered language, it was not available as one of the options. Is it possible to allow entering la...
CLOSED
2024-08-04T14:27:04
2024-08-06T06:59:23
2024-08-06T06:59:22
https://github.com/huggingface/datasets/issues/7087
{ "login": "vaishnavsudarshan" }
{ "nodes": [ { "name": "enhancement" } ] }
[ "Thanks for reporting.\r\n\r\nIt is weird, because the language entry is in the list. See: https://github.com/huggingface/huggingface.js/blob/98e32f0ed4ee057a596f66a1dec738e5db9643d5/packages/languages/src/languages_iso_639_3.ts#L15186-L15189\r\n\r\nI have reported the issue:\r\n- https://github.com/huggingface/hug...
I_kwDODunzps6Rw6Ad
7,086
load_dataset ignores cached datasets and tries to hit HF Hub, resulting in API rate limit errors
### Describe the bug I have been running lm-eval-harness a lot which has results in an API rate limit. This seems strange, since all of the data should be cached locally. I have in fact verified this. ### Steps to reproduce the bug 1. Be Me 2. Run `load_dataset("TAUR-Lab/MuSR")` 3. Hit rate limit error 4. Dataset...
OPEN
2024-08-02T18:12:23
2025-11-21T10:05:10
null
https://github.com/huggingface/datasets/issues/7086
{ "login": "tginart" }
{ "nodes": [] }
[ "I'm having the same issue - running into rate limits when doing hyperparameter tuning even though the dataset is supposed to be cached. I feel like this behaviour should at the very least be documented, but honestly you should just not be running into rate limits in the first place when the dataset is cached. It e...
I_kwDODunzps6Rb5Oq
7,085
[Regression] IterableDataset is broken on 2.20.0
### Describe the bug In the latest version of datasets there is a major regression, after creating an `IterableDataset` from a generator and applying a few operations (`map`, `select`), you can no longer iterate through the dataset multiple times. The issue seems to stem from the recent addition of "resumable Itera...
CLOSED
2024-07-31T13:01:59
2024-08-22T14:49:37
2024-08-22T14:49:07
https://github.com/huggingface/datasets/issues/7085
{ "login": "AjayP13" }
{ "nodes": [] }
[ "@lhoestq I detected this regression over on [DataDreamer](https://github.com/datadreamer-dev/DataDreamer)'s test suite. I put in these [monkey patches](https://github.com/datadreamer-dev/DataDreamer/blob/4cbaf9f39cf7bedde72bbaa68346e169788fbecb/src/_patches/datasets_reset_state_hack.py) in case that fixed it our t...
I_kwDODunzps6RaB0u
7,084
More easily support streaming local files
### Feature request Simplify downloading and streaming datasets locally. Specifically, perhaps add an option to `load_dataset(..., streaming="download_first")` or add better support for streaming symlinked or arrow files. ### Motivation I have downloaded FineWeb-edu locally and currently trying to stream the d...
OPEN
2024-07-31T09:03:15
2024-07-31T09:05:58
null
https://github.com/huggingface/datasets/issues/7084
{ "login": "fschlatt" }
{ "nodes": [ { "name": "enhancement" } ] }
[]
I_kwDODunzps6RGBlQ
7,080
Generating train split takes a long time
### Describe the bug Loading a simple webdataset takes ~45 minutes. ### Steps to reproduce the bug ``` from datasets import load_dataset dataset = load_dataset("PixArt-alpha/SAM-LLaVA-Captions10M") ``` ### Expected behavior The dataset should load immediately as it does when loaded through a normal indexed WebD...
OPEN
2024-07-29T01:42:43
2024-10-02T15:31:22
null
https://github.com/huggingface/datasets/issues/7080
{ "login": "alexanderswerdlow" }
{ "nodes": [] }
[ "@alexanderswerdlow \r\nWhen no specific split is mentioned, the load_dataset library will load all available splits of the dataset. For example, if a dataset has \"train\" and \"test\" splits, the load_dataset function will load both into the DatasetDict object.\r\n\r\n![image](https://github.com/user-attachments/...