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
5,354
Consider using "Sequence" instead of "List"
### Feature request Hi, please consider using `Sequence` type annotation instead of `List` in function arguments such as in [`Dataset.from_parquet()`](https://github.com/huggingface/datasets/blob/main/src/datasets/arrow_dataset.py#L1088). It leads to type checking errors, see below. **How to reproduce** ```py ...
OPEN
2022-12-12T15:39:45
2025-11-21T22:35:10
null
https://github.com/huggingface/datasets/issues/5354
tranhd95
13
[ "enhancement", "good first issue" ]
5,353
Support remote file systems for `Audio`
### Feature request Hi there! It would be super cool if `Audio()`, and potentially other features, could read files from a remote file system. ### Motivation Large amounts of data is often stored in buckets. `load_from_disk` is able to retrieve data from cloud storage but to my knowledge actually copies the datas...
CLOSED
2022-12-12T13:22:13
2022-12-12T13:37:14
2022-12-12T13:37:14
https://github.com/huggingface/datasets/issues/5353
OllieBroadhurst
1
[ "enhancement" ]
5,352
__init__() got an unexpected keyword argument 'input_size'
### Describe the bug I try to define a custom configuration with a input_size attribute following the instructions by "Specifying several dataset configurations" in https://huggingface.co/docs/datasets/v1.2.1/add_dataset.html But when I load the dataset, I got an error "__init__() got an unexpected keyword argument...
OPEN
2022-12-12T02:52:03
2022-12-19T01:38:48
null
https://github.com/huggingface/datasets/issues/5352
J-shel
2
[]
5,351
Do we need to implement `_prepare_split`?
### Describe the bug I'm not sure this is a bug or if it's just missing in the documentation, or i'm not doing something correctly, but I'm subclassing `DatasetBuilder` and getting the following error because on the `DatasetBuilder` class the `_prepare_split` method is abstract (as are the others we are required to im...
CLOSED
2022-12-12T01:38:54
2022-12-20T18:20:57
2022-12-12T16:48:56
https://github.com/huggingface/datasets/issues/5351
jmwoloso
11
[]
5,348
The data downloaded in the download folder of the cache does not respect `umask`
### Describe the bug For a project on a cluster we are several users to share the same cache for the datasets library. And we have a problem with the permissions on the data downloaded in the cache. Indeed, it seems that the data is downloaded by giving read and write permissions only to the user launching the com...
OPEN
2022-12-09T15:46:27
2022-12-09T17:21:26
null
https://github.com/huggingface/datasets/issues/5348
SaulLu
1
[]
5,346
[Quick poll] Give your opinion on the future of the Hugging Face Open Source ecosystem!
Thanks to all of you, Datasets is just about to pass 15k stars! Since the last survey, a lot has happened: the [diffusers](https://github.com/huggingface/diffusers), [evaluate](https://github.com/huggingface/evaluate) and [skops](https://github.com/skops-dev/skops) libraries were born. `timm` joined the Hugging Face...
CLOSED
2022-12-09T14:48:02
2023-06-02T20:24:44
2023-01-25T19:35:40
https://github.com/huggingface/datasets/issues/5346
LysandreJik
3
[]
5,345
Wrong dtype for array in audio features
### Describe the bug When concatenating/interleaving different datasets, I stumble into an error because the features can't be aligned. After some investigation, I understood that the audio arrays had different dtypes, namely `float32` and `float64`. Consequently, the datasets cannot be merged. ### Steps to repro...
OPEN
2022-12-09T11:05:11
2023-02-10T14:39:28
null
https://github.com/huggingface/datasets/issues/5345
qmeeus
3
[]
5,343
T5 for Q&A produces truncated sentence
Dear all, I am fine-tuning T5 for Q&A task using the MedQuAD ([GitHub - abachaa/MedQuAD: Medical Question Answering Dataset of 47,457 QA pairs created from 12 NIH websites](https://github.com/abachaa/MedQuAD)) dataset. In the dataset, there are many long answers with thousands of words. I have used pytorch_lightning to...
CLOSED
2022-12-08T19:48:46
2022-12-08T19:57:17
2022-12-08T19:57:17
https://github.com/huggingface/datasets/issues/5343
junyongyou
0
[]
5,342
Emotion dataset cannot be downloaded
### Describe the bug The emotion dataset gives a FileNotFoundError. The full error is: `FileNotFoundError: Couldn't find file at https://www.dropbox.com/s/1pzkadrvffbqw6o/train.txt?dl=1`. It was working yesterday (December 7, 2022), but stopped working today (December 8, 2022). ### Steps to reproduce the bug ...
CLOSED
2022-12-08T19:07:09
2023-02-23T19:13:19
2022-12-09T10:46:11
https://github.com/huggingface/datasets/issues/5342
cbarond
7
[ "duplicate" ]
5,338
`map()` stops every 1000 steps
### Describe the bug I am passing the following `prepare_dataset` function to `Dataset.map` (code is inspired from [here](https://github.com/huggingface/community-events/blob/main/whisper-fine-tuning-event/run_speech_recognition_seq2seq_streaming.py#L454)) ```python3 def prepare_dataset(batch): # load and res...
CLOSED
2022-12-07T19:09:40
2025-02-14T18:10:07
2022-12-10T00:39:28
https://github.com/huggingface/datasets/issues/5338
bayartsogt-ya
3
[]
5,337
Support webdataset format
Webdataset is an efficient format for iterable datasets. It would be nice to support it in `datasets`, as discussed in https://github.com/rom1504/img2dataset/issues/234. In particular it would be awesome to be able to load one using `load_dataset` in streaming mode (either from a local directory, or from a dataset o...
CLOSED
2022-12-07T11:32:25
2024-03-06T14:39:29
2024-03-06T14:39:28
https://github.com/huggingface/datasets/issues/5337
lhoestq
5
[]
5,332
Passing numpy array to ClassLabel names causes ValueError
### Describe the bug If a numpy array is passed to the names argument of ClassLabel, creating a dataset with those features causes an error. ### Steps to reproduce the bug https://colab.research.google.com/drive/1cV_es1PWZiEuus17n-2C-w0KEoEZ68IX TLDR: If I define my classes as: ``` my_classes = np.array(['on...
CLOSED
2022-12-05T12:59:03
2022-12-22T16:32:50
2022-12-22T16:32:50
https://github.com/huggingface/datasets/issues/5332
freddyheppell
5
[]
5,326
No documentation for main branch is built
Since: - #5250 - Commit: 703b84311f4ead83c7f79639f2dfa739295f0be6 the docs for main branch are no longer built. The change introduced only triggers the docs building for releases.
CLOSED
2022-12-01T16:50:58
2022-12-02T16:26:01
2022-12-02T16:26:01
https://github.com/huggingface/datasets/issues/5326
albertvillanova
0
[ "bug" ]
5,325
map(...batch_size=None) for IterableDataset
### Feature request Dataset.map(...) allows batch_size to be None. It would be nice if IterableDataset did too. ### Motivation Although it may seem a bit of a spurious request given that `IterableDataset` is meant for larger than memory datasets, but there are a couple of reasons why this might be nice. One is th...
CLOSED
2022-12-01T15:43:42
2022-12-07T15:54:43
2022-12-07T15:54:42
https://github.com/huggingface/datasets/issues/5325
frankier
5
[ "enhancement", "good first issue" ]
5,324
Fix docstrings and types in documentation that appears on the website
While I was working on https://github.com/huggingface/datasets/pull/5313 I've noticed that we have a mess in how we annotate types and format args and return values in the code. And some of it is displayed in the [Reference section](https://huggingface.co/docs/datasets/package_reference/builder_classes) of the document...
OPEN
2022-12-01T15:34:53
2024-01-23T16:21:54
null
https://github.com/huggingface/datasets/issues/5324
polinaeterna
5
[ "documentation" ]
5,323
Duplicated Keys in Taskmaster-2 Dataset
### Describe the bug Loading certain splits () of the taskmaster-2 dataset fails because of a DuplicatedKeysError. This occurs for the following domains: `'hotels', 'movies', 'music', 'sports'`. The domains `'flights', 'food-ordering', 'restaurant-search'` load fine. Output: ### Steps to reproduce the bug ``` ...
CLOSED
2022-12-01T15:31:06
2022-12-01T16:26:06
2022-12-01T16:26:06
https://github.com/huggingface/datasets/issues/5323
liaeh
2
[]
5,317
`ImageFolder` performs poorly with large datasets
### Describe the bug While testing image dataset creation, I'm seeing significant performance bottlenecks with imagefolders when scanning a directory structure with large number of images. ## Setup * Nested directories (5 levels deep) * 3M+ images * 1 `metadata.jsonl` file ## Performance Degradation Point...
OPEN
2022-12-01T00:04:21
2022-12-01T21:49:26
null
https://github.com/huggingface/datasets/issues/5317
salieri
3
[]
5,316
Bug in sample_by="paragraph"
### Describe the bug I think [this line](https://github.com/huggingface/datasets/blob/main/src/datasets/packaged_modules/text/text.py#L96) is wrong and should be `batch = f.read(self.config.chunksize)`. Otherwise it will never terminate because even when `f` is finished reading, `batch` will still be truthy from the l...
CLOSED
2022-11-30T19:24:13
2022-12-01T15:19:02
2022-12-01T15:19:02
https://github.com/huggingface/datasets/issues/5316
adampauls
1
[]
5,315
Adding new splits to a dataset script with existing old splits info in metadata's `dataset_info` fails
### Describe the bug If you first create a custom dataset with a specific set of splits, generate metadata with `datasets-cli test ... --save_info`, then change your script to include more splits, it fails. That's what happened in https://huggingface.co/datasets/mrdbourke/food_vision_199_classes/discussions/2#6385f...
OPEN
2022-11-30T18:02:15
2022-12-02T07:02:53
null
https://github.com/huggingface/datasets/issues/5315
polinaeterna
3
[ "bug" ]
5,314
Datasets: classification_report() got an unexpected keyword argument 'suffix'
https://github.com/huggingface/datasets/blob/main/metrics/seqeval/seqeval.py > import datasets predictions = [['O', 'O', 'B-MISC', 'I-MISC', 'I-MISC', 'I-MISC', 'O'], ['B-PER', 'I-PER', 'O']] references = [['O', 'O', 'O', 'B-MISC', 'I-MISC', 'I-MISC', 'O'], ['B-PER', 'I-PER', 'O']] seqeval = datasets.load_metri...
CLOSED
2022-11-30T14:01:03
2023-07-21T14:40:31
2023-07-21T14:40:31
https://github.com/huggingface/datasets/issues/5314
JonathanAlis
2
[]
5,306
Can't use custom feature description when loading a dataset
### Describe the bug I have created a feature dictionary to describe my datasets' column types, to use when loading the dataset, following [the doc](https://huggingface.co/docs/datasets/main/en/about_dataset_features). It crashes at dataset load. ### Steps to reproduce the bug ```python # Creating features task_...
CLOSED
2022-11-28T07:55:44
2022-11-28T08:11:45
2022-11-28T08:11:44
https://github.com/huggingface/datasets/issues/5306
clefourrier
1
[]
5,305
Dataset joelito/mc4_legal does not work with multiple files
### Describe the bug The dataset https://huggingface.co/datasets/joelito/mc4_legal works for languages like bg with a single data file, but not for languages with multiple files like de. It shows zero rows for the de dataset. joelniklaus@Joels-MacBook-Pro ~/N/P/C/L/p/m/mc4_legal (main) [1]> python test_mc4_legal....
CLOSED
2022-11-28T00:16:16
2022-11-28T07:22:42
2022-11-28T07:22:42
https://github.com/huggingface/datasets/issues/5305
JoelNiklaus
2
[]
5,304
timit_asr doesn't load the test split.
### Describe the bug When I use the function ```timit = load_dataset('timit_asr', data_dir=data_dir)```, it only loads train split, not test split. I tried to change the directory and filename to lower case to upper case for the test split, but it does not work at all. ```python DatasetDict({ train: Datase...
CLOSED
2022-11-26T10:18:22
2023-02-10T16:33:21
2023-02-10T16:33:21
https://github.com/huggingface/datasets/issues/5304
seyong92
1
[]
5,298
Bug in xopen with Windows pathnames
Currently, `xopen` function has a bug with local Windows pathnames: From its implementation: ```python def xopen(file: str, mode="r", *args, **kwargs): file = _as_posix(PurePath(file)) main_hop, *rest_hops = file.split("::") if is_local_path(main_hop): return open(file, mode, *args, **kwarg...
CLOSED
2022-11-25T15:21:32
2022-11-29T08:21:25
2022-11-29T08:21:25
https://github.com/huggingface/datasets/issues/5298
albertvillanova
0
[ "bug" ]
5,296
Bug in xjoin with Windows pathnames
Currently, `xjoin` function has a bug with local Windows pathnames: instead of returning the OS-dependent join pathname, it always returns it in POSIX format. ```python from datasets.download.streaming_download_manager import xjoin path = xjoin("C:\\Users\\USERNAME", "filename.txt") ``` Join path should be: ...
CLOSED
2022-11-25T13:29:33
2022-11-29T08:05:13
2022-11-29T08:05:13
https://github.com/huggingface/datasets/issues/5296
albertvillanova
0
[ "bug" ]
5,295
Extractions failed when .zip file located on read-only path (e.g., SageMaker FastFile mode)
### Describe the bug Hi, `load_dataset()` does not work .zip files located on a read-only directory. Looks like it's because Dataset creates a lock file in the [same directory](https://github.com/huggingface/datasets/blob/df4bdd365f2abb695f113cbf8856a925bc70901b/src/datasets/utils/extract.py) as the .zip file. ...
CLOSED
2022-11-25T03:59:43
2023-07-21T14:39:09
2023-07-21T14:39:09
https://github.com/huggingface/datasets/issues/5295
verdimrc
2
[]
5,293
Support streaming datasets with pathlib.Path.with_suffix
Extend support for streaming datasets that use `pathlib.Path.with_suffix`. This feature will be useful e.g. for datasets containing text files and annotated files with the same name but different extension.
CLOSED
2022-11-24T17:52:08
2022-11-29T07:06:33
2022-11-29T07:06:33
https://github.com/huggingface/datasets/issues/5293
albertvillanova
0
[ "enhancement" ]
5,292
Missing documentation build for versions 2.7.1 and 2.6.2
After the patch releases [2.7.1](https://github.com/huggingface/datasets/releases/tag/2.7.1) and [2.6.2](https://github.com/huggingface/datasets/releases/tag/2.6.2), the online docs were not properly built (the build_documentation workflow was not triggered). There was a fix by: - #5291 However, both documentati...
CLOSED
2022-11-24T09:42:10
2022-11-24T10:10:02
2022-11-24T10:10:02
https://github.com/huggingface/datasets/issues/5292
albertvillanova
1
[ "maintenance" ]
5,288
Lossy json serialization - deserialization of dataset info
### Describe the bug Saving a dataset to disk as json (using `to_json`) and then loading it again (using `load_dataset`) results in features whose labels are not type-cast correctly. In the code snippet below, `features.label` should have a label of type `ClassLabel` but has type `Value` instead. ### Steps to re...
OPEN
2022-11-23T17:20:15
2022-11-25T12:53:51
null
https://github.com/huggingface/datasets/issues/5288
anuragprat1k
1
[]
5,286
FileNotFoundError: Couldn't find file at https://dumps.wikimedia.org/enwiki/20220301/dumpstatus.json
### Describe the bug I follow the steps provided on the website [https://huggingface.co/datasets/wikipedia](https://huggingface.co/datasets/wikipedia) $ pip install apache_beam mwparserfromhell >>> from datasets import load_dataset >>> load_dataset("wikipedia", "20220301.en") however this results in the follo...
CLOSED
2022-11-23T14:54:15
2024-11-23T01:16:41
2022-11-25T11:33:14
https://github.com/huggingface/datasets/issues/5286
roritol
3
[]
5,284
Features of IterableDataset set to None by remove column
### Describe the bug The `remove_column` method of the IterableDataset sets the dataset features to None. ### Steps to reproduce the bug ```python from datasets import Audio, load_dataset # load LS in streaming mode dataset = load_dataset("librispeech_asr", "clean", split="validation", streaming=True) ...
CLOSED
2022-11-23T10:54:59
2025-02-07T11:36:41
2022-11-28T12:53:24
https://github.com/huggingface/datasets/issues/5284
sanchit-gandhi
19
[ "bug", "streaming" ]
5,281
Support cloud storage in load_dataset
Would be nice to be able to do ```python data_files=["s3://..."] # or gs:// or any cloud storage path storage_options = {...} load_dataset(..., data_files=data_files, storage_options=storage_options) ``` The idea would be to use `fsspec` as in `download_and_prepare` and `save_to_disk`. This has been reque...
OPEN
2022-11-22T14:00:10
2024-11-15T15:03:41
null
https://github.com/huggingface/datasets/issues/5281
lhoestq
31
[ "enhancement", "good second issue" ]
5,280
Import error
https://github.com/huggingface/datasets/blob/cd3d8e637cfab62d352a3f4e5e60e96597b5f0e9/src/datasets/__init__.py#L28 Hy, I have error at the above line. I have python version 3.8.13, the message says I need python>=3.7, which is True, but I think the if statement not working properly (or the message wrong)
CLOSED
2022-11-22T12:56:43
2022-12-15T19:57:40
2022-12-15T19:57:40
https://github.com/huggingface/datasets/issues/5280
feketedavid1012
5
[]
5,278
load_dataset does not read jsonl metadata file properly
### Describe the bug Hi, I'm following [this page](https://huggingface.co/docs/datasets/image_dataset) to create a dataset of images and captions via an image folder and a metadata.json file, but I can't seem to get the dataloader to recognize the "text" column. It just spits out "image" and "label" as features. B...
CLOSED
2022-11-22T10:24:46
2023-02-14T14:48:16
2022-11-23T11:38:35
https://github.com/huggingface/datasets/issues/5278
065294847
6
[]
5,276
Bug in downloading common_voice data and snall chunk of it to one's own hub
### Describe the bug I'm trying to load the common voice dataset. Currently there is no implementation to download just par tof the data, and I need just one part of it, without downloading the entire dataset Help please? ![image](https://user-images.githubusercontent.com/48530104/203260511-26df766f-6013-4...
CLOSED
2022-11-22T08:17:53
2023-07-21T14:33:10
2023-07-21T14:33:10
https://github.com/huggingface/datasets/issues/5276
capsabogdan
17
[]
5,275
YAML integer keys are not preserved Hub server-side
After an internal discussion (https://github.com/huggingface/moon-landing/issues/4563): - YAML integer keys are not preserved server-side: they are transformed to strings - See for example this Hub PR: https://huggingface.co/datasets/acronym_identification/discussions/1/files - Original: ```yaml ...
CLOSED
2022-11-22T08:14:47
2023-01-26T10:52:35
2023-01-26T10:40:21
https://github.com/huggingface/datasets/issues/5275
albertvillanova
13
[ "bug" ]
5,274
load_dataset possibly broken for gated datasets?
### Describe the bug When trying to download the [winoground dataset](https://huggingface.co/datasets/facebook/winoground), I get this error unless I roll back the version of huggingface-hub: ``` [/usr/local/lib/python3.7/dist-packages/huggingface_hub/utils/_validators.py](https://localhost:8080/#) in validate_rep...
CLOSED
2022-11-21T21:59:53
2023-05-27T00:06:14
2022-11-28T02:50:42
https://github.com/huggingface/datasets/issues/5274
TristanThrush
9
[]
5,273
download_mode="force_redownload" does not refresh cached dataset
### Describe the bug `load_datasets` does not refresh dataset when features are imported from external file, even with `download_mode="force_redownload"`. The bug is not limited to nested fields, however it is more likely to occur with nested fields. ### Steps to reproduce the bug To reproduce the bug 3 files are ne...
OPEN
2022-11-21T14:12:43
2022-11-21T14:13:03
null
https://github.com/huggingface/datasets/issues/5273
nomisto
0
[]
5,272
Use pyarrow Tensor dtype
### Feature request I was going the discussion of converting tensors to lists. Is there a way to leverage pyarrow's Tensors for nested arrays / embeddings? For example: ```python import pyarrow as pa import numpy as np x = np.array([[2, 2, 4], [4, 5, 100]], np.int32) pa.Tensor.from_numpy(x, dim_names=["dim1...
OPEN
2022-11-20T15:18:41
2024-11-11T03:03:17
null
https://github.com/huggingface/datasets/issues/5272
franz101
17
[ "enhancement" ]
5,270
When len(_URLS) > 16, download will hang
### Describe the bug ```python In [9]: dataset = load_dataset('Freed-Wu/kodak', split='test') Downloading: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 2.53k/2.53k [00:00<00:00, 1.88MB/s] [1...
OPEN
2022-11-19T14:27:41
2022-11-21T15:27:16
null
https://github.com/huggingface/datasets/issues/5270
Freed-Wu
7
[]
5,269
Shell completions
### Feature request Like <https://github.com/huggingface/huggingface_hub/issues/1197>, datasets-cli maybe need it, too. ### Motivation See above. ### Your contribution Maybe.
CLOSED
2022-11-19T13:48:59
2022-11-21T15:06:15
2022-11-21T15:06:14
https://github.com/huggingface/datasets/issues/5269
Freed-Wu
2
[ "enhancement" ]
5,265
Get an IterableDataset from a map-style Dataset
This is useful to leverage iterable datasets specific features like: - fast approximate shuffling - lazy map, filter etc. Iterating over the resulting iterable dataset should be at least as fast at iterating over the map-style dataset. Here are some ideas regarding the API: ```python # 1. # - consistency wi...
CLOSED
2022-11-18T14:54:40
2023-02-01T16:36:03
2023-02-01T16:36:03
https://github.com/huggingface/datasets/issues/5265
lhoestq
1
[ "enhancement", "streaming" ]
5,264
`datasets` can't read a Parquet file in Python 3.9.13
### Describe the bug I have an error when trying to load this [dataset](https://huggingface.co/datasets/bigcode/the-stack-dedup-pjj) (it's private but I can add you to the bigcode org). `datasets` can't read one of the parquet files in the Java subset ```python from datasets import load_dataset ds = load_data...
CLOSED
2022-11-18T14:44:01
2023-05-07T09:52:59
2022-11-22T11:18:08
https://github.com/huggingface/datasets/issues/5264
loubnabnl
16
[ "bug" ]
5,263
Save a dataset in a determined number of shards
This is useful to distribute the shards to training nodes. This can be implemented in `save_to_disk` and can also leverage multiprocessing to speed up the process
CLOSED
2022-11-18T14:43:54
2022-12-14T18:22:59
2022-12-14T18:22:59
https://github.com/huggingface/datasets/issues/5263
lhoestq
0
[ "enhancement" ]
5,262
AttributeError: 'Value' object has no attribute 'names'
Hello I'm trying to build a model for custom token classification I already followed the token classification course on huggingface while adapting the code to my work, this message occures : 'Value' object has no attribute 'names' Here's my code: `raw_datasets` generates DatasetDict({ train: Datas...
CLOSED
2022-11-18T13:58:42
2022-11-22T10:09:24
2022-11-22T10:09:23
https://github.com/huggingface/datasets/issues/5262
emnaboughariou
2
[]
5,261
Add PubTables-1M
### Name PubTables-1M ### Paper https://openaccess.thecvf.com/content/CVPR2022/html/Smock_PubTables-1M_Towards_Comprehensive_Table_Extraction_From_Unstructured_Documents_CVPR_2022_paper.html ### Data https://github.com/microsoft/table-transformer ### Motivation Table Transformer is now available in πŸ€— Transforme...
OPEN
2022-11-18T07:56:36
2022-11-18T08:02:18
null
https://github.com/huggingface/datasets/issues/5261
NielsRogge
1
[ "dataset request" ]
5,260
consumer-finance-complaints dataset not loading
### Describe the bug Error during dataset loading ### Steps to reproduce the bug ``` >>> import datasets >>> cf_raw = datasets.load_dataset("consumer-finance-complaints") Downloading builder script: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ...
OPEN
2022-11-17T20:10:26
2022-11-18T10:16:53
null
https://github.com/huggingface/datasets/issues/5260
adiprasad
3
[]
5,259
datasets 2.7 introduces sharding error
### Describe the bug dataset fails to load with runtime error `RuntimeError: Sharding is ambiguous for this dataset: we found several data sources lists of different lengths, and we don't know over which list we should parallelize: - key audio_files has length 46 - key data has length 0 To fix this, check the ...
CLOSED
2022-11-17T15:36:52
2022-12-24T01:44:02
2022-11-18T12:52:05
https://github.com/huggingface/datasets/issues/5259
DCNemesis
3
[]
5,258
Restore order of split names in dataset_info for canonical datasets
After a bulk edit of canonical datasets to create the YAML `dataset_info` metadata, the split names were accidentally sorted alphabetically. See for example: - https://huggingface.co/datasets/bc2gm_corpus/commit/2384629484401ecf4bb77cd808816719c424e57c Note that this order is the one appearing in the preview of the...
CLOSED
2022-11-17T15:13:15
2023-02-16T09:49:05
2022-11-19T06:51:37
https://github.com/huggingface/datasets/issues/5258
albertvillanova
3
[ "dataset contribution" ]
5,255
Add a Depth Estimation dataset - DIODE / NYUDepth / KITTI
### Name NYUDepth ### Paper http://cs.nyu.edu/~silberman/papers/indoor_seg_support.pdf ### Data https://cs.nyu.edu/~silberman/datasets/nyu_depth_v2.html ### Motivation Depth estimation is an important problem in computer vision. We have a couple of Depth Estimation models on Hub as well: * [GLPN...
CLOSED
2022-11-17T03:22:22
2022-12-17T12:20:38
2022-12-17T12:20:37
https://github.com/huggingface/datasets/issues/5255
sayakpaul
21
[ "dataset request" ]
5,251
Docs are not generated after latest release
After the latest `datasets` release version 0.7.0, the docs were not generated. As we have changed the release procedure (so that now we do not push directly to main branch), maybe we should also change the corresponding GitHub action: https://github.com/huggingface/datasets/blob/edf1902f954c5568daadebcd8754bdad4...
CLOSED
2022-11-16T14:59:31
2022-11-22T16:27:50
2022-11-22T16:27:50
https://github.com/huggingface/datasets/issues/5251
albertvillanova
8
[ "maintenance" ]
5,249
Protect the main branch from inadvertent direct pushes
We have decided to implement a protection mechanism in this repository, so that nobody (not even administrators) can inadvertently push accidentally directly to the main branch. See context here: - d7c942228b8dcf4de64b00a3053dce59b335f618 To do: - [x] Protect main branch - Settings > Branches > Branch protec...
CLOSED
2022-11-16T14:19:03
2023-12-21T10:28:27
2023-12-21T10:28:26
https://github.com/huggingface/datasets/issues/5249
albertvillanova
1
[ "maintenance" ]
5,245
Unable to rename columns in streaming dataset
### Describe the bug Trying to rename column in a streaming datasets, destroys the features object. ### Steps to reproduce the bug The following code illustrates the error: ``` from datasets import load_dataset dataset = load_dataset('mc4', 'en', streaming=True, split='train') dataset.info.features # {'text':...
CLOSED
2022-11-15T21:04:41
2022-11-28T12:53:24
2022-11-28T12:53:24
https://github.com/huggingface/datasets/issues/5245
peregilk
7
[]
5,244
Allow dataset streaming from private a private source when loading a dataset with a dataset loading script
### Feature request Add arguments to the function _get_authentication_headers_for_url_ like custom_endpoint and custom_token in order to add flexibility when downloading files from a private source. It should also be possible to provide these arguments from the dataset loading script, maybe giving them to the dl_...
OPEN
2022-11-15T16:02:10
2022-11-23T14:02:30
null
https://github.com/huggingface/datasets/issues/5244
bruno-hays
5
[ "enhancement" ]
5,243
Download only split data
### Feature request Is it possible to download only the data that I am requesting and not the entire dataset? I run out of disk spaceas it seems to download the entire dataset, instead of only the part needed. common_voice["test"] = load_dataset("mozilla-foundation/common_voice_11_0", "en", split="test", ...
OPEN
2022-11-15T10:15:54
2025-02-25T14:47:03
null
https://github.com/huggingface/datasets/issues/5243
capsabogdan
7
[ "enhancement" ]
5,242
Failed Data Processing upon upload with zip file full of images
I went to autotrain and under image classification arrived where it was time to prepare my dataset. Screenshot below ![image](https://user-images.githubusercontent.com/82735473/201814099-3cc5ff8a-88dc-4f5f-8140-f19560641d83.png) I chose the method 2 option. I have a csv file with two columns. ~23,000 files. I...
OPEN
2022-11-15T02:47:52
2022-11-15T17:59:23
null
https://github.com/huggingface/datasets/issues/5242
scrambled2
1
[]
5,232
Incompatible dill versions in datasets 2.6.1
### Describe the bug datasets version 2.6.1 has a dependency on dill<0.3.6. This causes a conflict with dill>=0.3.6 used by multiprocess dependency in datasets 2.6.1 This issue is already fixed in https://github.com/huggingface/datasets/pull/5166/files, but not yet been released. Please release a new version of the...
CLOSED
2022-11-12T06:46:23
2022-11-14T08:24:43
2022-11-14T08:07:59
https://github.com/huggingface/datasets/issues/5232
vinaykakade
2
[]
5,231
Using `set_format(type='torch', columns=columns)` makes Array2D/3D columns stop formatting correctly
I have a Dataset with two Features defined as follows: ``` 'image': Array3D(dtype="int64", shape=(3, 224, 224)), 'bbox': Array2D(dtype="int64", shape=(512, 4)), ``` On said dataset, if I `dataset.set_format(type='torch')` and then use the dataset in a dataloader, these columns are correctly cast to Tensors of ...
CLOSED
2022-11-11T18:54:36
2022-11-11T20:42:29
2022-11-11T18:59:50
https://github.com/huggingface/datasets/issues/5231
plamb-viso
1
[]
5,230
dataclasses error when importing the library in python 3.11
### Describe the bug When I import datasets using python 3.11 the dataclasses standard library raises the following error: `ValueError: mutable default <class 'datasets.utils.version.Version'> for field version is not allowed: use default_factory` When I tried to import the library using the following jupyter note...
CLOSED
2022-11-11T13:53:49
2023-05-25T04:37:05
2022-11-14T15:27:37
https://github.com/huggingface/datasets/issues/5230
yonikremer
5
[]
5,229
Type error when calling `map` over dataset containing 0-d tensors
### Describe the bug 0-dimensional tensors in a dataset lead to `TypeError: iteration over a 0-d array` when calling `map`. It is easy to generate such tensors by using `.with_format("...")` on the whole dataset. ### Steps to reproduce the bug ``` ds = datasets.Dataset.from_list([{"a": 1}, {"a": 1}]).with_fo...
CLOSED
2022-11-11T08:27:28
2023-01-13T16:00:53
2023-01-13T16:00:53
https://github.com/huggingface/datasets/issues/5229
phipsgabler
2
[]
5,228
Loading a dataset from the hub fails if you happen to have a folder of the same name
### Describe the bug I'm not 100% sure this should be considered a bug, but it was certainly annoying to figure out the cause of. And perhaps I am just missing a specific argument needed to avoid this conflict. Basically I had a situation where multiple workers were downloading different parts of the glue dataset and ...
OPEN
2022-11-11T00:51:54
2023-05-03T23:23:04
null
https://github.com/huggingface/datasets/issues/5228
dakinggg
3
[]
5,227
datasets.data_files.EmptyDatasetError: The directory at wikisql doesn't contain any data files
### Describe the bug From these lines: from datasets import list_datasets, load_dataset dataset = load_dataset("wikisql","binary") I get error message: datasets.data_files.EmptyDatasetError: The directory at wikisql doesn't contain any data files And yet the 'wikisql' is reported to exist via the list_datas...
CLOSED
2022-11-10T21:57:06
2023-10-07T05:04:41
2022-11-10T22:05:43
https://github.com/huggingface/datasets/issues/5227
ScottM-wizard
2
[]
5,226
Q: Memory release when removing the column?
### Describe the bug How do I release memory when I use methods like `.remove_columns()` or `clear()` in notebooks? ```python from datasets import load_dataset common_voice = load_dataset("mozilla-foundation/common_voice_11_0", "ja", use_auth_token=True) # check memory -> RAM Used (GB): 0.704 / Total (GB) 33.670...
CLOSED
2022-11-10T18:35:27
2022-11-29T15:10:10
2022-11-29T15:10:10
https://github.com/huggingface/datasets/issues/5226
bayartsogt-ya
3
[]
5,225
Add video feature
### Feature request Add a `Video` feature to the library so folks can include videos in their datasets. ### Motivation Being able to load Video data would be quite helpful. However, there are some challenges when it comes to videos: 1. Videos, unlike images, can end up being extremely large files 2. Often times ...
OPEN
2022-11-10T17:36:11
2022-12-02T15:13:15
null
https://github.com/huggingface/datasets/issues/5225
nateraw
7
[ "enhancement", "help wanted", "vision" ]
5,224
Seems to freeze when loading audio dataset with wav files from local folder
### Describe the bug I'm following the instructions in [https://huggingface.co/docs/datasets/audio_load#audiofolder-with-metadata](url) to be able to load a dataset from a local folder. I have everything into a folder, into a train folder and then the audios and csv. When I try to load the dataset and run from term...
CLOSED
2022-11-10T10:29:31
2023-04-25T09:54:05
2022-11-22T11:24:19
https://github.com/huggingface/datasets/issues/5224
uriii3
4
[]
5,222
HuggingFace website is incorrectly reporting that my datasets are pickled
### Describe the bug HuggingFace is incorrectly reporting that my datasets are pickled. They are not picked, they are simple ZIP files containing PNG images. Hopefully this is the right location to report this bug. ### Steps to reproduce the bug Inspect my dataset respository here: https://huggingface.co/datasets...
CLOSED
2022-11-09T16:41:16
2022-11-09T18:10:46
2022-11-09T18:06:57
https://github.com/huggingface/datasets/issues/5222
ProGamerGov
4
[]
5,221
Cannot push
### Describe the bug I am facing the issue when I try to push the tar.gz file around 11G to HUB. ``` (venv) ╭─laptop@laptop ~/PersonalProjects/data/ulaanbal_v0 β€Ήmain●› ╰─$ du -sh * 4.0K README.md 13G data 516K test.jsonl 18M train.jsonl 4.0K ulaanbal_v0.py 11G ulaanbal_v0.tar.gz 452K validation.jsonl...
CLOSED
2022-11-09T15:32:05
2022-11-10T18:11:21
2022-11-10T18:11:11
https://github.com/huggingface/datasets/issues/5221
bayartsogt-ya
2
[]
5,220
Implicit type conversion of lists in to_pandas
### Describe the bug ``` ds = Dataset.from_list([{'a':[1,2,3]}]) ds.to_pandas().a.values[0] ``` Results in `array([1, 2, 3])` -- a rather unexpected conversion of types which made downstream tools expecting lists not happy. ### Steps to reproduce the bug See snippet ### Expected behavior Keep the original typ...
CLOSED
2022-11-09T08:40:18
2022-11-10T16:12:26
2022-11-10T16:12:26
https://github.com/huggingface/datasets/issues/5220
sanderland
2
[]
5,219
Delta Tables usage using Datasets Library
### Feature request Adding compatibility of Datasets library with Delta Format. Elevating the utilities of Datasets library from Machine Learning Scope to Data Engineering Scope as well. ### Motivation We know datasets library can absorb csv, json, parquet, etc. file formats but it would be great if Datasets library...
OPEN
2022-11-09T02:43:56
2023-03-02T19:29:12
null
https://github.com/huggingface/datasets/issues/5219
reichenbch
4
[ "enhancement" ]
5,218
Delta Tables usage using Datasets Library
### Feature request Adding compatibility of Datasets library with Delta Format. Elevating the utilities of Datasets library from Machine Learning Scope to Data Engineering Scope as well. ### Motivation We know datasets library can absorb csv, json, parquet, etc. file formats but it would be great if Datasets library...
CLOSED
2022-11-09T02:42:18
2022-11-09T02:42:36
2022-11-09T02:42:36
https://github.com/huggingface/datasets/issues/5218
rcv-koo
0
[ "enhancement" ]
5,216
save_elasticsearch_index
Hi, I am new to Dataset and elasticsearch. I was wondering is there any equivalent approach to save elasticsearch index as of save_faiss_index locally for later use, to remove the need to re-index a dataset?
OPEN
2022-11-08T23:06:52
2022-11-09T13:16:45
null
https://github.com/huggingface/datasets/issues/5216
amobash2
1
[]
5,209
Implement ability to define splits in metadata section of dataset card
### Feature request If you go here: https://huggingface.co/datasets/inria-soda/tabular-benchmark/tree/main you will see bunch of folders that has various CSV files. I’d like dataset viewer to show these files instead of only one dataset like it currently does. (and also people to be able to load them as splits inste...
CLOSED
2022-11-07T13:27:16
2023-07-21T14:36:02
2023-07-21T14:36:01
https://github.com/huggingface/datasets/issues/5209
merveenoyan
9
[ "enhancement" ]
5,207
Connection error of the HuggingFace's dataset Hub due to SSLError with proxy
### Describe the bug It's weird. I could not normally connect the dataset Hub of HuggingFace due to a SSLError in my office. Even when I try to connect using my company's proxy address (e.g., http_proxy and https_proxy), I'm getting the SSLError issue. What should I do to download the datanet stored in Hugg...
OPEN
2022-11-07T06:56:23
2025-03-08T09:04:10
null
https://github.com/huggingface/datasets/issues/5207
leemgs
14
[]
5,206
Use logging instead of printing to console
### Describe the bug Some logs ([here](https://github.com/huggingface/datasets/blob/4a6e1fe2735505efc7e3a3dbd3e1835da0702575/src/datasets/builder.py#L778), [here](https://github.com/huggingface/datasets/blob/4a6e1fe2735505efc7e3a3dbd3e1835da0702575/src/datasets/builder.py#L786), and [here](https://github.com/huggingfa...
CLOSED
2022-11-05T23:48:02
2022-11-06T00:06:00
2022-11-06T00:05:59
https://github.com/huggingface/datasets/issues/5206
bilelomrani1
1
[]
5,204
`push_to_hub` not propagating `token` through `DownloadConfig`
### Describe the bug When trying to upload a new πŸ€— Dataset to the Hub via Python, and providing the `token` as a parameter to the `Dataset.push_to_hub` function, it just works for the first time, assuming that the dataset didn't exist before. But when trying to run `Dataset.push_to_hub` again over the same dataset...
CLOSED
2022-11-05T23:32:20
2022-11-08T10:12:09
2022-11-08T10:12:08
https://github.com/huggingface/datasets/issues/5204
alvarobartt
3
[]
5,202
CI fails after bulk edit of canonical datasets
``` ______ test_get_dataset_config_info[paws-labeled_final-expected_splits2] _______ [gw0] linux -- Python 3.7.15 /opt/hostedtoolcache/Python/3.7.15/x64/bin/python path = 'paws', config_name = 'labeled_final' expected_splits = ['train', 'test', 'validation'] @pytest.mark.parametrize( "path, config...
CLOSED
2022-11-04T10:51:20
2023-02-16T09:11:10
2023-02-16T09:11:10
https://github.com/huggingface/datasets/issues/5202
albertvillanova
1
[ "bug" ]
5,200
Some links to canonical datasets in the docs are outdated
As we don't have canonical datasets in the github repo anymore, some old links to them doesn't work. I don't know how many of them are there, I found link to SuperGlue here: https://huggingface.co/docs/datasets/dataset_script#multiple-configurations, probably there are more of them. These links should be replaced by li...
CLOSED
2022-11-04T10:06:21
2022-11-07T18:40:20
2022-11-07T18:40:20
https://github.com/huggingface/datasets/issues/5200
polinaeterna
1
[ "documentation" ]
5,193
"One or several metadata. were found, but not in the same directory or in a parent directory"
### Describe the bug When loading my own dataset, on loading it I get an error. Here is my dataset link: https://huggingface.co/datasets/corentinm7/MyoQuant-SDH-Data And the error after loading with: ```python from datasets import load_dataset load_dataset("corentinm7/MyoQuant-SDH-Data") ``` ```python Downlo...
CLOSED
2022-11-02T22:46:25
2022-11-03T13:39:16
2022-11-03T13:35:44
https://github.com/huggingface/datasets/issues/5193
lambda-science
5
[]
5,190
`path` is `None` when downloading a custom audio dataset from the Hub
### Describe the bug I've created an [audio dataset](https://huggingface.co/datasets/lewtun/audio-test-push) using the `audiofolder` feature desribed in the [docs](https://huggingface.co/docs/datasets/audio_dataset#audiofolder) and then pushed it to the Hub. Locally, I can see the `audio.path` feature is of the ...
CLOSED
2022-11-02T11:51:25
2022-11-02T12:55:02
2022-11-02T12:55:02
https://github.com/huggingface/datasets/issues/5190
lewtun
1
[]
5,189
Reduce friction in tabular dataset workflow by eliminating having splits when dataset is loaded
### Feature request Sorry for cryptic name but I'd like to explain using code itself. When I want to load a specific dataset from a repository (for instance, this: https://huggingface.co/datasets/inria-soda/tabular-benchmark) ```python from datasets import load_dataset dataset = load_dataset("inria-soda/tabular-b...
OPEN
2022-11-02T09:15:02
2022-12-06T12:13:17
null
https://github.com/huggingface/datasets/issues/5189
merveenoyan
33
[ "enhancement" ]
5,186
Incorrect error message when Dataset.from_sql fails and sqlalchemy not installed
### Describe the bug When calling `Dataset.from_sql` (in my case, with sqlite3), it fails with a message ```ValueError: Please pass `features` or at least one example when writing data``` when I don't have `sqlalchemy` installed. ### Steps to reproduce the bug Make a new sqlite db with `sqlite3` and `pandas` from...
CLOSED
2022-11-01T20:25:51
2022-11-15T18:24:39
2022-11-15T18:24:39
https://github.com/huggingface/datasets/issues/5186
nateraw
3
[]
5,185
Allow passing a subset of output features to Dataset.map
### Feature request Currently, map does one of two things to the features (if I'm not mistaken): * when you do not pass features, types are assumed to be equal to the input if they can be cast, and inferred otherwise * when you pass a full specification of features, output features are set to this However, so...
OPEN
2022-11-01T20:07:20
2022-11-01T20:07:34
null
https://github.com/huggingface/datasets/issues/5185
sanderland
0
[ "enhancement" ]
5,183
Loading an external dataset in a format similar to conll2003
I'm trying to load a custom dataset in a Dataset object, it's similar to conll2003 but with 2 columns only (word entity), I used the following script: features = datasets.Features( {"tokens": datasets.Sequence(datasets.Value("string")), "ner_tags": datasets.Sequence( datasets.featu...
CLOSED
2022-11-01T13:18:29
2022-11-02T11:57:50
2022-11-02T11:57:50
https://github.com/huggingface/datasets/issues/5183
Taghreed7878
0
[]
5,182
Add notebook / other resource links to the task-specific data loading guides
Does it make sense to include links to notebooks / scripts that show how to use a dataset for training / fine-tuning a model? For example, here in [https://huggingface.co/docs/datasets/image_classification] we could include a mention of https://github.com/huggingface/notebooks/blob/main/examples/image_classificatio...
CLOSED
2022-11-01T07:57:26
2022-11-03T01:49:57
2022-11-03T01:49:57
https://github.com/huggingface/datasets/issues/5182
sayakpaul
2
[ "enhancement" ]
5,181
Add a guide for semantic segmentation
Currently, we have these guides for object detection and image classification: * https://huggingface.co/docs/datasets/object_detection * https://huggingface.co/docs/datasets/image_classification I am proposing adding a similar guide for semantic segmentation. I am happy to contribute a PR for it. Cc: @os...
CLOSED
2022-11-01T07:54:50
2022-11-04T18:23:36
2022-11-04T18:23:36
https://github.com/huggingface/datasets/issues/5181
sayakpaul
2
[ "documentation" ]
5,180
An example or recommendations for creating large image datasets?
I know that Apache Beam and `datasets` have [some connector utilities](https://huggingface.co/docs/datasets/beam). But it's a little unclear what we mean by "But if you want to run your own Beam pipeline with Dataflow, here is how:". What does that pipeline do? As a user, I was wondering if we have this support for...
OPEN
2022-11-01T07:38:38
2022-11-02T10:17:11
null
https://github.com/huggingface/datasets/issues/5180
sayakpaul
2
[]
5,179
`map()` fails midway due to format incompatibility
### Describe the bug I am using the `emotion` dataset from Hub for sequence classification. After training the model, I am using it to generate predictions for all the entries present in the `validation` split of the dataset. ```py def get_test_accuracy(model): def fn(batch): inputs = {k:v.to(device...
CLOSED
2022-11-01T03:57:59
2022-11-08T11:35:26
2022-11-08T11:35:26
https://github.com/huggingface/datasets/issues/5179
sayakpaul
9
[ "bug" ]
5,178
Unable to download the Chinese `wikipedia`, the dumpstatus.json not found!
### Describe the bug I tried: `data = load_dataset('wikipedia', '20220301.zh', beam_runner='DirectRunner')` and `data = load_dataset("wikipedia", language="zh", date="20220301", beam_runner='DirectRunner')` but both got: `FileNotFoundError: Couldn't find file at https://dumps.wikimedia.org/zhwiki/20220301/dumpsta...
CLOSED
2022-11-01T03:17:55
2022-11-02T08:27:15
2022-11-02T08:24:29
https://github.com/huggingface/datasets/issues/5178
beyondguo
3
[]
5,176
prepare dataset for cloud storage doesn't work
### Describe the bug Following the [documentation](https://huggingface.co/docs/datasets/filesystems#load-and-save-your-datasets-using-your-cloud-storage-filesystem) and [this PR](https://github.com/huggingface/datasets/pull/4724), I was downloading and storing huggingface dataset to cloud storage. ``` from datasets ...
CLOSED
2022-10-31T17:28:57
2023-03-28T09:11:46
2023-03-28T09:11:45
https://github.com/huggingface/datasets/issues/5176
araonblake
2
[]
5,175
Loading an external NER dataset
I need to use huggingface datasets to load a custom dataset similar to conll2003 but with more entities and each the files contain only two columns: word and ner tag. I tried this code snnipet that I found here as an answer to a similar issue: from datasets import Dataset INPUT_COLUMNS = "ID Text NER".split() ...
CLOSED
2022-10-30T09:31:55
2022-11-01T13:15:49
2022-11-01T13:15:49
https://github.com/huggingface/datasets/issues/5175
Taghreed7878
0
[]
5,172
Inconsistency behavior between handling local file protocol and other FS protocols
### Describe the bug These lines us used during load_from_disk: ``` if is_remote_filesystem(fs): dest_dataset_dict_path = extract_path_from_uri(dataset_dict_path) else: fs = fsspec.filesystem("file") dest_dataset_dict_path = dataset_dict_path ``` If a local FS is given, then it will the URL as th...
OPEN
2022-10-27T12:03:20
2024-05-08T19:31:13
null
https://github.com/huggingface/datasets/issues/5172
leoleoasd
0
[]
5,170
[Caching] Deterministic hashing of torch tensors
Currently this fails ```python import torch from datasets.fingerprint import Hasher t = torch.tensor([1.]) def func(x): return t + x hash1 = Hasher.hash(func) t = torch.tensor([1.]) hash2 = Hasher.hash(func) assert hash1 == hash2 ``` Also as noticed in https://discuss.huggingface.co/t/dataset-ca...
CLOSED
2022-10-27T09:15:15
2022-11-02T17:18:43
2022-11-02T17:18:43
https://github.com/huggingface/datasets/issues/5170
lhoestq
0
[ "enhancement" ]
5,165
Memory explosion when trying to access 4d tensors in datasets cast to torch or np
### Describe the bug When trying to access an item by index, in a datasets.Dataset cast to torch/np using `set_format` or `with_format`, we get a memory explosion if the item contains 4d (or above) tensors. ### Steps to reproduce the bug MWE: ```python from datasets import load_dataset import numpy as np de...
OPEN
2022-10-26T08:14:47
2022-10-26T08:14:47
null
https://github.com/huggingface/datasets/issues/5165
clefourrier
0
[]
5,162
Pip-compile: Could not find a version that matches dill<0.3.6,>=0.3.6
### Describe the bug When using `pip-compile` (part of `pip-tools`) to generate a pinned requirements file that includes `datasets`, a version conflict of `dill` appears. It is caused by a transitive dependency conflict between `datasets` and `multiprocess`. ### Steps to reproduce the bug ```bash $ echo "dataset...
CLOSED
2022-10-25T13:23:50
2022-11-14T08:25:37
2022-10-28T05:38:15
https://github.com/huggingface/datasets/issues/5162
Rijgersberg
7
[]
5,161
Dataset can’t cache model’s outputs
### Describe the bug Hi, I try to cache some outputs of teacher model( Knowledge Distillation ) by using map function of Dataset library, while every time I run my code, I still recompute all the sequences. I tested Bert Model like this, I got different hash every single run, so any idea to deal with this? ### Ste...
CLOSED
2022-10-25T12:19:00
2022-11-03T16:12:52
2022-11-03T16:12:51
https://github.com/huggingface/datasets/issues/5161
jongjyh
1
[]
5,160
Automatically add filename for image/audio folder
### Feature request When creating a custom audio of image dataset, it would be great to automatically have access to the filename. It should be both: a) Automatically displayed in the viewer b) Automatically added as a column to the dataset when doing `load_dataset` In `diffusers` our test rely quite heavily on i...
OPEN
2022-10-25T09:56:49
2022-10-26T16:51:46
null
https://github.com/huggingface/datasets/issues/5160
patrickvonplaten
10
[ "enhancement" ]
5,158
Fix language and license tag names in all Hub datasets
While working on this: - #5137 we realized there are still many datasets with deprecated "languages" and "licenses" tag names (instead of "language" and "license"). This is a blocking issue: no subsequent PR can be opened to modify their metadata: a ValueError will be thrown. We should fix the "language" and ...
CLOSED
2022-10-25T08:19:29
2022-10-25T11:27:26
2022-10-25T10:42:19
https://github.com/huggingface/datasets/issues/5158
albertvillanova
6
[ "dataset contribution" ]
5,157
Consistent caching between python and jupyter
### Feature request I hope this is not my mistake, currently if I use `load_dataset` from a python session on a custom dataset to do the preprocessing, it will be saved in the cache and in other python sessions it will be loaded from the cache, however calling the same from a jupyter notebook does not work, meaning th...
CLOSED
2022-10-25T01:34:33
2022-11-02T15:43:22
2022-11-02T15:43:22
https://github.com/huggingface/datasets/issues/5157
gpucce
2
[ "enhancement" ]
5,156
Unable to download dataset using Azure Data Lake Gen 2
### Describe the bug When using the DatasetBuilder method with the credentials for the cloud storage Azure Data Lake (adl) Gen2, the following error is showed: ``` Traceback (most recent call last): File "download_hf_dataset.py", line 143, in <module> main() File "download_hf_dataset.py", line 102, in mai...
CLOSED
2022-10-25T00:43:18
2024-02-15T09:48:36
2022-11-17T23:37:08
https://github.com/huggingface/datasets/issues/5156
clarissesimoes
4
[]
5,153
default Image/AudioFolder infers labels when there is no metadata files even if there is only one dir
### Describe the bug By default FolderBasedBuilder infers labels if there is not metadata files, even if it's meaningless (for example, they are in a single directory or in the root folder, see this repo as an example: https://huggingface.co/datasets/patrickvonplaten/audios As this is a corner case for quick expl...
CLOSED
2022-10-24T13:28:18
2022-11-15T16:31:10
2022-11-15T16:31:09
https://github.com/huggingface/datasets/issues/5153
polinaeterna
1
[ "bug" ]