html_url
stringlengths
51
51
title
stringlengths
9
280
comments
stringlengths
63
24.7k
body
stringlengths
51
58.6k
comments length
int64
16
1.45k
text
stringlengths
186
59.1k
https://github.com/huggingface/datasets/issues/4572
Dataset Viewer issue for mlsum
Thanks for reporting, @lewtun. After investigation, it seems that the server https://gitlab.lip6.fr does not allow HTTP Range requests. We are trying to find a workaround...
### Link https://huggingface.co/datasets/mlsum/viewer/de/train ### Description There's seems to be a problem with the download / streaming of this dataset: ``` Server error Status code: 400 Exception: BadZipFile Message: File is not a zip file ``` ### Owner No
25
Dataset Viewer issue for mlsum ### Link https://huggingface.co/datasets/mlsum/viewer/de/train ### Description There's seems to be a problem with the download / streaming of this dataset: ``` Server error Status code: 400 Exception: BadZipFile Message: File is not a zip file ``` ### Owner No Tha...
https://github.com/huggingface/datasets/issues/5061
`_pickle.PicklingError: logger cannot be pickled` in multiprocessing `map`
This is maybe related to python 3.10, do you think you could try on 3.8 ? In the meantime we'll keep improving the support for 3.10. Let me add a dedicated CI
## Describe the bug When I `map` with multiple processes, this error occurs. The `.name` of the `logger` that fails to pickle in the final line is `datasets.fingerprint`. ``` File "~/project/dataset.py", line 204, in <dictcomp> split: dataset.map( File ".../site-packages/datasets/arrow_dataset.py", line 24...
32
`_pickle.PicklingError: logger cannot be pickled` in multiprocessing `map` ## Describe the bug When I `map` with multiple processes, this error occurs. The `.name` of the `logger` that fails to pickle in the final line is `datasets.fingerprint`. ``` File "~/project/dataset.py", line 204, in <dictcomp> split: ...
https://github.com/huggingface/datasets/issues/5061
`_pickle.PicklingError: logger cannot be pickled` in multiprocessing `map`
I did some binary search and seems like the root cause is either `multiprocess` or `dill`. python 3.10 is fine. Specifically: - `multiprocess==0.70.12.2, dill==0.3.4`: works - `multiprocess==0.70.12.2, dill==0.3.5.1`: doesn't work - `multiprocess==0.70.13, dill==0.3.5.1`: doesn't work - `multiprocess==0.70.13, dill...
## Describe the bug When I `map` with multiple processes, this error occurs. The `.name` of the `logger` that fails to pickle in the final line is `datasets.fingerprint`. ``` File "~/project/dataset.py", line 204, in <dictcomp> split: dataset.map( File ".../site-packages/datasets/arrow_dataset.py", line 24...
100
`_pickle.PicklingError: logger cannot be pickled` in multiprocessing `map` ## Describe the bug When I `map` with multiple processes, this error occurs. The `.name` of the `logger` that fails to pickle in the final line is `datasets.fingerprint`. ``` File "~/project/dataset.py", line 204, in <dictcomp> split: ...
https://github.com/huggingface/datasets/issues/5061
`_pickle.PicklingError: logger cannot be pickled` in multiprocessing `map`
I'm not 100% sure how to figure it out -- the stack trace above doesn't clearly give me a place where I can print out who owns the logger, etc. I only found out its `.name` is `datasets.fingerprint` by printing right before ``` File ".../logging/__init__.py", line 1774, in __reduce__ raise pickle.PicklingError...
## Describe the bug When I `map` with multiple processes, this error occurs. The `.name` of the `logger` that fails to pickle in the final line is `datasets.fingerprint`. ``` File "~/project/dataset.py", line 204, in <dictcomp> split: dataset.map( File ".../site-packages/datasets/arrow_dataset.py", line 24...
70
`_pickle.PicklingError: logger cannot be pickled` in multiprocessing `map` ## Describe the bug When I `map` with multiple processes, this error occurs. The `.name` of the `logger` that fails to pickle in the final line is `datasets.fingerprint`. ``` File "~/project/dataset.py", line 204, in <dictcomp> split: ...
https://github.com/huggingface/datasets/issues/5061
`_pickle.PicklingError: logger cannot be pickled` in multiprocessing `map`
Ok I see, not sure why it triggers this error though, in `logging.py` the code is https://github.com/python/cpython/blob/c9da063e32725a66495e4047b8a5ed13e72d9e8e/Lib/logging/__init__.py#L1769-L1775 and on my side it works on 3.10 with dill 0.3.5.1 and multiprocess 0.70.13 ```python >>> datasets.fingerprint.logg...
## Describe the bug When I `map` with multiple processes, this error occurs. The `.name` of the `logger` that fails to pickle in the final line is `datasets.fingerprint`. ``` File "~/project/dataset.py", line 204, in <dictcomp> split: dataset.map( File ".../site-packages/datasets/arrow_dataset.py", line 24...
71
`_pickle.PicklingError: logger cannot be pickled` in multiprocessing `map` ## Describe the bug When I `map` with multiple processes, this error occurs. The `.name` of the `logger` that fails to pickle in the final line is `datasets.fingerprint`. ``` File "~/project/dataset.py", line 204, in <dictcomp> split: ...
https://github.com/huggingface/datasets/issues/6323
Loading dataset from large GCS bucket very slow since 2.14
I've also encountered this issue recently and want to ask if this has been seen. @albertvillanova for visibility - I'm not sure who the right person is to tag, but I noticed you were active recently so perhaps you can direct this to the right person. Thanks!
### Describe the bug Since updating to >2.14 we have very slow access to our parquet files on GCS when loading a dataset (>30 min vs 3s). Our GCS bucket has many objects and resolving globs is very slow. I could track down the problem to this change: https://github.com/huggingface/datasets/blame/bade7af74437347a76083...
47
Loading dataset from large GCS bucket very slow since 2.14 ### Describe the bug Since updating to >2.14 we have very slow access to our parquet files on GCS when loading a dataset (>30 min vs 3s). Our GCS bucket has many objects and resolving globs is very slow. I could track down the problem to this change: https://...
https://github.com/huggingface/datasets/issues/4606
evaluation result changes after `datasets` version change
Hi! The GH/no-namespace datasets versioning is synced with the version of the `datasets` lib, which means that the `wikiann` script was modified between the two compared versions. In this scenario, you can ensure reproducibility by pinning the script version, which is done by passing `revision="x.y.z"` (e.g. `revision=...
## Describe the bug evaluation result changes after `datasets` version change ## Steps to reproduce the bug 1. Train a model on WikiAnn 2. reload the ckpt -> test accuracy becomes same as eval accuracy 3. such behavior is gone after downgrading `datasets` https://colab.research.google.com/drive/1kYz7-aZRGdaya...
49
evaluation result changes after `datasets` version change ## Describe the bug evaluation result changes after `datasets` version change ## Steps to reproduce the bug 1. Train a model on WikiAnn 2. reload the ckpt -> test accuracy becomes same as eval accuracy 3. such behavior is gone after downgrading `datasets`...
https://github.com/huggingface/datasets/issues/5648
flatten_indices doesn't work with pandas format
Thanks for reporting! This can be fixed by setting the format to `arrow` in `flatten_indices` and restoring the original format after the flattening. I'm working on a PR that reduces the number of the `flatten_indices` calls in our codebase and makes `flatten_indices` a no-op when a dataset does not have an indices map...
### Describe the bug Hi, I noticed that `flatten_indices` throws an error when the batch format is `pandas`. This is probably due to the fact that flatten_indices uses map internally which doesn't accept dataframes as the transformation function output ### Steps to reproduce the bug tabular_data = pd.DataFrame(np.r...
61
flatten_indices doesn't work with pandas format ### Describe the bug Hi, I noticed that `flatten_indices` throws an error when the batch format is `pandas`. This is probably due to the fact that flatten_indices uses map internally which doesn't accept dataframes as the transformation function output ### Steps to rep...
https://github.com/huggingface/datasets/issues/4179
Dataset librispeech_asr fails to load
Another thing, but maybe this should be a separate issue: As I see from the code, it would try to use up to 16 simultaneous downloads? This is problematic for Librispeech or anything on OpenSLR. On [the homepage](https://www.openslr.org/), it says: > If you want to download things from this site, please download the...
## Describe the bug The dataset librispeech_asr (standard Librispeech) fails to load. ## Steps to reproduce the bug ```python datasets.load_dataset("librispeech_asr") ``` ## Expected results It should download and prepare the whole dataset (all subsets). In [the doc](https://huggingface.co/datasets/libris...
101
Dataset librispeech_asr fails to load ## Describe the bug The dataset librispeech_asr (standard Librispeech) fails to load. ## Steps to reproduce the bug ```python datasets.load_dataset("librispeech_asr") ``` ## Expected results It should download and prepare the whole dataset (all subsets). In [the doc](...
https://github.com/huggingface/datasets/issues/4179
Dataset librispeech_asr fails to load
Sorry maybe the docs haven't been super clear here. By `split` we mean one of `train.500`, `train.360`, `train.100`, `validation`, `test`. For Librispeech, you'll have to specific a config (either `other` or `clean`) though: ```py datasets.load_dataset("librispeech_asr", "clean") ``` should work and give you al...
## Describe the bug The dataset librispeech_asr (standard Librispeech) fails to load. ## Steps to reproduce the bug ```python datasets.load_dataset("librispeech_asr") ``` ## Expected results It should download and prepare the whole dataset (all subsets). In [the doc](https://huggingface.co/datasets/libris...
55
Dataset librispeech_asr fails to load ## Describe the bug The dataset librispeech_asr (standard Librispeech) fails to load. ## Steps to reproduce the bug ```python datasets.load_dataset("librispeech_asr") ``` ## Expected results It should download and prepare the whole dataset (all subsets). In [the doc](...
https://github.com/huggingface/datasets/issues/4179
Dataset librispeech_asr fails to load
If you need both `"clean"` and `"other"` I think you'll have to do concatenate them as follows: ```py from datasets import concatenate_datasets, load_dataset other = load_dataset("librispeech_asr", "other") clean = load_dataset("librispeech_asr", "clean") librispeech = concatenate_datasets([other, clean]) ...
## Describe the bug The dataset librispeech_asr (standard Librispeech) fails to load. ## Steps to reproduce the bug ```python datasets.load_dataset("librispeech_asr") ``` ## Expected results It should download and prepare the whole dataset (all subsets). In [the doc](https://huggingface.co/datasets/libris...
38
Dataset librispeech_asr fails to load ## Describe the bug The dataset librispeech_asr (standard Librispeech) fails to load. ## Steps to reproduce the bug ```python datasets.load_dataset("librispeech_asr") ``` ## Expected results It should download and prepare the whole dataset (all subsets). In [the doc](...
https://github.com/huggingface/datasets/issues/4179
Dataset librispeech_asr fails to load
Downloading one split would be: ```py from datasets import load_dataset other = load_dataset("librispeech_asr", "other", split="train.500") ```
## Describe the bug The dataset librispeech_asr (standard Librispeech) fails to load. ## Steps to reproduce the bug ```python datasets.load_dataset("librispeech_asr") ``` ## Expected results It should download and prepare the whole dataset (all subsets). In [the doc](https://huggingface.co/datasets/libris...
16
Dataset librispeech_asr fails to load ## Describe the bug The dataset librispeech_asr (standard Librispeech) fails to load. ## Steps to reproduce the bug ```python datasets.load_dataset("librispeech_asr") ``` ## Expected results It should download and prepare the whole dataset (all subsets). In [the doc](...
https://github.com/huggingface/datasets/issues/4179
Dataset librispeech_asr fails to load
Ah thanks. But wouldn't it be easier/nicer (and more canonical) to just make it in a way that simply `load_dataset("librispeech_asr")` works?
## Describe the bug The dataset librispeech_asr (standard Librispeech) fails to load. ## Steps to reproduce the bug ```python datasets.load_dataset("librispeech_asr") ``` ## Expected results It should download and prepare the whole dataset (all subsets). In [the doc](https://huggingface.co/datasets/libris...
21
Dataset librispeech_asr fails to load ## Describe the bug The dataset librispeech_asr (standard Librispeech) fails to load. ## Steps to reproduce the bug ```python datasets.load_dataset("librispeech_asr") ``` ## Expected results It should download and prepare the whole dataset (all subsets). In [the doc](...
https://github.com/huggingface/datasets/issues/4179
Dataset librispeech_asr fails to load
Pinging @lhoestq here, think this could make sense! Not sure however how the dictionary would then look like
## Describe the bug The dataset librispeech_asr (standard Librispeech) fails to load. ## Steps to reproduce the bug ```python datasets.load_dataset("librispeech_asr") ``` ## Expected results It should download and prepare the whole dataset (all subsets). In [the doc](https://huggingface.co/datasets/libris...
18
Dataset librispeech_asr fails to load ## Describe the bug The dataset librispeech_asr (standard Librispeech) fails to load. ## Steps to reproduce the bug ```python datasets.load_dataset("librispeech_asr") ``` ## Expected results It should download and prepare the whole dataset (all subsets). In [the doc](...
https://github.com/huggingface/datasets/issues/4179
Dataset librispeech_asr fails to load
Would it make sense to have `clean` as the default config ? Also I think `load_dataset("librispeech_asr")` should have raised you an error that says that you need to specify a config I also opened a PR to improve the doc: https://github.com/huggingface/datasets/pull/4183
## Describe the bug The dataset librispeech_asr (standard Librispeech) fails to load. ## Steps to reproduce the bug ```python datasets.load_dataset("librispeech_asr") ``` ## Expected results It should download and prepare the whole dataset (all subsets). In [the doc](https://huggingface.co/datasets/libris...
41
Dataset librispeech_asr fails to load ## Describe the bug The dataset librispeech_asr (standard Librispeech) fails to load. ## Steps to reproduce the bug ```python datasets.load_dataset("librispeech_asr") ``` ## Expected results It should download and prepare the whole dataset (all subsets). In [the doc](...
https://github.com/huggingface/datasets/issues/4179
Dataset librispeech_asr fails to load
> Would it make sense to have `clean` as the default config ? I think a user would expect that the default would give you the full dataset. > Also I think `load_dataset("librispeech_asr")` should have raised you an error that says that you need to specify a config It does raise an error, but this error confuse...
## Describe the bug The dataset librispeech_asr (standard Librispeech) fails to load. ## Steps to reproduce the bug ```python datasets.load_dataset("librispeech_asr") ``` ## Expected results It should download and prepare the whole dataset (all subsets). In [the doc](https://huggingface.co/datasets/libris...
86
Dataset librispeech_asr fails to load ## Describe the bug The dataset librispeech_asr (standard Librispeech) fails to load. ## Steps to reproduce the bug ```python datasets.load_dataset("librispeech_asr") ``` ## Expected results It should download and prepare the whole dataset (all subsets). In [the doc](...
https://github.com/huggingface/datasets/issues/4179
Dataset librispeech_asr fails to load
+1 for @albertz. Also think lots of people download the whole dataset (`"clean"` + `"other"`) for Librispeech. Think there are also some people though who: - a) Don't have the memory to store the whole dataset - b) Just want to evaluate on one of the two configs
## Describe the bug The dataset librispeech_asr (standard Librispeech) fails to load. ## Steps to reproduce the bug ```python datasets.load_dataset("librispeech_asr") ``` ## Expected results It should download and prepare the whole dataset (all subsets). In [the doc](https://huggingface.co/datasets/libris...
48
Dataset librispeech_asr fails to load ## Describe the bug The dataset librispeech_asr (standard Librispeech) fails to load. ## Steps to reproduce the bug ```python datasets.load_dataset("librispeech_asr") ``` ## Expected results It should download and prepare the whole dataset (all subsets). In [the doc](...
https://github.com/huggingface/datasets/issues/4179
Dataset librispeech_asr fails to load
Ok ! Adding the "all" configuration would do the job then, thanks ! In the "all" configuration we can merge all the train.xxx splits into one "train" split, or keep them separate depending on what's the most practical to use (probably put everything in "train" no ?)
## Describe the bug The dataset librispeech_asr (standard Librispeech) fails to load. ## Steps to reproduce the bug ```python datasets.load_dataset("librispeech_asr") ``` ## Expected results It should download and prepare the whole dataset (all subsets). In [the doc](https://huggingface.co/datasets/libris...
47
Dataset librispeech_asr fails to load ## Describe the bug The dataset librispeech_asr (standard Librispeech) fails to load. ## Steps to reproduce the bug ```python datasets.load_dataset("librispeech_asr") ``` ## Expected results It should download and prepare the whole dataset (all subsets). In [the doc](...
https://github.com/huggingface/datasets/issues/4179
Dataset librispeech_asr fails to load
I'm not too familiar with how to work with HuggingFace datasets, but people often do some curriculum learning scheme, where they start with train.100, later go over to train.100 + train.360, and then later use the whole train (960h). It would be good if this is easily possible.
## Describe the bug The dataset librispeech_asr (standard Librispeech) fails to load. ## Steps to reproduce the bug ```python datasets.load_dataset("librispeech_asr") ``` ## Expected results It should download and prepare the whole dataset (all subsets). In [the doc](https://huggingface.co/datasets/libris...
48
Dataset librispeech_asr fails to load ## Describe the bug The dataset librispeech_asr (standard Librispeech) fails to load. ## Steps to reproduce the bug ```python datasets.load_dataset("librispeech_asr") ``` ## Expected results It should download and prepare the whole dataset (all subsets). In [the doc](...
https://github.com/huggingface/datasets/issues/4179
Dataset librispeech_asr fails to load
Hey @albertz, opened a PR here. Think by adding the "subdataset" class to each split "train", "dev", "other" as shown here: https://github.com/huggingface/datasets/pull/4184/files#r853272727 it should be easily possible (e.g. with the filter function https://huggingface.co/docs/datasets/v2.1.0/en/package_reference/...
## Describe the bug The dataset librispeech_asr (standard Librispeech) fails to load. ## Steps to reproduce the bug ```python datasets.load_dataset("librispeech_asr") ``` ## Expected results It should download and prepare the whole dataset (all subsets). In [the doc](https://huggingface.co/datasets/libris...
34
Dataset librispeech_asr fails to load ## Describe the bug The dataset librispeech_asr (standard Librispeech) fails to load. ## Steps to reproduce the bug ```python datasets.load_dataset("librispeech_asr") ``` ## Expected results It should download and prepare the whole dataset (all subsets). In [the doc](...
https://github.com/huggingface/datasets/issues/4179
Dataset librispeech_asr fails to load
But also since everything is cached one could also just do: ```python load_dataset("librispeech", "clean", "train.100") load_dataset("librispeech", "clean", "train.100+train.360") load_dataset("librispeech" "all", "train") ```
## Describe the bug The dataset librispeech_asr (standard Librispeech) fails to load. ## Steps to reproduce the bug ```python datasets.load_dataset("librispeech_asr") ``` ## Expected results It should download and prepare the whole dataset (all subsets). In [the doc](https://huggingface.co/datasets/libris...
22
Dataset librispeech_asr fails to load ## Describe the bug The dataset librispeech_asr (standard Librispeech) fails to load. ## Steps to reproduce the bug ```python datasets.load_dataset("librispeech_asr") ``` ## Expected results It should download and prepare the whole dataset (all subsets). In [the doc](...
https://github.com/huggingface/datasets/issues/4179
Dataset librispeech_asr fails to load
Hi @patrickvonplaten , load_dataset("librispeech_asr", "clean", "train.100") actually downloads the whole dataset and not the 100 hr split, is this a bug?
## Describe the bug The dataset librispeech_asr (standard Librispeech) fails to load. ## Steps to reproduce the bug ```python datasets.load_dataset("librispeech_asr") ``` ## Expected results It should download and prepare the whole dataset (all subsets). In [the doc](https://huggingface.co/datasets/libris...
21
Dataset librispeech_asr fails to load ## Describe the bug The dataset librispeech_asr (standard Librispeech) fails to load. ## Steps to reproduce the bug ```python datasets.load_dataset("librispeech_asr") ``` ## Expected results It should download and prepare the whole dataset (all subsets). In [the doc](...
https://github.com/huggingface/datasets/issues/4179
Dataset librispeech_asr fails to load
Hmm, I don't really see how that's possible: https://github.com/huggingface/datasets/blob/d22e39a0693d4be7410cf9a5d41fd5aac22be3cc/datasets/librispeech_asr/librispeech_asr.py#L51 Note that all datasets related to `"clean"` are downloaded, but only `"train.100"` should be used. cc @lhoestq @albertvillanova @mario...
## Describe the bug The dataset librispeech_asr (standard Librispeech) fails to load. ## Steps to reproduce the bug ```python datasets.load_dataset("librispeech_asr") ``` ## Expected results It should download and prepare the whole dataset (all subsets). In [the doc](https://huggingface.co/datasets/libris...
68
Dataset librispeech_asr fails to load ## Describe the bug The dataset librispeech_asr (standard Librispeech) fails to load. ## Steps to reproduce the bug ```python datasets.load_dataset("librispeech_asr") ``` ## Expected results It should download and prepare the whole dataset (all subsets). In [the doc](...
https://github.com/huggingface/datasets/issues/4179
Dataset librispeech_asr fails to load
@patrickvonplaten This problem is a bit harder than it may seem, and it has to do with how our scripts are structured - `_split_generators` downloads data for a split before its definition. There was an attempt to fix this in https://github.com/huggingface/datasets/pull/2249, but it wasn't flexible enough. Luckily, I h...
## Describe the bug The dataset librispeech_asr (standard Librispeech) fails to load. ## Steps to reproduce the bug ```python datasets.load_dataset("librispeech_asr") ``` ## Expected results It should download and prepare the whole dataset (all subsets). In [the doc](https://huggingface.co/datasets/libris...
89
Dataset librispeech_asr fails to load ## Describe the bug The dataset librispeech_asr (standard Librispeech) fails to load. ## Steps to reproduce the bug ```python datasets.load_dataset("librispeech_asr") ``` ## Expected results It should download and prepare the whole dataset (all subsets). In [the doc](...
https://github.com/huggingface/datasets/issues/4179
Dataset librispeech_asr fails to load
> load_dataset("librispeech_asr", "clean", "train.100") actually downloads the whole dataset and not the 100 hr split, is this a bug? Since this bug is still there and google led me here when I was searching for a solution, I am writing down how to quickly fix it (as suggested by @mariosasko) for whoever else is not...
## Describe the bug The dataset librispeech_asr (standard Librispeech) fails to load. ## Steps to reproduce the bug ```python datasets.load_dataset("librispeech_asr") ``` ## Expected results It should download and prepare the whole dataset (all subsets). In [the doc](https://huggingface.co/datasets/libris...
130
Dataset librispeech_asr fails to load ## Describe the bug The dataset librispeech_asr (standard Librispeech) fails to load. ## Steps to reproduce the bug ```python datasets.load_dataset("librispeech_asr") ``` ## Expected results It should download and prepare the whole dataset (all subsets). In [the doc](...
https://github.com/huggingface/datasets/issues/6324
Conversion to Arrow fails due to wrong type heuristic
Unlike Pandas, Arrow is strict with types, so converting the problematic strings to ints (or ints to strings) to ensure all the values have the same type is the only fix. JSON support has been requested in Arrow [here](https://github.com/apache/arrow/issues/32538), but I don't expect this to be implemented soon. ...
### Describe the bug I have a list of dictionaries with valid/JSON-serializable values. One key is the denominator for a paragraph. In 99.9% of cases its a number, but there are some occurences of '1a', '2b' and so on. If trying to convert this list to a dataset with `Dataset.from_list()`, I always get `ArrowI...
97
Conversion to Arrow fails due to wrong type heuristic ### Describe the bug I have a list of dictionaries with valid/JSON-serializable values. One key is the denominator for a paragraph. In 99.9% of cases its a number, but there are some occurences of '1a', '2b' and so on. If trying to convert this list to a dat...
https://github.com/huggingface/datasets/issues/6324
Conversion to Arrow fails due to wrong type heuristic
> Unlike Pandas, Arrow is strict with types, so converting the problematic strings to ints (or ints to strings) to ensure all the values have the same type is the only fix. > > JSON support has been requested in Arrow [here](https://github.com/apache/arrow/issues/32538), but I don't expect this to be implemented soo...
### Describe the bug I have a list of dictionaries with valid/JSON-serializable values. One key is the denominator for a paragraph. In 99.9% of cases its a number, but there are some occurences of '1a', '2b' and so on. If trying to convert this list to a dataset with `Dataset.from_list()`, I always get `ArrowI...
121
Conversion to Arrow fails due to wrong type heuristic ### Describe the bug I have a list of dictionaries with valid/JSON-serializable values. One key is the denominator for a paragraph. In 99.9% of cases its a number, but there are some occurences of '1a', '2b' and so on. If trying to convert this list to a dat...
https://github.com/huggingface/datasets/issues/5180
An example or recommendations for creating large image datasets?
The beam utilities allow to prepare a dataset as parquet in your cloud storage. From my perspective this CLI is not super easy to use, but we've been working on a new python API to prepare a dataset in your cloud storage: ```python from datasets import load_dataset_builder builder = load_dataset_builder("c4", "en"...
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...
112
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 pipeli...
https://github.com/huggingface/datasets/issues/7337
One or several metadata.jsonl were found, but not in the same directory or in a parent directory of
Hmmm I double checked in the source code and I found a contradiction: in the current implementation the metadata file is ignored if it's not in the same archive as the zip image somehow: https://github.com/huggingface/datasets/blob/caa705e8bf4bedf1a956f48b545283b2ca14170a/src/datasets/packaged_modules/folder_based_b...
### Describe the bug ImageFolder with metadata.jsonl error. I downloaded liuhaotian/LLaVA-CC3M-Pretrain-595K locally from Hugging Face. According to the tutorial in https://huggingface.co/docs/datasets/image_dataset#image-captioning, only put images.zip and metadata.jsonl containing information in the same folder. How...
110
One or several metadata.jsonl were found, but not in the same directory or in a parent directory of ### Describe the bug ImageFolder with metadata.jsonl error. I downloaded liuhaotian/LLaVA-CC3M-Pretrain-595K locally from Hugging Face. According to the tutorial in https://huggingface.co/docs/datasets/image_dataset#ima...
https://github.com/huggingface/datasets/issues/4666
Issues with concatenating datasets
Hi! I agree we should improve the features equality checks to account for this particular case. However, your code fails due to `answer_start` having the dtype `int64` instead of `int32` after loading from JSON (it's not possible to embed type precision info into a JSON file; `save_to_disk` does that for arrow files), ...
## Describe the bug It is impossible to concatenate datasets if a feature is sequence of dict in one dataset and a dict of sequence in another. But based on the document, it should be automatically converted. > A [datasets.Sequence](https://huggingface.co/docs/datasets/v2.3.2/en/package_reference/main_classes#datas...
83
Issues with concatenating datasets ## Describe the bug It is impossible to concatenate datasets if a feature is sequence of dict in one dataset and a dict of sequence in another. But based on the document, it should be automatically converted. > A [datasets.Sequence](https://huggingface.co/docs/datasets/v2.3.2/en/p...
https://github.com/huggingface/datasets/issues/4666
Issues with concatenating datasets
That makes sense. I totally missed the `int64` and `int32` part. Thanks for pointing it out! Will close this issue for now.
## Describe the bug It is impossible to concatenate datasets if a feature is sequence of dict in one dataset and a dict of sequence in another. But based on the document, it should be automatically converted. > A [datasets.Sequence](https://huggingface.co/docs/datasets/v2.3.2/en/package_reference/main_classes#datas...
22
Issues with concatenating datasets ## Describe the bug It is impossible to concatenate datasets if a feature is sequence of dict in one dataset and a dict of sequence in another. But based on the document, it should be automatically converted. > A [datasets.Sequence](https://huggingface.co/docs/datasets/v2.3.2/en/p...
https://github.com/huggingface/datasets/issues/6930
ValueError: Couldn't infer the same data file format for all splits. Got {'train': ('json', {}), 'validation': (None, {})}
> How do you solve it ? Please check your Python environment and dataset version. I have just resolved the issue, which was caused by a Python environment switching error
### Describe the bug When I run the code en = load_dataset("allenai/c4", "en", streaming=True), I encounter an error: raise ValueError(f"Couldn't infer the same data file format for all splits. Got {split_modules}") ValueError: Couldn't infer the same data file format for all splits. Got {'train': ('json', {}), 'valid...
30
ValueError: Couldn't infer the same data file format for all splits. Got {'train': ('json', {}), 'validation': (None, {})} ### Describe the bug When I run the code en = load_dataset("allenai/c4", "en", streaming=True), I encounter an error: raise ValueError(f"Couldn't infer the same data file format for all splits. Go...
https://github.com/huggingface/datasets/issues/6529
Impossible to only download a test split
This feature has been proposed for a long time. I'm looking forward to the implementation. On clusters `streaming=True` is not an option since we do not have Internet on compute nodes. See: https://github.com/huggingface/datasets/discussions/1896#discussioncomment-2359593
I've spent a significant amount of time trying to locate the split object inside my _split_generators() custom function. Then after diving [in the code](https://github.com/huggingface/datasets/blob/5ff3670c18ed34fa8ddfa70a9aa403ae6cc9ad54/src/datasets/load.py#L2558) I realized that `download_and_prepare` is executed b...
33
Impossible to only download a test split I've spent a significant amount of time trying to locate the split object inside my _split_generators() custom function. Then after diving [in the code](https://github.com/huggingface/datasets/blob/5ff3670c18ed34fa8ddfa70a9aa403ae6cc9ad54/src/datasets/load.py#L2558) I realized ...
https://github.com/huggingface/datasets/issues/5991
`map` with any joblib backend
#self-assign Hi @lhoestq πŸ‘‹πŸΌ I’d like to work on this! Planning to support progress tracking with `map()` using any joblib backend (like "loky") by replacing the Queue-based approach in `iflatmap_unordered` with a file-based progress tracking mechanism (e.g. shared temp file with periodic updates). This would allo...
We recently enabled the (experimental) parallel backend switch for data download and extraction but not for `map` yet. Right now we're using our `iflatmap_unordered` implementation for multiprocessing that uses a shared Queue to gather progress updates from the subprocesses and show a progress bar in the main proces...
70
`map` with any joblib backend We recently enabled the (experimental) parallel backend switch for data download and extraction but not for `map` yet. Right now we're using our `iflatmap_unordered` implementation for multiprocessing that uses a shared Queue to gather progress updates from the subprocesses and show a p...
https://github.com/huggingface/datasets/issues/5991
`map` with any joblib backend
I think ideally it should have a general solution, since some joblib backends don't have a shared filesystem
We recently enabled the (experimental) parallel backend switch for data download and extraction but not for `map` yet. Right now we're using our `iflatmap_unordered` implementation for multiprocessing that uses a shared Queue to gather progress updates from the subprocesses and show a progress bar in the main proces...
18
`map` with any joblib backend We recently enabled the (experimental) parallel backend switch for data download and extraction but not for `map` yet. Right now we're using our `iflatmap_unordered` implementation for multiprocessing that uses a shared Queue to gather progress updates from the subprocesses and show a p...
https://github.com/huggingface/datasets/issues/5144
Inconsistent documentation on map remove_columns
Thanks for reporting, @zhaowei-wang-nlp. You are right, the documentation is confusing on the behavior of `remove_columns`. We should better explain it.
### Describe the bug The page [process](https://huggingface.co/docs/datasets/process) says this about the parameter `remove_columns` of the function `map`: When you remove a column, it is only removed after the example has been provided to the mapped function. So it seems that the `remove_columns` parameter remo...
21
Inconsistent documentation on map remove_columns ### Describe the bug The page [process](https://huggingface.co/docs/datasets/process) says this about the parameter `remove_columns` of the function `map`: When you remove a column, it is only removed after the example has been provided to the mapped function. So ...
https://github.com/huggingface/datasets/issues/5144
Inconsistent documentation on map remove_columns
I'm closing this issue because as @mariosasko pointed out, it is a duplicate of: - #2343
### Describe the bug The page [process](https://huggingface.co/docs/datasets/process) says this about the parameter `remove_columns` of the function `map`: When you remove a column, it is only removed after the example has been provided to the mapped function. So it seems that the `remove_columns` parameter remo...
16
Inconsistent documentation on map remove_columns ### Describe the bug The page [process](https://huggingface.co/docs/datasets/process) says this about the parameter `remove_columns` of the function `map`: When you remove a column, it is only removed after the example has been provided to the mapped function. So ...
https://github.com/huggingface/datasets/issues/3663
[Audio] Path of Common Voice cannot be used for audio loading anymore
Having talked to @lhoestq, I see that this feature is no longer supported. I really don't think this was a good idea. It is a major breaking change and one for which we don't even have a working solution at the moment, which is bad for PyTorch as we don't want to force people to have `datasets` decode audio files a...
## Describe the bug ## Steps to reproduce the bug ```python from datasets import load_dataset from torchaudio import load ds = load_dataset("common_voice", "ab", split="train") # both of the following commands fail at the moment load(ds[0]["audio"]["path"]) load(ds[0]["path"]) ``` ## Expected results ...
522
[Audio] Path of Common Voice cannot be used for audio loading anymore ## Describe the bug ## Steps to reproduce the bug ```python from datasets import load_dataset from torchaudio import load ds = load_dataset("common_voice", "ab", split="train") # both of the following commands fail at the moment load(ds[...
https://github.com/huggingface/datasets/issues/3663
[Audio] Path of Common Voice cannot be used for audio loading anymore
Agree that we need to have access to the original sound files. Few days ago I was looking for these original files because I suspected there is bug in the audio resampling (confirmed in https://github.com/huggingface/datasets/issues/3662) and I want to do my own resampling to workaround the bug, which is now not possib...
## Describe the bug ## Steps to reproduce the bug ```python from datasets import load_dataset from torchaudio import load ds = load_dataset("common_voice", "ab", split="train") # both of the following commands fail at the moment load(ds[0]["audio"]["path"]) load(ds[0]["path"]) ``` ## Expected results ...
61
[Audio] Path of Common Voice cannot be used for audio loading anymore ## Describe the bug ## Steps to reproduce the bug ```python from datasets import load_dataset from torchaudio import load ds = load_dataset("common_voice", "ab", split="train") # both of the following commands fail at the moment load(ds[...
https://github.com/huggingface/datasets/issues/3663
[Audio] Path of Common Voice cannot be used for audio loading anymore
@patrickvonplaten > The other solution of providing a path-like object derived from the bytes stocked in the .array file is not nearly as user-friendly, but better than nothing Just to clarify, here you describe the approach that uses the `Audio.decode` attribute to access the underlying bytes? > The official e...
## Describe the bug ## Steps to reproduce the bug ```python from datasets import load_dataset from torchaudio import load ds = load_dataset("common_voice", "ab", split="train") # both of the following commands fail at the moment load(ds[0]["audio"]["path"]) load(ds[0]["path"]) ``` ## Expected results ...
180
[Audio] Path of Common Voice cannot be used for audio loading anymore ## Describe the bug ## Steps to reproduce the bug ```python from datasets import load_dataset from torchaudio import load ds = load_dataset("common_voice", "ab", split="train") # both of the following commands fail at the moment load(ds[...
https://github.com/huggingface/datasets/issues/3663
[Audio] Path of Common Voice cannot be used for audio loading anymore
Related to this discussion: in https://github.com/huggingface/datasets/pull/3664#issuecomment-1031866858 I propose how we could change `iter_archive` to work for streaming and also return local paths (as it used too !). I'd love your opinions on this
## Describe the bug ## Steps to reproduce the bug ```python from datasets import load_dataset from torchaudio import load ds = load_dataset("common_voice", "ab", split="train") # both of the following commands fail at the moment load(ds[0]["audio"]["path"]) load(ds[0]["path"]) ``` ## Expected results ...
33
[Audio] Path of Common Voice cannot be used for audio loading anymore ## Describe the bug ## Steps to reproduce the bug ```python from datasets import load_dataset from torchaudio import load ds = load_dataset("common_voice", "ab", split="train") # both of the following commands fail at the moment load(ds[...
https://github.com/huggingface/datasets/issues/3663
[Audio] Path of Common Voice cannot be used for audio loading anymore
> @patrickvonplaten > > > The other solution of providing a path-like object derived from the bytes stocked in the .array file is not nearly as user-friendly, but better than nothing > > Just to clarify, here you describe the approach that uses the `Audio.decode` attribute to access the underlying bytes? Yes! ...
## Describe the bug ## Steps to reproduce the bug ```python from datasets import load_dataset from torchaudio import load ds = load_dataset("common_voice", "ab", split="train") # both of the following commands fail at the moment load(ds[0]["audio"]["path"]) load(ds[0]["path"]) ``` ## Expected results ...
436
[Audio] Path of Common Voice cannot be used for audio loading anymore ## Describe the bug ## Steps to reproduce the bug ```python from datasets import load_dataset from torchaudio import load ds = load_dataset("common_voice", "ab", split="train") # both of the following commands fail at the moment load(ds[...
https://github.com/huggingface/datasets/issues/3663
[Audio] Path of Common Voice cannot be used for audio loading anymore
From https://github.com/huggingface/datasets/pull/3736 the Common Voice dataset now gives access to the local audio files as before
## Describe the bug ## Steps to reproduce the bug ```python from datasets import load_dataset from torchaudio import load ds = load_dataset("common_voice", "ab", split="train") # both of the following commands fail at the moment load(ds[0]["audio"]["path"]) load(ds[0]["path"]) ``` ## Expected results ...
16
[Audio] Path of Common Voice cannot be used for audio loading anymore ## Describe the bug ## Steps to reproduce the bug ```python from datasets import load_dataset from torchaudio import load ds = load_dataset("common_voice", "ab", split="train") # both of the following commands fail at the moment load(ds[...
https://github.com/huggingface/datasets/issues/3663
[Audio] Path of Common Voice cannot be used for audio loading anymore
I understand the argument that it is bad to have a breaking change. How to deal with the introduction of breaking changes is a topic of its own and not sure how you want to deal with that (or is the policy this is never allowed, and there must be a `load_dataset_v2` or so if you really want to introduce a breaking chan...
## Describe the bug ## Steps to reproduce the bug ```python from datasets import load_dataset from torchaudio import load ds = load_dataset("common_voice", "ab", split="train") # both of the following commands fail at the moment load(ds[0]["audio"]["path"]) load(ds[0]["path"]) ``` ## Expected results ...
336
[Audio] Path of Common Voice cannot be used for audio loading anymore ## Describe the bug ## Steps to reproduce the bug ```python from datasets import load_dataset from torchaudio import load ds = load_dataset("common_voice", "ab", split="train") # both of the following commands fail at the moment load(ds[...
https://github.com/huggingface/datasets/issues/3663
[Audio] Path of Common Voice cannot be used for audio loading anymore
Thanks for your comments here @albertz - cool to get your input! Answering a bit here between the lines: > I understand the argument that it is bad to have a breaking change. How to deal with the introduction of breaking changes is a topic of its own and not sure how you want to deal with that (or is the policy ...
## Describe the bug ## Steps to reproduce the bug ```python from datasets import load_dataset from torchaudio import load ds = load_dataset("common_voice", "ab", split="train") # both of the following commands fail at the moment load(ds[0]["audio"]["path"]) load(ds[0]["path"]) ``` ## Expected results ...
561
[Audio] Path of Common Voice cannot be used for audio loading anymore ## Describe the bug ## Steps to reproduce the bug ```python from datasets import load_dataset from torchaudio import load ds = load_dataset("common_voice", "ab", split="train") # both of the following commands fail at the moment load(ds[...
https://github.com/huggingface/datasets/issues/3663
[Audio] Path of Common Voice cannot be used for audio loading anymore
> The problem with decoding on the fly is that we currently rely on `torchaudio` for this now which relies on `torch` which is not necessarily something people would like to install when using `tensorflow` or `flax`. Therefore we cannot just rely on people using the decoding on the fly method. We just didn't find a lib...
## Describe the bug ## Steps to reproduce the bug ```python from datasets import load_dataset from torchaudio import load ds = load_dataset("common_voice", "ab", split="train") # both of the following commands fail at the moment load(ds[0]["audio"]["path"]) load(ds[0]["path"]) ``` ## Expected results ...
435
[Audio] Path of Common Voice cannot be used for audio loading anymore ## Describe the bug ## Steps to reproduce the bug ```python from datasets import load_dataset from torchaudio import load ds = load_dataset("common_voice", "ab", split="train") # both of the following commands fail at the moment load(ds[...
https://github.com/huggingface/datasets/issues/3663
[Audio] Path of Common Voice cannot be used for audio loading anymore
> In https://github.com/huggingface/datasets/pull/4184#issuecomment-1105191639, you said/proposed that this map is not needed anymore and save_to_disk could do it automatically (maybe via some option)? Yes! Should be super easy now see discussion here: https://github.com/rwth-i6/i6_core/issues/257#issuecomment-11054...
## Describe the bug ## Steps to reproduce the bug ```python from datasets import load_dataset from torchaudio import load ds = load_dataset("common_voice", "ab", split="train") # both of the following commands fail at the moment load(ds[0]["audio"]["path"]) load(ds[0]["path"]) ``` ## Expected results ...
39
[Audio] Path of Common Voice cannot be used for audio loading anymore ## Describe the bug ## Steps to reproduce the bug ```python from datasets import load_dataset from torchaudio import load ds = load_dataset("common_voice", "ab", split="train") # both of the following commands fail at the moment load(ds[...
https://github.com/huggingface/datasets/issues/3663
[Audio] Path of Common Voice cannot be used for audio loading anymore
Despite the comments that this has been fixed, I am finding the exact same problem is occurring again (with datasets version 2.3.2)
## Describe the bug ## Steps to reproduce the bug ```python from datasets import load_dataset from torchaudio import load ds = load_dataset("common_voice", "ab", split="train") # both of the following commands fail at the moment load(ds[0]["audio"]["path"]) load(ds[0]["path"]) ``` ## Expected results ...
22
[Audio] Path of Common Voice cannot be used for audio loading anymore ## Describe the bug ## Steps to reproduce the bug ```python from datasets import load_dataset from torchaudio import load ds = load_dataset("common_voice", "ab", split="train") # both of the following commands fail at the moment load(ds[...
https://github.com/huggingface/datasets/issues/3663
[Audio] Path of Common Voice cannot be used for audio loading anymore
> Despite the comments that this has been fixed, I am finding the exact same problem is occurring again (with datasets version 2.3.2) It appears downgrading to torchaudio 0.11.0 fixed this problem.
## Describe the bug ## Steps to reproduce the bug ```python from datasets import load_dataset from torchaudio import load ds = load_dataset("common_voice", "ab", split="train") # both of the following commands fail at the moment load(ds[0]["audio"]["path"]) load(ds[0]["path"]) ``` ## Expected results ...
32
[Audio] Path of Common Voice cannot be used for audio loading anymore ## Describe the bug ## Steps to reproduce the bug ```python from datasets import load_dataset from torchaudio import load ds = load_dataset("common_voice", "ab", split="train") # both of the following commands fail at the moment load(ds[...
https://github.com/huggingface/datasets/issues/3663
[Audio] Path of Common Voice cannot be used for audio loading anymore
@patrickvonplaten @lhoestq @polinaeterna I was unable to load audio from Common Voice using πŸ€— with the current version of torchaudio, but downgrading to torchaudio 0.11.0 fixed it. This is probably more of a torch problem than a Hugging Face problem.
## Describe the bug ## Steps to reproduce the bug ```python from datasets import load_dataset from torchaudio import load ds = load_dataset("common_voice", "ab", split="train") # both of the following commands fail at the moment load(ds[0]["audio"]["path"]) load(ds[0]["path"]) ``` ## Expected results ...
40
[Audio] Path of Common Voice cannot be used for audio loading anymore ## Describe the bug ## Steps to reproduce the bug ```python from datasets import load_dataset from torchaudio import load ds = load_dataset("common_voice", "ab", split="train") # both of the following commands fail at the moment load(ds[...
https://github.com/huggingface/datasets/issues/3663
[Audio] Path of Common Voice cannot be used for audio loading anymore
@DCNemesis that's interesting, could you please share the error message if you still can access it?
## Describe the bug ## Steps to reproduce the bug ```python from datasets import load_dataset from torchaudio import load ds = load_dataset("common_voice", "ab", split="train") # both of the following commands fail at the moment load(ds[0]["audio"]["path"]) load(ds[0]["path"]) ``` ## Expected results ...
16
[Audio] Path of Common Voice cannot be used for audio loading anymore ## Describe the bug ## Steps to reproduce the bug ```python from datasets import load_dataset from torchaudio import load ds = load_dataset("common_voice", "ab", split="train") # both of the following commands fail at the moment load(ds[...
https://github.com/huggingface/datasets/issues/3663
[Audio] Path of Common Voice cannot be used for audio loading anymore
@polinaeterna I believe it is the same exact error as above. It occurs on other .mp3 sources as well, but the problem is with torchaudio > 0.11.0. I've created a short colab notebook that reproduces the error, and the fix here: https://colab.research.google.com/drive/18wsuwdHwBPN3JkcnhEtk8MUYqF9swuWZ?usp=sharing
## Describe the bug ## Steps to reproduce the bug ```python from datasets import load_dataset from torchaudio import load ds = load_dataset("common_voice", "ab", split="train") # both of the following commands fail at the moment load(ds[0]["audio"]["path"]) load(ds[0]["path"]) ``` ## Expected results ...
42
[Audio] Path of Common Voice cannot be used for audio loading anymore ## Describe the bug ## Steps to reproduce the bug ```python from datasets import load_dataset from torchaudio import load ds = load_dataset("common_voice", "ab", split="train") # both of the following commands fail at the moment load(ds[...
https://github.com/huggingface/datasets/issues/3663
[Audio] Path of Common Voice cannot be used for audio loading anymore
Hi @DCNemesis, Your issue was slightly different from the original one in this issue page. Yours seems related to a change in the backend used by `torchaudio` (`ffmpeg` instead of `sox`). Refer to the issue page here: - #4776 Normally, it should be circumvented with the patch made by @polinaeterna in: - #4923
## Describe the bug ## Steps to reproduce the bug ```python from datasets import load_dataset from torchaudio import load ds = load_dataset("common_voice", "ab", split="train") # both of the following commands fail at the moment load(ds[0]["audio"]["path"]) load(ds[0]["path"]) ``` ## Expected results ...
53
[Audio] Path of Common Voice cannot be used for audio loading anymore ## Describe the bug ## Steps to reproduce the bug ```python from datasets import load_dataset from torchaudio import load ds = load_dataset("common_voice", "ab", split="train") # both of the following commands fail at the moment load(ds[...
https://github.com/huggingface/datasets/issues/3663
[Audio] Path of Common Voice cannot be used for audio loading anymore
I think the original issue reported here was already fixed by: - #3736 Otherwise, feel free to reopen.
## Describe the bug ## Steps to reproduce the bug ```python from datasets import load_dataset from torchaudio import load ds = load_dataset("common_voice", "ab", split="train") # both of the following commands fail at the moment load(ds[0]["audio"]["path"]) load(ds[0]["path"]) ``` ## Expected results ...
18
[Audio] Path of Common Voice cannot be used for audio loading anymore ## Describe the bug ## Steps to reproduce the bug ```python from datasets import load_dataset from torchaudio import load ds = load_dataset("common_voice", "ab", split="train") # both of the following commands fail at the moment load(ds[...
https://github.com/huggingface/datasets/issues/3285
Add IEMOCAP dataset
The IEMOCAP dataset is private and available only on request. ``` To obtain the IEMOCAP data you just need to fill out an electronic release form below. ``` - [Request form](https://sail.usc.edu/iemocap/release_form.php) - [License ](https://sail.usc.edu/iemocap/Data_Release_Form_IEMOCAP.pdf) > We do not sh...
## Adding a Dataset - **Name:** IEMOCAP - **Description:** acted, multimodal and multispeaker database - **Paper:** https://sail.usc.edu/iemocap/Busso_2008_iemocap.pdf - **Data:** https://sail.usc.edu/iemocap/index.html - **Motivation:** Useful multimodal dataset cc @anton-l Instructions to add a new datase...
80
Add IEMOCAP dataset ## Adding a Dataset - **Name:** IEMOCAP - **Description:** acted, multimodal and multispeaker database - **Paper:** https://sail.usc.edu/iemocap/Busso_2008_iemocap.pdf - **Data:** https://sail.usc.edu/iemocap/index.html - **Motivation:** Useful multimodal dataset cc @anton-l Instructions...
https://github.com/huggingface/datasets/issues/3285
Add IEMOCAP dataset
Hi @dnaveenr ! We can contact the authors to see if they are interested in hosting the dataset on the Hub. In the meantime, feel free to work on a script with manual download.
## Adding a Dataset - **Name:** IEMOCAP - **Description:** acted, multimodal and multispeaker database - **Paper:** https://sail.usc.edu/iemocap/Busso_2008_iemocap.pdf - **Data:** https://sail.usc.edu/iemocap/index.html - **Motivation:** Useful multimodal dataset cc @anton-l Instructions to add a new datase...
34
Add IEMOCAP dataset ## Adding a Dataset - **Name:** IEMOCAP - **Description:** acted, multimodal and multispeaker database - **Paper:** https://sail.usc.edu/iemocap/Busso_2008_iemocap.pdf - **Data:** https://sail.usc.edu/iemocap/index.html - **Motivation:** Useful multimodal dataset cc @anton-l Instructions...
https://github.com/huggingface/datasets/issues/3285
Add IEMOCAP dataset
Hi @mariosasko . Thanks for your response. Sure, I will mail them and find out if they're open to this. Work on a script with manual download ? This is new to me, any guidelines would be helpful here.
## Adding a Dataset - **Name:** IEMOCAP - **Description:** acted, multimodal and multispeaker database - **Paper:** https://sail.usc.edu/iemocap/Busso_2008_iemocap.pdf - **Data:** https://sail.usc.edu/iemocap/index.html - **Motivation:** Useful multimodal dataset cc @anton-l Instructions to add a new datase...
39
Add IEMOCAP dataset ## Adding a Dataset - **Name:** IEMOCAP - **Description:** acted, multimodal and multispeaker database - **Paper:** https://sail.usc.edu/iemocap/Busso_2008_iemocap.pdf - **Data:** https://sail.usc.edu/iemocap/index.html - **Motivation:** Useful multimodal dataset cc @anton-l Instructions...
https://github.com/huggingface/datasets/issues/3285
Add IEMOCAP dataset
> Thanks for your response. Sure, I will mail them and find out if they're open to this. It's best to leave this part to us because we have to explain how login would work and (potentially) set up a custom verification for the dataset. > Work on a script with manual download ? This is new to me, any guidelines wo...
## Adding a Dataset - **Name:** IEMOCAP - **Description:** acted, multimodal and multispeaker database - **Paper:** https://sail.usc.edu/iemocap/Busso_2008_iemocap.pdf - **Data:** https://sail.usc.edu/iemocap/index.html - **Motivation:** Useful multimodal dataset cc @anton-l Instructions to add a new datase...
100
Add IEMOCAP dataset ## Adding a Dataset - **Name:** IEMOCAP - **Description:** acted, multimodal and multispeaker database - **Paper:** https://sail.usc.edu/iemocap/Busso_2008_iemocap.pdf - **Data:** https://sail.usc.edu/iemocap/index.html - **Motivation:** Useful multimodal dataset cc @anton-l Instructions...
https://github.com/huggingface/datasets/issues/3285
Add IEMOCAP dataset
> It's best to leave this part to us because we have to explain how login would work and (potentially) set up a custom verification for the dataset. Yes. That would be perfect. Thanks. ---- Okay. Thanks for giving a reference. This is helpful. I will go through it.
## Adding a Dataset - **Name:** IEMOCAP - **Description:** acted, multimodal and multispeaker database - **Paper:** https://sail.usc.edu/iemocap/Busso_2008_iemocap.pdf - **Data:** https://sail.usc.edu/iemocap/index.html - **Motivation:** Useful multimodal dataset cc @anton-l Instructions to add a new datase...
49
Add IEMOCAP dataset ## Adding a Dataset - **Name:** IEMOCAP - **Description:** acted, multimodal and multispeaker database - **Paper:** https://sail.usc.edu/iemocap/Busso_2008_iemocap.pdf - **Data:** https://sail.usc.edu/iemocap/index.html - **Motivation:** Useful multimodal dataset cc @anton-l Instructions...
https://github.com/huggingface/datasets/issues/3285
Add IEMOCAP dataset
@mariosasko has this been solved? I would like to use login and custom verification for training on my private dataset.
## Adding a Dataset - **Name:** IEMOCAP - **Description:** acted, multimodal and multispeaker database - **Paper:** https://sail.usc.edu/iemocap/Busso_2008_iemocap.pdf - **Data:** https://sail.usc.edu/iemocap/index.html - **Motivation:** Useful multimodal dataset cc @anton-l Instructions to add a new datase...
20
Add IEMOCAP dataset ## Adding a Dataset - **Name:** IEMOCAP - **Description:** acted, multimodal and multispeaker database - **Paper:** https://sail.usc.edu/iemocap/Busso_2008_iemocap.pdf - **Data:** https://sail.usc.edu/iemocap/index.html - **Motivation:** Useful multimodal dataset cc @anton-l Instructions...
https://github.com/huggingface/datasets/issues/3285
Add IEMOCAP dataset
@mariosasko Thanks, but no. I would like to keep my HuggingFace Dataset private and train a model on it. Is this possible?
## Adding a Dataset - **Name:** IEMOCAP - **Description:** acted, multimodal and multispeaker database - **Paper:** https://sail.usc.edu/iemocap/Busso_2008_iemocap.pdf - **Data:** https://sail.usc.edu/iemocap/index.html - **Motivation:** Useful multimodal dataset cc @anton-l Instructions to add a new datase...
22
Add IEMOCAP dataset ## Adding a Dataset - **Name:** IEMOCAP - **Description:** acted, multimodal and multispeaker database - **Paper:** https://sail.usc.edu/iemocap/Busso_2008_iemocap.pdf - **Data:** https://sail.usc.edu/iemocap/index.html - **Motivation:** Useful multimodal dataset cc @anton-l Instructions...
https://github.com/huggingface/datasets/issues/5759
Can I load in list of list of dict format?
Thanks for reporting, @LZY-the-boys. Could you please give more details about what is your intended dataset structure? What are the names of the columns and the value of each row? Currently, the JSON-Lines format is supported: - Each line correspond to one row of the dataset - Each line is composed of one JSON ...
### 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...
74
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.Datase...
https://github.com/huggingface/datasets/issues/4057
`load_dataset` consumes too much memory for audio + tar archives
Hi ! Could it be because you need to free the memory used by `tarfile` by emptying the tar `members` by any chance ? ```python yield key, {"audio": {"path": audio_name, "bytes": audio_file_obj.read()}} audio_tarfile.members = [] # free memory key += 1 ``` and then you can set `DEFAULT_W...
## Description `load_dataset` consumes more and more memory until it's killed, even though it's made with a generator. I'm adding a loading script for a new dataset, made up of ~15s audio coming from a tar file. Tried setting `DEFAULT_WRITER_BATCH_SIZE = 1` as per the discussion in #741 but the problem persists. ...
85
`load_dataset` consumes too much memory for audio + tar archives ## Description `load_dataset` consumes more and more memory until it's killed, even though it's made with a generator. I'm adding a loading script for a new dataset, made up of ~15s audio coming from a tar file. Tried setting `DEFAULT_WRITER_BATCH_SI...
https://github.com/huggingface/datasets/issues/4057
`load_dataset` consumes too much memory for audio + tar archives
I also run out of memory when loading `mozilla-foundation/common_voice_8_0` that also uses `tarfile` via `dl_manager.iter_archive`. There seems to be some data files that stay in memory somewhere I don't have the issue with other compression formats like gzipped files
## Description `load_dataset` consumes more and more memory until it's killed, even though it's made with a generator. I'm adding a loading script for a new dataset, made up of ~15s audio coming from a tar file. Tried setting `DEFAULT_WRITER_BATCH_SIZE = 1` as per the discussion in #741 but the problem persists. ...
39
`load_dataset` consumes too much memory for audio + tar archives ## Description `load_dataset` consumes more and more memory until it's killed, even though it's made with a generator. I'm adding a loading script for a new dataset, made up of ~15s audio coming from a tar file. Tried setting `DEFAULT_WRITER_BATCH_SI...
https://github.com/huggingface/datasets/issues/4057
`load_dataset` consumes too much memory for audio + tar archives
I'm facing a similar memory leak issue when loading cv8. As you said @lhoestq `load_dataset("mozilla-foundation/common_voice_8_0", "en", use_auth_token=True, writer_batch_size=1)` This issue is happening on a 32GB RAM machine. Any updates on how to fix this?
## Description `load_dataset` consumes more and more memory until it's killed, even though it's made with a generator. I'm adding a loading script for a new dataset, made up of ~15s audio coming from a tar file. Tried setting `DEFAULT_WRITER_BATCH_SIZE = 1` as per the discussion in #741 but the problem persists. ...
34
`load_dataset` consumes too much memory for audio + tar archives ## Description `load_dataset` consumes more and more memory until it's killed, even though it's made with a generator. I'm adding a loading script for a new dataset, made up of ~15s audio coming from a tar file. Tried setting `DEFAULT_WRITER_BATCH_SI...
https://github.com/huggingface/datasets/issues/4057
`load_dataset` consumes too much memory for audio + tar archives
I've run a memory profiler to see where's the leak comes from: ![image](https://user-images.githubusercontent.com/5097052/165101712-e7060ae5-77b2-4f6a-92bd-2996dbd60b36.png) ... it seems that it's related to the tarfile lib buffer reader. But I don't know why it's only happening on the huggingface script
## Description `load_dataset` consumes more and more memory until it's killed, even though it's made with a generator. I'm adding a loading script for a new dataset, made up of ~15s audio coming from a tar file. Tried setting `DEFAULT_WRITER_BATCH_SIZE = 1` as per the discussion in #741 but the problem persists. ...
37
`load_dataset` consumes too much memory for audio + tar archives ## Description `load_dataset` consumes more and more memory until it's killed, even though it's made with a generator. I'm adding a loading script for a new dataset, made up of ~15s audio coming from a tar file. Tried setting `DEFAULT_WRITER_BATCH_SI...
https://github.com/huggingface/datasets/issues/4057
`load_dataset` consumes too much memory for audio + tar archives
I have the same problem when loading video into numpy. ``` yield id,{ "video": imageio.v3.imread(video_path), "label": int(label) } ``` Since video files are heavy, it can only processes a dozen samples before OOM.
## Description `load_dataset` consumes more and more memory until it's killed, even though it's made with a generator. I'm adding a loading script for a new dataset, made up of ~15s audio coming from a tar file. Tried setting `DEFAULT_WRITER_BATCH_SIZE = 1` as per the discussion in #741 but the problem persists. ...
33
`load_dataset` consumes too much memory for audio + tar archives ## Description `load_dataset` consumes more and more memory until it's killed, even though it's made with a generator. I'm adding a loading script for a new dataset, made up of ~15s audio coming from a tar file. Tried setting `DEFAULT_WRITER_BATCH_SI...
https://github.com/huggingface/datasets/issues/4057
`load_dataset` consumes too much memory for audio + tar archives
For video datasets I think you can just define the max number of video that can stay in memory by adding this class attribute to your dataset builer: ```py DEFAULT_WRITER_BATCH_SIZE = 8 # only 8 videos at a time in memory before flushing the dataset writer ```
## Description `load_dataset` consumes more and more memory until it's killed, even though it's made with a generator. I'm adding a loading script for a new dataset, made up of ~15s audio coming from a tar file. Tried setting `DEFAULT_WRITER_BATCH_SIZE = 1` as per the discussion in #741 but the problem persists. ...
47
`load_dataset` consumes too much memory for audio + tar archives ## Description `load_dataset` consumes more and more memory until it's killed, even though it's made with a generator. I'm adding a loading script for a new dataset, made up of ~15s audio coming from a tar file. Tried setting `DEFAULT_WRITER_BATCH_SI...
https://github.com/huggingface/datasets/issues/4057
`load_dataset` consumes too much memory for audio + tar archives
same thing happens for me with `load_dataset("mozilla-foundation/common_voice_8_0", "en", use_auth_token=True, writer_batch_size=1)` on azure ml. seems to fill up `tmp` and not release that memory until OOM
## Description `load_dataset` consumes more and more memory until it's killed, even though it's made with a generator. I'm adding a loading script for a new dataset, made up of ~15s audio coming from a tar file. Tried setting `DEFAULT_WRITER_BATCH_SIZE = 1` as per the discussion in #741 but the problem persists. ...
25
`load_dataset` consumes too much memory for audio + tar archives ## Description `load_dataset` consumes more and more memory until it's killed, even though it's made with a generator. I'm adding a loading script for a new dataset, made up of ~15s audio coming from a tar file. Tried setting `DEFAULT_WRITER_BATCH_SI...
https://github.com/huggingface/datasets/issues/4057
`load_dataset` consumes too much memory for audio + tar archives
I'll add that I'm encountering the same issue with `load_dataset('wikipedia', 'ceb', runner='DirectRunner', split='train')`. Same for `'es'` in place of `'ceb'`.
## Description `load_dataset` consumes more and more memory until it's killed, even though it's made with a generator. I'm adding a loading script for a new dataset, made up of ~15s audio coming from a tar file. Tried setting `DEFAULT_WRITER_BATCH_SIZE = 1` as per the discussion in #741 but the problem persists. ...
20
`load_dataset` consumes too much memory for audio + tar archives ## Description `load_dataset` consumes more and more memory until it's killed, even though it's made with a generator. I'm adding a loading script for a new dataset, made up of ~15s audio coming from a tar file. Tried setting `DEFAULT_WRITER_BATCH_SI...
https://github.com/huggingface/datasets/issues/4057
`load_dataset` consumes too much memory for audio + tar archives
> I'll add that I'm encountering the same issue with > load_dataset('wikipedia', 'ceb', runner='DirectRunner', split='train'). > Same for 'es' in place of 'ceb'. This is because the Apache Beam `DirectRunner` runs with the full data in memory unfortunately. Optimizing the `DirectRunner` is not in the scope of the ...
## Description `load_dataset` consumes more and more memory until it's killed, even though it's made with a generator. I'm adding a loading script for a new dataset, made up of ~15s audio coming from a tar file. Tried setting `DEFAULT_WRITER_BATCH_SIZE = 1` as per the discussion in #741 but the problem persists. ...
94
`load_dataset` consumes too much memory for audio + tar archives ## Description `load_dataset` consumes more and more memory until it's killed, even though it's made with a generator. I'm adding a loading script for a new dataset, made up of ~15s audio coming from a tar file. Tried setting `DEFAULT_WRITER_BATCH_SI...
https://github.com/huggingface/datasets/issues/4057
`load_dataset` consumes too much memory for audio + tar archives
> > I'll add that I'm encountering the same issue with > > `load_dataset('wikipedia', 'ceb', runner='DirectRunner', split='train')`. > > Same for `'es'` in place of `'ceb'`. > > This is because the Apache Beam `DirectRunner` runs with the full data in memory unfortunately. Optimizing the `DirectRunner` is not in t...
## Description `load_dataset` consumes more and more memory until it's killed, even though it's made with a generator. I'm adding a loading script for a new dataset, made up of ~15s audio coming from a tar file. Tried setting `DEFAULT_WRITER_BATCH_SIZE = 1` as per the discussion in #741 but the problem persists. ...
148
`load_dataset` consumes too much memory for audio + tar archives ## Description `load_dataset` consumes more and more memory until it's killed, even though it's made with a generator. I'm adding a loading script for a new dataset, made up of ~15s audio coming from a tar file. Tried setting `DEFAULT_WRITER_BATCH_SI...
https://github.com/huggingface/datasets/issues/4057
`load_dataset` consumes too much memory for audio + tar archives
> Fair enough, but this line of code crashed an AWS instance with 1024GB of RAM! What, wikipedia is not even bigger than 20GB cc @albertvillanova
## Description `load_dataset` consumes more and more memory until it's killed, even though it's made with a generator. I'm adding a loading script for a new dataset, made up of ~15s audio coming from a tar file. Tried setting `DEFAULT_WRITER_BATCH_SIZE = 1` as per the discussion in #741 but the problem persists. ...
26
`load_dataset` consumes too much memory for audio + tar archives ## Description `load_dataset` consumes more and more memory until it's killed, even though it's made with a generator. I'm adding a loading script for a new dataset, made up of ~15s audio coming from a tar file. Tried setting `DEFAULT_WRITER_BATCH_SI...
https://github.com/huggingface/datasets/issues/4057
`load_dataset` consumes too much memory for audio + tar archives
> > Fair enough, but this line of code crashed an AWS instance with 1024GB of RAM! > > What, wikipedia is not even bigger than 20GB > > cc @albertvillanova Luckily, on Colab you can watch the call stack at the bottom of the screen - much of the time and space complexity seems to come from `_parse_and_clean_wik...
## Description `load_dataset` consumes more and more memory until it's killed, even though it's made with a generator. I'm adding a loading script for a new dataset, made up of ~15s audio coming from a tar file. Tried setting `DEFAULT_WRITER_BATCH_SIZE = 1` as per the discussion in #741 but the problem persists. ...
92
`load_dataset` consumes too much memory for audio + tar archives ## Description `load_dataset` consumes more and more memory until it's killed, even though it's made with a generator. I'm adding a loading script for a new dataset, made up of ~15s audio coming from a tar file. Tried setting `DEFAULT_WRITER_BATCH_SI...
https://github.com/huggingface/datasets/issues/4057
`load_dataset` consumes too much memory for audio + tar archives
I think we are mixing many different bugs in this Issue page: - TAR archive with audio files - video file - distributed parsing of Wikipedia using Apache Beam @dan-the-meme-man may I ask you to open a separate Issue for your problem? Then I will address it. It is important to fix it because we are currently worki...
## Description `load_dataset` consumes more and more memory until it's killed, even though it's made with a generator. I'm adding a loading script for a new dataset, made up of ~15s audio coming from a tar file. Tried setting `DEFAULT_WRITER_BATCH_SIZE = 1` as per the discussion in #741 but the problem persists. ...
98
`load_dataset` consumes too much memory for audio + tar archives ## Description `load_dataset` consumes more and more memory until it's killed, even though it's made with a generator. I'm adding a loading script for a new dataset, made up of ~15s audio coming from a tar file. Tried setting `DEFAULT_WRITER_BATCH_SI...
https://github.com/huggingface/datasets/issues/4057
`load_dataset` consumes too much memory for audio + tar archives
Is there an update on the TAR archive issue with audio files? Happy to lend a hand in fixing this :)
## Description `load_dataset` consumes more and more memory until it's killed, even though it's made with a generator. I'm adding a loading script for a new dataset, made up of ~15s audio coming from a tar file. Tried setting `DEFAULT_WRITER_BATCH_SIZE = 1` as per the discussion in #741 but the problem persists. ...
21
`load_dataset` consumes too much memory for audio + tar archives ## Description `load_dataset` consumes more and more memory until it's killed, even though it's made with a generator. I'm adding a loading script for a new dataset, made up of ~15s audio coming from a tar file. Tried setting `DEFAULT_WRITER_BATCH_SI...
https://github.com/huggingface/datasets/issues/4057
`load_dataset` consumes too much memory for audio + tar archives
I found the issue with Common Voice 8 and opened a PR to fix it: https://huggingface.co/datasets/mozilla-foundation/common_voice_8_0/discussions/2 Basically the `metadata` dict that contains the transcripts per audio file was continuously getting filled with bytes from `f.read()` because of this code: ```python re...
## Description `load_dataset` consumes more and more memory until it's killed, even though it's made with a generator. I'm adding a loading script for a new dataset, made up of ~15s audio coming from a tar file. Tried setting `DEFAULT_WRITER_BATCH_SIZE = 1` as per the discussion in #741 but the problem persists. ...
76
`load_dataset` consumes too much memory for audio + tar archives ## Description `load_dataset` consumes more and more memory until it's killed, even though it's made with a generator. I'm adding a loading script for a new dataset, made up of ~15s audio coming from a tar file. Tried setting `DEFAULT_WRITER_BATCH_SI...
https://github.com/huggingface/datasets/issues/4057
`load_dataset` consumes too much memory for audio + tar archives
I'm closing this one for now, but feel free to reopen if you encounter other memory issues with audio datasets
## Description `load_dataset` consumes more and more memory until it's killed, even though it's made with a generator. I'm adding a loading script for a new dataset, made up of ~15s audio coming from a tar file. Tried setting `DEFAULT_WRITER_BATCH_SIZE = 1` as per the discussion in #741 but the problem persists. ...
20
`load_dataset` consumes too much memory for audio + tar archives ## Description `load_dataset` consumes more and more memory until it's killed, even though it's made with a generator. I'm adding a loading script for a new dataset, made up of ~15s audio coming from a tar file. Tried setting `DEFAULT_WRITER_BATCH_SI...
https://github.com/huggingface/datasets/issues/6237
Tokenization with multiple workers is too slow
[This](https://huggingface.co/docs/datasets/nlp_process#map) is the most performant way to tokenize a dataset (`batched=True, num_proc=None, return_tensors="np"`) If`tokenizer.is_fast` returns `True`, `num_proc` must be `None/1` to benefit from the fast tokenizers' parallelism (the fast tokenizers are implemented i...
I am trying to tokenize a few million documents with multiple workers but the tokenization process is taking forever. Code snippet: ``` raw_datasets.map( encode_function, batched=False, num_proc=args.preprocessing_num_workers, load_from_cache_file=not args.ove...
43
Tokenization with multiple workers is too slow I am trying to tokenize a few million documents with multiple workers but the tokenization process is taking forever. Code snippet: ``` raw_datasets.map( encode_function, batched=False, num_proc=args.preprocessing_num_workers,...
https://github.com/huggingface/datasets/issues/6273
Broken Link to PubMed Abstracts dataset .
@lhoestq @albertvillanova @lewtun I don't think we are allowed to host these data files on the Hub (due to DMCA), which means the only option is to use a different dataset in the course (and to re-record the video πŸ™‚), no?
### Describe the bug The link provided for the dataset is broken, data_files = [https://the-eye.eu/public/AI/pile_preliminary_components/PUBMED_title_abstracts_2019_baseline.jsonl.zst](url) The ### Steps to reproduce the bug Steps to reproduce: 1) Head over to [https://huggingface.co/learn/nlp-course/chapt...
41
Broken Link to PubMed Abstracts dataset . ### Describe the bug The link provided for the dataset is broken, data_files = [https://the-eye.eu/public/AI/pile_preliminary_components/PUBMED_title_abstracts_2019_baseline.jsonl.zst](url) The ### Steps to reproduce the bug Steps to reproduce: 1) Head over to [htt...
https://github.com/huggingface/datasets/issues/6273
Broken Link to PubMed Abstracts dataset .
Keeping the video is maybe fine, we can add a note on youtube to suggest to load a dataset with a different name. Maybe C4 ? And update the code snippets on the website ?
### Describe the bug The link provided for the dataset is broken, data_files = [https://the-eye.eu/public/AI/pile_preliminary_components/PUBMED_title_abstracts_2019_baseline.jsonl.zst](url) The ### Steps to reproduce the bug Steps to reproduce: 1) Head over to [https://huggingface.co/learn/nlp-course/chapt...
35
Broken Link to PubMed Abstracts dataset . ### Describe the bug The link provided for the dataset is broken, data_files = [https://the-eye.eu/public/AI/pile_preliminary_components/PUBMED_title_abstracts_2019_baseline.jsonl.zst](url) The ### Steps to reproduce the bug Steps to reproduce: 1) Head over to [htt...
https://github.com/huggingface/datasets/issues/6273
Broken Link to PubMed Abstracts dataset .
Maybe you want to try it with the PUBMED dataset that I reproduced based on the The [PubMed Abstract GitHub Site](http://github.com/thoppe/The-Pile-PubMed) and uploaded on the HuggingFace: ``` from datasets import load_dataset pubmed_dataset = load_dataset("hwang2006/PUBMED_title_abstracts_2020_baseline") pubmed_...
### Describe the bug The link provided for the dataset is broken, data_files = [https://the-eye.eu/public/AI/pile_preliminary_components/PUBMED_title_abstracts_2019_baseline.jsonl.zst](url) The ### Steps to reproduce the bug Steps to reproduce: 1) Head over to [https://huggingface.co/learn/nlp-course/chapt...
63
Broken Link to PubMed Abstracts dataset . ### Describe the bug The link provided for the dataset is broken, data_files = [https://the-eye.eu/public/AI/pile_preliminary_components/PUBMED_title_abstracts_2019_baseline.jsonl.zst](url) The ### Steps to reproduce the bug Steps to reproduce: 1) Head over to [htt...
https://github.com/huggingface/datasets/issues/5222
HuggingFace website is incorrectly reporting that my datasets are pickled
Yes I think I know what is happening. We check in zips for pickles, and the UI must display the pickle jar when a scan has an associated list of imports, even when empty. ~I'll fix ASAP !~
### 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...
38
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...
https://github.com/huggingface/datasets/issues/5222
HuggingFace website is incorrectly reporting that my datasets are pickled
> I'll fix ASAP ! Actually I'd rather leave it like that for now, as it indicates that we checked for pickles and nothing dangerous appeared :)
### 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...
27
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...
https://github.com/huggingface/datasets/issues/3485
skip columns which cannot set to specific format when set_format
You can add columns that you wish to set into `torch` format using `dataset.set_format("torch", ['id', 'abc'])` so that input batch of the transform only contains those columns
**Is your feature request related to a problem? Please describe.** When using `dataset.set_format("torch")`, I must make sure every columns in datasets can convert to `torch`, however, sometimes I want to keep some string columns. **Describe the solution you'd like** skip columns which cannot set to specific forma...
27
skip columns which cannot set to specific format when set_format **Is your feature request related to a problem? Please describe.** When using `dataset.set_format("torch")`, I must make sure every columns in datasets can convert to `torch`, however, sometimes I want to keep some string columns. **Describe the solut...
https://github.com/huggingface/datasets/issues/3485
skip columns which cannot set to specific format when set_format
Sorry, I miss `output_all_columns` args and thought after `dataset.set_format("torch", columns=columns)` I can only get specific columns I assigned.
**Is your feature request related to a problem? Please describe.** When using `dataset.set_format("torch")`, I must make sure every columns in datasets can convert to `torch`, however, sometimes I want to keep some string columns. **Describe the solution you'd like** skip columns which cannot set to specific forma...
18
skip columns which cannot set to specific format when set_format **Is your feature request related to a problem? Please describe.** When using `dataset.set_format("torch")`, I must make sure every columns in datasets can convert to `torch`, however, sometimes I want to keep some string columns. **Describe the solut...
https://github.com/huggingface/datasets/issues/5324
Fix docstrings and types in documentation that appears on the website
Ok, I believe we've cleaned up most of the old syntax we were using for the user-facing docs! There are still a couple of `:obj:`'s and `:class:` floating around in the docstrings we don't expose that I'll track down :)
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...
40
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://huggingfa...
https://github.com/huggingface/datasets/issues/5324
Fix docstrings and types in documentation that appears on the website
Hi @polinaeterna @albertvillanova @stevhliu, I hope you all are doing well. Is this issue still unresolved as I am interested in it?
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...
22
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://huggingfa...
https://github.com/huggingface/datasets/issues/5324
Fix docstrings and types in documentation that appears on the website
It should be mostly fixed for the user-facing APIs, but there may be some Sphinx syntax still lurking around in the non-public APIs. Feel free to open a PR to fix those if you catch any! πŸ€—
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...
37
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://huggingfa...
https://github.com/huggingface/datasets/issues/5324
Fix docstrings and types in documentation that appears on the website
Thanks for your reply @stevhliu :) Sure, I will try to find out the remaining and fix that.
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...
18
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://huggingfa...
https://github.com/huggingface/datasets/issues/3345
Failed to download species_800 from Google Drive zip file
Hi, the dataset is downloaded normally on my machine. Maybe the URL was down at the time of your download. Could you try again?
## Describe the bug One can manually download the zip file on Google Drive, but `load_dataset()` cannot. related: #3248 ## Steps to reproduce the bug ```shell > python Python 3.7.12 (default, Sep 5 2021, 08:34:29) [Clang 11.0.3 (clang-1103.0.32.62)] on darwin Type "help", "copyright", "credits" or "license" ...
24
Failed to download species_800 from Google Drive zip file ## Describe the bug One can manually download the zip file on Google Drive, but `load_dataset()` cannot. related: #3248 ## Steps to reproduce the bug ```shell > python Python 3.7.12 (default, Sep 5 2021, 08:34:29) [Clang 11.0.3 (clang-1103.0.32.62)] on...
https://github.com/huggingface/datasets/issues/3345
Failed to download species_800 from Google Drive zip file
> Hi, > > the dataset is downloaded normally on my machine. Maybe the URL was down at the time of your download. Could you try again? I have tried that many times with both load_dataset() and a browser almost simultaneously. The browser always works for me while load_dataset() fails.
## Describe the bug One can manually download the zip file on Google Drive, but `load_dataset()` cannot. related: #3248 ## Steps to reproduce the bug ```shell > python Python 3.7.12 (default, Sep 5 2021, 08:34:29) [Clang 11.0.3 (clang-1103.0.32.62)] on darwin Type "help", "copyright", "credits" or "license" ...
50
Failed to download species_800 from Google Drive zip file ## Describe the bug One can manually download the zip file on Google Drive, but `load_dataset()` cannot. related: #3248 ## Steps to reproduce the bug ```shell > python Python 3.7.12 (default, Sep 5 2021, 08:34:29) [Clang 11.0.3 (clang-1103.0.32.62)] on...
https://github.com/huggingface/datasets/issues/3345
Failed to download species_800 from Google Drive zip file
@mariosasko > the dataset is downloaded normally on my machine. Maybe the URL was down at the time of your download. Could you try again? I've tried yet again just a moment ago. This time I realize that, the step `(... post-processed: Unknown size, total: 20.89 MiB) to /Users/mike/.cache/huggingface/datasets/speci...
## Describe the bug One can manually download the zip file on Google Drive, but `load_dataset()` cannot. related: #3248 ## Steps to reproduce the bug ```shell > python Python 3.7.12 (default, Sep 5 2021, 08:34:29) [Clang 11.0.3 (clang-1103.0.32.62)] on darwin Type "help", "copyright", "credits" or "license" ...
102
Failed to download species_800 from Google Drive zip file ## Describe the bug One can manually download the zip file on Google Drive, but `load_dataset()` cannot. related: #3248 ## Steps to reproduce the bug ```shell > python Python 3.7.12 (default, Sep 5 2021, 08:34:29) [Clang 11.0.3 (clang-1103.0.32.62)] on...
https://github.com/huggingface/datasets/issues/7802
[Docs] Missing documentation for `Dataset.from_dict`
Hi I'd like to work on this. I can see the docstring is already in the code. Could you confirm: 1. Is this still available? 2. Should I add this to the main_classes.md file, or is there a specific documentation file I should update? 3. Are there any formatting guidelines I should follow? I'm new to contributing b...
Documentation link: https://huggingface.co/docs/datasets/en/package_reference/main_classes Link to method (docstring present): https://github.com/huggingface/datasets/blob/6f2502c5a026caa89839713f6f7c8b958e5e83eb/src/datasets/arrow_dataset.py#L1029 The docstring is present for the function, but seems missing from the...
61
[Docs] Missing documentation for `Dataset.from_dict` Documentation link: https://huggingface.co/docs/datasets/en/package_reference/main_classes Link to method (docstring present): https://github.com/huggingface/datasets/blob/6f2502c5a026caa89839713f6f7c8b958e5e83eb/src/datasets/arrow_dataset.py#L1029 The docstring is...
https://github.com/huggingface/datasets/issues/5809
wiki_dpr details for Open Domain Question Answering tasks
Hi ! I don't remember exactly how it was done, but maybe you have to embed `f"{title}<sep>{text}"` ? Using a HF tokenizer it corresponds to doing ```python tokenized = tokenizer(titles, texts) ```
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.
32
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 ...
https://github.com/huggingface/datasets/issues/4467
Transcript string 'null' converted to [None] by load_dataset()
Hi @mbarnig, thanks for reporting. Please note that is an expected behavior by `pandas` (we use the `pandas` library to parse CSV files): https://pandas.pydata.org/docs/reference/api/pandas.read_csv.html ``` By default the following values are interpreted as NaN: β€˜β€™, β€˜#N/A’, β€˜#N/A N/A’, β€˜#NA’, β€˜-1.#IND’, β€˜-1.#QN...
## Issue I am training a luxembourgish speech-recognition model in Colab with a custom dataset, including a dictionary of luxembourgish words, for example the speaken numbers 0 to 9. When preparing the dataset with the script `ds_train1 = mydataset.map(prepare_dataset)` the following error was issued: ``` ...
104
Transcript string 'null' converted to [None] by load_dataset() ## Issue I am training a luxembourgish speech-recognition model in Colab with a custom dataset, including a dictionary of luxembourgish words, for example the speaken numbers 0 to 9. When preparing the dataset with the script `ds_train1 = mydataset.map...
https://github.com/huggingface/datasets/issues/4467
Transcript string 'null' converted to [None] by load_dataset()
@albertvillanova I also ran into this issue, it had me scratching my head for a while! In my case it was tripped by a literal "NA" comment collected from a user-facing form (e.g., this question does not apply to me). Thankfully this answer was here, but I feel it is such a common trap that it deserves to be noted in th...
## Issue I am training a luxembourgish speech-recognition model in Colab with a custom dataset, including a dictionary of luxembourgish words, for example the speaken numbers 0 to 9. When preparing the dataset with the script `ds_train1 = mydataset.map(prepare_dataset)` the following error was issued: ``` ...
75
Transcript string 'null' converted to [None] by load_dataset() ## Issue I am training a luxembourgish speech-recognition model in Colab with a custom dataset, including a dictionary of luxembourgish words, for example the speaken numbers 0 to 9. When preparing the dataset with the script `ds_train1 = mydataset.map...
https://github.com/huggingface/datasets/issues/6591
The datasets models housed in Dropbox can't support a lot of users downloading them
Hi! Indeed, Dropbox is not a reliable host. I've just merged https://huggingface.co/datasets/PolyAI/minds14/discussions/24 to fix this by hosting the data files inside the repo.
### Describe the bug I'm using the datasets ``` from datasets import load_dataset, Audio dataset = load_dataset("PolyAI/minds14", name="en-US", split="train") ``` And it seems that sometimes when I imagine a lot of users are accessing the same resources, the Dropbox host fails: `raise ConnectionError(...
23
The datasets models housed in Dropbox can't support a lot of users downloading them ### Describe the bug I'm using the datasets ``` from datasets import load_dataset, Audio dataset = load_dataset("PolyAI/minds14", name="en-US", split="train") ``` And it seems that sometimes when I imagine a lot of users ...
https://github.com/huggingface/datasets/issues/8120
Patch fields truncated β€” missing trailing newlines
Hi, I'd like to work on this issue. I'll try to reproduce this issue and see where the newline is being stripped.
Description: Multiple entries in the dataset have patches (test.patch and fix.patch) and f2p_patch fields with truncated content. The trailing blank lines that are part of valid unified diff format are stripped, causing git apply to fail with "corrupt patch" errors. Affected instances (confirmed): atlanhq_atlan-python...
22
Patch fields truncated β€” missing trailing newlines Description: Multiple entries in the dataset have patches (test.patch and fix.patch) and f2p_patch fields with truncated content. The trailing blank lines that are part of valid unified diff format are stripped, causing git apply to fail with "corrupt patch" errors. A...
https://github.com/huggingface/datasets/issues/8120
Patch fields truncated β€” missing trailing newlines
Hi @hetao-git I was able to reproduce this issue, I used the instance "atlanhq_atlan-python_pr37" from the AweAI-Team/Scale-SWE dataset. I observed that applying the GitHub patch (pull/37.diff) on the correct base commit (7463d13b525011571703899ee4e668a9e313feac) works successfully, but the dataset provided patches fa...
Description: Multiple entries in the dataset have patches (test.patch and fix.patch) and f2p_patch fields with truncated content. The trailing blank lines that are part of valid unified diff format are stripped, causing git apply to fail with "corrupt patch" errors. Affected instances (confirmed): atlanhq_atlan-python...
97
Patch fields truncated β€” missing trailing newlines Description: Multiple entries in the dataset have patches (test.patch and fix.patch) and f2p_patch fields with truncated content. The trailing blank lines that are part of valid unified diff format are stripped, causing git apply to fail with "corrupt patch" errors. A...