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,287
map() not recognizing "text"
### Describe the bug The [map() documentation](https://huggingface.co/docs/datasets/v2.14.5/en/package_reference/main_classes#datasets.Dataset.map) reads: ` ds = ds.map(lambda x: tokenizer(x['text'], truncation=True, padding=True), batched=True)` I have been trying to reproduce it in my code as: `tokenizedData...
CLOSED
2023-10-09T10:27:30
2023-10-11T20:28:45
2023-10-11T20:28:45
https://github.com/huggingface/datasets/issues/6287
EngineerKhan
1
[]
6,285
TypeError: expected str, bytes or os.PathLike object, not dict
### Describe the bug my dataset is in form : train- image /n -labels and tried the code: ``` from datasets import load_dataset data_files = { "train": "/content/datasets/PotholeDetectionYOLOv8-1/train/", "validation": "/content/datasets/PotholeDetectionYOLOv8-1/valid/", "test": "/content/dat...
OPEN
2023-10-09T04:56:26
2023-10-10T13:17:33
null
https://github.com/huggingface/datasets/issues/6285
andysingal
4
[]
6,284
Add Belebele multiple-choice machine reading comprehension (MRC) dataset
### Feature request Belebele is a multiple-choice machine reading comprehension (MRC) dataset spanning 122 language variants. This dataset enables the evaluation of mono- and multi-lingual models in high-, medium-, and low-resource languages. Each question has four multiple-choice answers and is linked to a short pass...
CLOSED
2023-10-06T06:58:03
2023-10-06T13:26:51
2023-10-06T13:26:51
https://github.com/huggingface/datasets/issues/6284
rajveer43
1
[ "enhancement" ]
6,280
Couldn't cast array of type fixed_size_list to Sequence(Value(float64))
### Describe the bug I have a dataset with an embedding column, when I try to map that dataset I get the following exception: ``` Traceback (most recent call last): File "/Users/jmif/.virtualenvs/llm-training/lib/python3.10/site-packages/datasets/arrow_dataset.py", line 3189, in map for rank, done, content...
CLOSED
2023-10-05T12:48:31
2024-02-06T19:24:20
2024-02-06T19:24:20
https://github.com/huggingface/datasets/issues/6280
jmif
4
[]
6,279
Batched IterableDataset
### Feature request Hi, could you add an implementation of a batched `IterableDataset`. It already support an option to do batch iteration via `.iter(batch_size=...)` but this cannot be used in combination with a torch `DataLoader` since it just returns an iterator. ### Motivation The current implementation load...
OPEN
2023-10-05T11:12:49
2024-11-07T10:01:22
null
https://github.com/huggingface/datasets/issues/6279
lneukom
9
[ "enhancement" ]
6,277
FileNotFoundError: Couldn't find a module script at /content/paws-x/paws-x.py. Module 'paws-x' doesn't exist on the Hugging Face Hub either.
### Describe the bug I'm encountering a "FileNotFoundError" while attempting to use the "paws-x" dataset to retrain the DistilRoBERTa-base model. The error message is as follows: FileNotFoundError: Couldn't find a module script at /content/paws-x/paws-x.py. Module 'paws-x' doesn't exist on the Hugging Face Hub eit...
CLOSED
2023-10-04T22:01:25
2023-10-08T17:05:46
2023-10-08T17:05:46
https://github.com/huggingface/datasets/issues/6277
diegogonzalezc
1
[]
6,276
I'm trying to fine tune the openai/whisper model from huggingface using jupyter notebook and i keep getting this error
### Describe the bug I'm trying to fine tune the openai/whisper model from huggingface using jupyter notebook and i keep getting this error, i'm following the steps in this blog post https://huggingface.co/blog/fine-tune-whisper I tried google collab and it works but because I'm on the free version the training ...
OPEN
2023-10-04T11:03:41
2023-11-27T10:39:16
null
https://github.com/huggingface/datasets/issues/6276
valaofficial
3
[]
6,275
Would like to Contribute a dataset
I have a dataset of 2500 images that can be used for color-blind machine-learning algorithms. Since , there was no dataset available online , I made this dataset myself and would like to contribute this now to community
CLOSED
2023-10-02T07:00:21
2023-10-10T16:27:54
2023-10-10T16:27:54
https://github.com/huggingface/datasets/issues/6275
vikas70607
1
[]
6,274
FileNotFoundError for dataset with multiple builder config
### Describe the bug When there is only one config and only the dataset name is entered when using datasets.load_dataset(), it works fine. But if I create a second builder_config for my dataset and enter the config name when using datasets.load_dataset(), the following error will happen. FileNotFoundError: [Errno 2...
CLOSED
2023-10-01T23:45:56
2024-08-14T04:42:02
2023-10-02T20:09:38
https://github.com/huggingface/datasets/issues/6274
LouisChen15
2
[]
6,273
Broken Link to PubMed Abstracts dataset .
### Describe the bug The link provided for the dataset is broken, data_files = [https://the-eye.eu/public/AI/pile_preliminary_components/PUBMED_title_abstracts_2019_baseline.jsonl.zst](url) The ### Steps to reproduce the bug Steps to reproduce: 1) Head over to [https://huggingface.co/learn/nlp-course/chapt...
OPEN
2023-10-01T19:08:48
2024-04-28T02:30:42
null
https://github.com/huggingface/datasets/issues/6273
sameemqureshi
5
[]
6,272
Duplicate `data_files` when named `<split>/<split>.parquet`
e.g. with `u23429/stock_1_minute_ticker` ```ipython In [1]: from datasets import * In [2]: b = load_dataset_builder("u23429/stock_1_minute_ticker") Downloading readme: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 627/627 [00:00<00:00, 246kB/s] In [3]: b.config.data_files Out[3]: {NamedSplit('train'): ['hf://datasets/...
CLOSED
2023-10-01T15:43:56
2024-03-15T15:22:05
2024-03-15T15:22:05
https://github.com/huggingface/datasets/issues/6272
lhoestq
7
[ "bug" ]
6,271
Overwriting Split overwrites data but not metadata, corrupting dataset
### Describe the bug I want to be able to overwrite/update/delete splits in my dataset. Currently the only way to do is to manually go into the dataset and delete the split. If I try to overwrite programmatically I end up in an error state and (somewhat) corrupting the dataset. Read below. **Current Behavior** Whe...
CLOSED
2023-09-30T22:37:31
2023-10-16T13:30:50
2023-10-16T13:30:50
https://github.com/huggingface/datasets/issues/6271
govindrai
0
[]
6,270
Dataset.from_generator raises with sharded gen_args
### Describe the bug According to the docs of Datasets.from_generator: ``` gen_kwargs(`dict`, *optional*): Keyword arguments to be passed to the `generator` callable. You can define a sharded dataset by passing the list of shards in `gen_kwargs`. ``` So I'd expect that if gen_kwar...
CLOSED
2023-09-30T16:50:06
2023-10-11T20:29:12
2023-10-11T20:29:11
https://github.com/huggingface/datasets/issues/6270
hartmans
6
[]
6,267
Multi label class encoding
### Feature request I have a multi label dataset and I'd like to be able to class encode the column and store the mapping directly in the features just as I can with a single label column. `class_encode_column` currently does not support multi labels. Here's an example of what I'd like to encode: ``` data = { ...
OPEN
2023-09-27T22:48:08
2023-10-26T18:46:08
null
https://github.com/huggingface/datasets/issues/6267
jmif
7
[ "enhancement" ]
6,263
CI is broken: ImportError: cannot import name 'context' from 'tensorflow.python'
Python 3.10 CI is broken for `test_py310`. See: https://github.com/huggingface/datasets/actions/runs/6322990957/job/17169678812?pr=6262 ``` FAILED tests/test_py_utils.py::TempSeedTest::test_tensorflow - ImportError: cannot import name 'context' from 'tensorflow.python' (/opt/hostedtoolcache/Python/3.10.13/x64/li...
CLOSED
2023-09-27T08:12:05
2023-09-27T08:36:40
2023-09-27T08:36:40
https://github.com/huggingface/datasets/issues/6263
albertvillanova
0
[ "bug" ]
6,261
Can't load a dataset
### Describe the bug Can't seem to load the JourneyDB dataset. It throws the following error: ``` --------------------------------------------------------------------------- FileNotFoundError Traceback (most recent call last) Cell In[15], line 2 1 # If the dataset is gated/priv...
CLOSED
2023-09-26T15:46:25
2023-10-05T10:23:23
2023-10-05T10:23:22
https://github.com/huggingface/datasets/issues/6261
joaopedrosdmm
5
[]
6,260
REUSE_DATASET_IF_EXISTS don't work
### Describe the bug I use the following code to download natural_question dataset. Even though I have completely download it, the next time I run this code, the new download procedure will start and cover the original /data/lxy/NQ config=datasets.DownloadConfig(resume_download=True,max_retries=100,cache_dir=r'/da...
CLOSED
2023-09-26T03:02:16
2023-09-28T18:23:36
2023-09-28T18:23:36
https://github.com/huggingface/datasets/issues/6260
rangehow
3
[]
6,259
Duplicated Rows When Loading Parquet Files from Root Directory with Subdirectories
### Describe the bug When parquet files are saved in "train" and "val" subdirectories under a root directory, and datasets are then loaded using `load_dataset("parquet", data_dir="root_directory")`, the resulting dataset has duplicated rows for both the training and validation sets. ### Steps to reproduce the bug...
CLOSED
2023-09-25T17:20:54
2024-03-15T15:22:04
2024-03-15T15:22:04
https://github.com/huggingface/datasets/issues/6259
MF-FOOM
1
[]
6,257
HfHubHTTPError - exceeded our hourly quotas for action: commit
### Describe the bug I try to upload a very large dataset of images, and get the following error: ``` File /fsx-multigen/yuvalkirstain/miniconda/envs/pickapic/lib/python3.10/site-packages/huggingface_hub/hf_api.py:2712, in HfApi.create_commit(self, repo_id, operations, commit_message, commit_description, token, repo...
CLOSED
2023-09-25T06:11:43
2023-10-16T13:30:49
2023-10-16T13:30:48
https://github.com/huggingface/datasets/issues/6257
yuvalkirstain
4
[]
6,256
load_dataset() function's cache_dir does not seems to work
### Describe the bug datasets version: 2.14.5 when trying to run the following command trec = load_dataset('trec', split='train[:1000]', cache_dir='/path/to/my/dir') I keep getting error saying the command does not have permission to the default cache directory on my macbook pro machine. It seems the cache_...
CLOSED
2023-09-24T15:34:06
2025-05-14T10:08:53
2024-10-08T15:45:18
https://github.com/huggingface/datasets/issues/6256
andyzhu
8
[]
6,254
Dataset.from_generator() cost much more time in vscode debugging mode then running mode
### Describe the bug Hey there, I’m using Dataset.from_generator() to convert a torch_dataset to the Huggingface Dataset. However, when I debug my code on vscode, I find that it runs really slow on Dataset.from_generator() which may even 20 times longer then run the script on terminal. ### Steps to reproduce the bu...
CLOSED
2023-09-23T02:07:26
2023-10-03T14:42:53
2023-10-03T14:42:53
https://github.com/huggingface/datasets/issues/6254
dontnet-wuenze
1
[]
6,252
exif_transpose not done to Image (PIL problem)
### Feature request I noticed that some of my images loaded using PIL have some metadata related to exif that can rotate them when loading. Since the dataset.features.Image uses PIL for loading, the loaded image may be rotated (width and height will be inverted) thus for tasks as object detection and layoutLM this ca...
CLOSED
2023-09-21T08:11:46
2024-03-19T15:29:43
2024-03-19T15:29:43
https://github.com/huggingface/datasets/issues/6252
rhajou
2
[ "enhancement" ]
6,246
Add new column to dataset
### Describe the bug ``` --------------------------------------------------------------------------- KeyError Traceback (most recent call last) [<ipython-input-9-bd197b36b6a0>](https://localhost:8080/#) in <cell line: 1>() ----> 1 dataset['train']['/workspace/data'] 3 frames [/...
CLOSED
2023-09-17T16:59:48
2023-09-18T16:20:09
2023-09-18T16:20:09
https://github.com/huggingface/datasets/issues/6246
andysingal
4
[]
6,242
Data alteration when loading dataset with unspecified inner sequence length
### Describe the bug When a dataset saved with a specified inner sequence length is loaded without specifying that length, the original data is altered and becomes inconsistent. ### Steps to reproduce the bug ```python from datasets import Dataset, Features, Value, Sequence, load_dataset # Repository ID repo_id...
CLOSED
2023-09-14T16:12:45
2023-09-19T17:53:18
2023-09-19T17:53:18
https://github.com/huggingface/datasets/issues/6242
qgallouedec
2
[]
6,240
Dataloader stuck on multiple GPUs
### Describe the bug I am trying to get CLIP to fine-tuning with my code. When I tried to run it on multiple GPUs using accelerate, I encountered the following phenomenon. - Validation dataloader stuck in 2nd epoch only on multi-GPU Specifically, when the "for inputs in valid_loader:" process is finished, it does...
CLOSED
2023-09-14T05:30:30
2023-09-14T23:54:42
2023-09-14T23:54:42
https://github.com/huggingface/datasets/issues/6240
kuri54
2
[]
6,239
Load local audio data doesn't work
### Describe the bug I get a RuntimeError from the following code: ```python audio_dataset = Dataset.from_dict({"audio": ["/kaggle/input/bengaliai-speech/train_mp3s/000005f3362c.mp3"]}).cast_column("audio", Audio()) audio_dataset[0] ``` ### Traceback <details> ```python RuntimeError ...
CLOSED
2023-09-13T22:30:01
2023-09-15T14:32:10
2023-09-15T14:32:10
https://github.com/huggingface/datasets/issues/6239
abodacs
2
[]
6,238
`dataset.filter` ALWAYS removes the first item from the dataset when using batched=True
### Describe the bug If you call batched=True when calling `filter`, the first item is _always_ filtered out, regardless of the filter condition. ### Steps to reproduce the bug Here's a minimal example: ```python def filter_batch_always_true(batch, indices): print("First index being passed into this filte...
CLOSED
2023-09-13T20:20:37
2023-09-17T07:05:07
2023-09-17T07:05:07
https://github.com/huggingface/datasets/issues/6238
Taytay
2
[]
6,237
Tokenization with multiple workers is too slow
I am trying to tokenize a few million documents with multiple workers but the tokenization process is taking forever. Code snippet: ``` raw_datasets.map( encode_function, batched=False, num_proc=args.preprocessing_num_workers, load_from_cache_file=not args.ove...
CLOSED
2023-09-13T06:18:34
2023-09-19T21:54:58
2023-09-19T21:54:58
https://github.com/huggingface/datasets/issues/6237
macabdul9
1
[]
6,236
Support buffer shuffle for to_tf_dataset
### Feature request I'm using to_tf_dataset to convert a large dataset to tf.data.Dataset and use Keras fit to train model. Currently, to_tf_dataset only supports full size shuffle, which can be very slow on large dataset. tf.data.Dataset support buffer shuffle by default. shuffle( buffer_size, seed=None, r...
OPEN
2023-09-13T03:19:44
2023-09-18T01:11:21
null
https://github.com/huggingface/datasets/issues/6236
EthanRock
3
[ "enhancement" ]
6,235
Support multiprocessing for download/extract nestedly
### Feature request Current multiprocessing for download/extract is not done nestedly. For example, when processing SlimPajama, there is only 3 processes (for train/test/val), while there are many files inside these 3 folders ``` Downloading data files #0: 0%| | 0/1 [00:00<?, ?obj/s] Downloading data f...
OPEN
2023-09-12T21:51:08
2023-09-12T21:51:08
null
https://github.com/huggingface/datasets/issues/6235
hgt312
0
[ "enhancement" ]
6,229
Apply inference on all images in the dataset
### Describe the bug ``` --------------------------------------------------------------------------- NotImplementedError Traceback (most recent call last) Cell In[14], line 11 9 for idx, example in enumerate(dataset['train']): 10 image_path = example['image'] ---> 11 mask...
CLOSED
2023-09-10T08:36:12
2023-09-20T16:11:53
2023-09-20T16:11:52
https://github.com/huggingface/datasets/issues/6229
andysingal
3
[]
6,225
Conversion from RGB to BGR in Object Detection tutorial
The [tutorial](https://huggingface.co/docs/datasets/main/en/object_detection) mentions the necessity of conversion the input image from BGR to RGB > albumentations expects the image to be in BGR format, not RGB, so you’ll have to convert the image before applying the transform. [Link to tutorial](https://github.c...
CLOSED
2023-09-08T06:49:19
2023-09-08T17:52:18
2023-09-08T17:52:17
https://github.com/huggingface/datasets/issues/6225
samokhinv
1
[]
6,221
Support saving datasets with custom formatting
Requested in https://discuss.huggingface.co/t/using-set-transform-on-a-dataset-leads-to-an-exception/53036. I am not sure if supporting this is the best idea for the following reasons: >For this to work, we would have to pickle a custom transform, which means the transform and the objects it references need to be...
OPEN
2023-09-06T16:03:32
2023-09-06T18:32:07
null
https://github.com/huggingface/datasets/issues/6221
mariosasko
1
[]
6,217
`Dataset.to_dict()` ignore `decode=True` with Image feature
### Describe the bug `Dataset.to_dict` seems to ignore the decoding instruction passed in features. ### Steps to reproduce the bug ```python import datasets import numpy as np from PIL import Image img = np.random.randint(0, 256, (5, 5, 3), dtype=np.uint8) img = Image.fromarray(img) features = datasets.Fea...
OPEN
2023-09-06T09:26:16
2023-09-08T17:08:52
null
https://github.com/huggingface/datasets/issues/6217
qgallouedec
1
[]
6,214
Unpin fsspec < 2023.9.0
Once root issue is fixed, remove temporary pin of fsspec < 2023.9.0 introduced by: - #6210 Related to issue: - #6209 After investigation, I think the root issue is related to the new glob behavior with double asterisk `**` they have introduced in: - https://github.com/fsspec/filesystem_spec/pull/1329
CLOSED
2023-09-05T11:02:58
2023-09-26T15:32:52
2023-09-26T15:32:52
https://github.com/huggingface/datasets/issues/6214
albertvillanova
0
[ "enhancement" ]
6,212
Tilde (~) is not supported for data_files
### Describe the bug Attempting to `load_dataset` from a path starting with `~` (as a shorthand for the user's home directory) seems not to be fully working - at least as far as the `parquet` dataset builder is concerned. (the same file can be loaded correctly if providing its absolute path instead) I think that...
OPEN
2023-09-04T14:23:49
2023-09-05T08:28:39
null
https://github.com/huggingface/datasets/issues/6212
exs-avianello
2
[]
6,209
CI is broken with AssertionError: 3 failed, 12 errors
Our CI is broken: 3 failed, 12 errors See: https://github.com/huggingface/datasets/actions/runs/6069947111/job/16465138041 ``` =========================== short test summary info ============================ FAILED tests/test_load.py::ModuleFactoryTest::test_LocalDatasetModuleFactoryWithoutScript_with_data_dir - ...
CLOSED
2023-09-04T06:47:05
2023-09-04T07:30:01
2023-09-04T07:30:01
https://github.com/huggingface/datasets/issues/6209
albertvillanova
0
[ "bug" ]
6,207
No-script datasets with ZIP files do not load
While investigating an issue on a Hub dataset, I have discovered the no-script datasets containing ZIP files do not load. For example, that no-script dataset containing ZIP files, raises NonMatchingSplitsSizesError: ```python In [2]: ds = load_dataset("sidovic/LearningQ-qg") NonMatchingSplitsSizesError: [ { ...
CLOSED
2023-09-04T05:50:27
2023-09-04T09:13:33
2023-09-04T09:13:33
https://github.com/huggingface/datasets/issues/6207
albertvillanova
0
[ "bug" ]
6,206
When calling load_dataset, raise error: pyarrow.lib.ArrowInvalid: offset overflow while concatenating arrays
### Describe the bug When calling load_dataset, raise error ``` Traceback (most recent call last): File "/home/aihao/miniconda3/envs/torch/lib/python3.11/site-packages/datasets/builder.py", line 1694, in _pre pare_split_single ...
CLOSED
2023-09-04T04:14:00
2024-04-17T15:53:29
2023-09-04T06:05:49
https://github.com/huggingface/datasets/issues/6206
aihao2000
2
[]
6,203
Support loading from a DVC remote repository
### Feature request Adding support for loading a file from a DVC repository, tracked remotely on a SCM. ### Motivation DVC is a popular version control system to version and manage datasets. The files are stored on a remote object storage platform, but they are tracked using Git. Integration with DVC is possible thr...
CLOSED
2023-09-01T14:04:52
2023-09-15T15:11:27
2023-09-15T15:11:27
https://github.com/huggingface/datasets/issues/6203
bilelomrani1
4
[ "enhancement" ]
6,202
avoid downgrading jax version
### Feature request Whenever I `pip install datasets[jax]` it downgrades jax to version 0.3.25. I seem to be able to install this library first then upgrade jax back to version 0.4.13. ### Motivation It would be nice to not overwrite currently installed version of jax if possible. ### Your contribution I...
CLOSED
2023-09-01T02:57:57
2023-10-12T16:28:59
2023-10-12T16:28:59
https://github.com/huggingface/datasets/issues/6202
chrisflesher
1
[ "enhancement" ]
6,199
Use load_dataset for local json files, but it not works
### Describe the bug when I use load_dataset to load my local datasets,it always goes to Hugging Face to download the data instead of loading the local dataset. ### Steps to reproduce the bug `raw_datasets = load_dataset( β€˜json’, data_files=data_files)` ### Expected behavior ![image](https://gi...
OPEN
2023-08-31T09:42:34
2023-08-31T19:05:07
null
https://github.com/huggingface/datasets/issues/6199
Garen-in-bush
2
[]
6,197
ValueError: 'index=True' is only valid when 'orient' is 'split', 'table', 'index', or 'columns'
### Describe the bug Saving a dataset `.to_json()` fails with a `ValueError` since the latest `pandas` [release](https://pandas.pydata.org/docs/dev/whatsnew/v2.1.0.html) (`2.1.0`) In their latest release we have: > Improved error handling when using [DataFrame.to_json()](https://pandas.pydata.org/docs/dev/refere...
CLOSED
2023-08-31T08:51:50
2023-09-01T10:35:10
2023-08-31T10:24:40
https://github.com/huggingface/datasets/issues/6197
exs-avianello
3
[]
6,196
Split order is not preserved
I have noticed that in some cases the split order is not preserved. For example, consider a no-script dataset with configs: ```yaml configs: - config_name: default data_files: - split: train path: train.csv - split: test path: test.csv ``` - Note the defined split order is [train, test] On...
CLOSED
2023-08-31T08:47:16
2023-08-31T13:48:43
2023-08-31T13:48:43
https://github.com/huggingface/datasets/issues/6196
albertvillanova
0
[ "bug" ]
6,195
Force to reuse cache at given path
### Describe the bug I have run the official example of MLM like: ```bash python run_mlm.py \ --model_name_or_path roberta-base \ --dataset_name togethercomputer/RedPajama-Data-1T \ --dataset_config_name arxiv \ --per_device_train_batch_size 10 \ --preprocessing_num_workers 20 ...
CLOSED
2023-08-30T18:44:54
2023-11-03T10:14:21
2023-08-30T19:00:45
https://github.com/huggingface/datasets/issues/6195
Luosuu
2
[]
6,194
Support custom fingerprinting with `Dataset.from_generator`
### Feature request When using `Dataset.from_generator`, the generator is hashed when building the fingerprint. Similar to `.map`, it would be interesting to let the user bypass this hashing by accepting a `fingerprint` argument to `.from_generator`. ### Motivation Using the `.from_generator` constructor with ...
OPEN
2023-08-29T22:43:13
2024-12-22T01:14:39
null
https://github.com/huggingface/datasets/issues/6194
bilelomrani1
7
[ "enhancement" ]
6,193
Dataset loading script method does not work with .pyc file
### Describe the bug The huggingface dataset library specifically looks for β€˜.py’ file while loading the dataset using loading script approach and it does not work with β€˜.pyc’ file. While deploying in production, it becomes an issue when we are restricted to use only .pyc files. Is there any work around for this ? #...
OPEN
2023-08-29T19:35:06
2023-08-31T19:47:29
null
https://github.com/huggingface/datasets/issues/6193
riteshkumarumassedu
3
[]
6,190
`Invalid user token` even when correct user token is passed!
### Describe the bug I'm working on a dataset which comprises other datasets on the hub. URL: https://huggingface.co/datasets/open-asr-leaderboard/datasets-test-only Note: Some of the sub-datasets in this metadataset require explicit access. All the other datasets work fine, except, `common_voice`. ### Steps t...
CLOSED
2023-08-29T12:37:03
2023-08-29T13:01:10
2023-08-29T13:01:09
https://github.com/huggingface/datasets/issues/6190
Vaibhavs10
2
[]
6,188
[Feature Request] Check the length of batch before writing so that empty batch is allowed
### Use Case I use `dataset.map(process_fn, batched=True)` to process the dataset, with data **augmentations or filtering**. However, when all examples within a batch is filtered out, i.e. **an empty batch is returned**, the following error will be thrown: ``` ValueError: Schema and number of arrays unequal `...
CLOSED
2023-08-29T06:37:34
2023-09-19T21:55:38
2023-09-19T21:55:37
https://github.com/huggingface/datasets/issues/6188
namespace-Pt
1
[]
6,187
Couldn't find a dataset script at /content/tsv/tsv.py or any data file in the same directory
### Describe the bug ``` --------------------------------------------------------------------------- FileNotFoundError Traceback (most recent call last) [<ipython-input-48-6a7b3e847019>](https://localhost:8080/#) in <cell line: 7>() 5 } 6 ----> 7 csv_datasets_reloaded = load_...
OPEN
2023-08-29T05:49:56
2023-08-29T16:21:45
null
https://github.com/huggingface/datasets/issues/6187
andysingal
1
[]
6,186
Feature request: add code example of multi-GPU processing
### Feature request Would be great to add a code example of how to do multi-GPU processing with πŸ€— Datasets in the documentation. cc @stevhliu Currently the docs has a small [section](https://huggingface.co/docs/datasets/v2.3.2/en/process#map) on this saying "your big GPU call goes here", however it didn't work f...
CLOSED
2023-08-28T10:00:59
2024-10-07T09:39:51
2023-11-22T15:42:20
https://github.com/huggingface/datasets/issues/6186
NielsRogge
18
[ "documentation", "enhancement" ]
6,185
Error in saving the PIL image into *.arrow files using datasets.arrow_writer
### Describe the bug I am using the ArrowWriter from datasets.arrow_writer to save a json-style file as arrow files. Within the dictionary, it contains a feature called "image" which is a list of PIL.Image objects. I am saving the json using the following script: ``` def save_to_arrow(path,temp): with ArrowWri...
OPEN
2023-08-26T12:15:57
2023-08-29T14:49:58
null
https://github.com/huggingface/datasets/issues/6185
HaozheZhao
1
[]
6,184
Map cache does not detect function changes in another module
```python # dataset.py import os import datasets if not os.path.exists('/tmp/test.json'): with open('/tmp/test.json', 'w') as file: file.write('[{"text": "hello"}]') def transform(example): text = example['text'] # text += ' world' return {'text': text} data = datasets.load_dataset('json', ...
CLOSED
2023-08-25T22:59:14
2023-08-29T20:57:07
2023-08-29T20:56:49
https://github.com/huggingface/datasets/issues/6184
jonathanasdf
2
[ "duplicate" ]
6,183
Load dataset with non-existent file
### Describe the bug When load a dataset from datasets and pass a wrong path to json with the data, error message does not contain something abount "wrong path" or "file do not exist" - ```SchemaInferenceError: Please pass `features` or at least one example when writing data``` ### Steps to reproduce the bug ...
CLOSED
2023-08-25T22:21:22
2023-08-29T13:26:22
2023-08-29T13:26:22
https://github.com/huggingface/datasets/issues/6183
freQuensy23-coder
2
[]
6,182
Loading Meteor metric in HF evaluate module crashes due to datasets import issue
### Describe the bug When using python3.9 and ```evaluate``` module loading Meteor metric crashes at a non-existent import from ```datasets.config``` in ```datasets v2.14``` ### Steps to reproduce the bug ``` from evaluate import load meteor = load("meteor") ``` produces the following error: ``` from d...
CLOSED
2023-08-25T14:54:06
2023-09-04T16:41:11
2023-08-31T14:38:23
https://github.com/huggingface/datasets/issues/6182
dsashulya
4
[]
6,179
Map cache with tokenizer
Similar issue to https://github.com/huggingface/datasets/issues/5985, but across different sessions rather than two calls in the same session. Unlike that issue, explicitly calling tokenizer(my_args) before the map() doesn't help, because the tokenizer was created with a different hash to begin with... setup ```...
OPEN
2023-08-25T12:55:18
2023-08-31T15:17:24
null
https://github.com/huggingface/datasets/issues/6179
jonathanasdf
4
[]
6,178
'import datasets' throws "invalid syntax error"
### Describe the bug Hi, I have been trying to import the datasets library but I keep gtting this error. `Traceback (most recent call last): File /opt/local/jupyterhub/lib64/python3.9/site-packages/IPython/core/interactiveshell.py:3508 in run_code exec(code_obj, self.user_global_ns, self.user_ns) ...
CLOSED
2023-08-25T08:35:14
2023-09-27T17:33:39
2023-09-27T17:33:39
https://github.com/huggingface/datasets/issues/6178
elia-ashraf
1
[]
6,176
how to limit the size of memory mapped file?
### Describe the bug Huggingface datasets use memory-mapped file to map large datasets in memory for fast access. However, it seems like huggingface will occupy all the memory for memory-mapped files, which makes a troublesome situation since we cluster will distribute a small portion of memory to me (once it's over ...
OPEN
2023-08-24T05:33:45
2023-10-11T06:00:10
null
https://github.com/huggingface/datasets/issues/6176
williamium3000
6
[]
6,173
Fix CI for pyarrow 13.0.0
pyarrow 13.0.0 just came out ``` FAILED tests/test_formatting.py::ArrowExtractorTest::test_pandas_extractor - AssertionError: Attributes of Series are different Attribute "dtype" are different [left]: datetime64[us, UTC] [right]: datetime64[ns, UTC] ``` ``` FAILED tests/test_table.py::test_cast_sliced_fi...
CLOSED
2023-08-23T14:11:20
2023-08-25T13:06:53
2023-08-25T13:06:53
https://github.com/huggingface/datasets/issues/6173
lhoestq
0
[]
6,172
Make Dataset streaming queries retryable
### Feature request Streaming datasets, as intended, do not load the entire dataset in memory or disk. However, while querying the next data chunk from the remote, sometimes it is possible that the service is down or there might be other issues that may cause the query to fail. In such a scenario, it would be nice to ...
OPEN
2023-08-23T13:15:38
2023-11-06T13:54:16
null
https://github.com/huggingface/datasets/issues/6172
rojagtap
4
[ "enhancement" ]
6,169
Configurations in yaml not working
### Dataset configurations cannot be created in YAML/README Hello! I'm trying to follow the docs here in order to create structure in my dataset as added from here (#5331): https://github.com/huggingface/datasets/blob/8b8e6ee067eb74e7965ca2a6768f15f9398cb7c8/docs/source/repository_structure.mdx#L110-L118 I have t...
OPEN
2023-08-23T00:13:22
2023-08-23T15:35:31
null
https://github.com/huggingface/datasets/issues/6169
tsor13
4
[]
6,163
Error type: ArrowInvalid Details: Failed to parse string: '[254,254]' as a scalar of type int32
### Describe the bug I am getting the following error while I am trying to upload the CSV sheet to train a model. My CSV sheet content is exactly same as shown in the example CSV file in the Auto Train page. Attaching screenshot of error for reference. I have also tried converting the index of the answer that are inte...
OPEN
2023-08-19T11:34:40
2025-07-22T12:04:46
null
https://github.com/huggingface/datasets/issues/6163
shishirCTC
2
[]
6,162
load_dataset('json',...) from togethercomputer/RedPajama-Data-1T errors when jsonl rows contains different data fields
### Describe the bug When loading some jsonl from redpajama-data-1T github source [togethercomputer/RedPajama-Data-1T](https://huggingface.co/datasets/togethercomputer/RedPajama-Data-1T) fails due to one row of the file containing an extra field called **symlink_target: string>**. When deleting that line the loading...
OPEN
2023-08-18T07:19:39
2023-08-18T17:00:35
null
https://github.com/huggingface/datasets/issues/6162
rbrugaro
4
[]
6,159
Add `BoundingBox` feature
... to make working with object detection datasets easier. Currently, `Sequence(int_or_float, length=4)` can be used to represent this feature optimally (in the storage backend), so I only see this feature being useful if we make it work with the viewer. Also, bounding boxes usually come in 4 different formats (explain...
OPEN
2023-08-17T20:49:51
2024-11-18T17:58:43
null
https://github.com/huggingface/datasets/issues/6159
mariosasko
1
[ "enhancement" ]
6,157
DatasetInfo.__init__() got an unexpected keyword argument '_column_requires_decoding'
### Describe the bug When I was in load_dataset, it said "DatasetInfo.__init__() got an unexpected keyword argument '_column_requires_decoding'". The second time I ran it, there was no error and the dataset object worked ```python --------------------------------------------------------------------------- TypeErr...
CLOSED
2023-08-17T15:48:11
2023-09-27T17:36:14
2023-09-27T17:36:14
https://github.com/huggingface/datasets/issues/6157
aihao2000
13
[]
6,156
Why not use self._epoch as seed to shuffle in distributed training with IterableDataset
### Describe the bug Currently, distributed training with `IterableDataset` needs to pass fixed seed to shuffle to keep each node use the same seed to avoid overlapping. https://github.com/huggingface/datasets/blob/a7f8d9019e7cb104eac4106bdc6ec0292f0dc61a/src/datasets/iterable_dataset.py#L1174-L1177 My question ...
CLOSED
2023-08-17T10:58:20
2023-08-17T14:33:15
2023-08-17T14:33:14
https://github.com/huggingface/datasets/issues/6156
npuichigo
3
[]
6,152
FolderBase Dataset automatically resolves under current directory when data_dir is not specified
### Describe the bug FolderBase Dataset automatically resolves under current directory when data_dir is not specified. For example: ``` load_dataset("audiofolder") ``` takes long time to resolve and collect data_files from current directory. But I think it should reach out to this line for error handling https:...
CLOSED
2023-08-16T04:38:09
2025-06-18T14:18:42
2025-06-18T14:18:42
https://github.com/huggingface/datasets/issues/6152
npuichigo
19
[ "good first issue" ]
6,151
Faster sorting for single key items
### Feature request A faster way to sort a dataset which contains a large number of rows. ### Motivation The current sorting implementations took significantly longer than expected when I was running on a dataset trying to sort by timestamps. **Code snippet:** ```python ds = datasets.load_dataset( "json"...
CLOSED
2023-08-15T14:02:31
2023-08-21T14:38:26
2023-08-21T14:38:25
https://github.com/huggingface/datasets/issues/6151
jackapbutler
2
[ "enhancement" ]
6,150
Allow dataset implement .take
### Feature request I want to do: ``` dataset.take(512) ``` but it only works with streaming = True ### Motivation uniform interface to data sets. Really surprising the above only works with streaming = True. ### Your contribution Should be trivial to copy paste the IterableDataset .take to use the local pa...
OPEN
2023-08-15T00:17:51
2023-08-17T13:49:37
null
https://github.com/huggingface/datasets/issues/6150
brando90
4
[ "enhancement" ]
6,149
Dataset.from_parquet cannot load subset of columns
### Describe the bug When using `Dataset.from_parquet(path_or_paths, columns=[...])` and a subset of columns, loading fails with a variant of the following ``` ValueError: Couldn't cast a: int64 -- schema metadata -- pandas: '{"index_columns": [], "column_indexes": [], "columns": [{"name":' + 273 to {'a': V...
CLOSED
2023-08-14T23:28:22
2023-08-17T22:36:05
2023-08-17T22:36:05
https://github.com/huggingface/datasets/issues/6149
dwyatte
1
[]
6,147
ValueError when running BeamBasedBuilder with GCS path in cache_dir
### Describe the bug When running the BeamBasedBuilder with a GCS path specified in the cache_dir, the following ValueError occurs: ``` ValueError: Unable to get filesystem from specified path, please use the correct path or ensure the required dependency is installed, e.g., pip install apache-beam[gcp]. Path spec...
CLOSED
2023-08-14T03:11:34
2024-03-18T16:59:15
2024-03-18T16:59:14
https://github.com/huggingface/datasets/issues/6147
ktrk115
2
[]
6,146
DatasetGenerationError when load glue benchmark datasets from `load_dataset`
### Describe the bug Package version: datasets-2.14.4 When I run the codes: ``` from datasets import load_dataset dataset = load_dataset("glue", "ax") ``` I got the following errors: --------------------------------------------------------------------------- SchemaInferenceError ...
CLOSED
2023-08-13T05:17:56
2023-08-26T22:09:09
2023-08-26T22:09:09
https://github.com/huggingface/datasets/issues/6146
yusx-swapp
4
[]
6,153
custom load dataset to hub
### System Info kaggle notebook i transformed dataset: ``` dataset = load_dataset("Dahoas/first-instruct-human-assistant-prompt") ``` to formatted_dataset: ``` Dataset({ features: ['message_tree_id', 'message_tree_text'], num_rows: 33143 }) ``` but would like to know how to upload to hub ### ...
CLOSED
2023-08-13T04:42:22
2023-11-21T11:50:28
2023-10-08T17:04:16
https://github.com/huggingface/datasets/issues/6153
andysingal
5
[]
6,144
NIH exporter file not found
### Describe the bug can't use or download the nih exporter pile data. ``` 15 experiment_compute_diveristy_coeff_single_dataset_then_combined_datasets_with_domain_weights() 16 File "/lfs/ampere1/0/brando9/beyond-scale-language-data-diversity/src/diversity/div_coeff.py", line 474, in experiment_compute_diveri...
OPEN
2023-08-11T19:05:25
2023-08-14T23:28:38
null
https://github.com/huggingface/datasets/issues/6144
brando90
6
[]
6,142
the-stack-dedup fails to generate
### Describe the bug I'm getting an error generating the-stack-dedup with datasets 2.13.1, and with 2.14.4 nothing happens. ### Steps to reproduce the bug My code: ``` import os import datasets as ds MY_CACHE_DIR = "/home/ubuntu/the-stack-dedup-local" MY_TOKEN="my-token" the_stack_ds = ds.load_dataset("...
CLOSED
2023-08-11T05:10:49
2023-08-17T09:26:13
2023-08-17T09:26:13
https://github.com/huggingface/datasets/issues/6142
michaelroyzen
4
[]
6,141
TypeError: ClientSession._request() got an unexpected keyword argument 'https'
### Describe the bug Hello, when I ran the [code snippet](https://huggingface.co/docs/datasets/v2.14.4/en/loading#json) on the document, I encountered the following problem: ``` Python 3.10.9 (main, Mar 1 2023, 18:23:06) [GCC 11.2.0] on linux Type "help", "copyright", "credits" or "license" for more informatio...
CLOSED
2023-08-11T02:40:32
2023-08-30T13:51:33
2023-08-30T13:51:33
https://github.com/huggingface/datasets/issues/6141
q935970314
1
[]
6,140
Misalignment between file format specified in configs metadata YAML and the inferred builder
There is a misalignment between the format of the `data_files` specified in the configs metadata YAML (CSV): ```yaml configs: - config_name: default data_files: - split: train path: data.csv ``` and the inferred builder (JSON). Note there are multiple JSON files in the repo, but they do not...
CLOSED
2023-08-10T15:07:34
2023-08-17T20:37:20
2023-08-17T20:37:20
https://github.com/huggingface/datasets/issues/6140
albertvillanova
0
[ "bug" ]
6,139
Offline dataset viewer
### Feature request The dataset viewer feature is very nice. It enables to the user to easily view the dataset. However, when working for private companies we cannot always upload the dataset to the hub. Is there a way to create dataset viewer offline? I.e. to run a code that will open some kind of html or something t...
CLOSED
2023-08-10T11:30:00
2024-09-24T18:36:35
2023-09-29T13:10:22
https://github.com/huggingface/datasets/issues/6139
yuvalkirstain
7
[ "enhancement", "dataset-viewer" ]
6,137
(`from_spark()`) Unable to connect HDFS in pyspark YARN setting
### Describe the bug related issue: https://github.com/apache/arrow/issues/37057#issue-1841013613 --- Hello. I'm trying to interact with HDFS storage from a driver and workers of pyspark YARN cluster. Precisely I'm using **huggingface's `datasets`** ([link](https://github.com/huggingface/datasets)) library tha...
OPEN
2023-08-10T11:03:08
2023-08-10T11:03:08
null
https://github.com/huggingface/datasets/issues/6137
kyoungrok0517
0
[]
6,136
CI check_code_quality error: E721 Do not compare types, use `isinstance()`
After latest release of `ruff` (https://pypi.org/project/ruff/0.0.284/), we get the following CI error: ``` src/datasets/utils/py_utils.py:689:12: E721 Do not compare types, use `isinstance()` ```
CLOSED
2023-08-10T10:19:50
2023-08-10T11:22:58
2023-08-10T11:22:58
https://github.com/huggingface/datasets/issues/6136
albertvillanova
0
[ "maintenance" ]
6,134
`datasets` cannot be installed alongside `apache-beam`
### Describe the bug If one installs `apache-beam` alongside `datasets` (which is required for the [wikipedia](https://huggingface.co/datasets/wikipedia#dataset-summary) dataset) in certain environments (such as a Google Colab notebook), they appear to install successfully, however, actually trying to do something s...
CLOSED
2023-08-10T06:54:32
2023-09-01T03:19:49
2023-08-10T15:22:10
https://github.com/huggingface/datasets/issues/6134
boyleconnor
1
[]
6,133
Dataset is slower after calling `to_iterable_dataset`
### Describe the bug Can anyone explain why looping over a dataset becomes slower after calling `to_iterable_dataset` to convert to `IterableDataset` ### Steps to reproduce the bug Any dataset after converting to `IterableDataset` ### Expected behavior Maybe it should be faster on big dataset? I only test on small...
OPEN
2023-08-10T06:36:23
2023-08-16T09:18:54
null
https://github.com/huggingface/datasets/issues/6133
npuichigo
2
[]
6,132
to_iterable_dataset is missing in document
### Describe the bug to_iterable_dataset is missing in document ### Steps to reproduce the bug to_iterable_dataset is missing in document ### Expected behavior document enhancement ### Environment info unrelated
CLOSED
2023-08-09T15:15:03
2023-08-16T04:43:36
2023-08-16T04:43:29
https://github.com/huggingface/datasets/issues/6132
npuichigo
1
[]
6,130
default config name doesn't work when config kwargs are specified.
### Describe the bug https://github.com/huggingface/datasets/blob/12cfc1196e62847e2e8239fbd727a02cbc86ddec/src/datasets/builder.py#L518-L522 If `config_name` is `None`, `DEFAULT_CONFIG_NAME` should be select. But once users pass `config_kwargs` to their customized `BuilderConfig`, the logic is ignored, and dataset ...
CLOSED
2023-08-09T12:43:15
2023-11-22T11:50:49
2023-11-22T11:50:48
https://github.com/huggingface/datasets/issues/6130
npuichigo
15
[]
6,128
IndexError: Invalid key: 88 is out of bounds for size 0
### Describe the bug This bug generates when I use torch.compile(model) in my code, which seems to raise an error in datasets lib. ### Steps to reproduce the bug I use the following code to fine-tune Falcon on my private dataset. ```python import transformers from transformers import ( AutoModelForCausalLM...
CLOSED
2023-08-08T15:32:08
2023-12-26T07:51:57
2023-08-11T13:35:09
https://github.com/huggingface/datasets/issues/6128
TomasAndersonFang
5
[]
6,126
Private datasets do not load when passing token
### Describe the bug Since the release of `datasets` 2.14, private/gated datasets do not load when passing `token`: they raise `EmptyDatasetError`. This is a non-planned backward incompatible breaking change. Note that private datasets do load if instead `download_config` is passed: ```python from datasets i...
CLOSED
2023-08-07T15:06:47
2023-08-08T15:16:23
2023-08-08T15:16:23
https://github.com/huggingface/datasets/issues/6126
albertvillanova
4
[ "bug" ]
6,125
Reinforcement Learning and Robotics are not task categories in HF datasets metadata
### Describe the bug In https://huggingface.co/models there are task categories for RL and robotics but none in https://huggingface.co/datasets Our lab is currently moving our datasets over to hugging face and would like to be able to add those 2 tags Moreover we see some older datasets that do have that tag, bu...
CLOSED
2023-08-05T23:59:42
2023-08-18T12:28:42
2023-08-18T12:28:42
https://github.com/huggingface/datasets/issues/6125
StoneT2000
0
[]
6,124
Datasets crashing runs due to KeyError
### Describe the bug Hi all, I have been running into a pretty persistent issue recently when trying to load datasets. ```python train_dataset = load_dataset( 'llama-2-7b-tokenized', split = 'train' ) ``` I receive a KeyError which crashes the runs. ``` Traceback (most recent call...
CLOSED
2023-08-05T17:48:56
2023-11-30T16:28:57
2023-11-30T16:28:57
https://github.com/huggingface/datasets/issues/6124
conceptofmind
7
[]
6,123
Inaccurate Bounding Boxes in "wildreceipt" Dataset
### Describe the bug I would like to bring to your attention an issue related to the accuracy of bounding boxes within the "wildreceipt" dataset, which is made available through the Hugging Face API. Specifically, I have identified a discrepancy between the bounding boxes generated by the dataset loading commands, n...
CLOSED
2023-08-05T14:34:13
2023-08-17T14:25:27
2023-08-17T14:25:26
https://github.com/huggingface/datasets/issues/6123
HamzaGbada
1
[]
6,122
Upload README via `push_to_hub`
### Feature request `push_to_hub` now allows users to upload datasets programmatically. However, based on the latest doc, we still need to open the dataset page to add readme file manually. However, I do discover snippets to intialize a README for every `push_to_hub`: ``` dataset_card = ( DatasetCard( ...
CLOSED
2023-08-04T21:00:27
2023-08-21T18:18:54
2023-08-21T18:18:54
https://github.com/huggingface/datasets/issues/6122
liyucheng09
1
[ "enhancement" ]
6,120
Lookahead streaming support?
### Feature request From what I understand, streaming dataset currently pulls the data, and process the data as it is requested. This can introduce significant latency delays when data is loaded into the training process, needing to wait for each segment. While the delays might be dataset specific (or even mappi...
OPEN
2023-08-04T04:01:52
2023-08-17T17:48:42
null
https://github.com/huggingface/datasets/issues/6120
PicoCreator
1
[ "enhancement" ]
6,118
IterableDataset.from_generator() fails with pickle error when provided a generator or iterator
### Describe the bug **Description** Providing a generator in an instantiation of IterableDataset.from_generator() fails with `TypeError: cannot pickle 'generator' object` when the generator argument is supplied with a generator. **Code example** ``` def line_generator(files: List[Path]): if isinstance(f...
OPEN
2023-08-04T01:45:04
2025-11-18T16:07:04
null
https://github.com/huggingface/datasets/issues/6118
finkga
4
[]
6,116
[Docs] The "Process" how-to guide lacks description of `select_columns` function
### Feature request The [how to process dataset guide](https://huggingface.co/docs/datasets/main/en/process) currently does not mention the [`select_columns`](https://huggingface.co/docs/datasets/main/en/package_reference/main_classes#datasets.Dataset.select_columns) function. It would be nice to include it in the gui...
CLOSED
2023-08-03T13:45:10
2023-08-16T10:02:53
2023-08-16T10:02:53
https://github.com/huggingface/datasets/issues/6116
unifyh
1
[ "enhancement" ]
6,114
Cache not being used when loading commonvoice 8.0.0
### Describe the bug I have commonvoice 8.0.0 downloaded in `~/.cache/huggingface/datasets/mozilla-foundation___common_voice_8_0/en/8.0.0/b2f8b72f8f30b2e98c41ccf855954d9e35a5fa498c43332df198534ff9797a4a`. The folder contains all the arrow files etc, and was used as the cached version last time I touched the ec2 ins...
CLOSED
2023-08-02T23:18:11
2023-08-18T23:59:00
2023-08-18T23:59:00
https://github.com/huggingface/datasets/issues/6114
clabornd
2
[]
6,113
load_dataset() fails with streamlit caching inside docker
### Describe the bug When calling `load_dataset` in a streamlit application running within a docker container, get a failure with the error message: EmptyDatasetError: The directory at hf://datasets/fetch-rewards/inc-rings-2000@bea27cf60842b3641eae418f38864a2ec4cde684 doesn't contain any data files Traceback: Fil...
CLOSED
2023-08-02T20:20:26
2023-08-21T18:18:27
2023-08-21T18:18:27
https://github.com/huggingface/datasets/issues/6113
fierval
1
[]
6,112
yaml error using push_to_hub with generated README.md
### Describe the bug When I construct a dataset with the following features: ``` features = Features( { "pixel_values": Array3D(dtype="float64", shape=(3, 224, 224)), "input_ids": Sequence(feature=Value(dtype="int64")), "attention_mask": Sequence(Value(dtype="int64")), "token...
CLOSED
2023-08-02T18:21:21
2023-12-12T15:00:44
2023-12-12T15:00:44
https://github.com/huggingface/datasets/issues/6112
kevintee
1
[]
6,111
raise FileNotFoundError("Directory {dataset_path} is neither a `Dataset` directory nor a `DatasetDict` directory." )
### Describe the bug For researchers in some countries or regions, it is usually the case that the download ability of `load_dataset` is disabled due to the complex network environment. People in these regions often prefer to use git clone or other programming tricks to manually download the files to the disk (for exa...
CLOSED
2023-08-02T09:17:29
2023-08-29T02:00:28
2023-08-29T02:00:28
https://github.com/huggingface/datasets/issues/6111
2catycm
3
[]
6,110
[BUG] Dataset initialized from in-memory data does not create cache.
### Describe the bug `Dataset` initialized from in-memory data (dictionary in my case, haven't tested with other types) does not create cache when processed with the `map` method, unlike `Dataset` initialized by other methods such as `load_dataset`. ### Steps to reproduce the bug ```python # below code was ru...
CLOSED
2023-08-01T11:58:58
2023-08-17T14:03:01
2023-08-17T14:03:00
https://github.com/huggingface/datasets/issues/6110
MattYoon
1
[]
6,109
Problems in downloading Amazon reviews from HF
### Describe the bug I have a script downloading `amazon_reviews_multi`. When the download starts, I get ``` Downloading data files: 0%| | 0/1 [00:00<?, ?it/s] Downloading data: 243B [00:00, 1.43MB/s] Downloading data files: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 1/1 [00:01<00:00, 1.54s/it] Extracting data files: 100%...
CLOSED
2023-08-01T08:38:29
2025-07-18T17:47:30
2023-08-02T07:12:07
https://github.com/huggingface/datasets/issues/6109
610v4nn1
3
[]
6,108
Loading local datasets got strangely stuck
### Describe the bug I try to use `load_dataset()` to load several local `.jsonl` files as a dataset. Every line of these files is a json structure only containing one key `text` (yeah it is a dataset for NLP model). The code snippet is as: ```python ds = load_dataset("json", data_files=LIST_OF_FILE_PATHS, num_proc=...
OPEN
2023-08-01T02:28:06
2024-12-31T16:01:00
null
https://github.com/huggingface/datasets/issues/6108
LoveCatc
7
[]