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
6,483
Iterable Dataset: rename column clashes with remove column
### Describe the bug Suppose I have a two iterable datasets, one with the features: * `{"audio", "text", "column_a"}` And the other with the features: * `{"audio", "sentence", "column_b"}` I want to combine both datasets using `interleave_datasets`, which requires me to unify the column names. I would typic...
CLOSED
2023-12-08T16:11:30
2023-12-08T16:27:16
2023-12-08T16:27:04
https://github.com/huggingface/datasets/issues/6483
sanchit-gandhi
4
[ "streaming" ]
6,484
[Feature Request] Dataset versioning
**Is your feature request related to a problem? Please describe.** I am working on a project, where I would like to test different preprocessing methods for my ML-data. Thus, I would like to work a lot with revisions and compare them. Currently, I was not able to make it work with the revision keyword because it was n...
OPEN
2023-12-08T16:01:35
2023-12-11T19:13:46
null
https://github.com/huggingface/datasets/issues/6484
kenfus
2
[]
6,481
using torchrun, save_to_disk suddenly shows SIGTERM
### Describe the bug When I run my code using the "torchrun" command, when the code reaches the "save_to_disk" part, suddenly I get the following warning and error messages: Because the dataset is too large, the "save_to_disk" function splits it into 70 parts for saving. However, an error occurs suddenly when it reac...
OPEN
2023-12-08T13:22:03
2023-12-08T13:22:03
null
https://github.com/huggingface/datasets/issues/6481
Ariya12138
0
[]
6,478
How to load data from lakefs
My dataset is stored on the company's lakefs server. How can I write code to load the dataset? It would be great if I could provide code examples or provide some references
CLOSED
2023-12-06T09:04:11
2024-07-03T19:13:57
2024-07-03T19:13:56
https://github.com/huggingface/datasets/issues/6478
d710055071
3
[]
6,476
CI on windows is broken: PermissionError
See: https://github.com/huggingface/datasets/actions/runs/7104781624/job/19340572394 ``` FAILED tests/test_load.py::test_loading_from_the_datasets_hub - NotADirectoryError: [WinError 267] The directory name is invalid: 'C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\tmpfcnps56i\\hf-internal-testing___dataset_with_script\...
CLOSED
2023-12-06T08:32:53
2023-12-06T09:17:53
2023-12-06T09:17:53
https://github.com/huggingface/datasets/issues/6476
albertvillanova
0
[ "bug" ]
6,475
laion2B-en failed to load on Windows with PrefetchVirtualMemory failed
### Describe the bug I have downloaded laion2B-en, and I'm receiving the following error trying to load it: ``` Resolving data files: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 128/128 [00:00<00:00, 1173.79it/s] Traceback (most recent call last): File "D:\Art-Workspace\src\artworkspace\tokeneval\compute_frequencies.py", line 31, in <mo...
OPEN
2023-12-06T00:07:34
2023-12-06T23:26:23
null
https://github.com/huggingface/datasets/issues/6475
doctorpangloss
6
[]
6,472
CI quality is broken
See: https://github.com/huggingface/datasets/actions/runs/7100835633/job/19327734359 ``` Would reformat: src/datasets/features/image.py 1 file would be reformatted, 253 files left unchanged ```
CLOSED
2023-12-05T15:35:34
2023-12-06T08:17:34
2023-12-05T18:08:43
https://github.com/huggingface/datasets/issues/6472
albertvillanova
0
[ "bug", "maintenance" ]
6,470
If an image in a dataset is corrupted, we get unescapable error
### Describe the bug Example discussed in detail here: https://huggingface.co/datasets/sasha/birdsnap/discussions/1 ### Steps to reproduce the bug ``` from datasets import load_dataset, VerificationMode dataset = load_dataset( 'sasha/birdsnap', split="train", verification_mode=VerificationMode.ALL_C...
OPEN
2023-12-04T20:58:49
2023-12-04T20:58:49
null
https://github.com/huggingface/datasets/issues/6470
chigozienri
0
[]
6,467
New version release request
### Feature request Hi! I am using `datasets` in library `xtuner` and am highly interested in the features introduced since v2.15.0. To avoid installation from source in our pypi wheels, we are eagerly waiting for the new release. So, Does your team have a new release plan for v2.15.1 and could you please share ...
CLOSED
2023-12-04T07:08:26
2023-12-04T15:42:22
2023-12-04T15:42:22
https://github.com/huggingface/datasets/issues/6467
LZHgrla
2
[ "enhancement" ]
6,466
Can't align optional features of struct
### Describe the bug Hello! I'm currently experiencing an issue where I can't concatenate datasets if an inner field of a Feature is Optional. I have a column named `speaker`, and this holds some information about a speaker. ```python @dataclass class Speaker: name: str email: Optional[str] ``` ...
CLOSED
2023-12-03T15:57:07
2024-02-15T15:19:33
2024-02-08T14:38:34
https://github.com/huggingface/datasets/issues/6466
Dref360
3
[]
6,465
`load_dataset` uses out-of-date cache instead of re-downloading a changed dataset
### Describe the bug When a dataset is updated on the hub, using `load_dataset` will load the locally cached dataset instead of re-downloading the updated dataset ### Steps to reproduce the bug Here is a minimal example script to 1. create an initial dataset and upload 2. download it so it is stored in cache 3. c...
OPEN
2023-12-02T21:35:17
2024-08-20T08:32:11
null
https://github.com/huggingface/datasets/issues/6465
mnoukhov
2
[]
6,460
jsonlines files don't load with `load_dataset`
### Describe the bug While [the docs](https://huggingface.co/docs/datasets/upload_dataset#upload-dataset) seem to state that `.jsonl` is a supported extension for `datasets`, loading the dataset results in a `JSONDecodeError`. ### Steps to reproduce the bug Code: ``` from datasets import load_dataset dset = load_...
CLOSED
2023-11-29T21:20:11
2023-12-29T02:58:29
2023-12-05T13:30:53
https://github.com/huggingface/datasets/issues/6460
serenalotreck
4
[]
6,457
`TypeError`: huggingface_hub.hf_file_system.HfFileSystem.find() got multiple values for keyword argument 'maxdepth'
### Describe the bug Please see https://github.com/huggingface/huggingface_hub/issues/1872 ### Steps to reproduce the bug Please see https://github.com/huggingface/huggingface_hub/issues/1872 ### Expected behavior Please see https://github.com/huggingface/huggingface_hub/issues/1872 ### Environment info Please s...
CLOSED
2023-11-29T01:57:36
2023-11-29T15:39:03
2023-11-29T02:02:38
https://github.com/huggingface/datasets/issues/6457
wasertech
5
[]
6,451
Unable to read "marsyas/gtzan" data
Hi, this is my code and the error: ``` from datasets import load_dataset gtzan = load_dataset("marsyas/gtzan", "all") ``` [error_trace.txt](https://github.com/huggingface/datasets/files/13464397/error_trace.txt) [audio_yml.txt](https://github.com/huggingface/datasets/files/13464410/audio_yml.txt) Python 3.11.5 ...
CLOSED
2023-11-25T15:13:17
2023-12-01T12:53:46
2023-11-27T09:36:25
https://github.com/huggingface/datasets/issues/6451
gerald-wrona
3
[]
6,450
Support multiple image/audio columns in ImageFolder/AudioFolder
### Feature request Have a metadata.csv file with multiple columns that point to relative image or audio files. ### Motivation Currently, ImageFolder allows one column, called `file_name`, pointing to relative image files. On the same model, AudioFolder allows one column, called `file_name`, pointing to relative aud...
CLOSED
2023-11-24T10:34:09
2023-11-28T11:07:17
2023-11-24T17:24:38
https://github.com/huggingface/datasets/issues/6450
severo
1
[ "duplicate", "enhancement" ]
6,447
Support one dataset loader per config when using YAML
### Feature request See https://huggingface.co/datasets/datasets-examples/doc-unsupported-1 I would like to use CSV loader for the "csv" config, JSONL loader for the "jsonl" config, etc. ### Motivation It would be more flexible for the users ### Your contribution No specific contribution
OPEN
2023-11-23T13:03:07
2023-11-23T13:03:07
null
https://github.com/huggingface/datasets/issues/6447
severo
0
[ "enhancement" ]
6,446
Speech Commands v2 dataset doesn't match AST-v2 config
### Describe the bug [According](https://huggingface.co/MIT/ast-finetuned-speech-commands-v2) to `MIT/ast-finetuned-speech-commands-v2`, the model was trained on the Speech Commands v2 dataset. However, while the model config says the model should have 35 class labels, the dataset itself has 36 class labels. Moreover,...
CLOSED
2023-11-22T20:46:36
2023-11-28T14:46:08
2023-11-28T14:46:08
https://github.com/huggingface/datasets/issues/6446
vymao
3
[]
6,443
Trouble loading files defined in YAML explicitly
Look at https://huggingface.co/datasets/severo/doc-yaml-2 It's a reproduction of the example given in the docs at https://huggingface.co/docs/hub/datasets-manual-configuration ``` You can select multiple files per split using a list of paths: my_dataset_repository/ β”œβ”€β”€ README.md β”œβ”€β”€ data/ β”‚ β”œβ”€β”€ abc.csv ...
OPEN
2023-11-22T15:18:10
2025-06-23T13:46:46
null
https://github.com/huggingface/datasets/issues/6443
severo
6
[ "bug" ]
6,442
Trouble loading image folder with additional features - metadata file ignored
### Describe the bug Loading image folder with a caption column using `load_dataset(<image_folder_path>)` doesn't load the captions. When loading a local image folder with captions using `datasets==2.13.0` ``` from datasets import load_dataset data = load_dataset(<image_folder_path>) data.column_names ``` ...
CLOSED
2023-11-22T11:01:35
2023-11-24T17:13:03
2023-11-24T17:13:03
https://github.com/huggingface/datasets/issues/6442
linoytsaban
1
[]
6,441
Trouble Loading a Gated Dataset For User with Granted Permission
### Describe the bug I have granted permissions to several users to access a gated huggingface dataset. The users accepted the invite and when trying to load the dataset using their access token they get `FileNotFoundError: Couldn't find a dataset script at .....` . Also when they try to click the url link for the d...
CLOSED
2023-11-21T19:24:36
2023-12-13T08:27:16
2023-12-13T08:27:16
https://github.com/huggingface/datasets/issues/6441
e-trop
3
[]
6,440
`.map` not hashing under python 3.9
### Describe the bug The `.map` function cannot hash under python 3.9. Tried to use [the solution here](https://github.com/huggingface/datasets/issues/4521#issuecomment-1205166653), but still get the same message: `Parameter 'function'=<function map_to_pred at 0x7fa0b49ead30> of the transform datasets.arrow_data...
CLOSED
2023-11-21T15:14:54
2023-11-28T16:29:33
2023-11-28T16:29:33
https://github.com/huggingface/datasets/issues/6440
changyeli
2
[]
6,439
Download + preparation speed of datasets.load_dataset is 20x slower than huggingface hub snapshot and manual loding
### Describe the bug I am working with a dataset I am trying to publish. The path is Antreas/TALI. It's a fairly large dataset, and contains images, video, audio and text. I have been having multiple problems when the dataset is being downloaded using the load_dataset function -- even with 64 workers takin...
OPEN
2023-11-20T20:07:23
2023-11-20T20:07:37
null
https://github.com/huggingface/datasets/issues/6439
AntreasAntoniou
0
[]
6,438
Support GeoParquet
### Feature request Support the GeoParquet format ### Motivation GeoParquet (https://geoparquet.org/) is a common format for sharing vectorial geospatial data on the cloud, along with "traditional" data columns. It would be nice to be able to load this format with datasets, and more generally, in the Datasets Hub...
OPEN
2023-11-20T11:54:58
2024-02-07T08:36:51
null
https://github.com/huggingface/datasets/issues/6438
severo
6
[ "enhancement" ]
6,437
Problem in training iterable dataset
### Describe the bug I am using PyTorch DDP (Distributed Data Parallel) to train my model. Since the data is too large to load into memory at once, I am using load_dataset to read the data as an iterable dataset. I have used datasets.distributed.split_dataset_by_node to distribute the dataset. However, I have notice...
OPEN
2023-11-20T03:04:02
2025-11-06T17:15:41
null
https://github.com/huggingface/datasets/issues/6437
21Timothy
6
[]
6,436
TypeError: <lambda>() takes 0 positional arguments but 1 was given
### Describe the bug ``` --------------------------------------------------------------------------- TypeError Traceback (most recent call last) [<ipython-input-35-7b6becee3685>](https://localhost:8080/#) in <cell line: 1>() ----> 1 from datasets import Dataset 9 frames [/usr/lo...
CLOSED
2023-11-19T13:10:20
2025-05-05T18:21:21
2023-11-29T16:28:34
https://github.com/huggingface/datasets/issues/6436
ahmadmustafaanis
3
[]
6,435
Cannot re-initialize CUDA in forked subprocess. To use CUDA with multiprocessing, you must use the 'spawn' start method
### Describe the bug 1. I ran dataset mapping with `num_proc=6` in it and got this error: `RuntimeError: Cannot re-initialize CUDA in forked subprocess. To use CUDA with multiprocessing, you must use the 'spawn' start method` I can't actually find a way to run multi-GPU dataset mapping. Can you help? ### Steps to...
CLOSED
2023-11-19T04:21:16
2024-01-27T17:14:20
2023-12-04T16:57:43
https://github.com/huggingface/datasets/issues/6435
kopyl
3
[]
6,432
load_dataset does not load all of the data in my input file
### Describe the bug I have 127 elements in my input dataset. When I do a len on the dataset after loaded, it is only 124 elements. ### Steps to reproduce the bug train_dataset = nlp.load_dataset(data_args.dataset_path, name=data_args.qg_format, split=nlp.Split.TRAIN) valid_dataset = nlp.load_dataset(data_...
OPEN
2023-11-17T14:28:50
2023-11-22T17:34:58
null
https://github.com/huggingface/datasets/issues/6432
demongolem-biz2
1
[]
6,422
Allow to choose the `writer_batch_size` when using `save_to_disk`
### Feature request Add an argument in `save_to_disk` regarding batch size, which would be passed to `shard` and other methods. ### Motivation The `Dataset.save_to_disk` method currently calls `shard` without passing a `writer_batch_size` argument, thus implicitly using the default value (1000). This can result in R...
OPEN
2023-11-15T11:18:34
2023-11-16T10:00:21
null
https://github.com/huggingface/datasets/issues/6422
NathanGodey
2
[ "enhancement" ]
6,417
Bug: LayoutLMv3 finetuning on FUNSD Notebook; Arrow Error
### Describe the bug Arrow issues when running the example Notebook laptop locally on Mac with M1. Works on Google Collab. **Notebook**: https://github.com/NielsRogge/Transformers-Tutorials/blob/master/LayoutLMv3/Fine_tune_LayoutLMv3_on_FUNSD_(HuggingFace_Trainer).ipynb **Error**: `ValueError: Arrow type extensi...
CLOSED
2023-11-14T16:53:20
2023-11-16T20:23:41
2023-11-16T20:23:41
https://github.com/huggingface/datasets/issues/6417
Davo00
3
[]
6,412
User token is printed out!
This line prints user token on command line! Is it safe? https://github.com/huggingface/datasets/blob/12ebe695b4748c5a26e08b44ed51955f74f5801d/src/datasets/load.py#L2091
CLOSED
2023-11-14T10:01:34
2023-11-14T22:19:46
2023-11-14T22:19:46
https://github.com/huggingface/datasets/issues/6412
mohsen-goodarzi
1
[]
6,410
Datasets does not load HuggingFace Repository properly
### Describe the bug Dear Datasets team, We just have published a dataset on Huggingface: https://huggingface.co/ai4privacy However, when trying to read it using the Dataset library we get an error. As I understand jsonl files are compatible, could you please clarify how we can solve the issue? Please let me ...
OPEN
2023-11-14T06:50:49
2023-11-16T06:54:36
null
https://github.com/huggingface/datasets/issues/6410
MikeDoes
2
[]
6,409
using DownloadManager to download from local filesystem and disable_progress_bar, there will be an exception
### Describe the bug i'm using datasets.download.download_manager.DownloadManager to download files like "file:///a/b/c.txt", and i disable_progress_bar() to disable bar. there will be an exception as follows: `AttributeError: 'function' object has no attribute 'close' Exception ignored in: <function TqdmCallback....
CLOSED
2023-11-14T04:21:01
2023-11-22T16:42:09
2023-11-22T16:42:09
https://github.com/huggingface/datasets/issues/6409
neiblegy
0
[]
6,408
`IterableDataset` lost but not keep columns when map function adding columns with names in `remove_columns`
### Describe the bug IterableDataset lost but not keep columns when map function adding columns with names in remove_columns, Dataset not. May be related to the code below: https://github.com/huggingface/datasets/blob/06c3ffb8d068b6307b247164b10f7c7311cefed4/src/datasets/iterable_dataset.py#L750-L756 ### Steps t...
OPEN
2023-11-14T03:12:08
2023-11-16T06:24:10
null
https://github.com/huggingface/datasets/issues/6408
shmily326
0
[]
6,407
Loading the dataset from private S3 bucket gives "TypeError: cannot pickle '_contextvars.Context' object"
### Describe the bug I'm trying to read the parquet file from the private s3 bucket using the `load_dataset` function, but I receive `TypeError: cannot pickle '_contextvars.Context' object` error I'm working on a machine with `~/.aws/credentials` file. I can't give credentials and the path to a file in a private bu...
OPEN
2023-11-13T21:27:43
2024-07-30T12:35:09
null
https://github.com/huggingface/datasets/issues/6407
eawer
1
[]
6,406
CI Build PR Documentation is broken: ImportError: cannot import name 'TypeAliasType' from 'typing_extensions'
Our CI Build PR Documentation is broken. See: https://github.com/huggingface/datasets/actions/runs/6799554060/job/18486828777?pr=6390 ``` ImportError: cannot import name 'TypeAliasType' from 'typing_extensions' ```
CLOSED
2023-11-13T11:36:10
2023-11-14T10:05:36
2023-11-14T10:05:36
https://github.com/huggingface/datasets/issues/6406
albertvillanova
0
[]
6,405
ConfigNamesError on a simple CSV file
See https://huggingface.co/datasets/Nguyendo1999/mmath/discussions/1 ``` Error code: ConfigNamesError Exception: TypeError Message: __init__() missing 1 required positional argument: 'dtype' Traceback: Traceback (most recent call last): File "/src/services/worker/src/worker/job_runn...
CLOSED
2023-11-13T10:28:29
2023-11-13T20:01:24
2023-11-13T20:01:24
https://github.com/huggingface/datasets/issues/6405
severo
3
[ "bug" ]
6,403
Cannot import datasets on google colab (python 3.10.12)
### Describe the bug I'm trying A full colab demo notebook of zero-shot-distillation from https://github.com/huggingface/transformers/tree/main/examples/research_projects/zero-shot-distillation but i got this type of error when importing datasets on my google colab (python version is 3.10.12) ![image](https://gith...
CLOSED
2023-11-13T08:14:43
2023-11-16T05:04:22
2023-11-16T05:04:21
https://github.com/huggingface/datasets/issues/6403
nabilaannisa
2
[]
6,401
dataset = load_dataset("Hyperspace-Technologies/scp-wiki-text") not working
### Describe the bug ``` (datasets) mruserbox@guru-X99:/media/10TB_HHD/_LLM_DATASETS$ python dataset.py Downloading readme: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 360/360 [00:00<00:00, 2.16MB/s] Downloading data: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 65.1M/65.1M [00:19<00:00, 3.38MB/s] Downloading data: 100...
CLOSED
2023-11-11T04:09:07
2023-11-20T17:45:20
2023-11-20T17:45:20
https://github.com/huggingface/datasets/issues/6401
userbox020
2
[]
6,400
Safely load datasets by disabling execution of dataset loading script
### Feature request Is there a way to disable execution of dataset loading script using `load_dataset`? This is a security vulnerability that could lead to arbitrary code execution. Any suggested workarounds are welcome as well. ### Motivation This is a security vulnerability that could lead to arbitrary code e...
CLOSED
2023-11-10T23:48:29
2024-06-13T15:56:13
2024-06-13T15:56:13
https://github.com/huggingface/datasets/issues/6400
irenedea
4
[ "enhancement" ]
6,399
TypeError: Cannot convert pyarrow.lib.ChunkedArray to pyarrow.lib.Array
### Describe the bug Hi, I am preprocessing a large custom dataset with numpy arrays. I am running into this TypeError during writing in a dataset.map() function. I've tried decreasing writer batch size, but this error persists. This error does not occur for smaller datasets. Thank you! ### Steps to repro...
OPEN
2023-11-10T20:48:46
2024-06-22T00:13:48
null
https://github.com/huggingface/datasets/issues/6399
y-hwang
1
[]
6,397
Raise a different exception for inexisting dataset vs files without known extension
See https://github.com/huggingface/datasets-server/issues/2082#issuecomment-1805716557 We have the same error for: - https://huggingface.co/datasets/severo/a_dataset_that_does_not_exist: a dataset that does not exist - https://huggingface.co/datasets/severo/test_files_without_extension: a dataset with files withou...
CLOSED
2023-11-10T13:22:14
2023-11-22T15:12:34
2023-11-22T15:12:34
https://github.com/huggingface/datasets/issues/6397
severo
0
[]
6,396
Issue with pyarrow 14.0.1
See https://github.com/huggingface/datasets-server/pull/2089 for reference ``` from datasets import (Array2D, Dataset, Features) feature_type = Array2D(shape=(2, 2), dtype="float32") content = [[0.0, 0.0], [0.0, 0.0]] features = Features({"col": feature_type}) dataset = Dataset.from_dict({"col": [content]}, fea...
CLOSED
2023-11-10T10:02:12
2025-08-19T18:13:30
2023-11-14T10:23:30
https://github.com/huggingface/datasets/issues/6396
severo
5
[]
6,395
Add ability to set lock type
### Feature request Allow setting file lock type, maybe from an environment variable Currently, it only depends on whether fnctl is available: https://github.com/huggingface/datasets/blob/12ebe695b4748c5a26e08b44ed51955f74f5801d/src/datasets/utils/filelock.py#L463-L470C16 ### Motivation In my environment...
CLOSED
2023-11-09T22:12:30
2023-11-23T18:50:00
2023-11-23T18:50:00
https://github.com/huggingface/datasets/issues/6395
leoleoasd
1
[ "enhancement" ]
6,394
TorchFormatter images (H, W, C) instead of (C, H, W) format
### Describe the bug Using .set_format("torch") leads to images having shape (H, W, C), the same as in numpy. However, pytorch normally uses (C, H, W) format. Maybe I'm missing something but this makes the format a lot less useful as I then have to permute it anyways. If not using the format it is possible to ...
CLOSED
2023-11-09T16:02:15
2024-04-11T12:40:16
2024-04-11T12:40:16
https://github.com/huggingface/datasets/issues/6394
Modexus
9
[]
6,393
Filter occasionally hangs
### Describe the bug A call to `.filter` occasionally hangs (after the filter is complete, according to tqdm) There is a trace produced ``` Exception ignored in: <function Dataset.__del__ at 0x7efb48130c10> Traceback (most recent call last): File "/usr/lib/python3/dist-packages/datasets/arrow_dataset.py", l...
CLOSED
2023-11-09T06:18:30
2025-02-22T00:49:19
2025-02-22T00:49:19
https://github.com/huggingface/datasets/issues/6393
dakinggg
12
[]
6,392
`push_to_hub` is not robust to hub closing connection
### Describe the bug Like to #6172, `push_to_hub` will crash if Hub resets the connection and raise the following error: ``` Pushing dataset shards to the dataset hub: 32%|β–ˆβ–ˆβ–ˆβ– | 54/171 [06:38<14:23, 7.38s/it] Traceback (most recent call last): File "/admin/home-piraka9011/.virtualenvs/w2v2/lib/python3.8/...
CLOSED
2023-11-08T20:44:53
2023-12-20T07:28:24
2023-12-01T17:51:34
https://github.com/huggingface/datasets/issues/6392
msis
12
[]
6,389
Index 339 out of range for dataset of size 339 <-- save_to_file()
### Describe the bug When saving out some Audio() data. The data is audio recordings with associated 'sentences'. (They use the audio 'bytes' approach because they're clips within audio files). Code is below the traceback (I can't upload the voice audio/text (it's not even me)). ``` Traceback (most recent call ...
OPEN
2023-11-08T12:52:09
2023-11-24T09:14:13
null
https://github.com/huggingface/datasets/issues/6389
jaggzh
2
[]
6,388
How to create 3d medical imgae dataset?
### Feature request I am newer to huggingface, after i look up `datasets` docs, I can't find how to create the dataset contains 3d medical image (ends with '.mhd', '.dcm', '.nii') ### Motivation help us to upload 3d medical dataset to huggingface! ### Your contribution I'll submit a PR if I find a way to...
OPEN
2023-11-07T11:27:36
2023-11-07T11:28:53
null
https://github.com/huggingface/datasets/issues/6388
QingYunA
0
[ "enhancement" ]
6,387
How to load existing downloaded dataset ?
Hi @mariosasko @lhoestq @katielink Thanks for your contribution and hard work. ### Feature request First, I download a dataset as normal by: ``` from datasets import load_dataset dataset = load_dataset('username/data_name', cache_dir='data') ``` The dataset format in `data` directory will be: ``` ...
CLOSED
2023-11-06T22:51:44
2023-11-16T18:07:01
2023-11-16T18:07:01
https://github.com/huggingface/datasets/issues/6387
liming-ai
1
[ "enhancement" ]
6,386
Formatting overhead
### Describe the bug Hi! I very recently noticed that my training time is dominated by batch formatting. Using Lightning's profilers, I located the bottleneck within `datasets.formatting.formatting` and then narrowed it down with `line-profiler`. It turns out that almost all of the overhead is due to creating new inst...
CLOSED
2023-11-06T19:06:38
2023-11-06T23:56:12
2023-11-06T23:56:12
https://github.com/huggingface/datasets/issues/6386
d-miketa
2
[]
6,385
Get an error when i try to concatenate the squad dataset with my own dataset
### Describe the bug Hello, I'm new here and I need to concatenate the squad dataset with my own dataset i created. I find the following error when i try to do it: Traceback (most recent call last): Cell In[9], line 1 concatenated_dataset = concatenate_datasets([train_dataset, dataset1]) File ~\ana...
CLOSED
2023-11-06T14:29:22
2023-11-06T16:50:45
2023-11-06T16:50:45
https://github.com/huggingface/datasets/issues/6385
CCDXDX
2
[]
6,384
Load the local dataset folder from other place
This is from https://github.com/huggingface/diffusers/issues/5573
CLOSED
2023-11-06T13:07:04
2023-11-19T05:42:06
2023-11-19T05:42:05
https://github.com/huggingface/datasets/issues/6384
OrangeSodahub
1
[]
6,383
imagenet-1k downloads over and over
### Describe the bug What could be causing this? ``` $ python3 Python 3.8.13 (default, Mar 28 2022, 11:38:47) [GCC 7.5.0] :: Anaconda, Inc. on linux Type "help", "copyright", "credits" or "license" for more information. >>> from datasets import load_dataset >>> load_dataset("imagenet-1k") Downloading builder ...
CLOSED
2023-11-06T02:58:58
2024-06-12T13:15:00
2023-11-06T06:02:39
https://github.com/huggingface/datasets/issues/6383
seann999
1
[]
6,382
Add CheXpert dataset for vision
### Feature request ### Name **CheXpert: A Large Chest Radiograph Dataset with Uncertainty Labels and Expert Comparison** ### Paper https://arxiv.org/abs/1901.07031 ### Data https://stanfordaimi.azurewebsites.net/datasets/8cbd9ed4-2eb9-4565-affc-111cf4f7ebe2 ### Motivation CheXpert is one of the fund...
OPEN
2023-11-04T15:36:11
2024-01-10T11:53:52
null
https://github.com/huggingface/datasets/issues/6382
SauravMaheshkar
3
[ "enhancement", "dataset request" ]
6,377
Support pyarrow 14.0.0
Support pyarrow 14.0.0 by fixing the root cause of: - #6374 and revert: - #6375
CLOSED
2023-11-02T10:22:08
2023-11-02T15:15:45
2023-11-02T15:15:45
https://github.com/huggingface/datasets/issues/6377
albertvillanova
0
[]
6,376
Caching problem when deleting a dataset
### Describe the bug Pushing a dataset with n + m features to a repo which was deleted, but contained n features, will fail. ### Steps to reproduce the bug 1. Create a dataset with n features per row 2. `dataset.push_to_hub(YOUR_PATH, SPLIT, token=TOKEN)` 3. Go on the hub, delete the repo at `YOUR_PATH` 4. Update...
CLOSED
2023-11-02T10:15:58
2023-12-04T16:53:34
2023-12-04T16:53:33
https://github.com/huggingface/datasets/issues/6376
clefourrier
3
[]
6,374
CI is broken: TypeError: Couldn't cast array
See: https://github.com/huggingface/datasets/actions/runs/6730567226/job/18293518039 ``` FAILED tests/test_table.py::test_cast_sliced_fixed_size_array_to_features - TypeError: Couldn't cast array of type fixed_size_list<item: int32>[3] to Sequence(feature=Value(dtype='int64', id=None), length=3, id=None) ```
CLOSED
2023-11-02T09:37:06
2023-11-02T10:11:20
2023-11-02T10:11:20
https://github.com/huggingface/datasets/issues/6374
albertvillanova
0
[]
6,371
`Dataset.from_generator` should not try to download from HF GCS
### Describe the bug When using [`Dataset.from_generator`](https://github.com/huggingface/datasets/blob/c9c1166e1cf81d38534020f9c167b326585339e5/src/datasets/arrow_dataset.py#L1072) with `streaming=False`, the internal logic will call [`download_and_prepare`](https://github.com/huggingface/datasets/blob/main/src/datas...
CLOSED
2023-11-01T17:36:17
2023-11-02T15:52:10
2023-11-02T15:52:10
https://github.com/huggingface/datasets/issues/6371
yundai424
1
[]
6,370
TensorDataset format does not work with Trainer from transformers
### Describe the bug The model was built to do fine tunning on BERT model for relation extraction. trainer.train() returns an error message ```TypeError: vars() argument must have __dict__ attribute``` when it has `train_dataset` generated from `torch.utils.data.TensorDataset` However, in the document, the req...
CLOSED
2023-11-01T10:09:54
2023-11-29T16:31:08
2023-11-29T16:31:08
https://github.com/huggingface/datasets/issues/6370
jinzzasol
2
[]
6,369
Multi process map did not load cache file correctly
### Describe the bug When I was training model on Multiple GPUs by DDP, the dataset is tokenized multiple times after main process. ![1698820541284](https://github.com/huggingface/datasets/assets/14285786/0b2fe054-54d8-4e00-96e6-6ca5b69e662b) ![1698820501568](https://github.com/huggingface/datasets/assets/142857...
CLOSED
2023-11-01T06:36:54
2023-11-30T16:04:46
2023-11-30T16:04:45
https://github.com/huggingface/datasets/issues/6369
enze5088
3
[]
6,366
with_format() function returns bytes instead of PIL images even when image column is not part of "columns"
### Describe the bug When using the with_format() function on a dataset containing images, even if the image column is not part of the columns provided in the function, its type will be changed to bytes. Here is a minimal reproduction of the bug: https://colab.research.google.com/drive/1hyaOspgyhB41oiR1-tXE3k_gJCdJU...
CLOSED
2023-10-31T11:10:48
2023-11-02T14:21:17
2023-11-02T14:21:17
https://github.com/huggingface/datasets/issues/6366
leot13
1
[]
6,365
Parquet size grows exponential for categorical data
### Describe the bug It seems that when saving a data frame with a categorical column inside the size can grow exponentially. This seems to happen because when we save the categorical data to parquet, we are saving the data + all the categories existing in the original data. This happens even when the categories ar...
CLOSED
2023-10-31T10:29:02
2023-10-31T10:49:17
2023-10-31T10:49:17
https://github.com/huggingface/datasets/issues/6365
aseganti
1
[]
6,364
ArrowNotImplementedError: Unsupported cast from string to list using function cast_list
Hi, I am trying to load a local csv dataset(similar to explodinggradients_fiqa) using load_dataset. When I try to pass features, I am facing the mentioned issue. CSV Data sample(golden_dataset.csv): Question | Context | answer | groundtruth "what is abc?"...
CLOSED
2023-10-30T20:14:01
2023-10-31T19:21:23
2023-10-31T19:21:23
https://github.com/huggingface/datasets/issues/6364
divyakrishna-devisetty
2
[]
6,363
dataset.transform() hangs indefinitely while finetuning the stable diffusion XL
### Describe the bug Multi-GPU fine-tuning the stable diffusion X by following https://github.com/huggingface/diffusers/blob/main/examples/text_to_image/README_sdxl.md hangs indefinitely. ### Steps to reproduce the bug accelerate launch train_text_to_image_sdxl.py --pretrained_model_name_or_path=$MODEL_NAME --...
CLOSED
2023-10-30T17:34:05
2023-11-22T00:29:21
2023-11-22T00:29:21
https://github.com/huggingface/datasets/issues/6363
bhosalems
7
[]
6,360
Add support for `Sequence(Audio/Image)` feature in `push_to_hub`
### Feature request Allow for `Sequence` of `Image` (or `Audio`) to be embedded inside the shards. ### Motivation Currently, thanks to #3685, when `embed_external_files` is set to True (which is the default) in `push_to_hub`, features of type `Image` and `Audio` are embedded inside the arrow/parquet shards, instead ...
CLOSED
2023-10-27T14:39:57
2024-02-06T19:24:20
2024-02-06T19:24:20
https://github.com/huggingface/datasets/issues/6360
Laurent2916
1
[ "enhancement" ]
6,359
Stuck in "Resolving data files..."
### Describe the bug I have an image dataset with 300k images, the size of image is 768 * 768. When I run `dataset = load_dataset("imagefolder", data_dir="/path/to/img_dir", split='train')` in second time, it takes 50 minutes to finish "Resolving data files" part, what's going on in this part? From my understa...
OPEN
2023-10-27T12:01:51
2025-03-09T02:18:19
null
https://github.com/huggingface/datasets/issues/6359
Luciennnnnnn
5
[]
6,358
Mounting datasets cache fails due to absolute paths.
### Describe the bug Creating a datasets cache and mounting this into, for example, a docker container, renders the data unreadable due to absolute paths written into the cache. ### Steps to reproduce the bug 1. Create a datasets cache by downloading some data 2. Mount the dataset folder into a docker contain...
CLOSED
2023-10-27T08:20:27
2024-04-10T08:50:06
2023-11-28T14:47:12
https://github.com/huggingface/datasets/issues/6358
charliebudd
5
[]
6,357
Allow passing a multiprocessing context to functions that support `num_proc`
### Feature request Allow specifying [a multiprocessing context](https://docs.python.org/3/library/multiprocessing.html#contexts-and-start-methods) to functions that support `num_proc` or use multiprocessing pools. For example, the following could be done: ```python dataset = dataset.map(_func, num_proc=2, mp_cont...
OPEN
2023-10-27T02:31:16
2025-11-07T16:46:51
null
https://github.com/huggingface/datasets/issues/6357
bryant1410
1
[ "enhancement" ]
6,354
`IterableDataset.from_spark` does not support multiple workers in pytorch `Dataloader`
### Describe the bug Looks like `IterableDataset.from_spark` does not support multiple workers in pytorch `Dataloader` if I'm not missing anything. Also, returns not consistent error messages, which probably depend on the nondeterministic order of worker executions Some exampes I've encountered: ``` File "/l...
OPEN
2023-10-26T12:43:36
2024-12-10T14:06:06
null
https://github.com/huggingface/datasets/issues/6354
NazyS
3
[]
6,353
load_dataset save_to_disk load_from_disk error
### Describe the bug datasets version: 2.10.1 I `load_dataset `and `save_to_disk` sucessfully on windows10( **and I `load_from_disk(/LLM/data/wiki)` succcesfully on windows10**), and I copy the dataset `/LLM/data/wiki` into a ubuntu system, but when I `load_from_disk(/LLM/data/wiki)` on ubuntu, something weird ha...
CLOSED
2023-10-26T03:47:06
2024-04-03T05:31:01
2023-10-26T10:18:04
https://github.com/huggingface/datasets/issues/6353
brisker
5
[]
6,352
Error loading wikitext data raise NotImplementedError(f"Loading a dataset cached in a {type(self._fs).__name__} is not supported.")
I was trying to load the wiki dataset, but i got this error traindata = load_dataset('wikitext', 'wikitext-2-raw-v1', split='train') File "/home/aelkordy/.conda/envs/prune_llm/lib/python3.9/site-packages/datasets/load.py", line 1804, in load_dataset ds = builder_instance.as_dataset(split=split, verific...
CLOSED
2023-10-25T21:55:31
2024-03-19T16:46:22
2023-11-07T07:26:54
https://github.com/huggingface/datasets/issues/6352
Ahmed-Roushdy
13
[]
6,350
Different objects are returned from calls that should be returning the same kind of object.
### Describe the bug 1. dataset = load_dataset("togethercomputer/RedPajama-Data-1T-Sample", cache_dir=training_args.cache_dir, split='train[:1%]') 2. dataset = load_dataset("togethercomputer/RedPajama-Data-1T-Sample", cache_dir=training_args.cache_dir) The only difference I would expect these cal...
OPEN
2023-10-25T17:08:39
2023-10-26T21:03:06
null
https://github.com/huggingface/datasets/issues/6350
phalexo
2
[]
6,349
Can't load ds = load_dataset("imdb")
### Describe the bug I did `from datasets import load_dataset, load_metric` and then `ds = load_dataset("imdb")` and it gave me the error: ExpectedMoreDownloadedFiles: {'http://ai.stanford.edu/~amaas/data/sentiment/aclImdb_v1.tar.gz'} I tried doing `ds = load_dataset("imdb",download_mode="force_redownload")` as we...
CLOSED
2023-10-25T13:29:51
2024-03-20T15:09:53
2023-10-31T19:59:35
https://github.com/huggingface/datasets/issues/6349
vivianc2
4
[]
6,348
Parquet stream-conversion fails to embed images/audio files from gated repos
it seems to be an issue with datasets not passing the token to embed_table_storage when generating a dataset See https://github.com/huggingface/datasets-server/issues/2010
OPEN
2023-10-25T12:12:44
2025-04-17T12:21:43
null
https://github.com/huggingface/datasets/issues/6348
severo
1
[ "bug" ]
6,347
Incorrect example code in 'Create a dataset' docs
### Describe the bug On [this](https://huggingface.co/docs/datasets/create_dataset) page, the example code for loading in images and audio is incorrect. Currently, examples are: ``` python from datasets import ImageFolder dataset = load_dataset("imagefolder", data_dir="/path/to/pokemon") ``` and ``` python...
CLOSED
2023-10-24T11:01:21
2023-10-25T13:05:21
2023-10-25T13:05:21
https://github.com/huggingface/datasets/issues/6347
rwood-97
2
[]
6,345
support squad structure datasets using a YAML parameter
### Feature request Since the squad structure is widely used, I think it could be beneficial to support it using a YAML parameter. could you implement automatic data loading of squad-like data using squad JSON format, to read it from JSON files and view it in the correct squad structure. The dataset structure should...
OPEN
2023-10-23T17:55:37
2023-10-23T17:55:37
null
https://github.com/huggingface/datasets/issues/6345
MajdTannous1
0
[ "enhancement" ]
6,333
Support fsspec 2023.10.0
Once root issue is fixed, remove temporary pin of fsspec < 2023.10.0 introduced by: - #6331 Related to issue: - #6330 As @ZachNagengast suggested, the issue might be related to: - https://github.com/fsspec/filesystem_spec/pull/1381
CLOSED
2023-10-23T09:14:53
2024-02-07T12:39:58
2024-02-07T12:39:58
https://github.com/huggingface/datasets/issues/6333
albertvillanova
4
[]
6,330
Latest fsspec==2023.10.0 issue with streaming datasets
### Describe the bug Loading a streaming dataset with this version of fsspec fails with the following error: `NotImplementedError: Loading a streaming dataset cached in a LocalFileSystem is not supported yet.` I suspect the issue is with this PR https://github.com/fsspec/filesystem_spec/pull/1381 ### Steps ...
CLOSED
2023-10-22T20:57:10
2025-06-09T22:00:16
2023-10-23T09:17:56
https://github.com/huggingface/datasets/issues/6330
ZachNagengast
9
[]
6,329
Ψ΄Ψ¨Ϊ©Ω‡ Ω‡Ψ§ΫŒ Ω…ΨͺΩ† Ψ¨Ω‡ گفΨͺΨ§Ψ± Ψ§Ψ¨ΨͺΨ―Ψ§ Ω…ΨͺΩ† Ψ―Ψ§Ψ―Ω‡ Ψ΄Ψ―Ω‡ Ψ±Ψ§ Ψ¨Ω‡ Ψ¨Ψ§Ψ²Ω†Ω…Ψ§ΫŒΫŒ Ω…ΫŒΨ§Ω†ΫŒ
Ψ΄Ψ¨Ϊ©Ω‡ Ω‡Ψ§ΫŒ Ω…ΨͺΩ† Ψ¨Ω‡ گفΨͺΨ§Ψ± Ψ§Ψ¨ΨͺΨ―Ψ§ Ω…ΨͺΩ† Ψ―Ψ§Ψ―Ω‡ Ψ΄Ψ―Ω‡ Ψ±Ψ§ Ψ¨Ω‡ Ψ¨Ψ§Ψ²Ω†Ω…Ψ§ΫŒΫŒ Ω…ΫŒΨ§Ω†ΫŒ
CLOSED
2023-10-22T11:07:46
2023-10-23T09:22:58
2023-10-23T09:22:58
https://github.com/huggingface/datasets/issues/6329
shabnam706
0
[]
6,328
Ψ΄Ψ¨Ϊ©Ω‡ Ω‡Ψ§ΫŒ Ω…ΨͺΩ† Ψ¨Ω‡ گفΨͺΨ§Ψ± Ψ§Ψ¨ΨͺΨ―Ψ§ Ω…ΨͺΩ† Ψ―Ψ§Ψ―Ω‡ Ψ΄Ψ―Ω‡ Ψ±Ψ§ Ψ¨Ω‡ Ψ¨Ψ§Ψ²Ω†Ω…Ψ§ΫŒΫŒ Ω…ΫŒΨ§Ω†ΫŒ
CLOSED
2023-10-22T11:07:21
2023-10-23T09:22:38
2023-10-23T09:22:38
https://github.com/huggingface/datasets/issues/6328
shabnam706
1
[]
6,327
FileNotFoundError when trying to load the downloaded dataset with `load_dataset(..., streaming=True)`
### Describe the bug Hi, I'm trying to load the dataset `togethercomputer/RedPajama-Data-1T-Sample` with `load_dataset` in streaming mode, i.e., `streaming=True`, but `FileNotFoundError` occurs. ### Steps to reproduce the bug I've downloaded the dataset and save it to the cache dir in advance. My hope is loadi...
CLOSED
2023-10-21T12:27:03
2023-10-23T18:50:07
2023-10-23T18:50:07
https://github.com/huggingface/datasets/issues/6327
yzhangcs
3
[]
6,324
Conversion to Arrow fails due to wrong type heuristic
### Describe the bug I have a list of dictionaries with valid/JSON-serializable values. One key is the denominator for a paragraph. In 99.9% of cases its a number, but there are some occurences of '1a', '2b' and so on. If trying to convert this list to a dataset with `Dataset.from_list()`, I always get `ArrowI...
CLOSED
2023-10-20T23:20:58
2023-10-23T20:52:57
2023-10-23T20:52:57
https://github.com/huggingface/datasets/issues/6324
jphme
2
[]
6,323
Loading dataset from large GCS bucket very slow since 2.14
### Describe the bug Since updating to >2.14 we have very slow access to our parquet files on GCS when loading a dataset (>30 min vs 3s). Our GCS bucket has many objects and resolving globs is very slow. I could track down the problem to this change: https://github.com/huggingface/datasets/blame/bade7af74437347a76083...
OPEN
2023-10-20T12:59:55
2024-09-03T18:42:33
null
https://github.com/huggingface/datasets/issues/6323
jbcdnr
1
[]
6,320
Dataset slice splits can't load training and validation at the same time
### Describe the bug According to the [documentation](https://huggingface.co/docs/datasets/v2.14.5/loading#slice-splits) is should be possible to run the following command: `train_test_ds = datasets.load_dataset("bookcorpus", split="train+test")` to load the train and test sets from the dataset. However ex...
CLOSED
2023-10-19T16:09:22
2023-11-30T16:21:15
2023-11-30T16:21:15
https://github.com/huggingface/datasets/issues/6320
timlac
1
[]
6,319
Datasets.map is severely broken
### Describe the bug Regardless of how many cores I used, I have 16 or 32 threads, map slows down to a crawl at around 80% done, lingers maybe until 97% extremely slowly and NEVER finishes the job. It just hangs. After watching this for 27 hours I control-C out of it. Until the end one process appears to be doing s...
OPEN
2023-10-19T12:19:33
2024-08-08T17:05:08
null
https://github.com/huggingface/datasets/issues/6319
phalexo
15
[]
6,317
sentiment140 dataset unavailable
### Describe the bug loading the dataset using load_dataset("sentiment140") returns the following error ConnectionError: Couldn't reach http://cs.stanford.edu/people/alecmgo/trainingandtestdata.zip (error 403) ### Steps to reproduce the bug Run the following code (version should not matter). ``` from data...
CLOSED
2023-10-19T11:25:21
2023-10-19T13:04:56
2023-10-19T13:04:56
https://github.com/huggingface/datasets/issues/6317
AndreasKarasenko
2
[]
6,315
Hub datasets with CSV metadata raise ArrowInvalid: JSON parse error: Invalid value. in row 0
When trying to load a Hub dataset that contains a CSV metadata file, it raises an `ArrowInvalid` error: ``` E pyarrow.lib.ArrowInvalid: JSON parse error: Invalid value. in row 0 pyarrow/error.pxi:100: ArrowInvalid ``` See: https://huggingface.co/datasets/lukarape/public_small_papers/discussions/1
CLOSED
2023-10-19T10:11:29
2023-10-20T06:14:10
2023-10-20T06:14:10
https://github.com/huggingface/datasets/issues/6315
albertvillanova
0
[ "bug" ]
6,311
cast_column to Sequence with length=4 occur exception raise in datasets/table.py:2146
### Describe the bug i load a dataset from local csv file which has 187383612 examples, then use `map` to generate new columns for test. here is my code : ``` import os from datasets import load_dataset from datasets.features import Sequence, Value def add_new_path(example): example["ais_bbox"] =...
CLOSED
2023-10-18T09:38:05
2024-02-06T19:24:20
2024-02-06T19:24:20
https://github.com/huggingface/datasets/issues/6311
neiblegy
4
[]
6,308
module 'resource' has no attribute 'error'
### Describe the bug just run import: `from datasets import load_dataset` and then: ``` File "C:\ProgramData\anaconda3\envs\py310\lib\site-packages\datasets\__init__.py", line 22, in <module> from .arrow_dataset import Dataset File "C:\ProgramData\anaconda3\envs\py310\lib\site-packages\datasets\arrow...
CLOSED
2023-10-17T08:08:54
2023-10-25T17:09:22
2023-10-25T17:09:22
https://github.com/huggingface/datasets/issues/6308
NeoWang9999
4
[]
6,306
pyinstaller : OSError: could not get source code
### Describe the bug I ran a package with pyinstaller and got the following error: ### Steps to reproduce the bug ``` ... File "datasets\__init__.py", line 52, in <module> File "<frozen importlib._bootstrap>", line 1027, in _find_and_load File "<frozen importlib._bootstrap>", line 1006, in _find_an...
CLOSED
2023-10-17T01:41:51
2023-11-02T07:24:51
2023-10-18T14:03:42
https://github.com/huggingface/datasets/issues/6306
dusk877647949
5
[]
6,305
Cannot load dataset with `2.14.5`: `FileNotFound` error
### Describe the bug I'm trying to load [piuba-bigdata/articles_and_comments] and I'm stumbling with this error on `2.14.5`. However, this works on `2.10.0`. ### Steps to reproduce the bug [Colab link](https://colab.research.google.com/drive/1SAftFMQnFE708ikRnJJHIXZV7R5IBOCE#scrollTo=r2R2ipCCDmsg) ```python D...
CLOSED
2023-10-16T20:11:27
2023-10-18T13:50:36
2023-10-18T13:50:36
https://github.com/huggingface/datasets/issues/6305
finiteautomata
2
[]
6,303
Parquet uploads off-by-one naming scheme
### Describe the bug I noticed this numbering scheme not matching up in a different project and wanted to raise it as an issue for discussion, what is the actual proper way to have these stored? <img width="425" alt="image" src="https://github.com/huggingface/datasets/assets/1981179/3ffa2144-7c9a-446f-b521-a5e9db71...
OPEN
2023-10-14T18:31:03
2023-10-16T16:33:21
null
https://github.com/huggingface/datasets/issues/6303
ZachNagengast
4
[]
6,302
ArrowWriter/ParquetWriter `write` method does not increase `_num_bytes` and hence datasets not sharding at `max_shard_size`
### Describe the bug An example from [1], does not work when limiting shards with `max_shard_size`. Try the following example with low `max_shard_size`, such as: ```python builder.download_and_prepare(output_dir, storage_options=storage_options, file_format="parquet", max_shard_size="10MB") ``` The reason f...
CLOSED
2023-10-13T14:43:36
2023-10-17T06:52:12
2023-10-17T06:52:11
https://github.com/huggingface/datasets/issues/6302
Rassibassi
2
[]
6,299
Support for newer versions of JAX
### Feature request Hi, I like your idea of adapting the datasets library to be usable with JAX. Thank you for that. However, in your [setup.py](https://github.com/huggingface/datasets/blob/main/setup.py), you enforce old versions of JAX <= 0.3... It is very cumbersome ! What is the rationale for such a lim...
CLOSED
2023-10-12T10:03:46
2023-10-12T16:28:59
2023-10-12T16:28:59
https://github.com/huggingface/datasets/issues/6299
ddrous
0
[ "enhancement" ]
6,294
IndexError: Invalid key is out of bounds for size 0 despite having a populated dataset
### Describe the bug I am encountering an `IndexError` when trying to access data from a DataLoader which wraps around a dataset I've loaded using the `datasets` library. The error suggests that the dataset size is `0`, but when I check the length and print the dataset, it's clear that it has `1166` entries. ### Step...
CLOSED
2023-10-11T09:59:38
2023-10-17T11:24:06
2023-10-17T11:24:06
https://github.com/huggingface/datasets/issues/6294
ZYM66
1
[]
6,293
Choose columns to stream parquet data in streaming mode
Currently passing columns= to load_dataset in streaming mode fails ``` Tried to load parquet data with columns '['link']' with mismatching features '{'caption': Value(dtype='string', id=None), 'image': {'bytes': Value(dtype='binary', id=None), 'path': Value(dtype='null', id=None)}, 'link': Value(dtype='string', id=...
CLOSED
2023-10-11T08:59:36
2023-10-11T16:21:38
2023-10-11T16:21:38
https://github.com/huggingface/datasets/issues/6293
lhoestq
0
[ "bug" ]
6,292
how to load the image of dtype float32 or float64
_FEATURES = datasets.Features( { "image": datasets.Image(), "text": datasets.Value("string"), }, ) The datasets builder seems only support the unit8 data. How to load the float dtype data?
OPEN
2023-10-11T07:27:16
2023-10-11T13:19:11
null
https://github.com/huggingface/datasets/issues/6292
wanglaofei
1
[]
6,291
Casting type from Array2D int to Array2D float crashes
### Describe the bug I am on a school project and the initial type for feature annotations are `Array2D(shape=(None, 4))`. I am trying to cast this type to a `float64` and pyarrow gives me this error : ``` Traceback (most recent call last): File "/home/alan/dev/ClassezDesImagesAvecDesAlgorithmesDeDeeplearnin...
CLOSED
2023-10-10T20:10:10
2023-10-13T13:45:31
2023-10-13T13:45:31
https://github.com/huggingface/datasets/issues/6291
AlanBlanchet
1
[]
6,290
Incremental dataset (e.g. `.push_to_hub(..., append=True)`)
### Feature request Have the possibility to do `ds.push_to_hub(..., append=True)`. ### Motivation Requested in this [comment](https://huggingface.co/datasets/laion/dalle-3-dataset/discussions/3#65252597c4edc168202a5eaa) and this [comment](https://huggingface.co/datasets/laion/dalle-3-dataset/discussions/4#6524f675...
OPEN
2023-10-10T15:18:03
2025-08-13T12:55:28
null
https://github.com/huggingface/datasets/issues/6290
Wauplin
7
[ "enhancement" ]
6,288
Dataset.from_pandas with a DataFrame of PIL.Images
Currently type inference doesn't know what to do with a Pandas Series of PIL.Image objects, though it would be nice to get a Dataset with the Image type this way
OPEN
2023-10-10T10:29:16
2024-11-29T16:35:30
null
https://github.com/huggingface/datasets/issues/6288
lhoestq
3
[ "enhancement" ]