html_url
stringlengths
51
51
comments
stringlengths
67
24.7k
title
stringlengths
6
280
body
stringlengths
51
36.2k
comment_length
int64
16
1.45k
text
stringlengths
190
38.3k
embeddings
list
https://github.com/huggingface/datasets/issues/4199
Hi @apsdehal! Can you verify that replacing ```python def fetch_single_image(image_url, timeout=None, retries=0): for _ in range(retries + 1): try: request = urllib.request.Request( image_url, data=None, headers={"user-agent": get_datasets_...
Cache miss during reload for datasets using image fetch utilities through map
## Describe the bug It looks like that result of `.map` operation dataset are missing the cache when you reload the script and always run from scratch. In same interpretor session, they are able to find the cache and reload it. But, when you exit the interpretor and reload it, the downloading starts from scratch. ...
88
Cache miss during reload for datasets using image fetch utilities through map ## Describe the bug It looks like that result of `.map` operation dataset are missing the cache when you reload the script and always run from scratch. In same interpretor session, they are able to find the cache and reload it. But, whe...
[ -0.5388091802597046, -0.1422930508852005, -0.06251142174005508, 0.2576912045478821, 0.06601910293102264, 0.04962226748466492, 0.12465021759271622, -0.010283446870744228, 0.48512378334999084, 0.11974254250526428, -0.04982268810272217, 0.443869024515152, 0.36805054545402527, -0.1765508204698...
https://github.com/huggingface/datasets/issues/4199
Thanks @mariosasko. That does fix the issue. In general, I think these image downloading utilities since they are being used by a lot of image dataset should be provided as a part of `datasets` library right to keep the logic consistent and READMEs smaller? If they already exists, that is also great, please point me to...
Cache miss during reload for datasets using image fetch utilities through map
## Describe the bug It looks like that result of `.map` operation dataset are missing the cache when you reload the script and always run from scratch. In same interpretor session, they are able to find the cache and reload it. But, when you exit the interpretor and reload it, the downloading starts from scratch. ...
63
Cache miss during reload for datasets using image fetch utilities through map ## Describe the bug It looks like that result of `.map` operation dataset are missing the cache when you reload the script and always run from scratch. In same interpretor session, they are able to find the cache and reload it. But, whe...
[ -0.5388091802597046, -0.1422930508852005, -0.06251142174005508, 0.2576912045478821, 0.06601910293102264, 0.04962226748466492, 0.12465021759271622, -0.010283446870744228, 0.48512378334999084, 0.11974254250526428, -0.04982268810272217, 0.443869024515152, 0.36805054545402527, -0.1765508204698...
https://github.com/huggingface/datasets/issues/4199
You can find my rationale (and a proposed solution) for why these utilities are not a part of `datasets` here: https://github.com/huggingface/datasets/pull/4100#issuecomment-1097994003.
Cache miss during reload for datasets using image fetch utilities through map
## Describe the bug It looks like that result of `.map` operation dataset are missing the cache when you reload the script and always run from scratch. In same interpretor session, they are able to find the cache and reload it. But, when you exit the interpretor and reload it, the downloading starts from scratch. ...
21
Cache miss during reload for datasets using image fetch utilities through map ## Describe the bug It looks like that result of `.map` operation dataset are missing the cache when you reload the script and always run from scratch. In same interpretor session, they are able to find the cache and reload it. But, whe...
[ -0.5388091802597046, -0.1422930508852005, -0.06251142174005508, 0.2576912045478821, 0.06601910293102264, 0.04962226748466492, 0.12465021759271622, -0.010283446870744228, 0.48512378334999084, 0.11974254250526428, -0.04982268810272217, 0.443869024515152, 0.36805054545402527, -0.1765508204698...
https://github.com/huggingface/datasets/issues/4199
Makes sense. But, I think as the number of image datasets as grow, more people are copying pasting original code from docs to work as it is while we make fixes to them later. I think we do need a central place for these to avoid that confusion as well as more easier access to image datasets. Should we restart that disc...
Cache miss during reload for datasets using image fetch utilities through map
## Describe the bug It looks like that result of `.map` operation dataset are missing the cache when you reload the script and always run from scratch. In same interpretor session, they are able to find the cache and reload it. But, when you exit the interpretor and reload it, the downloading starts from scratch. ...
65
Cache miss during reload for datasets using image fetch utilities through map ## Describe the bug It looks like that result of `.map` operation dataset are missing the cache when you reload the script and always run from scratch. In same interpretor session, they are able to find the cache and reload it. But, whe...
[ -0.5388091802597046, -0.1422930508852005, -0.06251142174005508, 0.2576912045478821, 0.06601910293102264, 0.04962226748466492, 0.12465021759271622, -0.010283446870744228, 0.48512378334999084, 0.11974254250526428, -0.04982268810272217, 0.443869024515152, 0.36805054545402527, -0.1765508204698...
https://github.com/huggingface/datasets/issues/4192
Hi! :) I believe that should work unless `dataset_infos.json` isn't actually a dataset. For Hugging Face datasets, there is usually a file named `dataset_infos.json` which contains metadata about the dataset (eg. the dataset citation, license, description, etc). Can you double-check that `dataset_infos.json` isn't j...
load_dataset can't load local dataset,Unable to find ...
Traceback (most recent call last): File "/home/gs603/ahf/pretrained/model.py", line 48, in <module> dataset = load_dataset("json",data_files="dataset/dataset_infos.json") File "/home/gs603/miniconda3/envs/coderepair/lib/python3.7/site-packages/datasets/load.py", line 1675, in load_dataset **config_kwa...
46
load_dataset can't load local dataset,Unable to find ... Traceback (most recent call last): File "/home/gs603/ahf/pretrained/model.py", line 48, in <module> dataset = load_dataset("json",data_files="dataset/dataset_infos.json") File "/home/gs603/miniconda3/envs/coderepair/lib/python3.7/site-packages/data...
[ -0.17541179060935974, 0.08925727009773254, -0.12386728078126907, 0.13179758191108704, 0.30445289611816406, 0.05961693823337555, 0.43457305431365967, 0.40150606632232666, 0.2219170480966568, 0.14248882234096527, 0.036184050142765045, 0.20073202252388, -0.06878078728914261, 0.258871912956237...
https://github.com/huggingface/datasets/issues/4192
Hi @ahf876828330, As @stevhliu pointed out, the proper way to load a dataset is not trying to load its metadata file. In your case, as the dataset script is local, you should better point to your local loading script: ```python dataset = load_dataset("dataset/opus_books.py") ``` Please, feel free to re-ope...
load_dataset can't load local dataset,Unable to find ...
Traceback (most recent call last): File "/home/gs603/ahf/pretrained/model.py", line 48, in <module> dataset = load_dataset("json",data_files="dataset/dataset_infos.json") File "/home/gs603/miniconda3/envs/coderepair/lib/python3.7/site-packages/datasets/load.py", line 1675, in load_dataset **config_kwa...
61
load_dataset can't load local dataset,Unable to find ... Traceback (most recent call last): File "/home/gs603/ahf/pretrained/model.py", line 48, in <module> dataset = load_dataset("json",data_files="dataset/dataset_infos.json") File "/home/gs603/miniconda3/envs/coderepair/lib/python3.7/site-packages/data...
[ -0.17541179060935974, 0.08925727009773254, -0.12386728078126907, 0.13179758191108704, 0.30445289611816406, 0.05961693823337555, 0.43457305431365967, 0.40150606632232666, 0.2219170480966568, 0.14248882234096527, 0.036184050142765045, 0.20073202252388, -0.06878078728914261, 0.258871912956237...
https://github.com/huggingface/datasets/issues/4192
> Hi! :) > > I believe that should work unless `dataset_infos.json` isn't actually a dataset. For Hugging Face datasets, there is usually a file named `dataset_infos.json` which contains metadata about the dataset (eg. the dataset citation, license, description, etc). Can you double-check that `dataset_infos.json` i...
load_dataset can't load local dataset,Unable to find ...
Traceback (most recent call last): File "/home/gs603/ahf/pretrained/model.py", line 48, in <module> dataset = load_dataset("json",data_files="dataset/dataset_infos.json") File "/home/gs603/miniconda3/envs/coderepair/lib/python3.7/site-packages/datasets/load.py", line 1675, in load_dataset **config_kwa...
77
load_dataset can't load local dataset,Unable to find ... Traceback (most recent call last): File "/home/gs603/ahf/pretrained/model.py", line 48, in <module> dataset = load_dataset("json",data_files="dataset/dataset_infos.json") File "/home/gs603/miniconda3/envs/coderepair/lib/python3.7/site-packages/data...
[ -0.17541179060935974, 0.08925727009773254, -0.12386728078126907, 0.13179758191108704, 0.30445289611816406, 0.05961693823337555, 0.43457305431365967, 0.40150606632232666, 0.2219170480966568, 0.14248882234096527, 0.036184050142765045, 0.20073202252388, -0.06878078728914261, 0.258871912956237...
https://github.com/huggingface/datasets/issues/4192
The metadata file isn't a dataset so you can't turn it into one. You should try @albertvillanova's code snippet above (now merged in the docs [here](https://huggingface.co/docs/datasets/master/en/loading#local-loading-script)), which uses your local loading script `opus_books.py` to: 1. Download the actual dataset. ...
load_dataset can't load local dataset,Unable to find ...
Traceback (most recent call last): File "/home/gs603/ahf/pretrained/model.py", line 48, in <module> dataset = load_dataset("json",data_files="dataset/dataset_infos.json") File "/home/gs603/miniconda3/envs/coderepair/lib/python3.7/site-packages/datasets/load.py", line 1675, in load_dataset **config_kwa...
51
load_dataset can't load local dataset,Unable to find ... Traceback (most recent call last): File "/home/gs603/ahf/pretrained/model.py", line 48, in <module> dataset = load_dataset("json",data_files="dataset/dataset_infos.json") File "/home/gs603/miniconda3/envs/coderepair/lib/python3.7/site-packages/data...
[ -0.17541179060935974, 0.08925727009773254, -0.12386728078126907, 0.13179758191108704, 0.30445289611816406, 0.05961693823337555, 0.43457305431365967, 0.40150606632232666, 0.2219170480966568, 0.14248882234096527, 0.036184050142765045, 0.20073202252388, -0.06878078728914261, 0.258871912956237...
https://github.com/huggingface/datasets/issues/4191
Hi @SaulLu, thanks for your proposal. Just I got a bit confused about the dimensions... - For the 2D case, you mention it is possible to create an `Array2D` from a list of arrays of dimension 1 - However, you give an example of creating an `Array2D` from arrays of dimension 2: - the values of `data_map` are arr...
feat: create an `Array3D` column from a list of arrays of dimension 2
**Is your feature request related to a problem? Please describe.** It is possible to create an `Array2D` column from a list of arrays of dimension 1. Similarly, I think it might be nice to be able to create a `Array3D` column from a list of lists of arrays of dimension 1. To illustrate my proposal, let's take the...
255
feat: create an `Array3D` column from a list of arrays of dimension 2 **Is your feature request related to a problem? Please describe.** It is possible to create an `Array2D` column from a list of arrays of dimension 1. Similarly, I think it might be nice to be able to create a `Array3D` column from a list of list...
[ 0.3124176263809204, -0.27448970079421997, -0.1943417340517044, 0.17922087013721466, 0.10640476644039154, 0.21910175681114197, 0.7521606683731079, 0.3646606504917145, 0.3426304757595062, 0.07632174342870712, 0.20140931010246277, 0.05226661264896393, -0.21939969062805176, 0.5241889357566833,...
https://github.com/huggingface/datasets/issues/4191
Hi @albertvillanova , Indeed my message was confusing and you guessed right :smile: : I think would be interesting to be able to create an Array3D from a list of an array of dimension 2. For the 2D case I should have given as a "similar" example: ```python data_map_1D = { 1: np.array([0.2, 0.4]), 2...
feat: create an `Array3D` column from a list of arrays of dimension 2
**Is your feature request related to a problem? Please describe.** It is possible to create an `Array2D` column from a list of arrays of dimension 1. Similarly, I think it might be nice to be able to create a `Array3D` column from a list of lists of arrays of dimension 1. To illustrate my proposal, let's take the...
81
feat: create an `Array3D` column from a list of arrays of dimension 2 **Is your feature request related to a problem? Please describe.** It is possible to create an `Array2D` column from a list of arrays of dimension 1. Similarly, I think it might be nice to be able to create a `Array3D` column from a list of list...
[ 0.3124176263809204, -0.27448970079421997, -0.1943417340517044, 0.17922087013721466, 0.10640476644039154, 0.21910175681114197, 0.7521606683731079, 0.3646606504917145, 0.3426304757595062, 0.07632174342870712, 0.20140931010246277, 0.05226661264896393, -0.21939969062805176, 0.5241889357566833,...
https://github.com/huggingface/datasets/issues/4185
The documentation in the code is definitely outdated - thanks for letting me know, I'll remove it in https://github.com/huggingface/datasets/pull/4184 . You're exactly right `audio` `array` already decodes the audio file to the correct waveform. This is done on the fly, which is also why one should **not** do `ds["a...
Librispeech documentation, clarification on format
https://github.com/huggingface/datasets/blob/cd3ce34ab1604118351e1978d26402de57188901/datasets/librispeech_asr/librispeech_asr.py#L53 > Note that in order to limit the required storage for preparing this dataset, the audio > is stored in the .flac format and is not converted to a float32 array. To convert, the audi...
61
Librispeech documentation, clarification on format https://github.com/huggingface/datasets/blob/cd3ce34ab1604118351e1978d26402de57188901/datasets/librispeech_asr/librispeech_asr.py#L53 > Note that in order to limit the required storage for preparing this dataset, the audio > is stored in the .flac format and is n...
[ -0.15423384308815002, -0.33409595489501953, -0.17598028481006622, 0.2739018499851227, 0.21635456383228302, -0.23989245295524597, 0.4355737566947937, 0.15729381144046783, 0.21303652226924896, 0.03008076548576355, -0.556984007358551, 0.21398594975471497, -0.2302837073802948, 0.08595600724220...
https://github.com/huggingface/datasets/issues/4185
So, again to clarify: On disk, only the raw flac file content is stored? Is this also the case after `save_to_disk`? And is it simple to also store it re-encoded as ogg or mp3 instead?
Librispeech documentation, clarification on format
https://github.com/huggingface/datasets/blob/cd3ce34ab1604118351e1978d26402de57188901/datasets/librispeech_asr/librispeech_asr.py#L53 > Note that in order to limit the required storage for preparing this dataset, the audio > is stored in the .flac format and is not converted to a float32 array. To convert, the audi...
35
Librispeech documentation, clarification on format https://github.com/huggingface/datasets/blob/cd3ce34ab1604118351e1978d26402de57188901/datasets/librispeech_asr/librispeech_asr.py#L53 > Note that in order to limit the required storage for preparing this dataset, the audio > is stored in the .flac format and is n...
[ -0.15423384308815002, -0.33409595489501953, -0.17598028481006622, 0.2739018499851227, 0.21635456383228302, -0.23989245295524597, 0.4355737566947937, 0.15729381144046783, 0.21303652226924896, 0.03008076548576355, -0.556984007358551, 0.21398594975471497, -0.2302837073802948, 0.08595600724220...
https://github.com/huggingface/datasets/issues/4185
Hey, Sorry yeah I was just about to look into this! We actually had an outdated version of Librispeech ASR that didn't save any files, but instead converted the audio files to a byte string, then was then decoded on-the-fly. This however is not very user-friendly so we recently decided to instead show the full path...
Librispeech documentation, clarification on format
https://github.com/huggingface/datasets/blob/cd3ce34ab1604118351e1978d26402de57188901/datasets/librispeech_asr/librispeech_asr.py#L53 > Note that in order to limit the required storage for preparing this dataset, the audio > is stored in the .flac format and is not converted to a float32 array. To convert, the audi...
119
Librispeech documentation, clarification on format https://github.com/huggingface/datasets/blob/cd3ce34ab1604118351e1978d26402de57188901/datasets/librispeech_asr/librispeech_asr.py#L53 > Note that in order to limit the required storage for preparing this dataset, the audio > is stored in the .flac format and is n...
[ -0.15423384308815002, -0.33409595489501953, -0.17598028481006622, 0.2739018499851227, 0.21635456383228302, -0.23989245295524597, 0.4355737566947937, 0.15729381144046783, 0.21303652226924896, 0.03008076548576355, -0.556984007358551, 0.21398594975471497, -0.2302837073802948, 0.08595600724220...
https://github.com/huggingface/datasets/issues/4185
> I don't think it's a good idea to convert to MP3 out-of-the-box, but we could maybe think about some kind of convert function for audio datasets cc @lhoestq ? Sure, I would expect that `load_dataset("librispeech_asr")` would give you the original (not re-encoded) data (flac or already decoded). So such re-encoding...
Librispeech documentation, clarification on format
https://github.com/huggingface/datasets/blob/cd3ce34ab1604118351e1978d26402de57188901/datasets/librispeech_asr/librispeech_asr.py#L53 > Note that in order to limit the required storage for preparing this dataset, the audio > is stored in the .flac format and is not converted to a float32 array. To convert, the audi...
67
Librispeech documentation, clarification on format https://github.com/huggingface/datasets/blob/cd3ce34ab1604118351e1978d26402de57188901/datasets/librispeech_asr/librispeech_asr.py#L53 > Note that in order to limit the required storage for preparing this dataset, the audio > is stored in the .flac format and is n...
[ -0.15423384308815002, -0.33409595489501953, -0.17598028481006622, 0.2739018499851227, 0.21635456383228302, -0.23989245295524597, 0.4355737566947937, 0.15729381144046783, 0.21303652226924896, 0.03008076548576355, -0.556984007358551, 0.21398594975471497, -0.2302837073802948, 0.08595600724220...
https://github.com/huggingface/datasets/issues/4185
A follow-up question: I wonder whether a Parquet dataset is maybe more what we actually want to have? (Following also my comment here: https://github.com/huggingface/datasets/pull/4184#issuecomment-1105045491.) Because I think we actually would prefer to embed the data content in the dataset. So, instead of `save_to...
Librispeech documentation, clarification on format
https://github.com/huggingface/datasets/blob/cd3ce34ab1604118351e1978d26402de57188901/datasets/librispeech_asr/librispeech_asr.py#L53 > Note that in order to limit the required storage for preparing this dataset, the audio > is stored in the .flac format and is not converted to a float32 array. To convert, the audi...
64
Librispeech documentation, clarification on format https://github.com/huggingface/datasets/blob/cd3ce34ab1604118351e1978d26402de57188901/datasets/librispeech_asr/librispeech_asr.py#L53 > Note that in order to limit the required storage for preparing this dataset, the audio > is stored in the .flac format and is n...
[ -0.15423384308815002, -0.33409595489501953, -0.17598028481006622, 0.2739018499851227, 0.21635456383228302, -0.23989245295524597, 0.4355737566947937, 0.15729381144046783, 0.21303652226924896, 0.03008076548576355, -0.556984007358551, 0.21398594975471497, -0.2302837073802948, 0.08595600724220...
https://github.com/huggingface/datasets/issues/4185
`save_to_disk` saves the dataset as an Arrow file, which is the format we use to load a dataset using memory mapping. This way the dataset does not fill your RAM, but is read from your disk instead. Therefore you can directly reload a dataset saved with `save_to_disk` using `load_from_disk`. Parquet files are use...
Librispeech documentation, clarification on format
https://github.com/huggingface/datasets/blob/cd3ce34ab1604118351e1978d26402de57188901/datasets/librispeech_asr/librispeech_asr.py#L53 > Note that in order to limit the required storage for preparing this dataset, the audio > is stored in the .flac format and is not converted to a float32 array. To convert, the audi...
107
Librispeech documentation, clarification on format https://github.com/huggingface/datasets/blob/cd3ce34ab1604118351e1978d26402de57188901/datasets/librispeech_asr/librispeech_asr.py#L53 > Note that in order to limit the required storage for preparing this dataset, the audio > is stored in the .flac format and is n...
[ -0.15423384308815002, -0.33409595489501953, -0.17598028481006622, 0.2739018499851227, 0.21635456383228302, -0.23989245295524597, 0.4355737566947937, 0.15729381144046783, 0.21303652226924896, 0.03008076548576355, -0.556984007358551, 0.21398594975471497, -0.2302837073802948, 0.08595600724220...
https://github.com/huggingface/datasets/issues/4182
Hi @dkajtoch, please note that at HuggingFace we are not hosting this dataset: we are just using a script to download their data file and create a dataset from it. It was the dataset owners decision to host their data at Zenodo. You can see this on their website: https://marcobaroni.org/composes/sick.html And yes...
Zenodo.org download is not responding
## Describe the bug Source download_url from zenodo.org does not respond. `_DOWNLOAD_URL = "https://zenodo.org/record/2787612/files/SICK.zip?download=1"` Other datasets also use zenodo.org to store data and they cannot be downloaded as well. It would be better to actually use more reliable way to store original ...
94
Zenodo.org download is not responding ## Describe the bug Source download_url from zenodo.org does not respond. `_DOWNLOAD_URL = "https://zenodo.org/record/2787612/files/SICK.zip?download=1"` Other datasets also use zenodo.org to store data and they cannot be downloaded as well. It would be better to actually ...
[ -0.010785967111587524, -0.15618190169334412, -0.12497016787528992, 0.38870951533317566, 0.41914820671081543, -0.12065113335847855, 0.23016516864299774, 0.20202228426933289, -0.08203994482755661, 0.09544739872217178, -0.6322539448738098, -0.14407238364219666, 0.2485608160495758, 0.090017601...
https://github.com/huggingface/datasets/issues/4182
Thanks @albertvillanova. I know that the problem lies in the source data. I just wanted to point out that these kind of problems are unavoidable without having one place where data sources are cached. Websites may go down or data sources may move. Having a copy in Hugging Face Hub would be a great solution.
Zenodo.org download is not responding
## Describe the bug Source download_url from zenodo.org does not respond. `_DOWNLOAD_URL = "https://zenodo.org/record/2787612/files/SICK.zip?download=1"` Other datasets also use zenodo.org to store data and they cannot be downloaded as well. It would be better to actually use more reliable way to store original ...
55
Zenodo.org download is not responding ## Describe the bug Source download_url from zenodo.org does not respond. `_DOWNLOAD_URL = "https://zenodo.org/record/2787612/files/SICK.zip?download=1"` Other datasets also use zenodo.org to store data and they cannot be downloaded as well. It would be better to actually ...
[ -0.08091844618320465, 0.09524363279342651, -0.10966736823320389, 0.2967686951160431, 0.40415388345718384, -0.10663770139217377, 0.1737034022808075, 0.24060368537902832, -0.28922539949417114, 0.08636999130249023, -0.5147073864936829, -0.12862513959407806, 0.4303605258464813, -0.124452009797...
https://github.com/huggingface/datasets/issues/4182
Definitely, @dkajtoch! But we have to ask permission to the data owners. And many dataset licenses directly forbid data redistribution: in those cases we are not allowed to host their data on our Hub.
Zenodo.org download is not responding
## Describe the bug Source download_url from zenodo.org does not respond. `_DOWNLOAD_URL = "https://zenodo.org/record/2787612/files/SICK.zip?download=1"` Other datasets also use zenodo.org to store data and they cannot be downloaded as well. It would be better to actually use more reliable way to store original ...
34
Zenodo.org download is not responding ## Describe the bug Source download_url from zenodo.org does not respond. `_DOWNLOAD_URL = "https://zenodo.org/record/2787612/files/SICK.zip?download=1"` Other datasets also use zenodo.org to store data and they cannot be downloaded as well. It would be better to actually ...
[ -0.15272770822048187, 0.004749909043312073, -0.09803809970617294, 0.32257047295570374, 0.41206806898117065, -0.08582425862550735, 0.19528459012508392, 0.30259668827056885, -0.14550767838954926, 0.10670487582683563, -0.6057361960411072, 0.11827726662158966, 0.27125704288482666, -0.017700403...
https://github.com/huggingface/datasets/issues/4181
Yes, you just have to use `dl_manager.iter_archive` instead of `dl_manager.download_and_extract`. That's because `download_and_extract` doesn't support TAR archives in streaming mode.
Support streaming FLEURS dataset
## Dataset viewer issue for '*name of the dataset*' https://huggingface.co/datasets/google/fleurs ``` Status code: 400 Exception: NotImplementedError Message: Extraction protocol for TAR archives like 'https://storage.googleapis.com/xtreme_translations/FLEURS/af_za.tar.gz' is not implemented in str...
20
Support streaming FLEURS dataset ## Dataset viewer issue for '*name of the dataset*' https://huggingface.co/datasets/google/fleurs ``` Status code: 400 Exception: NotImplementedError Message: Extraction protocol for TAR archives like 'https://storage.googleapis.com/xtreme_translations/FLEURS/af_z...
[ -0.4790988564491272, -0.14007394015789032, -0.04688125103712082, 0.36677858233451843, 0.0620160736143589, -0.05189930647611618, -0.043175630271434784, 0.30413535237312317, 0.26544493436813354, 0.2953125536441803, 0.07452858239412308, 0.2671475112438202, -0.06312482804059982, 0.309848874807...
https://github.com/huggingface/datasets/issues/4181
Tried to make it streamable, but I don't think it's really possible. @lhoestq @polinaeterna maybe you guys can check: https://huggingface.co/datasets/google/fleurs/commit/dcf80160cd77977490a8d32b370c027107f2407b real quick. I think the problem is that we cannot ensure that the metadata file is found before th...
Support streaming FLEURS dataset
## Dataset viewer issue for '*name of the dataset*' https://huggingface.co/datasets/google/fleurs ``` Status code: 400 Exception: NotImplementedError Message: Extraction protocol for TAR archives like 'https://storage.googleapis.com/xtreme_translations/FLEURS/af_za.tar.gz' is not implemented in str...
47
Support streaming FLEURS dataset ## Dataset viewer issue for '*name of the dataset*' https://huggingface.co/datasets/google/fleurs ``` Status code: 400 Exception: NotImplementedError Message: Extraction protocol for TAR archives like 'https://storage.googleapis.com/xtreme_translations/FLEURS/af_z...
[ -0.4423680007457733, -0.04256589710712433, -0.01732507348060608, 0.29185694456100464, 0.06783974170684814, -0.15289175510406494, -0.03197352588176727, 0.06573719531297684, -0.025291886180639267, 0.28807777166366577, -0.0357663631439209, 0.3812884986400604, -0.17723003029823303, 0.045683316...
https://github.com/huggingface/datasets/issues/4181
@patrickvonplaten I think the metadata file should be found first because the audio files are contained in a folder next to the metadata files (just as in common voice), so the metadata files should be "on top of the list" as they are closer to the root in the directories hierarchy
Support streaming FLEURS dataset
## Dataset viewer issue for '*name of the dataset*' https://huggingface.co/datasets/google/fleurs ``` Status code: 400 Exception: NotImplementedError Message: Extraction protocol for TAR archives like 'https://storage.googleapis.com/xtreme_translations/FLEURS/af_za.tar.gz' is not implemented in str...
51
Support streaming FLEURS dataset ## Dataset viewer issue for '*name of the dataset*' https://huggingface.co/datasets/google/fleurs ``` Status code: 400 Exception: NotImplementedError Message: Extraction protocol for TAR archives like 'https://storage.googleapis.com/xtreme_translations/FLEURS/af_z...
[ -0.3240829110145569, -0.06928183883428574, -0.0007327385246753693, 0.3203551173210144, -0.0061973631381988525, -0.12938767671585083, 0.007873749360442162, 0.06390687823295593, 0.06511053442955017, 0.23785030841827393, -0.05749215930700302, 0.30651843547821045, -0.13342517614364624, -0.0197...
https://github.com/huggingface/datasets/issues/4181
The order of the files is determined when the TAR archive is created, depending on the commands the creator ran. If the metadata file is not at the beginning of the file, that makes streaming completely inefficient. In this case the TAR archive needs to be recreated in an appropriate order.
Support streaming FLEURS dataset
## Dataset viewer issue for '*name of the dataset*' https://huggingface.co/datasets/google/fleurs ``` Status code: 400 Exception: NotImplementedError Message: Extraction protocol for TAR archives like 'https://storage.googleapis.com/xtreme_translations/FLEURS/af_za.tar.gz' is not implemented in str...
51
Support streaming FLEURS dataset ## Dataset viewer issue for '*name of the dataset*' https://huggingface.co/datasets/google/fleurs ``` Status code: 400 Exception: NotImplementedError Message: Extraction protocol for TAR archives like 'https://storage.googleapis.com/xtreme_translations/FLEURS/af_z...
[ -0.33562320470809937, -0.24042046070098877, 0.0000612214207649231, 0.418384850025177, -0.01721011847257614, -0.07027924060821533, -0.05507133901119232, 0.08669153600931168, 0.11756868660449982, 0.14829182624816895, 0.10341745615005493, 0.28879326581954956, -0.01465848833322525, 0.104633398...
https://github.com/huggingface/datasets/issues/4181
Actually we could maybe just host the metadata file ourselves and then stream the audio data only. Don't think that this would be a problem for the FLEURS authors (I can ask them :-))
Support streaming FLEURS dataset
## Dataset viewer issue for '*name of the dataset*' https://huggingface.co/datasets/google/fleurs ``` Status code: 400 Exception: NotImplementedError Message: Extraction protocol for TAR archives like 'https://storage.googleapis.com/xtreme_translations/FLEURS/af_za.tar.gz' is not implemented in str...
34
Support streaming FLEURS dataset ## Dataset viewer issue for '*name of the dataset*' https://huggingface.co/datasets/google/fleurs ``` Status code: 400 Exception: NotImplementedError Message: Extraction protocol for TAR archives like 'https://storage.googleapis.com/xtreme_translations/FLEURS/af_z...
[ -0.3465263843536377, 0.047783151268959045, -0.011322122067213058, 0.3581928312778473, 0.010883275419473648, -0.18242476880550385, 0.1321626603603363, 0.09554235637187958, 0.009387671947479248, 0.338334858417511, -0.08467340469360352, 0.35499659180641174, -0.20761513710021973, 0.03967788070...
https://github.com/huggingface/datasets/issues/4181
I made a PR to their repo to support streaming (by uploading the metadata file to the Hub). See: - https://huggingface.co/datasets/google/fleurs/discussions/4
Support streaming FLEURS dataset
## Dataset viewer issue for '*name of the dataset*' https://huggingface.co/datasets/google/fleurs ``` Status code: 400 Exception: NotImplementedError Message: Extraction protocol for TAR archives like 'https://storage.googleapis.com/xtreme_translations/FLEURS/af_za.tar.gz' is not implemented in str...
21
Support streaming FLEURS dataset ## Dataset viewer issue for '*name of the dataset*' https://huggingface.co/datasets/google/fleurs ``` Status code: 400 Exception: NotImplementedError Message: Extraction protocol for TAR archives like 'https://storage.googleapis.com/xtreme_translations/FLEURS/af_z...
[ -0.4422246813774109, -0.2156074345111847, 0.024309054017066956, 0.33738964796066284, 0.028103236109018326, -0.06792472302913666, -0.002460164949297905, 0.08839140832424164, 0.17809796333312988, 0.32950231432914734, 0.03949315845966339, 0.30333492159843445, -0.1003318578004837, 0.1741821765...
https://github.com/huggingface/datasets/issues/4180
Thanks for the suggestion ! I agree it would be nice to have something directly in `datasets` to do something as simple as that cc @albertvillanova @mariosasko @polinaeterna What do you think if we have something similar to pandas `Series` that wouldn't bring everything in memory when doing `dataset["audio"]` ? Curr...
Add some iteration method on a dataset column (specific for inference)
**Is your feature request related to a problem? Please describe.** A clear and concise description of what the problem is. Currently, `dataset["audio"]` will load EVERY element in the dataset in RAM, which can be quite big for an audio dataset. Having an iterator (or sequence) type of object, would make inference ...
111
Add some iteration method on a dataset column (specific for inference) **Is your feature request related to a problem? Please describe.** A clear and concise description of what the problem is. Currently, `dataset["audio"]` will load EVERY element in the dataset in RAM, which can be quite big for an audio dataset...
[ -0.3390592336654663, -0.11449803411960602, -0.12802338600158691, 0.05840088427066803, 0.20290860533714294, -0.15144744515419006, 0.25771403312683105, 0.018088970333337784, -0.047956857830286026, 0.3820750117301941, -0.06050786375999451, 0.3480749726295471, -0.2523987293243408, 0.0022310987...
https://github.com/huggingface/datasets/issues/4180
I agree that current behavior (decoding all audio file sin the dataset when accessing `dataset["audio"]`) is not useful, IMHO. Indeed in our docs, we are constantly warning our collaborators not to do that. Therefore I upvote for a "useful" behavior of `dataset["audio"]`. I don't think the breaking change is importa...
Add some iteration method on a dataset column (specific for inference)
**Is your feature request related to a problem? Please describe.** A clear and concise description of what the problem is. Currently, `dataset["audio"]` will load EVERY element in the dataset in RAM, which can be quite big for an audio dataset. Having an iterator (or sequence) type of object, would make inference ...
97
Add some iteration method on a dataset column (specific for inference) **Is your feature request related to a problem? Please describe.** A clear and concise description of what the problem is. Currently, `dataset["audio"]` will load EVERY element in the dataset in RAM, which can be quite big for an audio dataset...
[ -0.32836979627609253, -0.11577485501766205, -0.06613396108150482, 0.06359098851680756, 0.17633137106895447, -0.20337125658988953, 0.2625141143798828, -0.021314214915037155, -0.06802181154489517, 0.42973190546035767, -0.1349964737892151, 0.3932082951068878, -0.2496890425682068, 0.0722302868...
https://github.com/huggingface/datasets/issues/4180
I recall I had the same idea while working on the `Image` feature, so I agree implementing something similar to `pd.Series` that lazily brings elements in memory would be beneficial.
Add some iteration method on a dataset column (specific for inference)
**Is your feature request related to a problem? Please describe.** A clear and concise description of what the problem is. Currently, `dataset["audio"]` will load EVERY element in the dataset in RAM, which can be quite big for an audio dataset. Having an iterator (or sequence) type of object, would make inference ...
30
Add some iteration method on a dataset column (specific for inference) **Is your feature request related to a problem? Please describe.** A clear and concise description of what the problem is. Currently, `dataset["audio"]` will load EVERY element in the dataset in RAM, which can be quite big for an audio dataset...
[ -0.33462607860565186, -0.19927087426185608, -0.11578557640314102, 0.04216667637228966, 0.17643171548843384, -0.18359363079071045, 0.23586468398571014, 0.014675071462988853, -0.04091517999768257, 0.4126094579696655, -0.05059155821800232, 0.32495373487472534, -0.25804463028907776, 0.06245904...
https://github.com/huggingface/datasets/issues/4180
@lhoestq @mariosasko Could you please give a link to that new feature of `pandas.Series`? As far as I remember since I worked with pandas for more than 6 years, there was no lazy in-memory feature; it was everything in-memory; that was the reason why other frameworks were created, like Vaex or Dask, e.g.
Add some iteration method on a dataset column (specific for inference)
**Is your feature request related to a problem? Please describe.** A clear and concise description of what the problem is. Currently, `dataset["audio"]` will load EVERY element in the dataset in RAM, which can be quite big for an audio dataset. Having an iterator (or sequence) type of object, would make inference ...
53
Add some iteration method on a dataset column (specific for inference) **Is your feature request related to a problem? Please describe.** A clear and concise description of what the problem is. Currently, `dataset["audio"]` will load EVERY element in the dataset in RAM, which can be quite big for an audio dataset...
[ -0.35868287086486816, -0.17081673443317413, -0.10541289299726486, 0.06749498844146729, 0.19563338160514832, -0.056791678071022034, 0.24556182324886322, 0.010657314211130142, -0.04988850653171539, 0.4214865565299988, -0.0571998730301857, 0.2929971516132355, -0.19495061039924622, 0.012748785...
https://github.com/huggingface/datasets/issues/4180
Yea pandas doesn't do lazy loading. I was referring to pandas.Series to say that they have a dedicated class to represent a column ;)
Add some iteration method on a dataset column (specific for inference)
**Is your feature request related to a problem? Please describe.** A clear and concise description of what the problem is. Currently, `dataset["audio"]` will load EVERY element in the dataset in RAM, which can be quite big for an audio dataset. Having an iterator (or sequence) type of object, would make inference ...
24
Add some iteration method on a dataset column (specific for inference) **Is your feature request related to a problem? Please describe.** A clear and concise description of what the problem is. Currently, `dataset["audio"]` will load EVERY element in the dataset in RAM, which can be quite big for an audio dataset...
[ -0.331189900636673, -0.1377674639225006, -0.09782665222883224, 0.06006384640932083, 0.19525103271007538, -0.10979946702718735, 0.3782249093055725, -0.0013355836272239685, 0.0039668455719947815, 0.35337913036346436, -0.11393549293279648, 0.3851182460784912, -0.19743400812149048, 0.087660267...
https://github.com/huggingface/datasets/issues/4179
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...
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://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...
[ -0.2864779829978943, -0.48396092653274536, 0.0680990070104599, 0.6340243816375732, 0.1525813341140747, 0.23556232452392578, 0.1461005061864853, 0.23709972202777863, 0.21236084401607513, -0.053314052522182465, -0.13003894686698914, 0.09482158720493317, -0.32110118865966797, 0.24119028449058...
https://github.com/huggingface/datasets/issues/4179
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...
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://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...
[ -0.2864779829978943, -0.48396092653274536, 0.0680990070104599, 0.6340243816375732, 0.1525813341140747, 0.23556232452392578, 0.1461005061864853, 0.23709972202777863, 0.21236084401607513, -0.053314052522182465, -0.13003894686698914, 0.09482158720493317, -0.32110118865966797, 0.24119028449058...
https://github.com/huggingface/datasets/issues/4179
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]) ...
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://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...
[ -0.2864779829978943, -0.48396092653274536, 0.0680990070104599, 0.6340243816375732, 0.1525813341140747, 0.23556232452392578, 0.1461005061864853, 0.23709972202777863, 0.21236084401607513, -0.053314052522182465, -0.13003894686698914, 0.09482158720493317, -0.32110118865966797, 0.24119028449058...
https://github.com/huggingface/datasets/issues/4179
Downloading one split would be: ```py from datasets import load_dataset other = load_dataset("librispeech_asr", "other", split="train.500") ```
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://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...
[ -0.2864779829978943, -0.48396092653274536, 0.0680990070104599, 0.6340243816375732, 0.1525813341140747, 0.23556232452392578, 0.1461005061864853, 0.23709972202777863, 0.21236084401607513, -0.053314052522182465, -0.13003894686698914, 0.09482158720493317, -0.32110118865966797, 0.24119028449058...
https://github.com/huggingface/datasets/issues/4179
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?
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://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...
[ -0.2864779829978943, -0.48396092653274536, 0.0680990070104599, 0.6340243816375732, 0.1525813341140747, 0.23556232452392578, 0.1461005061864853, 0.23709972202777863, 0.21236084401607513, -0.053314052522182465, -0.13003894686698914, 0.09482158720493317, -0.32110118865966797, 0.24119028449058...
https://github.com/huggingface/datasets/issues/4179
Pinging @lhoestq here, think this could make sense! Not sure however how the dictionary would then look like
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://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...
[ -0.2864779829978943, -0.48396092653274536, 0.0680990070104599, 0.6340243816375732, 0.1525813341140747, 0.23556232452392578, 0.1461005061864853, 0.23709972202777863, 0.21236084401607513, -0.053314052522182465, -0.13003894686698914, 0.09482158720493317, -0.32110118865966797, 0.24119028449058...
https://github.com/huggingface/datasets/issues/4179
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
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://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...
[ -0.2864779829978943, -0.48396092653274536, 0.0680990070104599, 0.6340243816375732, 0.1525813341140747, 0.23556232452392578, 0.1461005061864853, 0.23709972202777863, 0.21236084401607513, -0.053314052522182465, -0.13003894686698914, 0.09482158720493317, -0.32110118865966797, 0.24119028449058...
https://github.com/huggingface/datasets/issues/4179
> 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...
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://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...
[ -0.2864779829978943, -0.48396092653274536, 0.0680990070104599, 0.6340243816375732, 0.1525813341140747, 0.23556232452392578, 0.1461005061864853, 0.23709972202777863, 0.21236084401607513, -0.053314052522182465, -0.13003894686698914, 0.09482158720493317, -0.32110118865966797, 0.24119028449058...
https://github.com/huggingface/datasets/issues/4179
+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
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://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...
[ -0.2864779829978943, -0.48396092653274536, 0.0680990070104599, 0.6340243816375732, 0.1525813341140747, 0.23556232452392578, 0.1461005061864853, 0.23709972202777863, 0.21236084401607513, -0.053314052522182465, -0.13003894686698914, 0.09482158720493317, -0.32110118865966797, 0.24119028449058...
https://github.com/huggingface/datasets/issues/4179
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 ?)
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://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...
[ -0.2864779829978943, -0.48396092653274536, 0.0680990070104599, 0.6340243816375732, 0.1525813341140747, 0.23556232452392578, 0.1461005061864853, 0.23709972202777863, 0.21236084401607513, -0.053314052522182465, -0.13003894686698914, 0.09482158720493317, -0.32110118865966797, 0.24119028449058...
https://github.com/huggingface/datasets/issues/4179
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.
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://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...
[ -0.2864779829978943, -0.48396092653274536, 0.0680990070104599, 0.6340243816375732, 0.1525813341140747, 0.23556232452392578, 0.1461005061864853, 0.23709972202777863, 0.21236084401607513, -0.053314052522182465, -0.13003894686698914, 0.09482158720493317, -0.32110118865966797, 0.24119028449058...
https://github.com/huggingface/datasets/issues/4179
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/...
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://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...
[ -0.2864779829978943, -0.48396092653274536, 0.0680990070104599, 0.6340243816375732, 0.1525813341140747, 0.23556232452392578, 0.1461005061864853, 0.23709972202777863, 0.21236084401607513, -0.053314052522182465, -0.13003894686698914, 0.09482158720493317, -0.32110118865966797, 0.24119028449058...
https://github.com/huggingface/datasets/issues/4179
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") ```
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://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...
[ -0.2864779829978943, -0.48396092653274536, 0.0680990070104599, 0.6340243816375732, 0.1525813341140747, 0.23556232452392578, 0.1461005061864853, 0.23709972202777863, 0.21236084401607513, -0.053314052522182465, -0.13003894686698914, 0.09482158720493317, -0.32110118865966797, 0.24119028449058...
https://github.com/huggingface/datasets/issues/4179
Hi @patrickvonplaten , load_dataset("librispeech_asr", "clean", "train.100") actually downloads the whole dataset and not the 100 hr split, is this a bug?
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://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...
[ -0.2864779829978943, -0.48396092653274536, 0.0680990070104599, 0.6340243816375732, 0.1525813341140747, 0.23556232452392578, 0.1461005061864853, 0.23709972202777863, 0.21236084401607513, -0.053314052522182465, -0.13003894686698914, 0.09482158720493317, -0.32110118865966797, 0.24119028449058...
https://github.com/huggingface/datasets/issues/4179
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...
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://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...
[ -0.2864779829978943, -0.48396092653274536, 0.0680990070104599, 0.6340243816375732, 0.1525813341140747, 0.23556232452392578, 0.1461005061864853, 0.23709972202777863, 0.21236084401607513, -0.053314052522182465, -0.13003894686698914, 0.09482158720493317, -0.32110118865966797, 0.24119028449058...
https://github.com/huggingface/datasets/issues/4179
@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...
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://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...
[ -0.2864779829978943, -0.48396092653274536, 0.0680990070104599, 0.6340243816375732, 0.1525813341140747, 0.23556232452392578, 0.1461005061864853, 0.23709972202777863, 0.21236084401607513, -0.053314052522182465, -0.13003894686698914, 0.09482158720493317, -0.32110118865966797, 0.24119028449058...
https://github.com/huggingface/datasets/issues/4179
> 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...
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://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...
[ -0.2864779829978943, -0.48396092653274536, 0.0680990070104599, 0.6340243816375732, 0.1525813341140747, 0.23556232452392578, 0.1461005061864853, 0.23709972202777863, 0.21236084401607513, -0.053314052522182465, -0.13003894686698914, 0.09482158720493317, -0.32110118865966797, 0.24119028449058...
https://github.com/huggingface/datasets/issues/4169
Thanks for reporting. The bug has already been detected, and we hope to fix it soon.
Timit_asr dataset cannot be previewed recently
## Dataset viewer issue for '*timit_asr*' **Link:** *https://huggingface.co/datasets/timit_asr* Issue: The timit-asr dataset cannot be previewed recently. Am I the one who added this dataset ? Yes-No No
16
Timit_asr dataset cannot be previewed recently ## Dataset viewer issue for '*timit_asr*' **Link:** *https://huggingface.co/datasets/timit_asr* Issue: The timit-asr dataset cannot be previewed recently. Am I the one who added this dataset ? Yes-No No Thanks for reporting. The bug has already been detected,...
[ -0.45502665638923645, -0.36819320917129517, -0.06202222406864166, 0.17472761869430542, 0.03918503597378731, 0.0492948442697525, 0.18239626288414001, 0.2734490931034088, -0.3722572326660156, 0.20602193474769592, -0.3304498791694641, 0.1851601004600525, -0.1779927909374237, 0.163344651460647...
https://github.com/huggingface/datasets/issues/4169
TIMIT is now a dataset that requires manual download, see #4145 Therefore it might take a bit more time to fix it
Timit_asr dataset cannot be previewed recently
## Dataset viewer issue for '*timit_asr*' **Link:** *https://huggingface.co/datasets/timit_asr* Issue: The timit-asr dataset cannot be previewed recently. Am I the one who added this dataset ? Yes-No No
22
Timit_asr dataset cannot be previewed recently ## Dataset viewer issue for '*timit_asr*' **Link:** *https://huggingface.co/datasets/timit_asr* Issue: The timit-asr dataset cannot be previewed recently. Am I the one who added this dataset ? Yes-No No TIMIT is now a dataset that requires manual download, se...
[ -0.4907504618167877, -0.35288771986961365, -0.09211969375610352, 0.11584679782390594, 0.022326435893774033, 0.013112768530845642, 0.1624344289302826, 0.24133089184761047, -0.4454861283302307, 0.1590493619441986, -0.2978596091270447, 0.1918078511953354, -0.18970684707164764, 0.2122342139482...
https://github.com/huggingface/datasets/issues/4169
> TIMIT is now a dataset that requires manual download, see #4145 > > Therefore it might take a bit more time to fix it Thank you for your quickly response. Exactly, I also found the manual download issue in the morning. But when I used *list_datasets()* to check the available datasets, *'timit_asr'* is still in ...
Timit_asr dataset cannot be previewed recently
## Dataset viewer issue for '*timit_asr*' **Link:** *https://huggingface.co/datasets/timit_asr* Issue: The timit-asr dataset cannot be previewed recently. Am I the one who added this dataset ? Yes-No No
86
Timit_asr dataset cannot be previewed recently ## Dataset viewer issue for '*timit_asr*' **Link:** *https://huggingface.co/datasets/timit_asr* Issue: The timit-asr dataset cannot be previewed recently. Am I the one who added this dataset ? Yes-No No > TIMIT is now a dataset that requires manual download, ...
[ -0.2399715930223465, -0.3775830864906311, -0.1303032785654068, 0.18907099962234497, 0.011896926909685135, 0.1102471724152565, 0.16031679511070251, 0.05708896368741989, -0.31386077404022217, 0.034456755965948105, -0.19323593378067017, 0.13996601104736328, -0.23434653878211975, 0.07991844415...
https://github.com/huggingface/datasets/issues/4169
Yes exactly. If you try to load the dataset it will ask you to download it manually first, and to pass the downloaded and extracted data like `load_dataset("timir_asr", data_dir="path/to/extracted/data")` The URL we were using was coming from a host that doesn't have the permission to redistribute the data, and the ...
Timit_asr dataset cannot be previewed recently
## Dataset viewer issue for '*timit_asr*' **Link:** *https://huggingface.co/datasets/timit_asr* Issue: The timit-asr dataset cannot be previewed recently. Am I the one who added this dataset ? Yes-No No
57
Timit_asr dataset cannot be previewed recently ## Dataset viewer issue for '*timit_asr*' **Link:** *https://huggingface.co/datasets/timit_asr* Issue: The timit-asr dataset cannot be previewed recently. Am I the one who added this dataset ? Yes-No No Yes exactly. If you try to load the dataset it will ask ...
[ -0.3146306574344635, -0.24931326508522034, -0.044363319873809814, 0.30877238512039185, -0.012736004777252674, -0.0093994140625, 0.16740863025188446, 0.10740388929843903, -0.3580372929573059, 0.20383235812187195, -0.30665498971939087, 0.16909241676330566, -0.23467175662517548, 0.01409839093...
https://github.com/huggingface/datasets/issues/4169
I downloaded the timit_asr data and unzipped. But I can't run my code. Could you resolve this problem for me? Thanks import soundfile as sf import torch from datasets import load_dataset dataset = load_dataset("timit_asr", data_dir="/Users/nguyenvannham/Documents/test_case/...
Timit_asr dataset cannot be previewed recently
## Dataset viewer issue for '*timit_asr*' **Link:** *https://huggingface.co/datasets/timit_asr* Issue: The timit-asr dataset cannot be previewed recently. Am I the one who added this dataset ? Yes-No No
199
Timit_asr dataset cannot be previewed recently ## Dataset viewer issue for '*timit_asr*' **Link:** *https://huggingface.co/datasets/timit_asr* Issue: The timit-asr dataset cannot be previewed recently. Am I the one who added this dataset ? Yes-No No I downloaded the timit_asr data and unzipped. But I can'...
[ -0.6112356781959534, -0.2916792035102844, -0.08124075829982758, 0.3185790181159973, 0.1641150265932083, 0.01692056655883789, 0.24358126521110535, 0.2411465048789978, -0.5477694272994995, 0.35219064354896545, -0.44972482323646545, 0.31241315603256226, -0.4318443536758423, -0.125732764601707...
https://github.com/huggingface/datasets/issues/4163
Hi! You can use the `extra_gated_prompt` YAML field in a dataset card for displaying custom messages/warnings that the user must accept before gaining access to the actual dataset. This option also keeps the viewer hidden until the user agrees to terms.
Optional Content Warning for Datasets
**Is your feature request related to a problem? Please describe.** A clear and concise description of what the problem is. We now have hate speech datasets on the hub, like this one: https://huggingface.co/datasets/HannahRoseKirk/HatemojiBuild I'm wondering if there is an option to select a content warning messa...
41
Optional Content Warning for Datasets **Is your feature request related to a problem? Please describe.** A clear and concise description of what the problem is. We now have hate speech datasets on the hub, like this one: https://huggingface.co/datasets/HannahRoseKirk/HatemojiBuild I'm wondering if there is an ...
[ -0.2600831687450409, -0.3120526373386383, -0.05632450059056282, -0.10860244929790497, 0.01869969815015793, 0.36662912368774414, 0.35255780816078186, 0.2388148307800293, 0.3074609339237213, 0.24982912838459015, 0.13954895734786987, 0.32378095388412476, -0.2098606675863266, 0.032320059835910...
https://github.com/huggingface/datasets/issues/4163
Hi @mariosasko, thanks for explaining how to add this feature. If the current dataset yaml is: ``` --- annotations_creators: - expert language_creators: - expert-generated languages: - en license: - cc-by-4.0 multilinguality: - monolingual pretty_name: HatemojiBuild size_categories: - 1K<n<10K sourc...
Optional Content Warning for Datasets
**Is your feature request related to a problem? Please describe.** A clear and concise description of what the problem is. We now have hate speech datasets on the hub, like this one: https://huggingface.co/datasets/HannahRoseKirk/HatemojiBuild I'm wondering if there is an option to select a content warning messa...
64
Optional Content Warning for Datasets **Is your feature request related to a problem? Please describe.** A clear and concise description of what the problem is. We now have hate speech datasets on the hub, like this one: https://huggingface.co/datasets/HannahRoseKirk/HatemojiBuild I'm wondering if there is an ...
[ -0.3173736333847046, -0.3135179579257965, -0.055861301720142365, -0.12936842441558838, -0.018319103866815567, 0.3743113875389099, 0.444152295589447, 0.24933220446109772, 0.3221563994884491, 0.23419725894927979, 0.06640825420618057, 0.18715298175811768, -0.23977065086364746, 0.0394430831074...
https://github.com/huggingface/datasets/issues/4163
``` --- annotations_creators: - expert language_creators: - expert-generated languages: - en license: - cc-by-4.0 multilinguality: - monolingual pretty_name: HatemojiBuild size_categories: - 1K<n<10K source_datasets: - original task_categories: - text-classification task_ids: - hate-speech-detection...
Optional Content Warning for Datasets
**Is your feature request related to a problem? Please describe.** A clear and concise description of what the problem is. We now have hate speech datasets on the hub, like this one: https://huggingface.co/datasets/HannahRoseKirk/HatemojiBuild I'm wondering if there is an option to select a content warning messa...
107
Optional Content Warning for Datasets **Is your feature request related to a problem? Please describe.** A clear and concise description of what the problem is. We now have hate speech datasets on the hub, like this one: https://huggingface.co/datasets/HannahRoseKirk/HatemojiBuild I'm wondering if there is an ...
[ -0.21442759037017822, -0.2592054009437561, -0.058979496359825134, -0.057520464062690735, 0.03762122616171837, 0.2802507281303406, 0.27311378717422485, 0.22200509905815125, 0.22316911816596985, 0.20868843793869019, -0.020538346841931343, 0.28157374262809753, -0.2302241325378418, -0.03732944...
https://github.com/huggingface/datasets/issues/4163
-- is there a way to gate content anonymously, i.e. without registering which users access it?
Optional Content Warning for Datasets
**Is your feature request related to a problem? Please describe.** A clear and concise description of what the problem is. We now have hate speech datasets on the hub, like this one: https://huggingface.co/datasets/HannahRoseKirk/HatemojiBuild I'm wondering if there is an option to select a content warning messa...
16
Optional Content Warning for Datasets **Is your feature request related to a problem? Please describe.** A clear and concise description of what the problem is. We now have hate speech datasets on the hub, like this one: https://huggingface.co/datasets/HannahRoseKirk/HatemojiBuild I'm wondering if there is an ...
[ -0.1965932846069336, -0.2100307047367096, -0.05630885064601898, -0.11867902427911758, -0.10297271609306335, 0.26505714654922485, 0.4788661003112793, 0.2766948640346527, 0.294169545173645, 0.19777536392211914, 0.10929378867149353, 0.19738584756851196, -0.21145093441009521, 0.035202488303184...
https://github.com/huggingface/datasets/issues/4163
+1 to @leondz's question. One scenario is if you don't want the dataset to be indexed by search engines or viewed in browser b/c of upstream conditions on data, but don't want to collect emails. Some ability to turn off the dataset viewer or add a gating mechanism without emails would be fantastic.
Optional Content Warning for Datasets
**Is your feature request related to a problem? Please describe.** A clear and concise description of what the problem is. We now have hate speech datasets on the hub, like this one: https://huggingface.co/datasets/HannahRoseKirk/HatemojiBuild I'm wondering if there is an option to select a content warning messa...
53
Optional Content Warning for Datasets **Is your feature request related to a problem? Please describe.** A clear and concise description of what the problem is. We now have hate speech datasets on the hub, like this one: https://huggingface.co/datasets/HannahRoseKirk/HatemojiBuild I'm wondering if there is an ...
[ -0.2679390609264374, -0.19581285119056702, -0.06399217247962952, -0.13233600556850433, -0.008633224293589592, 0.33849459886550903, 0.3052768409252167, 0.27597764134407043, 0.3115519881248474, 0.2807520031929016, 0.1271589696407318, 0.2625780701637268, -0.24003392457962036, 0.05986758321523...
https://github.com/huggingface/datasets/issues/4152
Where do we bump the required pyarrow version? Any inputs on how I fix this issue?
ArrayND error in pyarrow 5
As found in https://github.com/huggingface/datasets/pull/3903, The ArrayND features fail on pyarrow 5: ```python import pyarrow as pa from datasets import Array2D from datasets.table import cast_array_to_feature arr = pa.array([[[0]]]) feature_type = Array2D(shape=(1, 1), dtype="int64") cast_array_to_feature(a...
16
ArrayND error in pyarrow 5 As found in https://github.com/huggingface/datasets/pull/3903, The ArrayND features fail on pyarrow 5: ```python import pyarrow as pa from datasets import Array2D from datasets.table import cast_array_to_feature arr = pa.array([[[0]]]) feature_type = Array2D(shape=(1, 1), dtype="int...
[ -0.27178844809532166, 0.005799204111099243, -0.0946771502494812, 0.07623632252216339, 0.17721977829933167, -0.13541196286678314, 0.5197156667709351, 0.2853465676307678, -0.15067577362060547, -0.15376406908035278, -0.3803839087486267, 0.10658372938632965, 0.0012883469462394714, 0.1034755110...
https://github.com/huggingface/datasets/issues/4152
We need to bump it in `setup.py` as well as update some CI job to use pyarrow 6 instead of 5 in `.circleci/config.yaml` and `.github/workflows/benchmarks.yaml`
ArrayND error in pyarrow 5
As found in https://github.com/huggingface/datasets/pull/3903, The ArrayND features fail on pyarrow 5: ```python import pyarrow as pa from datasets import Array2D from datasets.table import cast_array_to_feature arr = pa.array([[[0]]]) feature_type = Array2D(shape=(1, 1), dtype="int64") cast_array_to_feature(a...
25
ArrayND error in pyarrow 5 As found in https://github.com/huggingface/datasets/pull/3903, The ArrayND features fail on pyarrow 5: ```python import pyarrow as pa from datasets import Array2D from datasets.table import cast_array_to_feature arr = pa.array([[[0]]]) feature_type = Array2D(shape=(1, 1), dtype="int...
[ -0.27178844809532166, 0.005799204111099243, -0.0946771502494812, 0.07623632252216339, 0.17721977829933167, -0.13541196286678314, 0.5197156667709351, 0.2853465676307678, -0.15067577362060547, -0.15376406908035278, -0.3803839087486267, 0.10658372938632965, 0.0012883469462394714, 0.1034755110...
https://github.com/huggingface/datasets/issues/4149
I thought I had fixed it with this after some helpful hints from @severo ```python import datasets token = 'hf_XXXXX' dataset = datasets.load_dataset( 'facebook/winoground', name='facebook--winoground', split='train', streaming=True, use_auth_token=token, ) ``` but I found out that w...
load_dataset for winoground returning decoding error
## Describe the bug I am trying to use datasets to load winoground and I'm getting a JSON decoding error. ## Steps to reproduce the bug ```python from datasets import load_dataset token = 'hf_XXXXX' # my HF access token datasets = load_dataset('facebook/winoground', use_auth_token=token) ``` ## Expected res...
50
load_dataset for winoground returning decoding error ## Describe the bug I am trying to use datasets to load winoground and I'm getting a JSON decoding error. ## Steps to reproduce the bug ```python from datasets import load_dataset token = 'hf_XXXXX' # my HF access token datasets = load_dataset('facebook/win...
[ -0.1866353452205658, 0.3816441595554352, -0.0002152957022190094, 0.4397819936275482, 0.21208986639976501, 0.11757448315620422, 0.02520556002855301, 0.18467360734939575, 0.0800226703286171, -0.13686363399028778, -0.17777913808822632, 0.08330973237752914, 0.010934792459011078, 0.044950567185...
https://github.com/huggingface/datasets/issues/4149
Hi ! This dataset structure (image + labels in a JSON file) is not supported yet, though we're adding support for this in in #4069 The following structure will be supported soon: ``` metadata.json images/ image0.png image1.png ... ``` Where `metadata.json` is a JSON Lines file with labels or ...
load_dataset for winoground returning decoding error
## Describe the bug I am trying to use datasets to load winoground and I'm getting a JSON decoding error. ## Steps to reproduce the bug ```python from datasets import load_dataset token = 'hf_XXXXX' # my HF access token datasets = load_dataset('facebook/winoground', use_auth_token=token) ``` ## Expected res...
141
load_dataset for winoground returning decoding error ## Describe the bug I am trying to use datasets to load winoground and I'm getting a JSON decoding error. ## Steps to reproduce the bug ```python from datasets import load_dataset token = 'hf_XXXXX' # my HF access token datasets = load_dataset('facebook/win...
[ -0.1866353452205658, 0.3816441595554352, -0.0002152957022190094, 0.4397819936275482, 0.21208986639976501, 0.11757448315620422, 0.02520556002855301, 0.18467360734939575, 0.0800226703286171, -0.13686363399028778, -0.17777913808822632, 0.08330973237752914, 0.010934792459011078, 0.044950567185...
https://github.com/huggingface/datasets/issues/4149
We'll also investigate the issue with the streaming download manager in https://github.com/huggingface/datasets/issues/4139 ;) thanks for reporting
load_dataset for winoground returning decoding error
## Describe the bug I am trying to use datasets to load winoground and I'm getting a JSON decoding error. ## Steps to reproduce the bug ```python from datasets import load_dataset token = 'hf_XXXXX' # my HF access token datasets = load_dataset('facebook/winoground', use_auth_token=token) ``` ## Expected res...
16
load_dataset for winoground returning decoding error ## Describe the bug I am trying to use datasets to load winoground and I'm getting a JSON decoding error. ## Steps to reproduce the bug ```python from datasets import load_dataset token = 'hf_XXXXX' # my HF access token datasets = load_dataset('facebook/win...
[ -0.1866353452205658, 0.3816441595554352, -0.0002152957022190094, 0.4397819936275482, 0.21208986639976501, 0.11757448315620422, 0.02520556002855301, 0.18467360734939575, 0.0800226703286171, -0.13686363399028778, -0.17777913808822632, 0.08330973237752914, 0.010934792459011078, 0.044950567185...
https://github.com/huggingface/datasets/issues/4149
In the meantime, anyone can always download the images.zip and examples.jsonl files directly from huggingface.co - let me know if anyone has issues with that.
load_dataset for winoground returning decoding error
## Describe the bug I am trying to use datasets to load winoground and I'm getting a JSON decoding error. ## Steps to reproduce the bug ```python from datasets import load_dataset token = 'hf_XXXXX' # my HF access token datasets = load_dataset('facebook/winoground', use_auth_token=token) ``` ## Expected res...
25
load_dataset for winoground returning decoding error ## Describe the bug I am trying to use datasets to load winoground and I'm getting a JSON decoding error. ## Steps to reproduce the bug ```python from datasets import load_dataset token = 'hf_XXXXX' # my HF access token datasets = load_dataset('facebook/win...
[ -0.1866353452205658, 0.3816441595554352, -0.0002152957022190094, 0.4397819936275482, 0.21208986639976501, 0.11757448315620422, 0.02520556002855301, 0.18467360734939575, 0.0800226703286171, -0.13686363399028778, -0.17777913808822632, 0.08330973237752914, 0.010934792459011078, 0.044950567185...
https://github.com/huggingface/datasets/issues/4149
I mirrored the files at https://huggingface.co/datasets/facebook/winoground in a folder on my local machine `winground` and when I tried ```python import datasets ds = datasets.load_from_disk('./winoground') ``` I get the following error ```python ----------------------------------------------------------------...
load_dataset for winoground returning decoding error
## Describe the bug I am trying to use datasets to load winoground and I'm getting a JSON decoding error. ## Steps to reproduce the bug ```python from datasets import load_dataset token = 'hf_XXXXX' # my HF access token datasets = load_dataset('facebook/winoground', use_auth_token=token) ``` ## Expected res...
107
load_dataset for winoground returning decoding error ## Describe the bug I am trying to use datasets to load winoground and I'm getting a JSON decoding error. ## Steps to reproduce the bug ```python from datasets import load_dataset token = 'hf_XXXXX' # my HF access token datasets = load_dataset('facebook/win...
[ -0.1866353452205658, 0.3816441595554352, -0.0002152957022190094, 0.4397819936275482, 0.21208986639976501, 0.11757448315620422, 0.02520556002855301, 0.18467360734939575, 0.0800226703286171, -0.13686363399028778, -0.17777913808822632, 0.08330973237752914, 0.010934792459011078, 0.044950567185...
https://github.com/huggingface/datasets/issues/4149
Note that `load_from_disk` is the function that reloads an Arrow dataset saved with `my_dataset.save_to_disk`. Once we do support images with metadata you'll be able to use `load_dataset("facebook/winoground")` directly (or `load_dataset("./winoground")` of you've cloned the winoground repository locally).
load_dataset for winoground returning decoding error
## Describe the bug I am trying to use datasets to load winoground and I'm getting a JSON decoding error. ## Steps to reproduce the bug ```python from datasets import load_dataset token = 'hf_XXXXX' # my HF access token datasets = load_dataset('facebook/winoground', use_auth_token=token) ``` ## Expected res...
37
load_dataset for winoground returning decoding error ## Describe the bug I am trying to use datasets to load winoground and I'm getting a JSON decoding error. ## Steps to reproduce the bug ```python from datasets import load_dataset token = 'hf_XXXXX' # my HF access token datasets = load_dataset('facebook/win...
[ -0.1866353452205658, 0.3816441595554352, -0.0002152957022190094, 0.4397819936275482, 0.21208986639976501, 0.11757448315620422, 0.02520556002855301, 0.18467360734939575, 0.0800226703286171, -0.13686363399028778, -0.17777913808822632, 0.08330973237752914, 0.010934792459011078, 0.044950567185...
https://github.com/huggingface/datasets/issues/4149
Apologies for the delay. I added a custom dataset loading script for winoground. It should work now, with an auth token: `examples = load_dataset('facebook/winoground', use_auth_token=<your auth token>)` Let me know if there are any issues
load_dataset for winoground returning decoding error
## Describe the bug I am trying to use datasets to load winoground and I'm getting a JSON decoding error. ## Steps to reproduce the bug ```python from datasets import load_dataset token = 'hf_XXXXX' # my HF access token datasets = load_dataset('facebook/winoground', use_auth_token=token) ``` ## Expected res...
35
load_dataset for winoground returning decoding error ## Describe the bug I am trying to use datasets to load winoground and I'm getting a JSON decoding error. ## Steps to reproduce the bug ```python from datasets import load_dataset token = 'hf_XXXXX' # my HF access token datasets = load_dataset('facebook/win...
[ -0.1866353452205658, 0.3816441595554352, -0.0002152957022190094, 0.4397819936275482, 0.21208986639976501, 0.11757448315620422, 0.02520556002855301, 0.18467360734939575, 0.0800226703286171, -0.13686363399028778, -0.17777913808822632, 0.08330973237752914, 0.010934792459011078, 0.044950567185...
https://github.com/huggingface/datasets/issues/4149
Adding the dataset loading script definitely didn't take as long as I thought it would 😅
load_dataset for winoground returning decoding error
## Describe the bug I am trying to use datasets to load winoground and I'm getting a JSON decoding error. ## Steps to reproduce the bug ```python from datasets import load_dataset token = 'hf_XXXXX' # my HF access token datasets = load_dataset('facebook/winoground', use_auth_token=token) ``` ## Expected res...
16
load_dataset for winoground returning decoding error ## Describe the bug I am trying to use datasets to load winoground and I'm getting a JSON decoding error. ## Steps to reproduce the bug ```python from datasets import load_dataset token = 'hf_XXXXX' # my HF access token datasets = load_dataset('facebook/win...
[ -0.1866353452205658, 0.3816441595554352, -0.0002152957022190094, 0.4397819936275482, 0.21208986639976501, 0.11757448315620422, 0.02520556002855301, 0.18467360734939575, 0.0800226703286171, -0.13686363399028778, -0.17777913808822632, 0.08330973237752914, 0.010934792459011078, 0.044950567185...
https://github.com/huggingface/datasets/issues/4146
Currently, only the datasets that can be streamed support the dataset viewer. Maybe @lhoestq @albertvillanova or @mariosasko could give more details about why the dataset cannot be streamed.
SAMSum dataset viewer not working
## Dataset viewer issue for '*name of the dataset*' **Link:** *link to the dataset viewer page* *short description of the issue* Am I the one who added this dataset ? Yes-No
28
SAMSum dataset viewer not working ## Dataset viewer issue for '*name of the dataset*' **Link:** *link to the dataset viewer page* *short description of the issue* Am I the one who added this dataset ? Yes-No Currently, only the datasets that can be streamed support the dataset viewer. Maybe @lhoestq @alb...
[ -0.48904284834861755, -0.19477207958698273, 0.019912108778953552, 0.1662127524614334, 0.32261550426483154, 0.1772109717130661, 0.1533229500055313, 0.14061160385608673, 0.013646304607391357, 0.1777699887752533, -0.16807067394256592, 0.34364116191864014, 0.014858640730381012, 0.1695837378501...
https://github.com/huggingface/datasets/issues/4146
It looks like the host (https://arxiv.org) doesn't allow HTTP Range requests, which is what we use to stream data. This can be fix if we host the data ourselves, which is ok since the dataset is under CC BY-NC-ND 4.0
SAMSum dataset viewer not working
## Dataset viewer issue for '*name of the dataset*' **Link:** *link to the dataset viewer page* *short description of the issue* Am I the one who added this dataset ? Yes-No
40
SAMSum dataset viewer not working ## Dataset viewer issue for '*name of the dataset*' **Link:** *link to the dataset viewer page* *short description of the issue* Am I the one who added this dataset ? Yes-No It looks like the host (https://arxiv.org) doesn't allow HTTP Range requests, which is what we us...
[ -0.40416282415390015, -0.2161872833967209, 0.009969986975193024, 0.09502182900905609, 0.3816058039665222, 0.04995185136795044, 0.09806227684020996, 0.2619542181491852, -0.021794091910123825, 0.1190105527639389, -0.2075587511062622, 0.3886730968952179, 0.15102997422218323, 0.033837527036666...
https://github.com/huggingface/datasets/issues/4143
Hi! We've recently updated the Wikipedia script, so these changes are only available on master and can be fetched as follows: ```python dataset_wikipedia = load_dataset("wikipedia", "20220301.en", revision="master") ```
Unable to download `Wikepedia` 20220301.en version
## Describe the bug Unable to download `Wikepedia` dataset, 20220301.en version ## Steps to reproduce the bug ```python !pip install apache_beam mwparserfromhell dataset_wikipedia = load_dataset("wikipedia", "20220301.en") ``` ## Actual results ``` ValueError: BuilderConfig 20220301.en not found. Avail...
28
Unable to download `Wikepedia` 20220301.en version ## Describe the bug Unable to download `Wikepedia` dataset, 20220301.en version ## Steps to reproduce the bug ```python !pip install apache_beam mwparserfromhell dataset_wikipedia = load_dataset("wikipedia", "20220301.en") ``` ## Actual results ``` Val...
[ -0.3187175691127777, 0.1336505115032196, -0.13223901391029358, 0.2605264484882355, -0.09839694201946259, 0.06931264698505402, 0.3329182267189026, 0.44830459356307983, 0.25013819336891174, 0.3041919469833374, 0.24902957677841187, 0.12957492470741272, 0.07585429400205612, 0.3271341919898987,...
https://github.com/huggingface/datasets/issues/4143
Hi, how can I load the previous "20200501.en" version of wikipedia which had been downloaded to the default path? Thanks!
Unable to download `Wikepedia` 20220301.en version
## Describe the bug Unable to download `Wikepedia` dataset, 20220301.en version ## Steps to reproduce the bug ```python !pip install apache_beam mwparserfromhell dataset_wikipedia = load_dataset("wikipedia", "20220301.en") ``` ## Actual results ``` ValueError: BuilderConfig 20220301.en not found. Avail...
20
Unable to download `Wikepedia` 20220301.en version ## Describe the bug Unable to download `Wikepedia` dataset, 20220301.en version ## Steps to reproduce the bug ```python !pip install apache_beam mwparserfromhell dataset_wikipedia = load_dataset("wikipedia", "20220301.en") ``` ## Actual results ``` Val...
[ -0.3187175691127777, 0.1336505115032196, -0.13223901391029358, 0.2605264484882355, -0.09839694201946259, 0.06931264698505402, 0.3329182267189026, 0.44830459356307983, 0.25013819336891174, 0.3041919469833374, 0.24902957677841187, 0.12957492470741272, 0.07585429400205612, 0.3271341919898987,...
https://github.com/huggingface/datasets/issues/4140
Hi! I think this error may be related to using an older version of the library. I was able to load the dataset without any issues using the latest version of `datasets`. Can you upgrade to the latest version of `datasets` and try again? :)
Error loading arxiv data set
## Describe the bug A clear and concise description of what the bug is. I met the error below when loading arxiv dataset via `nlp.load_dataset('scientific_papers', 'arxiv',)`. ``` Traceback (most recent call last): File "scripts/summarization.py", line 354, in <module> main(args) File "scripts/summari...
45
Error loading arxiv data set ## Describe the bug A clear and concise description of what the bug is. I met the error below when loading arxiv dataset via `nlp.load_dataset('scientific_papers', 'arxiv',)`. ``` Traceback (most recent call last): File "scripts/summarization.py", line 354, in <module> main...
[ -0.13808444142341614, 0.1616729497909546, 0.00793469324707985, 0.2819572389125824, 0.29166626930236816, -0.04781758785247803, 0.06854607164859772, 0.5627238154411316, 0.054112114012241364, -0.06703194230794907, -0.06376934796571732, 0.27941417694091797, 0.0753566175699234, 0.00281086564064...
https://github.com/huggingface/datasets/issues/4140
Hi! As @stevhliu suggested, to fix the issue, update the lib to the newest version with: ``` pip install -U datasets ``` and download the dataset as follows: ```python from datasets import load_dataset dset = load_dataset('scientific_papers', 'arxiv', download_mode="force_redownload") ```
Error loading arxiv data set
## Describe the bug A clear and concise description of what the bug is. I met the error below when loading arxiv dataset via `nlp.load_dataset('scientific_papers', 'arxiv',)`. ``` Traceback (most recent call last): File "scripts/summarization.py", line 354, in <module> main(args) File "scripts/summari...
39
Error loading arxiv data set ## Describe the bug A clear and concise description of what the bug is. I met the error below when loading arxiv dataset via `nlp.load_dataset('scientific_papers', 'arxiv',)`. ``` Traceback (most recent call last): File "scripts/summarization.py", line 354, in <module> main...
[ -0.13808444142341614, 0.1616729497909546, 0.00793469324707985, 0.2819572389125824, 0.29166626930236816, -0.04781758785247803, 0.06854607164859772, 0.5627238154411316, 0.054112114012241364, -0.06703194230794907, -0.06376934796571732, 0.27941417694091797, 0.0753566175699234, 0.00281086564064...
https://github.com/huggingface/datasets/issues/4140
Thanks for the quick response! It works now. The problem is that I used nlp. load_dataset instead of datasets. load_dataset.
Error loading arxiv data set
## Describe the bug A clear and concise description of what the bug is. I met the error below when loading arxiv dataset via `nlp.load_dataset('scientific_papers', 'arxiv',)`. ``` Traceback (most recent call last): File "scripts/summarization.py", line 354, in <module> main(args) File "scripts/summari...
20
Error loading arxiv data set ## Describe the bug A clear and concise description of what the bug is. I met the error below when loading arxiv dataset via `nlp.load_dataset('scientific_papers', 'arxiv',)`. ``` Traceback (most recent call last): File "scripts/summarization.py", line 354, in <module> main...
[ -0.13808444142341614, 0.1616729497909546, 0.00793469324707985, 0.2819572389125824, 0.29166626930236816, -0.04781758785247803, 0.06854607164859772, 0.5627238154411316, 0.054112114012241364, -0.06703194230794907, -0.06376934796571732, 0.27941417694091797, 0.0753566175699234, 0.00281086564064...
https://github.com/huggingface/datasets/issues/4139
I thought this issue was related to the error I was seeing, but upon consideration I'd think the dataset viewer would return a 500 (unable to create the split like me) or a 404 (unable to load split b/c it was never created) error if it was having the issue I was seeing in #4149. 401 message makes it look like dataset ...
Dataset viewer issue for Winoground
## Dataset viewer issue for 'Winoground' **Link:** [*link to the dataset viewer page*](https://huggingface.co/datasets/facebook/winoground/viewer/facebook--winoground/train) *short description of the issue* Getting 401, message='Unauthorized' The dataset is subject to authorization, but I can access the files f...
84
Dataset viewer issue for Winoground ## Dataset viewer issue for 'Winoground' **Link:** [*link to the dataset viewer page*](https://huggingface.co/datasets/facebook/winoground/viewer/facebook--winoground/train) *short description of the issue* Getting 401, message='Unauthorized' The dataset is subject to autho...
[ -0.21582256257534027, 0.39182499051094055, 0.01952657848596573, 0.24883772432804108, -0.1773587167263031, 0.011763006448745728, 0.20998945832252502, -0.09897321462631226, -0.31089019775390625, -0.12872904539108276, -0.213616281747818, -0.013775672763586044, -0.09426585584878922, 0.05271641...
https://github.com/huggingface/datasets/issues/4139
To replicate: ```python >>> import datasets >>> dataset= datasets.load_dataset('facebook/winoground', name='facebook--winoground', split='train', use_auth_token="hf_app_...", streaming=True) >>> next(iter(dataset)) Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/slesage/h...
Dataset viewer issue for Winoground
## Dataset viewer issue for 'Winoground' **Link:** [*link to the dataset viewer page*](https://huggingface.co/datasets/facebook/winoground/viewer/facebook--winoground/train) *short description of the issue* Getting 401, message='Unauthorized' The dataset is subject to authorization, but I can access the files f...
200
Dataset viewer issue for Winoground ## Dataset viewer issue for 'Winoground' **Link:** [*link to the dataset viewer page*](https://huggingface.co/datasets/facebook/winoground/viewer/facebook--winoground/train) *short description of the issue* Getting 401, message='Unauthorized' The dataset is subject to autho...
[ -0.20851391553878784, 0.37260156869888306, 0.010257944464683533, 0.1812564879655838, 0.035316433757543564, 0.09515142440795898, 0.2718733549118042, -0.05054829269647598, -0.2809485197067261, -0.08999244123697281, -0.30273139476776123, -0.1053694486618042, -0.19714419543743134, -0.016118131...
https://github.com/huggingface/datasets/issues/4139
~~Using your command to replicate and changing `use_token` to `use_auth_token` fixes the problem I was seeing in #4149.~~ Nevermind it gave me an iterator to a method returning the same 401s. Changing `use_token` to `use_auth_token` does not fix the issue.
Dataset viewer issue for Winoground
## Dataset viewer issue for 'Winoground' **Link:** [*link to the dataset viewer page*](https://huggingface.co/datasets/facebook/winoground/viewer/facebook--winoground/train) *short description of the issue* Getting 401, message='Unauthorized' The dataset is subject to authorization, but I can access the files f...
40
Dataset viewer issue for Winoground ## Dataset viewer issue for 'Winoground' **Link:** [*link to the dataset viewer page*](https://huggingface.co/datasets/facebook/winoground/viewer/facebook--winoground/train) *short description of the issue* Getting 401, message='Unauthorized' The dataset is subject to autho...
[ -0.30639851093292236, 0.35606566071510315, 0.057855527848005295, 0.09772342443466187, 0.023541361093521118, -0.017656050622463226, 0.2522360682487488, 0.04315396398305893, -0.2548043131828308, -0.0015680640935897827, -0.272341251373291, 0.04492370784282684, -0.12449848651885986, 0.13412815...
https://github.com/huggingface/datasets/issues/4139
After investigation with @severo , we found a potential culprit: https://github.com/huggingface/datasets/blob/3cd0a009a43f9f174056d70bfa2ca32216181926/src/datasets/utils/streaming_download_manager.py#L610-L624 The streaming manager does not seem to pass `use_auth_token` to `fsspec` when streaming and not iterating c...
Dataset viewer issue for Winoground
## Dataset viewer issue for 'Winoground' **Link:** [*link to the dataset viewer page*](https://huggingface.co/datasets/facebook/winoground/viewer/facebook--winoground/train) *short description of the issue* Getting 401, message='Unauthorized' The dataset is subject to authorization, but I can access the files f...
35
Dataset viewer issue for Winoground ## Dataset viewer issue for 'Winoground' **Link:** [*link to the dataset viewer page*](https://huggingface.co/datasets/facebook/winoground/viewer/facebook--winoground/train) *short description of the issue* Getting 401, message='Unauthorized' The dataset is subject to autho...
[ -0.3267652988433838, 0.3238718807697296, 0.045644305646419525, 0.21882757544517517, 0.1186775267124176, 0.06968763470649719, 0.04610211029648781, -0.23300425708293915, -0.28247421979904175, -0.06233781576156616, -0.28955012559890747, -0.09481844305992126, -0.17218749225139618, 0.1533358395...
https://github.com/huggingface/datasets/issues/4139
I was able to reproduce it on a private dataset, let me work on a fix
Dataset viewer issue for Winoground
## Dataset viewer issue for 'Winoground' **Link:** [*link to the dataset viewer page*](https://huggingface.co/datasets/facebook/winoground/viewer/facebook--winoground/train) *short description of the issue* Getting 401, message='Unauthorized' The dataset is subject to authorization, but I can access the files f...
16
Dataset viewer issue for Winoground ## Dataset viewer issue for 'Winoground' **Link:** [*link to the dataset viewer page*](https://huggingface.co/datasets/facebook/winoground/viewer/facebook--winoground/train) *short description of the issue* Getting 401, message='Unauthorized' The dataset is subject to autho...
[ -0.23858657479286194, 0.3803406357765198, 0.019863374531269073, 0.25705212354660034, 0.04560771584510803, 0.10840903222560883, 0.09055376052856445, -0.1286391019821167, -0.33832404017448425, -0.018300719559192657, -0.32478028535842896, -0.022292206063866615, -0.19565239548683167, 0.0001295...
https://github.com/huggingface/datasets/issues/4139
Thanks for the heads up, I still need to fix some tests that are failing in the CI before merging ;)
Dataset viewer issue for Winoground
## Dataset viewer issue for 'Winoground' **Link:** [*link to the dataset viewer page*](https://huggingface.co/datasets/facebook/winoground/viewer/facebook--winoground/train) *short description of the issue* Getting 401, message='Unauthorized' The dataset is subject to authorization, but I can access the files f...
21
Dataset viewer issue for Winoground ## Dataset viewer issue for 'Winoground' **Link:** [*link to the dataset viewer page*](https://huggingface.co/datasets/facebook/winoground/viewer/facebook--winoground/train) *short description of the issue* Getting 401, message='Unauthorized' The dataset is subject to autho...
[ -0.27741676568984985, 0.35703760385513306, 0.018905632197856903, 0.2028406858444214, -0.06446202099323273, 0.1670641005039215, 0.13201533257961273, -0.1436329483985901, -0.36576905846595764, -0.011562846601009369, -0.3856450319290161, -0.12379506975412369, -0.12703196704387665, 0.136071443...
https://github.com/huggingface/datasets/issues/4139
The fix has been merged, we'll do a new release soon, and update the dataset viewer
Dataset viewer issue for Winoground
## Dataset viewer issue for 'Winoground' **Link:** [*link to the dataset viewer page*](https://huggingface.co/datasets/facebook/winoground/viewer/facebook--winoground/train) *short description of the issue* Getting 401, message='Unauthorized' The dataset is subject to authorization, but I can access the files f...
16
Dataset viewer issue for Winoground ## Dataset viewer issue for 'Winoground' **Link:** [*link to the dataset viewer page*](https://huggingface.co/datasets/facebook/winoground/viewer/facebook--winoground/train) *short description of the issue* Getting 401, message='Unauthorized' The dataset is subject to autho...
[ -0.2664143443107605, 0.3596875071525574, 0.004165351390838623, 0.22174140810966492, 0.02264375239610672, 0.10166425257921219, 0.10906076431274414, -0.10837298631668091, -0.3371361792087555, -0.017149299383163452, -0.33075249195098877, -0.05153757333755493, -0.2027522176504135, 0.0162700116...
https://github.com/huggingface/datasets/issues/4138
To reproduce: ```python >>> import datasets >>> datasets.get_dataset_split_names('MalakhovIlya/RuREBus', config_name='raw_txt') Traceback (most recent call last): File "/home/slesage/hf/datasets-preview-backend/.venv/lib/python3.9/site-packages/datasets/inspect.py", line 280, in get_dataset_config_info fo...
Incorrect Russian filenames encoding after extraction by datasets.DownloadManager.download_and_extract()
## Dataset viewer issue for 'MalakhovIlya/RuREBus' **Link:** https://huggingface.co/datasets/MalakhovIlya/RuREBus **Description** Using os.walk(topdown=False) in DatasetBuilder causes following error: Status code: 400 Exception: TypeError Message: xwalk() got an unexpected keyword argument 'topdow...
143
Incorrect Russian filenames encoding after extraction by datasets.DownloadManager.download_and_extract() ## Dataset viewer issue for 'MalakhovIlya/RuREBus' **Link:** https://huggingface.co/datasets/MalakhovIlya/RuREBus **Description** Using os.walk(topdown=False) in DatasetBuilder causes following error: Stat...
[ -0.007453195750713348, -0.06315450370311737, -0.018023047596216202, 0.3883339762687683, 0.40408486127853394, -0.04123050719499588, -0.09856639802455902, 0.1355750858783722, -0.1796882152557373, 0.2541794776916504, -0.17957380414009094, 0.4243223965167999, -0.019661083817481995, 0.163803637...
https://github.com/huggingface/datasets/issues/4138
Hi! This issue stems from the fact that `xwalk`, which is a streamable version of `os.walk`, doesn't support the `topdown` param due to `fsspec`'s `walk` also not supporting it, so fixing this issue could be tricky. @MalakhovIlyaPavlovich You can avoid the error by tweaking your data processing and not using this ...
Incorrect Russian filenames encoding after extraction by datasets.DownloadManager.download_and_extract()
## Dataset viewer issue for 'MalakhovIlya/RuREBus' **Link:** https://huggingface.co/datasets/MalakhovIlya/RuREBus **Description** Using os.walk(topdown=False) in DatasetBuilder causes following error: Status code: 400 Exception: TypeError Message: xwalk() got an unexpected keyword argument 'topdow...
59
Incorrect Russian filenames encoding after extraction by datasets.DownloadManager.download_and_extract() ## Dataset viewer issue for 'MalakhovIlya/RuREBus' **Link:** https://huggingface.co/datasets/MalakhovIlya/RuREBus **Description** Using os.walk(topdown=False) in DatasetBuilder causes following error: Stat...
[ -0.05993901565670967, 0.00046440958976745605, 0.0007157288491725922, 0.2929069399833679, 0.47258099913597107, -0.09141414612531662, -0.21737639605998993, 0.09233979135751724, -0.08905518800020218, 0.35722875595092773, -0.09731842577457428, 0.302345871925354, 0.031104616820812225, 0.2337281...
https://github.com/huggingface/datasets/issues/4138
@mariosasko thank you for your reply. I couldn't reproduce error showed by @severo either on Ubuntu 20.04.3 LTS, Windows 10 and Google Colab environments. But trying to avoid using os.walk(topdown=False) and Path.rename(), In _split_generators I replaced ``` def decode_file_names(folder): for root, dirs, files i...
Incorrect Russian filenames encoding after extraction by datasets.DownloadManager.download_and_extract()
## Dataset viewer issue for 'MalakhovIlya/RuREBus' **Link:** https://huggingface.co/datasets/MalakhovIlya/RuREBus **Description** Using os.walk(topdown=False) in DatasetBuilder causes following error: Status code: 400 Exception: TypeError Message: xwalk() got an unexpected keyword argument 'topdow...
213
Incorrect Russian filenames encoding after extraction by datasets.DownloadManager.download_and_extract() ## Dataset viewer issue for 'MalakhovIlya/RuREBus' **Link:** https://huggingface.co/datasets/MalakhovIlya/RuREBus **Description** Using os.walk(topdown=False) in DatasetBuilder causes following error: Stat...
[ -0.007131733000278473, 0.07379657030105591, 0.03285990655422211, 0.389985054731369, 0.4107300341129303, -0.19134540855884552, -0.004841312766075134, 0.2006877064704895, -0.29054638743400574, 0.38305550813674927, -0.2088659107685089, 0.46311578154563904, 0.001372501254081726, 0.157934516668...
https://github.com/huggingface/datasets/issues/4138
This is what I get when I try to stream the `raw_txt` subset: ```python >>> dset = load_dataset("MalakhovIlya/RuREBus", "raw_txt", split="raw_txt", streaming=True) >>> next(iter(dset)) Traceback (most recent call last): File "<stdin>", line 1, in <module> StopIteration ``` So there is a bug in your script.
Incorrect Russian filenames encoding after extraction by datasets.DownloadManager.download_and_extract()
## Dataset viewer issue for 'MalakhovIlya/RuREBus' **Link:** https://huggingface.co/datasets/MalakhovIlya/RuREBus **Description** Using os.walk(topdown=False) in DatasetBuilder causes following error: Status code: 400 Exception: TypeError Message: xwalk() got an unexpected keyword argument 'topdow...
44
Incorrect Russian filenames encoding after extraction by datasets.DownloadManager.download_and_extract() ## Dataset viewer issue for 'MalakhovIlya/RuREBus' **Link:** https://huggingface.co/datasets/MalakhovIlya/RuREBus **Description** Using os.walk(topdown=False) in DatasetBuilder causes following error: Stat...
[ -0.15747065842151642, -0.11518177390098572, 0.010845910757780075, 0.31411808729171753, 0.3185797929763794, 0.04886925220489502, -0.07088053226470947, 0.1852438896894455, -0.035431213676929474, 0.2366666942834854, -0.02721807174384594, 0.2307993322610855, 0.0007413960993289948, 0.2097194045...
https://github.com/huggingface/datasets/issues/4138
streaming=True helped me to find solution. I fixed ``` def extract(zip_file_path): p = Path(zip_file_path) dest_dir = str(p.parent / 'extracted' / p.stem) os.makedirs(dest_dir, exist_ok=True) with zipfile.ZipFile(zip_file_path) as archive: for file_info in tqdm(archive.infolist(), desc='E...
Incorrect Russian filenames encoding after extraction by datasets.DownloadManager.download_and_extract()
## Dataset viewer issue for 'MalakhovIlya/RuREBus' **Link:** https://huggingface.co/datasets/MalakhovIlya/RuREBus **Description** Using os.walk(topdown=False) in DatasetBuilder causes following error: Status code: 400 Exception: TypeError Message: xwalk() got an unexpected keyword argument 'topdow...
89
Incorrect Russian filenames encoding after extraction by datasets.DownloadManager.download_and_extract() ## Dataset viewer issue for 'MalakhovIlya/RuREBus' **Link:** https://huggingface.co/datasets/MalakhovIlya/RuREBus **Description** Using os.walk(topdown=False) in DatasetBuilder causes following error: Stat...
[ -0.011979058384895325, -0.13273966312408447, 0.018450722098350525, 0.40761274099349976, 0.44946837425231934, -0.1875530630350113, -0.19433735311031342, 0.18403302133083344, -0.32351845502853394, 0.28901153802871704, -0.23194950819015503, 0.46923086047172546, 0.014537755399942398, 0.0691849...
https://github.com/huggingface/datasets/issues/4134
Hi ! Please post your question on the [forum](https://discuss.huggingface.co/), more people will be able to help you there ;)
ELI5 supporting documents
if i am using dense search to create supporting documents for eli5 how much time it will take bcz i read somewhere that it takes about 18 hrs??
19
ELI5 supporting documents if i am using dense search to create supporting documents for eli5 how much time it will take bcz i read somewhere that it takes about 18 hrs?? Hi ! Please post your question on the [forum](https://discuss.huggingface.co/), more people will be able to help you there ;)
[ 0.2901053726673126, -0.5284783840179443, -0.23270797729492188, 0.2695806622505188, 0.05649223178625107, -0.29287707805633545, 0.26679736375808716, -0.13747674226760864, -0.09749715775251389, 0.32486972212791443, 0.3197630047798157, -0.49612361192703247, -0.15500123798847198, 0.386240541934...
https://github.com/huggingface/datasets/issues/4133
The dataset cannot be loaded, be it in normal or streaming mode. ```python >>> import datasets >>> dataset=datasets.load_dataset("hans", split="train", streaming=True) >>> next(iter(dataset)) Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/slesage/hf/datasets-preview-back...
HANS dataset preview broken
## Dataset viewer issue for '*hans*' **Link:** [https://huggingface.co/datasets/hans](https://huggingface.co/datasets/hans) HANS dataset preview is broken with error 400 Am I the one who added this dataset ? No
224
HANS dataset preview broken ## Dataset viewer issue for '*hans*' **Link:** [https://huggingface.co/datasets/hans](https://huggingface.co/datasets/hans) HANS dataset preview is broken with error 400 Am I the one who added this dataset ? No The dataset cannot be loaded, be it in normal or streaming mode. ...
[ -0.34625953435897827, -0.3120446503162384, 0.028024185448884964, 0.3308504521846771, 0.17796073853969574, -0.007231287658214569, 0.20148850977420807, 0.2768096327781677, 0.0376160591840744, -0.036823682487010956, -0.3076949715614319, 0.16206835210323334, -0.0498245507478714, 0.048044703900...
https://github.com/huggingface/datasets/issues/4133
Hi! I've opened a PR that should make this dataset stremable. You can test it as follows: ```python from datasets import load_dataset dset = load_dataset("hans", split="train", streaming=True, revision="49decd29839c792ecc24ac88f861cbdec30c1c40") ``` @severo The current script doesn't throw an error in normal mod...
HANS dataset preview broken
## Dataset viewer issue for '*hans*' **Link:** [https://huggingface.co/datasets/hans](https://huggingface.co/datasets/hans) HANS dataset preview is broken with error 400 Am I the one who added this dataset ? No
65
HANS dataset preview broken ## Dataset viewer issue for '*hans*' **Link:** [https://huggingface.co/datasets/hans](https://huggingface.co/datasets/hans) HANS dataset preview is broken with error 400 Am I the one who added this dataset ? No Hi! I've opened a PR that should make this dataset stremable. You ...
[ -0.4986242651939392, -0.18405507504940033, 0.03228161484003067, 0.21668612957000732, 0.21571308374404907, 0.07473248243331909, 0.10147055983543396, 0.2017798125743866, -0.004671119153499603, 0.13597217202186584, -0.20167741179466248, 0.19201664626598358, -0.08966206014156342, 0.20938387513...
https://github.com/huggingface/datasets/issues/4133
Thanks for this. It works well, thanks! The dataset viewer is using https://github.com/huggingface/datasets/releases/tag/2.0.0, I'm eager to upgrade to 2.0.1 😉
HANS dataset preview broken
## Dataset viewer issue for '*hans*' **Link:** [https://huggingface.co/datasets/hans](https://huggingface.co/datasets/hans) HANS dataset preview is broken with error 400 Am I the one who added this dataset ? No
20
HANS dataset preview broken ## Dataset viewer issue for '*hans*' **Link:** [https://huggingface.co/datasets/hans](https://huggingface.co/datasets/hans) HANS dataset preview is broken with error 400 Am I the one who added this dataset ? No Thanks for this. It works well, thanks! The dataset viewer is usin...
[ -0.23055492341518402, -0.29010099172592163, 0.009215477854013443, 0.262542724609375, 0.06725773215293884, 0.06224612891674042, 0.05773596465587616, 0.20004583895206451, 0.04018010199069977, 0.02675081044435501, -0.3102260231971741, 0.08820275217294693, -0.038513850420713425, 0.045596830546...
https://github.com/huggingface/datasets/issues/4129
+1 on this idea. This could be powerful for helping better track datasets used for model training and help with automatic model card creation. One possible way of doing this would be to store some/most/all the arguments passed to `load_dataset` if a hub id is passed. i.e. store the Hub ID, configuration, etc. c...
dataset metadata for reproducibility
When pulling a dataset from the hub, it would be useful to have some metadata about the specific dataset and version that is used. The metadata could then be passed to the `Trainer` which could then be saved to a model card. This is useful for people who run many experiments on different versions (commits/branches) of ...
55
dataset metadata for reproducibility When pulling a dataset from the hub, it would be useful to have some metadata about the specific dataset and version that is used. The metadata could then be passed to the `Trainer` which could then be saved to a model card. This is useful for people who run many experiments on di...
[ -0.3613409698009491, -0.008130326867103577, 0.004297185689210892, -0.056735824793577194, 0.0365433543920517, 0.03436671197414398, 0.3010496199131012, 0.4554377794265747, -0.03429140895605087, 0.2280556708574295, -0.007196333259344101, 0.43954795598983765, -0.3767394721508026, 0.44028860330...
https://github.com/huggingface/datasets/issues/4124
A quick hack I have found is that we can call the image first before running the transforms and it makes sure the image is decoded before being passed on. For this I just needed to add `example['img'] = example['img']` to the top of my `generate_flipped_data` function, defined above, so that image decode in invoked....
Image decoding often fails when transforming Image datasets
## Describe the bug When transforming/modifying images in an image dataset using the `map` function the PIL images often fail to decode in time for the image transforms, causing errors. Using a debugger it is easy to see what the problem is, the Image decode invocation does not take place and the resulting image pa...
163
Image decoding often fails when transforming Image datasets ## Describe the bug When transforming/modifying images in an image dataset using the `map` function the PIL images often fail to decode in time for the image transforms, causing errors. Using a debugger it is easy to see what the problem is, the Image d...
[ -0.0782003104686737, -0.01851584017276764, -0.1789414882659912, 0.12563613057136536, 0.14424094557762146, -0.10112090408802032, 0.0618082694709301, 0.21047165989875793, -0.1569966822862625, 0.1313689947128296, 0.18100303411483765, 0.5930032730102539, 0.1992652267217636, -0.1440646797418594...
https://github.com/huggingface/datasets/issues/4124
Hi @RafayAK, thanks for reporting. Current implementation of the Image feature performs the decoding only if the "img" field is accessed by the mapped function. In your original `generate_flipped_data` function: - it only accesses the "img" field (and thus performs decoding) if `rng.random() > p`; - on the othe...
Image decoding often fails when transforming Image datasets
## Describe the bug When transforming/modifying images in an image dataset using the `map` function the PIL images often fail to decode in time for the image transforms, causing errors. Using a debugger it is easy to see what the problem is, the Image decode invocation does not take place and the resulting image pa...
237
Image decoding often fails when transforming Image datasets ## Describe the bug When transforming/modifying images in an image dataset using the `map` function the PIL images often fail to decode in time for the image transforms, causing errors. Using a debugger it is easy to see what the problem is, the Image d...
[ -0.0782003104686737, -0.01851584017276764, -0.1789414882659912, 0.12563613057136536, 0.14424094557762146, -0.10112090408802032, 0.0618082694709301, 0.21047165989875793, -0.1569966822862625, 0.1313689947128296, 0.18100303411483765, 0.5930032730102539, 0.1992652267217636, -0.1440646797418594...
https://github.com/huggingface/datasets/issues/4124
@albertvillanova Thanks for letting me know this is intended behavior. The docs are severely lacking on this, if I hadn't posted this here I would have never found out how I'm actually supposed to modify images in a Dataset object.
Image decoding often fails when transforming Image datasets
## Describe the bug When transforming/modifying images in an image dataset using the `map` function the PIL images often fail to decode in time for the image transforms, causing errors. Using a debugger it is easy to see what the problem is, the Image decode invocation does not take place and the resulting image pa...
40
Image decoding often fails when transforming Image datasets ## Describe the bug When transforming/modifying images in an image dataset using the `map` function the PIL images often fail to decode in time for the image transforms, causing errors. Using a debugger it is easy to see what the problem is, the Image d...
[ -0.0782003104686737, -0.01851584017276764, -0.1789414882659912, 0.12563613057136536, 0.14424094557762146, -0.10112090408802032, 0.0618082694709301, 0.21047165989875793, -0.1569966822862625, 0.1313689947128296, 0.18100303411483765, 0.5930032730102539, 0.1992652267217636, -0.1440646797418594...
https://github.com/huggingface/datasets/issues/4124
@albertvillanova Secondly if you check the error message it shows that around 1999 images were successfully created, I'm pretty sure some of them were also flipped during the process. Back to my main contention, sometimes the decoding takes place other times it fails. I suppose to run `map` on any dataset all the e...
Image decoding often fails when transforming Image datasets
## Describe the bug When transforming/modifying images in an image dataset using the `map` function the PIL images often fail to decode in time for the image transforms, causing errors. Using a debugger it is easy to see what the problem is, the Image decode invocation does not take place and the resulting image pa...
71
Image decoding often fails when transforming Image datasets ## Describe the bug When transforming/modifying images in an image dataset using the `map` function the PIL images often fail to decode in time for the image transforms, causing errors. Using a debugger it is easy to see what the problem is, the Image d...
[ -0.0782003104686737, -0.01851584017276764, -0.1789414882659912, 0.12563613057136536, 0.14424094557762146, -0.10112090408802032, 0.0618082694709301, 0.21047165989875793, -0.1569966822862625, 0.1313689947128296, 0.18100303411483765, 0.5930032730102539, 0.1992652267217636, -0.1440646797418594...
https://github.com/huggingface/datasets/issues/4124
Hi @RafayAK! I've opened a PR with the fix, which adds a fallback to reattempt casting to PyArrow format with a more robust (but more expensive) procedure if the first attempt fails. Feel free to test it by installing `datasets` from the PR branch with the following command: ``` pip install git+https://github.com/hug...
Image decoding often fails when transforming Image datasets
## Describe the bug When transforming/modifying images in an image dataset using the `map` function the PIL images often fail to decode in time for the image transforms, causing errors. Using a debugger it is easy to see what the problem is, the Image decode invocation does not take place and the resulting image pa...
53
Image decoding often fails when transforming Image datasets ## Describe the bug When transforming/modifying images in an image dataset using the `map` function the PIL images often fail to decode in time for the image transforms, causing errors. Using a debugger it is easy to see what the problem is, the Image d...
[ -0.0782003104686737, -0.01851584017276764, -0.1789414882659912, 0.12563613057136536, 0.14424094557762146, -0.10112090408802032, 0.0618082694709301, 0.21047165989875793, -0.1569966822862625, 0.1313689947128296, 0.18100303411483765, 0.5930032730102539, 0.1992652267217636, -0.1440646797418594...
https://github.com/huggingface/datasets/issues/4124
@mariosasko Thanks a lot for looking into this, now the `map` function at least behaves as one would expect a function to behave. Looking forward to exploring Hugging Face more and even contributing 😃. ```bash $ conda list | grep datasets datasets 2.0.1.dev0 pypi_0 pypi `...
Image decoding often fails when transforming Image datasets
## Describe the bug When transforming/modifying images in an image dataset using the `map` function the PIL images often fail to decode in time for the image transforms, causing errors. Using a debugger it is easy to see what the problem is, the Image decode invocation does not take place and the resulting image pa...
245
Image decoding often fails when transforming Image datasets ## Describe the bug When transforming/modifying images in an image dataset using the `map` function the PIL images often fail to decode in time for the image transforms, causing errors. Using a debugger it is easy to see what the problem is, the Image d...
[ -0.0782003104686737, -0.01851584017276764, -0.1789414882659912, 0.12563613057136536, 0.14424094557762146, -0.10112090408802032, 0.0618082694709301, 0.21047165989875793, -0.1569966822862625, 0.1313689947128296, 0.18100303411483765, 0.5930032730102539, 0.1992652267217636, -0.1440646797418594...
https://github.com/huggingface/datasets/issues/4123
Hi @StellaAthena, thanks for reporting. Please note, that our `datasets` library performs several operations in order to load a dataset, among them: - it downloads all the required files: for C4 "en", 378.69 GB of JSON GZIPped files - it parses their content to generate the dataset - it caches the dataset in an A...
Building C4 takes forever
## Describe the bug C4-en is a 300 GB dataset. However, when I try to download it through the hub it takes over _six hours_ to generate the train/test split from the downloaded files. This is an absurd amount of time and an unnecessary waste of resources. ## Steps to reproduce the bug ```python c4 = datasets.load...
274
Building C4 takes forever ## Describe the bug C4-en is a 300 GB dataset. However, when I try to download it through the hub it takes over _six hours_ to generate the train/test split from the downloaded files. This is an absurd amount of time and an unnecessary waste of resources. ## Steps to reproduce the bug `...
[ -0.40809300541877747, 0.08479051291942596, -0.08239783346652985, 0.5022711157798767, 0.21780328452587128, 0.17812559008598328, 0.25990939140319824, 0.39848193526268005, -0.051036685705184937, 0.1110164001584053, -0.08437635004520416, 0.13972508907318115, -0.06366275250911713, 0.34192660450...
https://github.com/huggingface/datasets/issues/4122
Hi @nbroad1881, thanks for reporting. Let me have a look to try to improve its performance.
medical_dialog zh has very slow _generate_examples
## Describe the bug After downloading the files from Google Drive, `load_dataset("medical_dialog", "zh", data_dir="./")` takes an unreasonable amount of time. Generating the train/test split for 33% of the dataset takes over 4.5 hours. ## Steps to reproduce the bug The easiest way I've found to download files from...
16
medical_dialog zh has very slow _generate_examples ## Describe the bug After downloading the files from Google Drive, `load_dataset("medical_dialog", "zh", data_dir="./")` takes an unreasonable amount of time. Generating the train/test split for 33% of the dataset takes over 4.5 hours. ## Steps to reproduce the b...
[ -0.34890785813331604, 0.15915974974632263, -0.012125249952077866, 0.14690640568733215, -0.014464410953223705, 0.18549446761608124, 0.7514628767967224, 0.4728640019893646, 0.09013456106185913, 0.1866065263748169, -0.034846872091293335, 0.0402098074555397, -0.15930072963237762, 0.27586013078...
https://github.com/huggingface/datasets/issues/4122
Thanks @nbroad1881 for reporting! I don't recall it taking so long. I will also have a look at this. @albertvillanova please let me know if I am doing something unnecessary or time consuming.
medical_dialog zh has very slow _generate_examples
## Describe the bug After downloading the files from Google Drive, `load_dataset("medical_dialog", "zh", data_dir="./")` takes an unreasonable amount of time. Generating the train/test split for 33% of the dataset takes over 4.5 hours. ## Steps to reproduce the bug The easiest way I've found to download files from...
33
medical_dialog zh has very slow _generate_examples ## Describe the bug After downloading the files from Google Drive, `load_dataset("medical_dialog", "zh", data_dir="./")` takes an unreasonable amount of time. Generating the train/test split for 33% of the dataset takes over 4.5 hours. ## Steps to reproduce the b...
[ -0.34890785813331604, 0.15915974974632263, -0.012125249952077866, 0.14690640568733215, -0.014464410953223705, 0.18549446761608124, 0.7514628767967224, 0.4728640019893646, 0.09013456106185913, 0.1866065263748169, -0.034846872091293335, 0.0402098074555397, -0.15930072963237762, 0.27586013078...