number
int64
2
7.91k
title
stringlengths
1
290
body
stringlengths
0
228k
state
stringclasses
2 values
created_at
timestamp[s]date
2020-04-14 18:18:51
2025-12-16 10:45:02
updated_at
timestamp[s]date
2020-04-29 09:23:05
2025-12-16 19:34:46
closed_at
timestamp[s]date
2020-04-29 09:23:05
2025-12-16 14:20:48
url
stringlengths
48
51
author
stringlengths
3
26
comments_count
int64
0
70
labels
listlengths
0
4
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
Akhil-CM
1
[]
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
vakyansh
0
[]
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
ShDdu
0
[]
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
shoowadoo
2
[]
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
chchch0109
0
[]
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
alex-hh
5
[]
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
ceferisbarov
9
[ "enhancement" ]
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
jupiterMJM
2
[]
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
want-well
0
[]
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
alex-hh
0
[ "enhancement" ]
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
ran-codes
0
[ "enhancement" ]
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
padmalcom
0
[]
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
alex-hh
0
[]
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
nokados
6
[]
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
alex-hh
2
[]
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
lanlanlanlanlanlan365
3
[]
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
alex-hh
0
[]
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
alex-hh
1
[]
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
muthissar
0
[ "enhancement" ]
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
TomasJavurek
0
[]
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
alozowski
0
[ "enhancement" ]
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
alex-hh
0
[ "enhancement" ]
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
alex-hh
1
[]
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
alex-hh
1
[]
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
saiden89
0
[]
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
2024-10-07T09:14:17
null
https://github.com/huggingface/datasets/issues/7201
SagiPolaczek
0
[]
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
Mrgengli
2
[]
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...
OPEN
2024-10-03T14:30:38
2025-03-18T10:56:47
null
https://github.com/huggingface/datasets/issues/7196
alex-hh
1
[]
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
severo
3
[ "enhancement" ]
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
kdutia
2
[]
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
getao
1
[ "enhancement" ]
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
alex-hh
3
[ "enhancement" ]
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
cw-igormorgado
1
[]
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
Lauler
0
[ "enhancement" ]
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
Qinghao-Hu
0
[]
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
shubhbapna
0
[]
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
albertvillanova
1
[ "maintenance" ]
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
albertvillanova
0
[]
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
iamwangyabin
1
[]
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
albertvillanova
0
[ "enhancement" ]
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
cosmo3769
7
[]
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
albertvillanova
0
[ "bug" ]
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
albertvillanova
0
[ "bug" ]
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
Night1099
5
[]
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
Night1099
1
[]
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
timonmerk
7
[]
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
alex-hh
1
[]
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
albertvillanova
0
[ "bug" ]
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
albertvillanova
1
[ "bug" ]
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
jonathanasdf
1
[]
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
sleepingcat4
1
[]
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
albertvillanova
0
[ "enhancement" ]
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
albertvillanova
0
[ "bug" ]
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
varungupta31
3
[]
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
ZiyiXia
4
[]
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
jonathanasdf
6
[]
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
varadhbhatnagar
1
[ "enhancement" ]
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
alvations
17
[]
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
fscdc
2
[]
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
Modexus
2
[ "enhancement" ]
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
ain-soph
3
[]
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
marko1616
3
[]
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
navidmafi
0
[]
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
sergiopaniego
0
[]
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
QiyaoWei
4
[ "enhancement" ]
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
el-hult
2
[]
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
egrace479
3
[ "enhancement" ]
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
memray
0
[ "enhancement" ]
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
Jourdelune
3
[]
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
ljw20180420
3
[]
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
neurafusionai
1
[]
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
memray
1
[]
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
SoumyaMB10
2
[]
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
albertvillanova
2
[]
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
albertvillanova
0
[]
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
neoneye
4
[]
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
anjor
4
[]
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
lajd
2
[]
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
hlky
1
[]
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
VeryLazyBoy
1
[]
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
ductai199x
0
[]
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
AhmedAlmaghz
0
[ "enhancement" ]
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
Vipitis
5
[]
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
yurivict
0
[]
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
yurivict
0
[]
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
Haislich
0
[ "enhancement" ]
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
vaishnavsudarshan
2
[ "enhancement" ]
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
tginart
2
[]
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
AjayP13
3
[]
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
fschlatt
0
[ "enhancement" ]
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
alexanderswerdlow
2
[]
7,079
HfHubHTTPError: 500 Server Error: Internal Server Error for url:
### Describe the bug newly uploaded datasets, since yesterday, yields an error. old datasets, works fine. Seems like the datasets api server returns a 500 I'm getting the same error, when I invoke `load_dataset` with my dataset. Long discussion about it here, but I'm not sure anyone from huggingface have s...
CLOSED
2024-07-27T08:21:03
2024-09-20T13:26:25
2024-07-27T19:52:30
https://github.com/huggingface/datasets/issues/7079
neoneye
17
[]
7,077
column_names ignored by load_dataset() when loading CSV file
### Describe the bug load_dataset() ignores the column_names kwarg when loading a CSV file. Instead, it uses whatever values are on the first line of the file. ### Steps to reproduce the bug Call `load_dataset` to load data from a CSV file and specify `column_names` kwarg. ### Expected behavior The resulting da...
OPEN
2024-07-26T14:18:04
2024-07-30T07:52:26
null
https://github.com/huggingface/datasets/issues/7077
luismsgomes
1
[]
7,073
CI is broken for convert_to_parquet: Invalid rev id: refs/pr/1 404 error causes RevisionNotFoundError
See: https://github.com/huggingface/datasets/actions/runs/10095313567/job/27915185756 ``` FAILED tests/test_hub.py::test_convert_to_parquet - huggingface_hub.utils._errors.RevisionNotFoundError: 404 Client Error. (Request ID: Root=1-66a25839-31ce7b475e70e7db1e4d44c2;b0c8870f-d5ef-4bf2-a6ff-0191f3df0f64) Revision N...
CLOSED
2024-07-26T08:27:41
2024-07-27T05:48:02
2024-07-26T09:16:13
https://github.com/huggingface/datasets/issues/7073
albertvillanova
9
[]
7,072
nm
CLOSED
2024-07-25T17:03:24
2024-07-25T20:36:11
2024-07-25T20:36:11
https://github.com/huggingface/datasets/issues/7072
brettdavies
0
[]
7,071
Filter hangs
### Describe the bug When trying to filter my custom dataset, the process hangs, regardless of the lambda function used. It appears to be an issue with the way the Images are being handled. The dataset in question is a preprocessed version of https://huggingface.co/datasets/danaaubakirova/patfig where notably, I hav...
OPEN
2024-07-25T15:29:05
2024-07-25T15:36:59
null
https://github.com/huggingface/datasets/issues/7071
lucienwalewski
0
[]
7,070
how set_transform affects batch size?
### Describe the bug I am trying to fine-tune w2v-bert for ASR task. Since my dataset is so big, I preferred to use the on-the-fly method with set_transform. So i change the preprocessing function to this: ``` def prepare_dataset(batch): input_features = processor(batch["audio"], sampling_rate=16000).input_feat...
OPEN
2024-07-25T15:19:34
2024-07-25T15:19:34
null
https://github.com/huggingface/datasets/issues/7070
VafaKnm
0
[]
7,067
Convert_to_parquet fails for datasets with multiple configs
If the dataset has multiple configs, when using the `datasets-cli convert_to_parquet` command to avoid issues with the data viewer caused by loading scripts, the conversion process only successfully converts the data corresponding to the first config. When it starts converting the second config, it throws an error: ...
CLOSED
2024-07-23T15:09:33
2024-07-30T10:51:02
2024-07-30T10:51:02
https://github.com/huggingface/datasets/issues/7067
HuangZhen02
3
[]
7,066
One subset per file in repo ?
Right now we consider all the files of a dataset to be the same data, e.g. ``` single_subset_dataset/ ├── train0.jsonl ├── train1.jsonl └── train2.jsonl ``` but in cases like this, each file is actually a different subset of the dataset and should be loaded separately ``` many_subsets_dataset/ ├── animals.jso...
OPEN
2024-07-23T12:43:59
2025-06-26T08:24:50
null
https://github.com/huggingface/datasets/issues/7066
lhoestq
1
[]
7,065
Cannot get item after loading from disk and then converting to iterable.
### Describe the bug The dataset generated from local file works fine. ```py root = "/home/data/train" file_list1 = glob(os.path.join(root, "*part1.flac")) file_list2 = glob(os.path.join(root, "*part2.flac")) ds = ( Dataset.from_dict({"part1": file_list1, "part2": file_list2}) .cast_column("part1", Au...
OPEN
2024-07-23T09:37:56
2024-07-23T09:37:56
null
https://github.com/huggingface/datasets/issues/7065
happyTonakai
0
[]