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,898
Loading The flores data set for specific language
### Describe the bug I am trying to load the Flores data set the code which is given is ``` from datasets import load_dataset dataset = load_dataset("facebook/flores") ``` This gives the error of config name ""ValueError: Config name is missing" Now if I add some config it gives me the some error ...
CLOSED
2023-05-25T17:08:55
2023-05-25T17:21:38
2023-05-25T17:21:37
https://github.com/huggingface/datasets/issues/5898
106AbdulBasit
1
[]
5,896
HuggingFace does not cache downloaded files aggressively/early enough
### Describe the bug I wrote the following script: ``` import datasets dataset = datasets.load.load_dataset("wikipedia", "20220301.en", split="train[:10000]") ``` I ran it and spent 90 minutes downloading a 20GB file. Then I saw: ``` Downloading: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ...
CLOSED
2023-05-25T15:14:36
2024-03-15T15:36:07
2024-03-15T15:36:07
https://github.com/huggingface/datasets/issues/5896
jack-jjm
2
[]
5,895
The dir name and split strings are confused when loading ArmelR/stack-exchange-instruction dataset
### Describe the bug When I load the ArmelR/stack-exchange-instruction dataset, I encounter a bug that may be raised by confusing the dir name string and the split string about the dataset. When I use the script "datasets.load_dataset('ArmelR/stack-exchange-instruction', data_dir="data/finetune", split="train", ...
CLOSED
2023-05-25T09:39:06
2023-05-29T02:32:12
2023-05-29T02:32:12
https://github.com/huggingface/datasets/issues/5895
DongHande
2
[]
5,892
User access requests with manual review do not notify the dataset owner
### Describe the bug When a user access requests are enabled, and new requests are set to Manual Review, the dataset owner should be notified of the pending requests. However, instead, currently nothing happens, and so the dataset request can go unanswered for quite some time until the owner happens to check that part...
CLOSED
2023-05-23T17:27:46
2023-07-21T13:55:37
2023-07-21T13:55:36
https://github.com/huggingface/datasets/issues/5892
leondz
2
[]
5,889
Token Alignment for input and output data over train and test batch/dataset.
`data` > DatasetDict({ train: Dataset({ features: ['input', 'output'], num_rows: 4500 }) test: Dataset({ features: ['input', 'output'], num_rows: 500 }) }) **# input (in-correct sentence)** `data['train'][0]['input']` **>>** 'We are meet sunday 10am12pmET i...
OPEN
2023-05-23T15:58:55
2023-05-23T15:58:55
null
https://github.com/huggingface/datasets/issues/5889
akesh1235
0
[]
5,887
HuggingsFace dataset example give error
### Describe the bug ![image](https://github.com/huggingface/datasets/assets/1328316/1f4f0086-3db9-4c79-906b-05a375357cce) ![image](https://github.com/huggingface/datasets/assets/1328316/733ebd3d-89b9-4ece-b80a-00ab5b0a4122) ### Steps to reproduce the bug Use link as reference document written https://c...
CLOSED
2023-05-23T14:09:05
2023-07-25T14:01:01
2023-07-25T14:01:00
https://github.com/huggingface/datasets/issues/5887
donhuvy
4
[]
5,886
Use work-stealing algorithm when parallel computing
### Feature request when i used Dataset.map api to process data concurrently, i found that it gets slower and slower as it gets closer to completion. Then i read the source code of arrow_dataset.py and found that it shard the dataset and use multiprocessing pool to execute each shard.It may cause the slowest task ...
OPEN
2023-05-23T03:08:44
2023-05-24T15:30:09
null
https://github.com/huggingface/datasets/issues/5886
1014661165
1
[ "enhancement" ]
5,888
A way to upload and visualize .mp4 files (millions of them) as part of a dataset
**Is your feature request related to a problem? Please describe.** I recently chose to use huggingface hub as the home for a large multi modal dataset I've been building. https://huggingface.co/datasets/Antreas/TALI It combines images, text, audio and video. Now, I could very easily upload a dataset made via datase...
OPEN
2023-05-22T18:05:26
2023-06-23T03:37:16
null
https://github.com/huggingface/datasets/issues/5888
AntreasAntoniou
9
[]
5,884
`Dataset.to_tf_dataset` fails when strings cannot be encoded as `np.bytes_`
### Describe the bug When loading any dataset that contains a column with strings that are not ASCII-compatible, looping over those records raises the following exception e.g. for `Γ©` character `UnicodeEncodeError: 'ascii' codec can't encode character '\xe9' in position 0: ordinal not in range(128)`. ### Steps to rep...
CLOSED
2023-05-22T12:03:06
2023-06-09T16:04:56
2023-06-09T16:04:55
https://github.com/huggingface/datasets/issues/5884
alvarobartt
2
[]
5,881
Split dataset by node: index error when sharding iterable dataset
### Describe the bug Context: we're splitting an iterable dataset by node and then passing it to a torch data loader with multiple workers When we iterate over it for 5 steps, we don't get an error When we instead iterate over it for 8 steps, we get an `IndexError` when fetching the data if we have too many wo...
OPEN
2023-05-22T10:36:13
2025-01-31T16:36:30
null
https://github.com/huggingface/datasets/issues/5881
sanchit-gandhi
5
[]
5,880
load_dataset from s3 file system through streaming can't not iterate data
### Describe the bug I have a JSON file in my s3 file system(minio), I can use load_dataset to get the file link, but I can't iterate it <img width="816" alt="image" src="https://github.com/huggingface/datasets/assets/59083384/cc0778d3-36f3-45b5-ac68-4e7c664c2ed0"> <img width="1144" alt="image" src="https://github.c...
OPEN
2023-05-22T07:40:27
2023-05-26T12:52:08
null
https://github.com/huggingface/datasets/issues/5880
janineguo
4
[]
5,878
Prefetching for IterableDataset
### Feature request Add support for prefetching the next n batches through iterabledataset to reduce batch loading bottleneck in training loop. ### Motivation The primary motivation behind this is to use hardware accelerators alongside a streaming dataset. This is required when you are in a low ram or low disk...
OPEN
2023-05-20T15:25:40
2025-09-01T20:57:32
null
https://github.com/huggingface/datasets/issues/5878
vyeevani
9
[ "enhancement" ]
5,877
Request for text deduplication feature
### Feature request It would be great if there would be support for high performance, highly scalable text deduplication algorithms as part of the datasets library. ### Motivation Motivated by this blog post https://huggingface.co/blog/dedup and this library https://github.com/google-research/deduplicate-text-datase...
OPEN
2023-05-20T01:56:00
2024-01-25T14:40:09
null
https://github.com/huggingface/datasets/issues/5877
SupreethRao99
4
[ "enhancement" ]
5,876
Incompatibility with DataLab
### Describe the bug Hello, I am currently working on a project where both [DataLab](https://github.com/ExpressAI/DataLab) and [datasets](https://github.com/huggingface/datasets) are subdependencies. I noticed that I cannot import both libraries, as they both register FileSystems in `fsspec`, expecting the FileSyste...
CLOSED
2023-05-20T01:39:11
2023-05-25T06:42:34
2023-05-25T06:42:34
https://github.com/huggingface/datasets/issues/5876
helpmefindaname
2
[ "good first issue" ]
5,875
Why split slicing doesn't behave like list slicing ?
### Describe the bug If I want to get the first 10 samples of my dataset, I can do : ``` ds = datasets.load_dataset('mnist', split='train[:10]') ``` But if I exceed the number of samples in the dataset, an exception is raised : ``` ds = datasets.load_dataset('mnist', split='train[:999999999]') ``` > V...
CLOSED
2023-05-19T07:21:10
2024-01-31T15:54:18
2024-01-31T15:54:18
https://github.com/huggingface/datasets/issues/5875
astariul
1
[ "duplicate" ]
5,874
Using as_dataset on a "parquet" builder
### Describe the bug I used a custom builder to ``download_and_prepare`` a dataset. The first (very minor) issue is that the doc seems to suggest ``download_and_prepare`` will return the dataset, while it does not ([builder.py](https://github.com/huggingface/datasets/blob/main/src/datasets/builder.py#L718-L738)). ```...
CLOSED
2023-05-18T14:09:03
2023-05-31T13:23:55
2023-05-31T13:23:55
https://github.com/huggingface/datasets/issues/5874
rems75
1
[]
5,873
Allow setting the environment variable for the lock file path
### Feature request Add an environment variable to replace the default lock file path. ### Motivation Usually, dataset path is a read-only path while the lock file needs to be modified each time. It would be convenient if the path can be reset individually. ### Your contribution ```/src/datasets/utils/fi...
OPEN
2023-05-17T07:10:02
2023-05-17T07:11:05
null
https://github.com/huggingface/datasets/issues/5873
xin3he
0
[ "enhancement" ]
5,871
data configuration hash suffix depends on uncanonicalized data_dir
### Describe the bug I am working with the `recipe_nlg` dataset, which requires manual download. Once it's downloaded, I've noticed that the hash in the custom data configuration is different if I add a trailing `/` to my `data_dir`. It took me a while to notice that the hashes were different, and to understand that...
CLOSED
2023-05-16T18:56:04
2023-06-02T15:52:05
2023-06-02T15:52:05
https://github.com/huggingface/datasets/issues/5871
kylrth
3
[ "good first issue" ]
5,870
Behaviour difference between datasets.map and IterableDatasets.map
### Describe the bug All the examples in all the docs mentioned throughout huggingface datasets correspond to datasets object, and not IterableDatasets object. At one point of time, they might have been in sync, but the code for datasets version >=2.9.0 is very different as compared to the docs. I basically need to ...
OPEN
2023-05-16T14:32:57
2023-05-16T14:36:05
null
https://github.com/huggingface/datasets/issues/5870
llStringll
1
[]
5,869
Image Encoding Issue when submitting a Parquet Dataset
### Describe the bug Hello, I'd like to report an issue related to pushing a dataset represented as a Parquet file to a dataset repository using Dask. Here are the details: We attempted to load an example dataset in Parquet format from the Hugging Face (HF) filesystem using Dask with the following code snippet...
CLOSED
2023-05-16T09:42:58
2023-06-16T12:48:38
2023-06-16T09:30:48
https://github.com/huggingface/datasets/issues/5869
PhilippeMoussalli
16
[ "bug" ]
5,868
Is it possible to change a cached file and 're-cache' it instead of re-generating?
### Feature request Hi, I have a huge cached file using `map`(over 500GB), and I want to change an attribution of each element, is there possible to do it using some method instead of re-generating, because `map` takes over 24 hours ### Motivation For large datasets, I think it is very important because we always f...
CLOSED
2023-05-16T03:45:42
2023-05-17T11:21:36
2023-05-17T11:21:36
https://github.com/huggingface/datasets/issues/5868
zyh3826
2
[ "enhancement" ]
5,866
Issue with Sequence features
### Describe the bug Sequences features sometimes causes errors when the specified length is not -1 ### Steps to reproduce the bug ```python import numpy as np from datasets import Features, ClassLabel, Sequence, Value, Dataset feats = Features(**{'target': ClassLabel(names=[0, 1]),'x': Sequence(feature=Va...
CLOSED
2023-05-15T17:13:29
2023-05-26T11:57:17
2023-05-26T11:57:17
https://github.com/huggingface/datasets/issues/5866
alialamiidrissi
1
[]
5,864
Slow iteration over Torch tensors
### Describe the bug I have a problem related to this [issue](https://github.com/huggingface/datasets/issues/5841): I get a way slower iteration when using a Torch dataloader if I use vanilla Numpy tensors or if I first apply a ToTensor transform to the input. In particular, it takes 5 seconds to iterate over the vani...
OPEN
2023-05-15T16:43:58
2024-10-08T10:21:48
null
https://github.com/huggingface/datasets/issues/5864
crisostomi
2
[]
5,862
IndexError: list index out of range with data hosted on Zenodo
The dataset viewer sometimes raises an `IndexError`: ``` IndexError: list index out of range ``` See: - huggingface/datasets-server#1151 - https://huggingface.co/datasets/reddit/discussions/5 - huggingface/datasets-server#1118 - https://huggingface.co/datasets/krr-oxford/OntoLAMA/discussions/1 - https://hu...
OPEN
2023-05-15T13:47:19
2023-09-25T12:09:51
null
https://github.com/huggingface/datasets/issues/5862
albertvillanova
1
[ "bug" ]
5,858
Throw an error when dataset improperly indexed
### Describe the bug Pandas-style subset indexing on dataset does not throw an error, when maybe it should. Instead returns the first instance of the dataset regardless of index condition. ### Steps to reproduce the bug Steps to reproduce the behavior: 1. `squad = datasets.load_dataset("squad_v2", split="validati...
CLOSED
2023-05-15T05:15:53
2023-05-25T16:23:19
2023-05-25T16:23:19
https://github.com/huggingface/datasets/issues/5858
sarahwie
1
[]
5,857
Adding chemistry dataset/models in huggingface
### Feature request Huggingface is really amazing platform for open science. In addition to computer vision, video and NLP, would it be of interest to add chemistry/materials science dataset/models in Huggingface? Or, if its already done, can you provide some pointers. We have been working on a comprehensive ben...
CLOSED
2023-05-15T05:09:49
2023-07-21T13:45:40
2023-07-21T13:45:40
https://github.com/huggingface/datasets/issues/5857
knc6
1
[ "enhancement" ]
5,856
Error loading natural_questions
### Describe the bug When try to load natural_questions through datasets == 2.12.0 with python == 3.8.9: ```python import datasets datasets.load_dataset('natural_questions',beam_runner='DirectRunner') ``` It failed with following info: `pyarrow.lib.ArrowNotImplementedError: Nested data conversions not impl...
CLOSED
2023-05-15T02:46:04
2023-06-05T09:11:19
2023-06-05T09:11:18
https://github.com/huggingface/datasets/issues/5856
Crownor
2
[]
5,855
`to_tf_dataset` consumes too much memory
### Describe the bug Hi, I'm using `to_tf_dataset` to convert a _large_ dataset to `tf.data.Dataset`. I observed that the data loading *before* training took a lot of time and memory, even with `batch_size=1`. After some digging, i believe the reason lies in the shuffle behavior. The [source code](https://github....
CLOSED
2023-05-14T01:22:29
2023-06-08T16:32:52
2023-06-08T16:32:52
https://github.com/huggingface/datasets/issues/5855
massquantity
6
[]
5,854
Can not load audiofolder dataset on kaggle
### Describe the bug It's crash log: FileNotFoundError: Couldn't find a dataset script at /kaggle/working/audiofolder/audiofolder.py or any data file in the same directory. Couldn't find 'audiofolder' on the Hugging Face Hub either: FileNotFoundError: Couldn't find file at https://raw.githubusercontent.com/huggingfac...
CLOSED
2023-05-14T00:50:47
2023-08-16T13:35:36
2023-07-21T13:53:45
https://github.com/huggingface/datasets/issues/5854
ILG2021
3
[]
5,849
CSV datasets should only read the CSV data files in the repo
When a no-script dataset has many CSV files and a JPG file, the library infers to use the Csv builder, but tries to read as CSV all files in the repo, also the JPG file. I think the Csv builder should filter out non-CSV files when reading. An analogue solution should be implemented for other packaged builders. ...
CLOSED
2023-05-12T12:29:53
2023-06-22T14:16:27
2023-06-22T14:16:27
https://github.com/huggingface/datasets/issues/5849
albertvillanova
0
[ "bug" ]
5,847
Streaming IterableDataset not working with translation pipeline
### Describe the bug I'm trying to use a streaming dataset for translation inference to avoid downloading the training data. I'm using a pipeline and a dataset, and following the guidance in the tutorial. Instead I get an exception that IterableDataset has no len(). ### Steps to reproduce the bug CODE: ``` ...
OPEN
2023-05-11T21:52:38
2023-05-16T15:59:55
null
https://github.com/huggingface/datasets/issues/5847
jlquinn
8
[]
5,851
Error message not clear in interleaving datasets
### System Info standard env ### Who can help? _No response_ ### Information - [ ] The official example scripts - [X] My own modified scripts ### Tasks - [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...) - [X] My own task or dataset (give details below) ### Reproduction I'm tr...
CLOSED
2023-05-11T20:52:13
2023-05-23T10:32:59
2023-05-23T10:32:59
https://github.com/huggingface/datasets/issues/5851
surya-narayanan
0
[]
5,846
load_dataset('bigcode/the-stack-dedup', streaming=True) very slow!
### Describe the bug Running ``` import datasets ds = datasets.load_dataset('bigcode/the-stack-dedup', streaming=True) ``` takes about 2.5 minutes! I would expect this to be near instantaneous. With other datasets, the runtime is one or two seconds. ### Environment info - `datasets` version: 2.1...
CLOSED
2023-05-11T17:58:57
2024-04-08T12:53:17
2024-04-05T12:28:58
https://github.com/huggingface/datasets/issues/5846
tbenthompson
7
[]
5,844
TypeError: Couldn't cast array of type struct<answer: struct<unanswerable: bool, answerType: string, free_form_answer: string, evidence: list<item: string>, evidenceAnnotate: list<item: string>, highlighted_evidence: list<item: string>>> to ...
### Describe the bug TypeError: Couldn't cast array of type struct<answer: struct<unanswerable: bool, answerType: string, free_form_answer: string, evidence: list<item: string>, evidenceAnnotate: list<item: string>, highlighted_evidence: list<item: string>>> to {'answer': {'unanswerable': Value(dtype='bool', id=None),...
OPEN
2023-05-11T14:15:01
2023-05-11T14:15:01
null
https://github.com/huggingface/datasets/issues/5844
chen-coding
0
[]
5,841
Abusurdly slow on iteration
### Describe the bug I am attempting to iterate through an image dataset, but I am encountering a significant slowdown in the iteration speed. In order to investigate this issue, I conducted the following experiment: ```python a=torch.randn(100,224) a=torch.stack([a] * 10000) a.shape # %% ds=Dataset.from_d...
CLOSED
2023-05-11T08:04:09
2023-05-15T15:38:13
2023-05-15T15:38:13
https://github.com/huggingface/datasets/issues/5841
fecet
4
[]
5,840
load model error.
### Describe the bug I had trained one model use deepspeed, when I load the final load I get the follow error: OSError: Can't load tokenizer for '/XXX/DeepSpeedExamples/applications/DeepSpeed-Chat/output/step3-models/1.3b/actor'. If you were trying to load it from 'https://huggingface.co/models', make sure you don't ...
CLOSED
2023-05-11T07:12:38
2023-05-12T13:44:07
2023-05-12T13:44:06
https://github.com/huggingface/datasets/issues/5840
LanShanPi
1
[]
5,842
Remove columns in interable dataset
### Feature request Right now, remove_columns() produces a NotImplementedError for iterable style datasets ### Motivation It would be great to have the same functionality irrespective of whether one is using an iterable or a map-style dataset ### Your contribution hope and courage.
CLOSED
2023-05-11T03:48:46
2023-06-21T16:36:42
2023-06-21T16:36:41
https://github.com/huggingface/datasets/issues/5842
surya-narayanan
3
[]
5,843
Can't add iterable datasets to a Dataset Dict.
### System Info standard env ### Who can help? _No response_ ### Information - [ ] The official example scripts - [X] My own modified scripts ### Tasks - [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...) - [ ] My own task or dataset (give details below) ### Reproduction Get th...
CLOSED
2023-05-11T02:09:29
2023-05-25T04:51:59
2023-05-25T04:51:59
https://github.com/huggingface/datasets/issues/5843
surya-narayanan
2
[]
5,839
Make models/functions optimized with `torch.compile` hashable
As reported in https://github.com/huggingface/datasets/issues/5819, hashing functions/transforms that reference a model, or a function, optimized with `torch.compile` currently fails due to them not being picklable (the concrete error can be found in the linked issue). The solutions to consider: 1. hashing/pickling...
CLOSED
2023-05-10T20:02:08
2023-11-28T16:29:33
2023-11-28T16:29:33
https://github.com/huggingface/datasets/issues/5839
mariosasko
0
[ "enhancement" ]
5,838
Streaming support for `load_from_disk`
### Feature request Support for streaming datasets stored in object stores in `load_from_disk`. ### Motivation The `load_from_disk` function supports fetching datasets stored in object stores such as `s3`. In many cases, the datasets that are stored in object stores are very large and being able to stream the data ...
CLOSED
2023-05-10T06:25:22
2024-10-28T14:19:44
2023-05-12T09:37:45
https://github.com/huggingface/datasets/issues/5838
Nilabhra
12
[ "enhancement" ]
5,837
Use DeepSpeed load myself " .csv " dataset.
### Describe the bug When I use DeepSpeed train a model with my own " XXX.csv" dataset I got the follow question: Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/fm001/.conda/envs/hzl/lib/python3.8/site-packages/datasets/load.py", line 1767, in load_dataset builder_instan...
OPEN
2023-05-10T02:39:28
2023-05-15T03:51:36
null
https://github.com/huggingface/datasets/issues/5837
LanShanPi
3
[]
5,834
Is uint8 supported?
### Describe the bug I expect the dataset to store the data in the `uint8` data type, but it's returning `int64` instead. While I've found that `datasets` doesn't yet support float16 (https://github.com/huggingface/datasets/issues/4981), I'm wondering if this is the case for other data types as well. Is there a way ...
CLOSED
2023-05-09T17:31:13
2023-05-13T05:04:21
2023-05-13T05:04:21
https://github.com/huggingface/datasets/issues/5834
ryokan0123
5
[]
5,833
Unable to push dataset - `create_pr` problem
### Describe the bug I can't upload to the hub the dataset I manually created locally (Image dataset). I have a problem when using the method `.push_to_hub` which asks for a `create_pr` attribute which is not compatible. ### Steps to reproduce the bug here what I have: ```python dataset.push_to_hub("agomberto/Fr...
CLOSED
2023-05-09T15:32:55
2023-10-24T18:22:29
2023-10-24T18:22:29
https://github.com/huggingface/datasets/issues/5833
agombert
14
[]
5,832
404 Client Error: Not Found for url: https://huggingface.co/api/models/bert-large-cased
### Describe the bug Running [Bert-Large-Cased](https://huggingface.co/bert-large-cased) model causes `HTTPError`, with the following traceback- ``` HTTPError Traceback (most recent call last) <ipython-input-6-5c580443a1ad> in <module> ----> 1 tokenizer = BertTokenizer.from_pretra...
CLOSED
2023-05-09T14:14:59
2023-05-09T14:25:59
2023-05-09T14:25:59
https://github.com/huggingface/datasets/issues/5832
varungupta31
1
[]
5,831
[Bug]504 Server Error when loading dataset which was already cached
### Describe the bug I have already cached the dataset using: ``` dataset = load_dataset("databricks/databricks-dolly-15k", cache_dir="/mnt/data/llm/datasets/databricks-dolly-15k") ``` After that, I tried to load it again using the same machine, I got this error: ``` Traceback (most rece...
OPEN
2023-05-09T10:31:07
2023-05-10T01:48:20
null
https://github.com/huggingface/datasets/issues/5831
SingL3
6
[]
5,829
(mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64'))
### Describe the bug M2 MBP can't run ```python from datasets import load_dataset jazzy = load_dataset("nomic-ai/gpt4all-j-prompt-generations", revision='v1.2-jazzy') ``` ### Steps to reproduce the bug 1. Use M2 MBP 2. Python 3.10.10 from pyenv 3. Run ``` from datasets import load_dataset jazzy = load_...
CLOSED
2023-05-08T10:07:14
2023-06-30T11:39:14
2023-05-09T00:46:42
https://github.com/huggingface/datasets/issues/5829
elcolie
2
[]
5,828
Stream data concatenation issue
### Describe the bug I am not able to concatenate the augmentation of the stream data. I am using the latest version of dataset. ValueError: The features can't be aligned because the key audio of features {'audio_id': Value(dtype='string', id=None), 'audio': {'array': Sequence(feature=Value(dtype='float32', id=...
CLOSED
2023-05-07T21:02:54
2023-06-29T20:07:56
2023-05-10T05:05:47
https://github.com/huggingface/datasets/issues/5828
krishnapriya-18
3
[]
5,827
load json dataset interrupt when dtype cast problem occured
### Describe the bug i have a json like this: [ {"id": 1, "name": 1}, {"id": 2, "name": "Nan"}, {"id": 3, "name": 3}, .... ] ,which have several problematic rows data like row 2, then i load it with datasets.load_dataset('json', data_files=['xx.json'], split='train'), it will report like this: ...
OPEN
2023-05-07T04:52:09
2023-05-10T12:32:28
null
https://github.com/huggingface/datasets/issues/5827
1014661165
1
[]
5,825
FileNotFound even though exists
### Describe the bug I'm trying to download https://huggingface.co/datasets/bigscience/xP3/resolve/main/ur/xp3_facebook_flores_spa_Latn-urd_Arab_devtest_ab-spa_Latn-urd_Arab.jsonl which works fine in my webbrowser, but somehow not with datasets. Am I doing sth wrong? ``` Downloading builder script: 100% 2.82k/2.8...
CLOSED
2023-05-05T09:49:55
2023-08-16T10:02:01
2023-08-16T10:02:01
https://github.com/huggingface/datasets/issues/5825
Muennighoff
4
[]
5,823
[2.12.0] DatasetDict.save_to_disk not saving to S3
### Describe the bug When trying to save a `DatasetDict` to a private S3 bucket using `save_to_disk`, the artifacts are instead saved locally, and not in the S3 bucket. I have tried using the deprecated `fs` as well as the `storage_options` arguments and I get the same results. ### Steps to reproduce the bug 1. C...
CLOSED
2023-05-05T05:22:59
2024-05-30T16:11:31
2023-05-05T15:01:17
https://github.com/huggingface/datasets/issues/5823
thejamesmarq
3
[]
5,822
Audio Dataset with_format torch problem
### Describe the bug Common Voice v10 Delta (German) Dataset from here https://commonvoice.mozilla.org/de/datasets ``` audio_dataset = \ (Dataset .from_dict({"audio": ('/tmp/cv-corpus-10.0-delta-2022-07-04/de/clips/' + df.path).to_list()}) .cast_column("audio", Audio(sampling_rate=16_000)) .with...
CLOSED
2023-05-04T20:07:51
2023-05-11T20:45:53
2023-05-11T20:45:53
https://github.com/huggingface/datasets/issues/5822
paulbauriegel
2
[]
5,820
Incomplete docstring for `BuilderConfig`
Hi guys ! I stumbled upon this docstring while working on a project. Some of the attributes have missing descriptions. https://github.com/huggingface/datasets/blob/bc5fef5b6d91f009e4101684adcb374df2c170f6/src/datasets/builder.py#L104-L117
CLOSED
2023-05-04T12:14:34
2023-05-05T12:31:56
2023-05-05T12:31:56
https://github.com/huggingface/datasets/issues/5820
Laurent2916
1
[ "good first issue" ]
5,819
Cannot pickle error in Dataset.from_generator()
### Describe the bug I'm trying to use Dataset.from_generator() to generate a large dataset. ### Steps to reproduce the bug Code to reproduce: ``` from transformers import T5Tokenizer, T5ForConditionalGeneration, GenerationConfig import torch from tqdm import tqdm from datasets import load_dataset tokenizer...
CLOSED
2023-05-04T08:39:09
2023-05-05T19:20:59
2023-05-05T19:20:58
https://github.com/huggingface/datasets/issues/5819
xinghaow99
2
[]
5,818
Ability to update a dataset
### Feature request The ability to load a dataset, add or change something, and save it back to disk. Maybe it's possible, but I can't work out how to do it, e.g. this fails: ```py import datasets dataset = datasets.load_from_disk("data/test1") dataset = dataset.add_item({"text": "A new item"}) dataset.sav...
OPEN
2023-05-04T01:08:13
2023-05-04T20:43:39
null
https://github.com/huggingface/datasets/issues/5818
davidgilbertson
3
[ "enhancement" ]
5,817
Setting `num_proc` errors when `.map` returns additional items.
### Describe the bug I'm using a map function that returns more rows than are passed in. If I try to use `num_proc` I get: ``` File "/home/davidg/.virtualenvs/learning/lib/python3.10/site-packages/datasets/arrow_dataset.py", line 563, in wrapper out: Union["Dataset", "DatasetDict"] = func(self, *args, **kw...
CLOSED
2023-05-03T21:46:53
2023-05-04T21:14:21
2023-05-04T20:22:25
https://github.com/huggingface/datasets/issues/5817
davidgilbertson
3
[]
5,815
Easy way to create a Kaggle dataset from a Huggingface dataset?
I'm not sure whether this is more appropriately addressed with HuggingFace or Kaggle. I would like to somehow directly create a Kaggle dataset from a HuggingFace Dataset. While Kaggle does provide the option to create a dataset from a URI, that URI must point to a single file. For example: ![image](https://user...
OPEN
2023-05-02T21:43:33
2023-07-26T16:13:31
null
https://github.com/huggingface/datasets/issues/5815
hrbigelow
4
[]
5,812
Cannot shuffle interleaved IterableDataset with "all_exhausted" stopping strategy
### Describe the bug Shuffling interleaved `IterableDataset` with "all_exhausted" strategy yields non-exhaustive sampling. ### Steps to reproduce the bug ```py from datasets import IterableDataset, interleave_datasets def gen(bias, length): for i in range(length): yield dict(a=bias+i) seed = 42 ...
CLOSED
2023-05-02T05:26:17
2023-05-04T14:24:51
2023-05-04T14:24:51
https://github.com/huggingface/datasets/issues/5812
offchan42
0
[ "bug", "streaming" ]
5,811
load_dataset: TypeError: 'NoneType' object is not callable, on local dataset filename changes
### Describe the bug I've adapted Databrick's [train_dolly.py](/databrickslabs/dolly/blob/master/train_dolly.py) to train using a local dataset, which has been working. Upon changing the filenames of the `.json` & `.py` files in my local dataset directory, `dataset = load_dataset(path_or_dataset)["train"]` throws th...
OPEN
2023-04-30T13:27:17
2025-02-27T07:32:30
null
https://github.com/huggingface/datasets/issues/5811
durapensa
2
[]
5,809
wiki_dpr details for Open Domain Question Answering tasks
Hey guys! Thanks for creating the wiki_dpr dataset! I am currently trying to combine wiki_dpr and my own datasets. but I don't know how to make the embedding value the same way as wiki_dpr. As an experiment, I embeds the text of id="7" of wiki_dpr, but this result was very different from wiki_dpr.
CLOSED
2023-04-30T06:12:04
2023-07-21T14:11:00
2023-07-21T14:11:00
https://github.com/huggingface/datasets/issues/5809
yulgok22
1
[]
5,806
Return the name of the currently loaded file in the load_dataset function.
### Feature request Add an optional parameter return_file_name in the load_dataset function. When it is set to True, the function will include the name of the file corresponding to the current line as a feature in the returned output. ### Motivation When training large language models, machine problems may interrupt...
OPEN
2023-04-28T13:50:15
2025-11-21T22:34:35
null
https://github.com/huggingface/datasets/issues/5806
s-JoL
16
[ "enhancement", "good first issue" ]
5,805
Improve `Create a dataset` tutorial
Our [tutorial on how to create a dataset](https://huggingface.co/docs/datasets/create_dataset) is a bit misleading. 1. In **Folder-based builders** section it says that we have two folder-based builders as standard builders, but we also have similar builders (that can be created from directory with data of required f...
OPEN
2023-04-28T13:26:22
2024-07-26T21:16:13
null
https://github.com/huggingface/datasets/issues/5805
polinaeterna
4
[ "documentation" ]
5,799
Files downloaded to cache do not respect umask
As reported by @stas00, files downloaded to the cache do not respect umask: ```bash $ ls -l /path/to/cache/datasets/downloads/ -rw------- 1 uername username 150M Apr 25 16:41 5e646c1d600f065adaeb134e536f6f2f296a6d804bd1f0e1fdcd20ee28c185c6 ``` Related to: - #2065
CLOSED
2023-04-27T08:06:05
2023-04-27T09:30:17
2023-04-27T09:30:17
https://github.com/huggingface/datasets/issues/5799
albertvillanova
0
[ "bug" ]
5,798
Support parallelized downloading and processing in load_dataset with Spark
### Feature request When calling `load_dataset` for datasets that have multiple files, support using Spark to distribute the downloading and processing job to worker nodes when `cache_dir` is a cloud file system shared among nodes. ```python load_dataset(..., use_spark=True) ``` ### Motivation Further speed up ...
OPEN
2023-04-27T00:16:11
2023-05-25T14:11:41
null
https://github.com/huggingface/datasets/issues/5798
es94129
17
[ "enhancement" ]
5,797
load_dataset is case sentitive?
### Describe the bug load_dataset() function is case sensitive? ### Steps to reproduce the bug The following two code, get totally different behavior. 1. load_dataset('mbzuai/bactrian-x','en') 2. load_dataset('MBZUAI/Bactrian-X','en') ### Expected behavior Compare 1 and 2. 1 will download all 52 subsets, sh...
OPEN
2023-04-26T18:19:04
2023-04-27T11:56:58
null
https://github.com/huggingface/datasets/issues/5797
haonan-li
2
[]
5,794
CI ZeroDivisionError
Sometimes when running our CI on Windows, we get a ZeroDivisionError: ``` FAILED tests/test_metric_common.py::LocalMetricTest::test_load_metric_frugalscore - ZeroDivisionError: float division by zero ``` See for example: - https://github.com/huggingface/datasets/actions/runs/4809358266/jobs/8560513110 - https:/...
CLOSED
2023-04-26T14:55:23
2024-05-17T09:12:11
2024-05-17T09:12:11
https://github.com/huggingface/datasets/issues/5794
albertvillanova
2
[ "bug" ]
5,793
IterableDataset.with_format("torch") not working
### Describe the bug After calling the with_format("torch") method on an IterableDataset instance, the data format is unchanged. ### Steps to reproduce the bug ```python from datasets import IterableDataset def gen(): for i in range(4): yield {"a": [i] * 4} dataset = IterableDataset.from_generator(g...
CLOSED
2023-04-26T10:50:23
2023-06-13T15:57:06
2023-06-13T15:57:06
https://github.com/huggingface/datasets/issues/5793
jiangwangyi
1
[ "bug", "enhancement", "streaming" ]
5,791
TIFF/TIF support
### Feature request I currently have a dataset (with tiff and json files) where I have to do this: `wget path_to_data/images.zip && unzip images.zip` `wget path_to_data/annotations.zip && unzip annotations.zip` Would it make sense a contribution that supports these type of files? ### Motivation instead o...
CLOSED
2023-04-25T16:14:18
2024-01-15T16:40:33
2024-01-15T16:40:16
https://github.com/huggingface/datasets/issues/5791
sebasmos
5
[ "enhancement" ]
5,789
Support streaming datasets that use jsonlines
Extend support for streaming datasets that use `jsonlines.open`. Currently, if `jsonlines` is installed, `datasets` raises a `FileNotFoundError`: ``` FileNotFoundError: [Errno 2] No such file or directory: 'https://...' ``` See: - https://huggingface.co/datasets/masakhane/afriqa/discussions/1
OPEN
2023-04-25T07:40:02
2023-04-25T07:40:03
null
https://github.com/huggingface/datasets/issues/5789
albertvillanova
0
[ "enhancement" ]
5,786
Multiprocessing in a `filter` or `map` function with a Pytorch model
### Describe the bug I am trying to use a Pytorch model loaded on CPUs with multiple processes with a `.map` or a `.filter` method. Usually, when dealing with models that are non-pickable, creating a class such that the `map` function is the method `__call__`, and adding `reduce` helps to solve the problem. Howe...
CLOSED
2023-04-24T10:38:07
2023-05-30T09:56:30
2023-04-24T10:43:58
https://github.com/huggingface/datasets/issues/5786
HugoLaurencon
5
[]
5,785
Unsupported data files raise TypeError: 'NoneType' object is not iterable
Currently, we raise a TypeError for unsupported data files: ``` TypeError: 'NoneType' object is not iterable ``` See: - https://github.com/huggingface/datasets-server/issues/1073 We should give a more informative error message.
CLOSED
2023-04-24T10:38:03
2023-04-27T12:57:30
2023-04-27T12:57:30
https://github.com/huggingface/datasets/issues/5785
albertvillanova
0
[ "bug" ]
5,783
Offset overflow while doing regex on a text column
### Describe the bug `ArrowInvalid: offset overflow while concatenating arrays` Same error as [here](https://github.com/huggingface/datasets/issues/615) ### Steps to reproduce the bug Steps to reproduce: (dataset is a few GB big so try in colab maybe) ``` import datasets import re ds = datasets.lo...
OPEN
2023-04-22T19:12:03
2023-09-22T06:44:07
null
https://github.com/huggingface/datasets/issues/5783
nishanthcgit
7
[]
5,782
Support for various audio-loading backends instead of always relying on SoundFile
### Feature request Introduce an option to select from a variety of audio-loading backends rather than solely relying on the SoundFile library. For instance, if the ffmpeg library is installed, it can serve as a fallback loading option. ### Motivation - The SoundFile library, used in [features/audio.py](https://gith...
CLOSED
2023-04-22T17:09:25
2023-05-10T20:23:04
2023-05-10T20:23:04
https://github.com/huggingface/datasets/issues/5782
BoringDonut
3
[ "enhancement" ]
5,781
Error using `load_datasets`
### Describe the bug I tried to load a dataset using the `datasets` library in a conda jupyter notebook and got the below error. ``` ImportError: dlopen(/Users/gilbertyoung/miniforge3/envs/review_sense/lib/python3.8/site-packages/scipy/sparse/linalg/_isolve/_iterative.cpython-38-darwin.so, 0x0002): Library not ...
CLOSED
2023-04-22T15:10:44
2023-05-02T23:41:25
2023-05-02T23:41:25
https://github.com/huggingface/datasets/issues/5781
gjyoungjr
2
[]
5,780
TypeError: 'NoneType' object does not support item assignment
command: ``` def load_datasets(formats, data_dir=datadir, data_files=datafileοΌ‰οΌš dataset = load_dataset(formats, data_dir=datadir, data_files=datafile, split=split, streaming=True, **kwargs) return dataset raw_datasets = DatasetDict() raw_datasets["train"] = load_datasets(β€œcsv”, args.datadir, "train.csv", s...
CLOSED
2023-04-22T06:22:43
2023-04-23T08:49:18
2023-04-23T08:49:18
https://github.com/huggingface/datasets/issues/5780
zyb8543d
0
[]
5,778
SchrΓΆdinger's dataset_dict
### Describe the bug If you use load_dataset('json', data_files="path/test.json"), it will return DatasetDict({train:...}). And if you use load_dataset("path"), it will return DatasetDict({test:...}). Why can't the output behavior be unified? ### Steps to reproduce the bug as description above. ### Expected b...
CLOSED
2023-04-21T08:38:12
2023-07-24T15:15:14
2023-07-24T15:15:14
https://github.com/huggingface/datasets/issues/5778
liujuncn
1
[]
5,777
datasets.load_dataset("code_search_net", "python") : NotADirectoryError: [Errno 20] Not a directory
### Describe the bug While checking out the [tokenizer tutorial](https://huggingface.co/course/chapter6/2?fw=pt), i noticed getting an error while initially downloading the python dataset used in the examples. The [collab with the error is here](https://colab.research.google.com/github/huggingface/notebooks/blob/ma...
CLOSED
2023-04-21T02:08:07
2023-06-05T05:49:52
2023-05-11T11:51:56
https://github.com/huggingface/datasets/issues/5777
null
6
[]
5,776
Use Pandas' `read_json` in the JSON builder
Instead of PyArrow's `read_json`, we should use `pd.read_json` in the JSON builder for consistency with the CSV and SQL builders (e.g., to address https://github.com/huggingface/datasets/issues/5725). In Pandas2.0, to get the same performance, we can set the `engine` to "pyarrow". The issue is that Colab still doesn...
OPEN
2023-04-20T17:15:49
2023-04-20T17:15:49
null
https://github.com/huggingface/datasets/issues/5776
mariosasko
0
[ "enhancement" ]
5,775
ArrowDataset.save_to_disk lost some logic of remote
### Describe the bug https://github.com/huggingface/datasets/blob/e7ce0ac60c7efc10886471932854903a7c19f172/src/datasets/arrow_dataset.py#L1371 Here is the bug point, when I want to save from a `DatasetDict` class and the items of the instance is like `[('train', Dataset({features: ..., num_rows: ...}))]` , there ...
CLOSED
2023-04-20T16:58:01
2023-04-26T12:11:36
2023-04-26T12:11:17
https://github.com/huggingface/datasets/issues/5775
Zoupers
1
[]
5,773
train_dataset does not implement __len__
when train using data precessored by the datasets, I get follow warning and it leads to that I can not set epoch numbers: `ValueError: The train_dataset does not implement __len__, max_steps has to be specified. The number of steps needs to be known in advance for the learning rate scheduler.`
OPEN
2023-04-20T04:37:05
2023-07-19T20:33:13
null
https://github.com/huggingface/datasets/issues/5773
zyb8543d
9
[]
5,771
Support cloud storage for loading datasets
### Feature request It seems that the the current implementation supports cloud storage only for `load_from_disk`. It would be nice if a similar functionality existed in `load_dataset`. ### Motivation Motivation is pretty clear -- let users work with datasets located in the cloud. ### Your contribution ...
CLOSED
2023-04-19T12:43:53
2023-05-07T17:47:41
2023-05-07T17:47:41
https://github.com/huggingface/datasets/issues/5771
eli-osherovich
1
[ "duplicate", "enhancement" ]
5,769
Tiktoken tokenizers are not pickable
### Describe the bug Since tiktoken tokenizer is not pickable, it is not possible to use it inside `dataset.map()` with multiprocessing enabled. However, you [made](https://github.com/huggingface/datasets/issues/5536) tiktoken's tokenizers pickable in `datasets==2.10.0` for caching. For some reason, this logic does no...
CLOSED
2023-04-18T16:07:40
2023-05-04T18:55:57
2023-05-04T18:55:57
https://github.com/huggingface/datasets/issues/5769
markovalexander
1
[]
5,768
load_dataset("squad") doesn't work in 2.7.1 and 2.10.1
### Describe the bug There is an issue that seems to be unique to the "squad" dataset, in which it cannot be loaded using standard methods. This issue is most quickly reproduced from the command line, using the HF examples to verify a dataset is loaded properly. This is not a problem with "squad_v2" dataset for e...
CLOSED
2023-04-18T07:10:56
2023-04-20T10:27:23
2023-04-20T10:27:22
https://github.com/huggingface/datasets/issues/5768
yaseen157
8
[]
5,767
How to use Distill-BERT with different datasets?
### Describe the bug - `transformers` version: 4.11.3 - Platform: Linux-5.4.0-58-generic-x86_64-with-glibc2.29 - Python version: 3.8.10 - PyTorch version (GPU?): 1.12.0+cu102 (True) - Tensorflow version (GPU?): 2.10.0 (True) - Flax version (CPU?/GPU?/TPU?): not installed (NA) - Jax version: not installed - JaxL...
CLOSED
2023-04-18T06:25:12
2023-04-20T16:52:05
2023-04-20T16:52:05
https://github.com/huggingface/datasets/issues/5767
sauravtii
1
[]
5,766
Support custom feature types
### Feature request I think it would be nice to allow registering custom feature types with the πŸ€— Datasets library. For example, allow to do something along the following lines: ``` from datasets.features import register_feature_type # this would be a new function @register_feature_type class CustomFeature...
OPEN
2023-04-17T15:46:41
2024-03-10T11:11:22
null
https://github.com/huggingface/datasets/issues/5766
jmontalt
4
[ "enhancement" ]
5,765
ValueError: You should supply an encoding or a list of encodings to this method that includes input_ids, but you provided ['text']
### Describe the bug Following is my code that I am trying to run, but facing an error (have attached the whole error below): My code: ``` from collections import OrderedDict import warnings import flwr as fl import torch import numpy as np import random from torch.utils.data import DataLoader from...
OPEN
2023-04-17T15:00:50
2023-04-25T13:50:45
null
https://github.com/huggingface/datasets/issues/5765
sauravtii
4
[]
5,764
ConnectionError: Couldn't reach https://www.dropbox.com/s/zts98j4vkqtsns6/aclImdb_v2.tar?dl=1
### Describe the bug I want to use this (https://huggingface.co/datasets/josianem/imdb) dataset therefore I am trying to load it using the following code: ``` dataset = load_dataset("josianem/imdb") ``` The dataset is not getting loaded and gives the error message as the following: ``` Traceback (most rece...
CLOSED
2023-04-17T09:08:18
2023-04-18T07:18:20
2023-04-18T07:18:20
https://github.com/huggingface/datasets/issues/5764
sauravtii
7
[]
5,762
Not able to load the pile
### Describe the bug Got this error when I am trying to load the pile dataset ``` TypeError: Couldn't cast array of type struct<file: string, id: string> to {'id': Value(dtype='string', id=None)} ``` ### Steps to reproduce the bug Please visit the following sample notebook https://colab.research.goo...
CLOSED
2023-04-17T03:09:10
2023-04-17T09:37:27
2023-04-17T09:37:27
https://github.com/huggingface/datasets/issues/5762
surya-narayanan
1
[]
5,761
One or several metadata.jsonl were found, but not in the same directory or in a parent directory
### Describe the bug An attempt to generate a dataset from a zip archive using imagefolder and metadata.jsonl does not lead to the expected result. Tried all possible locations of the json file: the file in the archive is ignored (generated dataset contains only images), the file next to the archive like [here](http...
OPEN
2023-04-16T16:21:55
2023-04-19T11:53:24
null
https://github.com/huggingface/datasets/issues/5761
blghtr
3
[]
5,760
Multi-image loading in Imagefolder dataset
### Feature request Extend the `imagefolder` dataloading script to support loading multiple images per dataset entry. This only really makes sense if a metadata file is present. Currently you can use the following format (example `metadata.jsonl`: ``` {'file_name': 'path_to_image.png', 'metadata': ...} ... `...
OPEN
2023-04-16T16:01:05
2024-12-01T11:16:09
null
https://github.com/huggingface/datasets/issues/5760
vvvm23
10
[ "enhancement" ]
5,759
Can I load in list of list of dict format?
### Feature request my jsonl dataset has following format: ``` [{'input':xxx, 'output':xxx},{'input:xxx,'output':xxx},...] [{'input':xxx, 'output':xxx},{'input:xxx,'output':xxx},...] ``` I try to use `datasets.load_dataset('json', data_files=path)` or `datasets.Dataset.from_json`, it raises ``` File "site-p...
OPEN
2023-04-16T13:50:14
2023-04-19T12:04:36
null
https://github.com/huggingface/datasets/issues/5759
LZY-the-boys
1
[ "enhancement" ]
5,757
Tilde (~) is not supported
### Describe the bug It seems that `~` is not recognized correctly in local paths. Whenever I try to use it I get an exception ### Steps to reproduce the bug ```python load_dataset("imagefolder", data_dir="~/data/my_dataset") ``` Will generate the following error: ``` EmptyDatasetError: The directory at ...
CLOSED
2023-04-16T11:48:10
2023-04-20T15:30:51
2023-04-20T15:30:51
https://github.com/huggingface/datasets/issues/5757
eli-osherovich
0
[]
5,756
Calling shuffle on a IterableDataset with streaming=True, gives "ValueError: cannot reshape array"
### Describe the bug When calling shuffle on a IterableDataset with streaming=True, I get the following error: ``` Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/administrator/Documents/Projects/huggingface/jax-diffusers-sprint-consistency-models/virtualenv/lib/python3.1...
CLOSED
2023-04-16T04:59:47
2023-04-18T03:40:56
2023-04-18T03:40:56
https://github.com/huggingface/datasets/issues/5756
rohfle
2
[]
5,755
ImportError: cannot import name 'DeprecatedEnum' from 'datasets.utils.deprecation_utils'
### Describe the bug The module moved to new place? ### Steps to reproduce the bug in the import step, ```python from datasets.utils.deprecation_utils import DeprecatedEnum ``` error: ``` ImportError: cannot import name 'DeprecatedEnum' from 'datasets.utils.deprecation_utils' ``` ### Expected behavior...
CLOSED
2023-04-14T23:28:54
2023-04-14T23:36:19
2023-04-14T23:36:19
https://github.com/huggingface/datasets/issues/5755
fivejjs
1
[]
5,753
[IterableDatasets] Add column followed by interleave datasets gives bogus outputs
### Describe the bug If we add a new column to our iterable dataset using the hack described in #5752, when we then interleave datasets the new column is pinned to one value. ### Steps to reproduce the bug What we're going to do here is: 1. Load an iterable dataset in streaming mode (`original_dataset`) 2. A...
CLOSED
2023-04-14T17:32:31
2025-07-04T05:22:53
2023-04-14T17:36:37
https://github.com/huggingface/datasets/issues/5753
sanchit-gandhi
2
[]
5,752
Streaming dataset looses `.feature` method after `.add_column`
### Describe the bug After appending a new column to a streaming dataset using `.add_column`, we can no longer access the list of dataset features using the `.feature` method. ### Steps to reproduce the bug ```python from datasets import load_dataset original_dataset = load_dataset("librispeech_asr", "clean", sp...
OPEN
2023-04-14T16:39:50
2024-01-18T10:15:20
null
https://github.com/huggingface/datasets/issues/5752
sanchit-gandhi
2
[ "bug" ]
5,750
Fail to create datasets from a generator when using Google Big Query
### Describe the bug Creating a dataset from a generator using `Dataset.from_generator()` fails if the generator is the [Google Big Query Python client](https://cloud.google.com/python/docs/reference/bigquery/latest). The problem is that the Big Query client is not pickable. And the function `create_config_id` tries t...
CLOSED
2023-04-14T13:50:59
2023-04-17T12:20:43
2023-04-17T12:20:43
https://github.com/huggingface/datasets/issues/5750
ivanprado
4
[]
5,749
AttributeError: 'Version' object has no attribute 'match'
### Describe the bug When I run from datasets import load_dataset data = load_dataset("visual_genome", 'region_descriptions_v1.2.0') AttributeError: 'Version' object has no attribute 'match' ### Steps to reproduce the bug from datasets import load_dataset data = load_dataset("visual_genome", 'region_descripti...
CLOSED
2023-04-14T10:48:06
2023-06-30T11:31:17
2023-04-18T12:57:08
https://github.com/huggingface/datasets/issues/5749
gulnaz-zh
8
[]
5,744
[BUG] With Pandas 2.0.0, `load_dataset` raises `TypeError: read_csv() got an unexpected keyword argument 'mangle_dupe_cols'`
The `load_dataset` function with Pandas `1.5.3` has no issue (just a FutureWarning) but crashes with Pandas `2.0.0`. For your convenience, I opened a draft Pull Request to fix it quickly: https://github.com/huggingface/datasets/pull/5745 --- * The FutureWarning mentioned above: ``` FutureWarning: the 'mangle_...
CLOSED
2023-04-13T20:21:28
2024-04-09T16:13:59
2023-07-06T17:01:59
https://github.com/huggingface/datasets/issues/5744
keyboardAnt
6
[]
5,743
dataclass.py in virtual environment is overriding the stdlib module "dataclasses"
### Describe the bug "e:\Krish_naik\FSDSRegression\venv\Lib\dataclasses.py" is overriding the stdlib module "dataclasses" ### Steps to reproduce the bug module issue ### Expected behavior overriding the stdlib module "dataclasses" ### Environment info VS code
CLOSED
2023-04-13T17:28:33
2023-04-17T12:23:18
2023-04-17T12:23:18
https://github.com/huggingface/datasets/issues/5743
syedabdullahhassan
1
[]
5,739
weird result during dataset split when data path starts with `/data`
### Describe the bug The regex defined here https://github.com/huggingface/datasets/blob/f2607935c4e45c70c44fcb698db0363ca7ba83d4/src/datasets/utils/py_utils.py#L158 will cause a weird result during dataset split when data path starts with `/data` ### Steps to reproduce the bug 1. clone dataset into local path ...
OPEN
2023-04-12T04:51:35
2023-04-21T14:20:59
null
https://github.com/huggingface/datasets/issues/5739
airlsyn
4
[]