html_url
stringlengths
48
51
title
stringlengths
5
280
comments
stringlengths
63
51.8k
body
stringlengths
0
36.2k
comment_length
int64
16
1.52k
text
stringlengths
159
54.1k
embeddings
listlengths
768
768
https://github.com/huggingface/datasets/issues/4268
error downloading bigscience-catalogue-lm-data/lm_en_wiktionary_filtered
Hey @i-am-neo, Cool to hear that you're working on Robust ASR! Feel free to drop me a mail :-)
## Describe the bug Error generated when attempting to download dataset ## Steps to reproduce the bug ```python from datasets import load_dataset dataset = load_dataset("bigscience-catalogue-lm-data/lm_en_wiktionary_filtered") ``` ## Expected results A clear and concise description of the expected results...
19
error downloading bigscience-catalogue-lm-data/lm_en_wiktionary_filtered ## Describe the bug Error generated when attempting to download dataset ## Steps to reproduce the bug ```python from datasets import load_dataset dataset = load_dataset("bigscience-catalogue-lm-data/lm_en_wiktionary_filtered") ``` #...
[ -0.2923785448074341, -0.041403546929359436, -0.1572301685810089, 0.2814290523529053, 0.0499909445643425, -0.028551850467920303, 0.16257955133914948, 0.545356035232544, 0.28651800751686096, 0.07778171449899673, -0.16878914833068848, 0.2441956251859665, -0.18494205176830292, -0.0490182712674...
https://github.com/huggingface/datasets/issues/4268
error downloading bigscience-catalogue-lm-data/lm_en_wiktionary_filtered
@i-am-neo This particular subset of the dataset was taken from the [CirrusSearch dumps](https://dumps.wikimedia.org/other/cirrussearch/current/) You're specifically after the [enwiktionary-20220425-cirrussearch-content.json.gz](https://dumps.wikimedia.org/other/cirrussearch/current/enwiktionary-20220425-cirrussearch-c...
## Describe the bug Error generated when attempting to download dataset ## Steps to reproduce the bug ```python from datasets import load_dataset dataset = load_dataset("bigscience-catalogue-lm-data/lm_en_wiktionary_filtered") ``` ## Expected results A clear and concise description of the expected results...
19
error downloading bigscience-catalogue-lm-data/lm_en_wiktionary_filtered ## Describe the bug Error generated when attempting to download dataset ## Steps to reproduce the bug ```python from datasets import load_dataset dataset = load_dataset("bigscience-catalogue-lm-data/lm_en_wiktionary_filtered") ``` #...
[ -0.2923785448074341, -0.041403546929359436, -0.1572301685810089, 0.2814290523529053, 0.0499909445643425, -0.028551850467920303, 0.16257955133914948, 0.545356035232544, 0.28651800751686096, 0.07778171449899673, -0.16878914833068848, 0.2441956251859665, -0.18494205176830292, -0.0490182712674...
https://github.com/huggingface/datasets/issues/4268
error downloading bigscience-catalogue-lm-data/lm_en_wiktionary_filtered
thanks @cakiki ! <del>I could access the gz file yesterday (but neglected to tuck it away somewhere safe), and today the link is throwing a 404. Can you help? </del> Never mind, got it!
## Describe the bug Error generated when attempting to download dataset ## Steps to reproduce the bug ```python from datasets import load_dataset dataset = load_dataset("bigscience-catalogue-lm-data/lm_en_wiktionary_filtered") ``` ## Expected results A clear and concise description of the expected results...
34
error downloading bigscience-catalogue-lm-data/lm_en_wiktionary_filtered ## Describe the bug Error generated when attempting to download dataset ## Steps to reproduce the bug ```python from datasets import load_dataset dataset = load_dataset("bigscience-catalogue-lm-data/lm_en_wiktionary_filtered") ``` #...
[ -0.2923785448074341, -0.041403546929359436, -0.1572301685810089, 0.2814290523529053, 0.0499909445643425, -0.028551850467920303, 0.16257955133914948, 0.545356035232544, 0.28651800751686096, 0.07778171449899673, -0.16878914833068848, 0.2441956251859665, -0.18494205176830292, -0.0490182712674...
https://github.com/huggingface/datasets/issues/4261
data leakage in `webis/conclugen` dataset
Hi @xflashxx, thanks for reporting. Please note that this dataset was generated and shared by Webis Group: https://huggingface.co/webis We are contacting the dataset owners to inform them about the issue you found. We'll keep you updated of their reply.
## Describe the bug Some samples (argument-conclusion pairs) in the *training* split of the `webis/conclugen` dataset are present in both the *validation* and *test* splits, creating data leakage and distorting model results. Furthermore, all splits contain duplicate samples. ## Steps to reproduce the bug ```pyth...
39
data leakage in `webis/conclugen` dataset ## Describe the bug Some samples (argument-conclusion pairs) in the *training* split of the `webis/conclugen` dataset are present in both the *validation* and *test* splits, creating data leakage and distorting model results. Furthermore, all splits contain duplicate sample...
[ -0.3633222281932831, -0.02422395348548889, -0.1429639458656311, 0.40213078260421753, -0.365067720413208, -0.041542571038007736, 0.21329890191555023, 0.3561701476573944, -0.10639676451683044, -0.1708763688802719, -0.11982743442058563, 0.37816518545150757, 0.14826585352420807, -0.13640527427...
https://github.com/huggingface/datasets/issues/4261
data leakage in `webis/conclugen` dataset
Thanks for reporting this @xflashxx. I'll have a look and get back to you on this.
## Describe the bug Some samples (argument-conclusion pairs) in the *training* split of the `webis/conclugen` dataset are present in both the *validation* and *test* splits, creating data leakage and distorting model results. Furthermore, all splits contain duplicate samples. ## Steps to reproduce the bug ```pyth...
16
data leakage in `webis/conclugen` dataset ## Describe the bug Some samples (argument-conclusion pairs) in the *training* split of the `webis/conclugen` dataset are present in both the *validation* and *test* splits, creating data leakage and distorting model results. Furthermore, all splits contain duplicate sample...
[ -0.3633222281932831, -0.02422395348548889, -0.1429639458656311, 0.40213078260421753, -0.365067720413208, -0.041542571038007736, 0.21329890191555023, 0.3561701476573944, -0.10639676451683044, -0.1708763688802719, -0.11982743442058563, 0.37816518545150757, 0.14826585352420807, -0.13640527427...
https://github.com/huggingface/datasets/issues/4261
data leakage in `webis/conclugen` dataset
Hi @xflashxx and @albertvillanova, I have updated the files with de-duplicated splits. Apparently the debate portals from which part of the examples were sourced had unique timestamps for some examples (up to 6%; updated counts in the README) without any actual content updated that lead to "new" items. The length of...
## Describe the bug Some samples (argument-conclusion pairs) in the *training* split of the `webis/conclugen` dataset are present in both the *validation* and *test* splits, creating data leakage and distorting model results. Furthermore, all splits contain duplicate samples. ## Steps to reproduce the bug ```pyth...
164
data leakage in `webis/conclugen` dataset ## Describe the bug Some samples (argument-conclusion pairs) in the *training* split of the `webis/conclugen` dataset are present in both the *validation* and *test* splits, creating data leakage and distorting model results. Furthermore, all splits contain duplicate sample...
[ -0.3633222281932831, -0.02422395348548889, -0.1429639458656311, 0.40213078260421753, -0.365067720413208, -0.041542571038007736, 0.21329890191555023, 0.3561701476573944, -0.10639676451683044, -0.1708763688802719, -0.11982743442058563, 0.37816518545150757, 0.14826585352420807, -0.13640527427...
https://github.com/huggingface/datasets/issues/4261
data leakage in `webis/conclugen` dataset
Thanks @shahbazsyed for your fast fix. As a side note: - Your email appearing as Point of Contact in the dataset README has a typo: @uni.leipzig.de instead of @uni-leipzig.de - Your commits on the Hub are not linked to your profile on the Hub: this is because we use the email address to make this link; the email a...
## Describe the bug Some samples (argument-conclusion pairs) in the *training* split of the `webis/conclugen` dataset are present in both the *validation* and *test* splits, creating data leakage and distorting model results. Furthermore, all splits contain duplicate samples. ## Steps to reproduce the bug ```pyth...
74
data leakage in `webis/conclugen` dataset ## Describe the bug Some samples (argument-conclusion pairs) in the *training* split of the `webis/conclugen` dataset are present in both the *validation* and *test* splits, creating data leakage and distorting model results. Furthermore, all splits contain duplicate sample...
[ -0.3633222281932831, -0.02422395348548889, -0.1429639458656311, 0.40213078260421753, -0.365067720413208, -0.041542571038007736, 0.21329890191555023, 0.3561701476573944, -0.10639676451683044, -0.1708763688802719, -0.11982743442058563, 0.37816518545150757, 0.14826585352420807, -0.13640527427...
https://github.com/huggingface/datasets/issues/4248
conll2003 dataset loads original data.
Thanks for reporting @sue99. Unfortunately. I'm not able to reproduce your problem: ```python In [1]: import datasets ...: from datasets import load_dataset ...: dataset = load_dataset("conll2003") In [2]: dataset Out[2]: DatasetDict({ train: Dataset({ features: ['id', 'tokens', 'pos_ta...
## Describe the bug I load `conll2003` dataset to use refined data like [this](https://huggingface.co/datasets/conll2003/viewer/conll2003/train) preview, but it is original data that contains `'-DOCSTART- -X- -X- O'` text. Is this a bug or should I use another dataset_name like `lhoestq/conll2003` ? ## Steps to...
158
conll2003 dataset loads original data. ## Describe the bug I load `conll2003` dataset to use refined data like [this](https://huggingface.co/datasets/conll2003/viewer/conll2003/train) preview, but it is original data that contains `'-DOCSTART- -X- -X- O'` text. Is this a bug or should I use another dataset_name ...
[ 0.04482681676745415, 0.23182392120361328, 0.00680001825094223, 0.4537392258644104, 0.029356438666582108, 0.03929183632135391, 0.325444757938385, 0.34715530276298523, -0.4062153398990631, -0.031783223152160645, -0.15510490536689758, 0.39673352241516113, 0.06101720407605171, 0.22338543832302...
https://github.com/huggingface/datasets/issues/4247
The data preview of XGLUE
Thanks for reporting @czq1999. Note that the dataset viewer uses the dataset in streaming mode and that not all datasets support streaming yet. That is the case for XGLUE dataset (as the error message points out): this must be refactored to support streaming.
It seems that something wrong with the data previvew of XGLUE
43
The data preview of XGLUE It seems that something wrong with the data previvew of XGLUE Thanks for reporting @czq1999. Note that the dataset viewer uses the dataset in streaming mode and that not all datasets support streaming yet. That is the case for XGLUE dataset (as the error message points out): this mus...
[ -0.5521459579467773, -0.2582041621208191, -0.07974901795387268, 0.03600362688302994, 0.12222260236740112, -0.06576669961214066, 0.1930057257413864, 0.3570639491081238, -0.14305727183818817, 0.21194544434547424, 0.05504034459590912, 0.15029464662075043, -0.0410025455057621, 0.21175114810466...
https://github.com/huggingface/datasets/issues/4241
NonMatchingChecksumError when attempting to download GLUE
Hi :) I think your issue may be related to the older `nlp` library. I was able to download `glue` with the latest version of `datasets`. Can you try updating with: ```py pip install -U datasets ``` Then you can download: ```py from datasets import load_dataset ds = load_dataset("glue", "rte") ```
## Describe the bug I am trying to download the GLUE dataset from the NLP module but get an error (see below). ## Steps to reproduce the bug ```python import nlp nlp.__version__ # '0.2.0' nlp.load_dataset('glue', name="rte", download_mode="force_redownload") ``` ## Expected results I expect the dataset to ...
51
NonMatchingChecksumError when attempting to download GLUE ## Describe the bug I am trying to download the GLUE dataset from the NLP module but get an error (see below). ## Steps to reproduce the bug ```python import nlp nlp.__version__ # '0.2.0' nlp.load_dataset('glue', name="rte", download_mode="force_redown...
[ 0.10109929740428925, -0.09036897122859955, 0.04133753105998039, 0.3583335876464844, 0.1278837025165558, 0.09994635730981827, -0.18665249645709991, 0.33458212018013, 0.49528300762176514, -0.10534536838531494, -0.13941587507724762, 0.1311294436454773, -0.06583065539598465, -0.145723551511764...
https://github.com/huggingface/datasets/issues/4241
NonMatchingChecksumError when attempting to download GLUE
This appears to work. Thank you! On Wed, Apr 27, 2022, 1:18 PM Steven Liu ***@***.***> wrote: > Hi :) > > I think your issue may be related to the older nlp library. I was able to > download glue with the latest version of datasets. Can you try updating > with: > > pip install -U datasets > > Then you can download: >...
## Describe the bug I am trying to download the GLUE dataset from the NLP module but get an error (see below). ## Steps to reproduce the bug ```python import nlp nlp.__version__ # '0.2.0' nlp.load_dataset('glue', name="rte", download_mode="force_redownload") ``` ## Expected results I expect the dataset to ...
110
NonMatchingChecksumError when attempting to download GLUE ## Describe the bug I am trying to download the GLUE dataset from the NLP module but get an error (see below). ## Steps to reproduce the bug ```python import nlp nlp.__version__ # '0.2.0' nlp.load_dataset('glue', name="rte", download_mode="force_redown...
[ 0.10109929740428925, -0.09036897122859955, 0.04133753105998039, 0.3583335876464844, 0.1278837025165558, 0.09994635730981827, -0.18665249645709991, 0.33458212018013, 0.49528300762176514, -0.10534536838531494, -0.13941587507724762, 0.1311294436454773, -0.06583065539598465, -0.145723551511764...
https://github.com/huggingface/datasets/issues/4238
Dataset caching policy
Hi @loretoparisi, thanks for reporting. There is an option to force the redownload of the data files (and thus not using previously download and cached data files): `load_dataset(..., download_mode="force_redownload")`. Please, let me know if this fixes your problem. I can confirm you that your dataset loads w...
## Describe the bug I cannot clean cache of my datasets files, despite I have updated the `csv` files on the repository [here](https://huggingface.co/datasets/loretoparisi/tatoeba-sentences). The original file had a line with bad characters, causing the following error ``` [/usr/local/lib/python3.7/dist-packages/d...
87
Dataset caching policy ## Describe the bug I cannot clean cache of my datasets files, despite I have updated the `csv` files on the repository [here](https://huggingface.co/datasets/loretoparisi/tatoeba-sentences). The original file had a line with bad characters, causing the following error ``` [/usr/local/lib/...
[ 0.012393582612276077, 0.2971673309803009, -0.0013777483254671097, 0.24174854159355164, 0.2187061905860901, 0.22311559319496155, 0.20116841793060303, 0.3845505714416504, 0.04758783057332039, -0.11489890515804291, -0.09904838353395462, -0.20246393978595734, -0.04320531338453293, -0.189287737...
https://github.com/huggingface/datasets/issues/4238
Dataset caching policy
@albertvillanova thank you, it seems it still does not work using: ```python sentences = load_dataset( "loretoparisi/tatoeba-sentences", data_files=data_files, delimiter='\t', column_names=['label', 'text'], download_mode="force_redownload" ) ``` [This](https://colab.research.googl...
## Describe the bug I cannot clean cache of my datasets files, despite I have updated the `csv` files on the repository [here](https://huggingface.co/datasets/loretoparisi/tatoeba-sentences). The original file had a line with bad characters, causing the following error ``` [/usr/local/lib/python3.7/dist-packages/d...
125
Dataset caching policy ## Describe the bug I cannot clean cache of my datasets files, despite I have updated the `csv` files on the repository [here](https://huggingface.co/datasets/loretoparisi/tatoeba-sentences). The original file had a line with bad characters, causing the following error ``` [/usr/local/lib/...
[ 0.012393582612276077, 0.2971673309803009, -0.0013777483254671097, 0.24174854159355164, 0.2187061905860901, 0.22311559319496155, 0.20116841793060303, 0.3845505714416504, 0.04758783057332039, -0.11489890515804291, -0.09904838353395462, -0.20246393978595734, -0.04320531338453293, -0.189287737...
https://github.com/huggingface/datasets/issues/4238
Dataset caching policy
SOLVED! The problem was the with the file itself, using caching parameter helped indeed. Thanks for helping!
## Describe the bug I cannot clean cache of my datasets files, despite I have updated the `csv` files on the repository [here](https://huggingface.co/datasets/loretoparisi/tatoeba-sentences). The original file had a line with bad characters, causing the following error ``` [/usr/local/lib/python3.7/dist-packages/d...
17
Dataset caching policy ## Describe the bug I cannot clean cache of my datasets files, despite I have updated the `csv` files on the repository [here](https://huggingface.co/datasets/loretoparisi/tatoeba-sentences). The original file had a line with bad characters, causing the following error ``` [/usr/local/lib/...
[ 0.012393582612276077, 0.2971673309803009, -0.0013777483254671097, 0.24174854159355164, 0.2187061905860901, 0.22311559319496155, 0.20116841793060303, 0.3845505714416504, 0.04758783057332039, -0.11489890515804291, -0.09904838353395462, -0.20246393978595734, -0.04320531338453293, -0.189287737...
https://github.com/huggingface/datasets/issues/4237
Common Voice 8 doesn't show datasets viewer
Thanks for reporting. I understand it's an error in the dataset script. To reproduce: ```python >>> import datasets as ds >>> split_names = ds.get_dataset_split_names("mozilla-foundation/common_voice_8_0", use_auth_token="**********") Downloading builder script: 100%|██████████████████████████████████████████████...
https://huggingface.co/datasets/mozilla-foundation/common_voice_8_0
151
Common Voice 8 doesn't show datasets viewer https://huggingface.co/datasets/mozilla-foundation/common_voice_8_0 Thanks for reporting. I understand it's an error in the dataset script. To reproduce: ```python >>> import datasets as ds >>> split_names = ds.get_dataset_split_names("mozilla-foundation/common_voice...
[ -0.6561423540115356, -0.004004091024398804, 0.005423203110694885, 0.13106995820999146, 0.28544431924819946, 0.26823875308036804, 0.41653478145599365, 0.376859575510025, 0.15680861473083496, 0.10948380082845688, -0.2961750328540802, -0.04195293039083481, -0.20162828266620636, -0.13404631614...
https://github.com/huggingface/datasets/issues/4237
Common Voice 8 doesn't show datasets viewer
Thanks for reporting @patrickvonplaten and thanks for the investigation @severo. Unfortunately I'm not able to reproduce the error. I think the error has to do with authentication with `huggingface_hub`, because the exception is thrown from these code lines: https://huggingface.co/datasets/mozilla-foundation/comm...
https://huggingface.co/datasets/mozilla-foundation/common_voice_8_0
70
Common Voice 8 doesn't show datasets viewer https://huggingface.co/datasets/mozilla-foundation/common_voice_8_0 Thanks for reporting @patrickvonplaten and thanks for the investigation @severo. Unfortunately I'm not able to reproduce the error. I think the error has to do with authentication with `huggingface_...
[ -0.38185927271842957, -0.20817908644676208, 0.057624172419309616, 0.25952818989753723, 0.295993447303772, 0.33191949129104614, 0.3500489294528961, 0.18169081211090088, 0.21920616924762726, 0.08946842700242996, -0.5308888554573059, -0.18959714472293854, -0.1368177831172943, -0.2363356947898...
https://github.com/huggingface/datasets/issues/4237
Common Voice 8 doesn't show datasets viewer
OK, thanks for digging a bit into it. Indeed, the error occurs with the dataset-viewer, but not with a normal user token, because we use an app token, and it does not have a related email! ```python >>> from huggingface_hub import HfApi, HfFolder >>> auth_token = "hf_app_******" >>> t = HfApi().whoami(auth_token)...
https://huggingface.co/datasets/mozilla-foundation/common_voice_8_0
105
Common Voice 8 doesn't show datasets viewer https://huggingface.co/datasets/mozilla-foundation/common_voice_8_0 OK, thanks for digging a bit into it. Indeed, the error occurs with the dataset-viewer, but not with a normal user token, because we use an app token, and it does not have a related email! ```python >...
[ -0.2868962585926056, -0.11142686754465103, 0.05407698079943657, 0.052180416882038116, 0.2599709630012512, 0.1541750431060791, 0.5229558944702148, 0.21727335453033447, 0.2576427459716797, 0.18005666136741638, -0.5013434886932373, -0.28390341997146606, -0.08359717577695847, -0.01877238415181...
https://github.com/huggingface/datasets/issues/4237
Common Voice 8 doesn't show datasets viewer
We can workaround this with ```python email = HfApi().whoami(auth_token).get("email", "system@huggingface.co") ``` in the common voice scripts
https://huggingface.co/datasets/mozilla-foundation/common_voice_8_0
16
Common Voice 8 doesn't show datasets viewer https://huggingface.co/datasets/mozilla-foundation/common_voice_8_0 We can workaround this with ```python email = HfApi().whoami(auth_token).get("email", "system@huggingface.co") ``` in the common voice scripts
[ -0.4095233082771301, 0.0020360276103019714, 0.024313148111104965, 0.1462474763393402, 0.26529639959335327, 0.2654660940170288, 0.49832433462142944, 0.32206395268440247, 0.3277721107006073, 0.23755408823490143, -0.5881974697113037, -0.2214312106370926, 0.02450055256485939, 0.025155564770102...
https://github.com/huggingface/datasets/issues/4237
Common Voice 8 doesn't show datasets viewer
Hmmm, does this mean that any person who downloads the common voice dataset will be logged as "system@huggingface.co"? If so, it would defeat the purpose of sending the user's email to the commonvoice API, right?
https://huggingface.co/datasets/mozilla-foundation/common_voice_8_0
35
Common Voice 8 doesn't show datasets viewer https://huggingface.co/datasets/mozilla-foundation/common_voice_8_0 Hmmm, does this mean that any person who downloads the common voice dataset will be logged as "system@huggingface.co"? If so, it would defeat the purpose of sending the user's email to the commonvoice API...
[ -0.16967090964317322, 0.14447396993637085, 0.04571732506155968, 0.2471177726984024, -0.02002299576997757, 0.31687164306640625, 0.5003864169120789, 0.05814940854907036, 0.3065968155860901, -0.06583508849143982, -0.3562380075454712, -0.1942669004201889, -0.07957649976015091, -0.1098137497901...
https://github.com/huggingface/datasets/issues/4237
Common Voice 8 doesn't show datasets viewer
I agree with @severo: we cannot set our system email as default, allowing anybody not authenticated to by-pass the Common Voice usage policy. Additionally, looking at the code, I think we should implement a more robust way to send user email to Common Voice: currently anybody can tweak the script and send somebody e...
https://huggingface.co/datasets/mozilla-foundation/common_voice_8_0
61
Common Voice 8 doesn't show datasets viewer https://huggingface.co/datasets/mozilla-foundation/common_voice_8_0 I agree with @severo: we cannot set our system email as default, allowing anybody not authenticated to by-pass the Common Voice usage policy. Additionally, looking at the code, I think we should implem...
[ -0.42333826422691345, 0.2953560948371887, 0.0905713140964508, -0.062156662344932556, 0.09976385533809662, 0.18124940991401672, 0.7674461007118225, 0.23272287845611572, 0.29359322786331177, 0.17033198475837708, -0.09795495122671127, 0.002181146526709199, -0.006449350155889988, -0.1200799942...
https://github.com/huggingface/datasets/issues/4237
Common Voice 8 doesn't show datasets viewer
Hmm I don't agree here. Anybody can always just bypass the system by setting whatever email. As soon as someone has access to the downloading script it's trivial to tweak the code to not send the "correct" email but to just whatever and it would work. Note that someone only has visibility on the code after havin...
https://huggingface.co/datasets/mozilla-foundation/common_voice_8_0
111
Common Voice 8 doesn't show datasets viewer https://huggingface.co/datasets/mozilla-foundation/common_voice_8_0 Hmm I don't agree here. Anybody can always just bypass the system by setting whatever email. As soon as someone has access to the downloading script it's trivial to tweak the code to not send the "cor...
[ -0.32766997814178467, 0.28264120221138, 0.028696209192276, 0.10169319808483124, -0.035375356674194336, 0.022214695811271667, 0.6439486145973206, 0.07655801624059677, 0.3533983826637268, 0.20495793223381042, -0.25077196955680847, -0.10544851422309875, -0.0896843895316124, -0.045750036835670...
https://github.com/huggingface/datasets/issues/4237
Common Voice 8 doesn't show datasets viewer
> Additionally, looking at the code, I think we should implement a more robust way to send user email to Common Voice: currently anybody can tweak the script and send somebody else email instead. Yes, I agree we can forget about this @patrickvonplaten. After having had a look at Common Voice website, I've seen they ...
https://huggingface.co/datasets/mozilla-foundation/common_voice_8_0
136
Common Voice 8 doesn't show datasets viewer https://huggingface.co/datasets/mozilla-foundation/common_voice_8_0 > Additionally, looking at the code, I think we should implement a more robust way to send user email to Common Voice: currently anybody can tweak the script and send somebody else email instead. Yes, ...
[ -0.4378190338611603, 0.2820078432559967, -0.01713946834206581, -0.0312948003411293, 0.00726642832159996, 0.0896093025803566, 0.5135821104049683, 0.3128055930137634, 0.18304358422756195, 0.14101451635360718, -0.3661118149757385, -0.1130836233496666, -0.07284223288297653, -0.0658882558345794...
https://github.com/huggingface/datasets/issues/4230
Why the `conll2003` dataset on huggingface only contains the `en` subset? Where is the German data?
Thanks for reporting @beyondguo. Indeed, we generate this dataset from this raw data file URL: https://data.deepai.org/conll2003.zip And that URL only contains the English version.
![image](https://user-images.githubusercontent.com/37113676/165416606-96b5db18-b16c-4b6b-928c-de8620fd943e.png) But on huggingface datasets: ![image](https://user-images.githubusercontent.com/37113676/165416649-8fd77980-ca0d-43f0-935e-f398ba8323a4.png) Where is the German data?
24
Why the `conll2003` dataset on huggingface only contains the `en` subset? Where is the German data? ![image](https://user-images.githubusercontent.com/37113676/165416606-96b5db18-b16c-4b6b-928c-de8620fd943e.png) But on huggingface datasets: ![image](https://user-images.githubusercontent.com/37113676/165416649-8f...
[ 0.24144987761974335, -0.21468499302864075, -0.07593567669391632, 0.4355059266090393, -0.14480313658714294, 0.10056417435407639, 0.2667836844921112, -0.042692918330430984, -0.43059369921684265, 0.2462078183889389, -0.27562370896339417, -0.19682879745960236, 0.35004135966300964, 0.3912381827...
https://github.com/huggingface/datasets/issues/4230
Why the `conll2003` dataset on huggingface only contains the `en` subset? Where is the German data?
The German data requires payment The [original task page](https://www.clips.uantwerpen.be/conll2003/ner/) states "The German data is a collection of articles from the Frankfurter Rundschau. The named entities have been annotated by people of the University of Antwerp. Only the annotations are available here. In orde...
![image](https://user-images.githubusercontent.com/37113676/165416606-96b5db18-b16c-4b6b-928c-de8620fd943e.png) But on huggingface datasets: ![image](https://user-images.githubusercontent.com/37113676/165416649-8fd77980-ca0d-43f0-935e-f398ba8323a4.png) Where is the German data?
149
Why the `conll2003` dataset on huggingface only contains the `en` subset? Where is the German data? ![image](https://user-images.githubusercontent.com/37113676/165416606-96b5db18-b16c-4b6b-928c-de8620fd943e.png) But on huggingface datasets: ![image](https://user-images.githubusercontent.com/37113676/165416649-8f...
[ 0.0485430471599102, -0.0925845056772232, -0.07864513248205185, 0.6424387097358704, -0.21835415065288544, -0.10422723740339279, 0.34152135252952576, -0.14001178741455078, -0.3688971698284149, 0.42214977741241455, -0.14252333343029022, -0.06155743822455406, 0.20482242107391357, 0.38016584515...
https://github.com/huggingface/datasets/issues/4221
Dictionary Feature
Hi @jordiae, Instead of the `Sequence` feature, you can use just a regular list: put the dict between `[` and `]`: ```python "list_of_dict_feature": [ { "key1_in_dict": datasets.Value("string"), "key2_in_dict": datasets.Value("int32"), ... } ], ``` Feel free to re-open thi...
Hi, I'm trying to create the loading script for a dataset in which one feature is a list of dictionaries, which afaik doesn't fit very well the values and structures supported by Value and Sequence. Is there any suggested workaround, am I missing something? Thank you in advance.
48
Dictionary Feature Hi, I'm trying to create the loading script for a dataset in which one feature is a list of dictionaries, which afaik doesn't fit very well the values and structures supported by Value and Sequence. Is there any suggested workaround, am I missing something? Thank you in advance. Hi @jordiae, ...
[ -0.04624965414404869, -0.4512823820114136, -0.17071013152599335, 0.16586065292358398, 0.09326337277889252, -0.016183774918317795, 0.1318405121564865, 0.15200208127498627, 0.40499958395957947, 0.12990227341651917, 0.143244206905365, 0.22338305413722992, -0.07074690610170364, 0.7212551236152...
https://github.com/huggingface/datasets/issues/4221
Dictionary Feature
> Hi @jordiae, > > Instead of the `Sequence` feature, you can use just a regular list: put the dict between `[` and `]`: > > ```python > "list_of_dict_feature": [ > { > "key1_in_dict": datasets.Value("string"), > "key2_in_dict": datasets.Value("int32"), > ... > } > ], > ```...
Hi, I'm trying to create the loading script for a dataset in which one feature is a list of dictionaries, which afaik doesn't fit very well the values and structures supported by Value and Sequence. Is there any suggested workaround, am I missing something? Thank you in advance.
65
Dictionary Feature Hi, I'm trying to create the loading script for a dataset in which one feature is a list of dictionaries, which afaik doesn't fit very well the values and structures supported by Value and Sequence. Is there any suggested workaround, am I missing something? Thank you in advance. > Hi @jordiae,...
[ -0.04296927526593208, -0.47043800354003906, -0.16780568659305573, 0.19114451110363007, 0.06616009771823883, -0.0045955851674079895, 0.1355631947517395, 0.1641889214515686, 0.42123761773109436, 0.13471706211566925, 0.1320910006761551, 0.20426754653453827, -0.08512777090072632, 0.73777574300...
https://github.com/huggingface/datasets/issues/4217
Big_Patent dataset broken
Thanks for reporting. The issue seems not to be directly related to the dataset viewer or the `datasets` library, but instead to it being hosted on Google Drive. See related issues: https://github.com/huggingface/datasets/issues?q=is%3Aissue+is%3Aopen+drive.google.com To quote [@lhoestq](https://github.com/huggin...
## Dataset viewer issue for '*big_patent*' **Link:** *[link to the dataset viewer page](https://huggingface.co/datasets/big_patent/viewer/all/train)* *Unable to view because it says FileNotFound, also cannot download it through the python API* Am I the one who added this dataset ? No
62
Big_Patent dataset broken ## Dataset viewer issue for '*big_patent*' **Link:** *[link to the dataset viewer page](https://huggingface.co/datasets/big_patent/viewer/all/train)* *Unable to view because it says FileNotFound, also cannot download it through the python API* Am I the one who added this dataset ? N...
[ -0.48346662521362305, 0.10464155673980713, -0.01314170565456152, 0.34202831983566284, 0.1577983945608139, 0.03834269940853119, 0.16885335743427277, 0.23544584214687347, 0.21801695227622986, -0.13234664499759674, -0.03150581568479538, -0.10415561497211456, -0.2722387909889221, 0.42027473449...
https://github.com/huggingface/datasets/issues/4217
Big_Patent dataset broken
We should find out if the dataset license allows redistribution and contact the data owners to propose them to host their data on our Hub.
## Dataset viewer issue for '*big_patent*' **Link:** *[link to the dataset viewer page](https://huggingface.co/datasets/big_patent/viewer/all/train)* *Unable to view because it says FileNotFound, also cannot download it through the python API* Am I the one who added this dataset ? No
25
Big_Patent dataset broken ## Dataset viewer issue for '*big_patent*' **Link:** *[link to the dataset viewer page](https://huggingface.co/datasets/big_patent/viewer/all/train)* *Unable to view because it says FileNotFound, also cannot download it through the python API* Am I the one who added this dataset ? N...
[ -0.24777905642986298, 0.056216418743133545, -0.019161999225616455, 0.4259553551673889, 0.0408799946308136, -0.015736203640699387, 0.15935471653938293, 0.28465473651885986, 0.2502850294113159, -0.03454683721065521, -0.18267907202243805, 0.05056503415107727, -0.3296602964401245, 0.3069315254...
https://github.com/huggingface/datasets/issues/4211
DatasetDict containing Datasets with different features when pushed to hub gets remapped features
Hi @pietrolesci, thanks for reporting. Please note that this is a design purpose: a `DatasetDict` has the same features for all its datasets. Normally, a `DatasetDict` is composed of several sub-datasets each corresponding to a different **split**. To handle sub-datasets with different features, we use another ap...
Hi there, I am trying to load a dataset to the Hub. This dataset is a `DatasetDict` composed of various splits. Some splits have a different `Feature` mapping. Locally, the DatasetDict preserves the individual features but if I `push_to_hub` and then `load_dataset`, the features are all the same. Dataset and code...
69
DatasetDict containing Datasets with different features when pushed to hub gets remapped features Hi there, I am trying to load a dataset to the Hub. This dataset is a `DatasetDict` composed of various splits. Some splits have a different `Feature` mapping. Locally, the DatasetDict preserves the individual feature...
[ 0.09506799280643463, -0.5818794965744019, -0.014974513091146946, 0.34648460149765015, -0.00623534619808197, -0.08601406216621399, 0.30619338154792786, 0.1616925299167633, 0.37349310517311096, -0.017494305968284607, -0.2923353612422943, 0.6108015775680542, 0.1393585205078125, 0.362523227930...
https://github.com/huggingface/datasets/issues/4211
DatasetDict containing Datasets with different features when pushed to hub gets remapped features
Hi @albertvillanova, Thanks a lot for your reply! I got it now. The strange thing for me was to have it correctly working (i.e., DatasetDict with different features in some datasets) locally and not on the Hub. It would be great to have configuration supported by `push_to_hub`. Personally, this latter functionality ...
Hi there, I am trying to load a dataset to the Hub. This dataset is a `DatasetDict` composed of various splits. Some splits have a different `Feature` mapping. Locally, the DatasetDict preserves the individual features but if I `push_to_hub` and then `load_dataset`, the features are all the same. Dataset and code...
68
DatasetDict containing Datasets with different features when pushed to hub gets remapped features Hi there, I am trying to load a dataset to the Hub. This dataset is a `DatasetDict` composed of various splits. Some splits have a different `Feature` mapping. Locally, the DatasetDict preserves the individual feature...
[ 0.09506799280643463, -0.5818794965744019, -0.014974513091146946, 0.34648460149765015, -0.00623534619808197, -0.08601406216621399, 0.30619338154792786, 0.1616925299167633, 0.37349310517311096, -0.017494305968284607, -0.2923353612422943, 0.6108015775680542, 0.1393585205078125, 0.362523227930...
https://github.com/huggingface/datasets/issues/4211
DatasetDict containing Datasets with different features when pushed to hub gets remapped features
Hi! Yes, we should override `DatasetDict.__setitem__` and throw an error if features dictionaries are different. `DatasetDict` is a subclass of `dict`, so `DatasetDict.{update/setdefault}` need to be overridden as well. We could avoid this by subclassing `UserDict`, but then we would get the name collision - `DatasetDi...
Hi there, I am trying to load a dataset to the Hub. This dataset is a `DatasetDict` composed of various splits. Some splits have a different `Feature` mapping. Locally, the DatasetDict preserves the individual features but if I `push_to_hub` and then `load_dataset`, the features are all the same. Dataset and code...
102
DatasetDict containing Datasets with different features when pushed to hub gets remapped features Hi there, I am trying to load a dataset to the Hub. This dataset is a `DatasetDict` composed of various splits. Some splits have a different `Feature` mapping. Locally, the DatasetDict preserves the individual feature...
[ 0.09506799280643463, -0.5818794965744019, -0.014974513091146946, 0.34648460149765015, -0.00623534619808197, -0.08601406216621399, 0.30619338154792786, 0.1616925299167633, 0.37349310517311096, -0.017494305968284607, -0.2923353612422943, 0.6108015775680542, 0.1393585205078125, 0.362523227930...
https://github.com/huggingface/datasets/issues/4211
DatasetDict containing Datasets with different features when pushed to hub gets remapped features
I would keep things simple and keep subclassing dict. Regarding the features check, I guess this can be done only for `push_to_hub` right ? It is the only function right now that requires the underlying datasets to be splits (e.g. train/test) and have the same features. Note that later you will be able to push datas...
Hi there, I am trying to load a dataset to the Hub. This dataset is a `DatasetDict` composed of various splits. Some splits have a different `Feature` mapping. Locally, the DatasetDict preserves the individual features but if I `push_to_hub` and then `load_dataset`, the features are all the same. Dataset and code...
76
DatasetDict containing Datasets with different features when pushed to hub gets remapped features Hi there, I am trying to load a dataset to the Hub. This dataset is a `DatasetDict` composed of various splits. Some splits have a different `Feature` mapping. Locally, the DatasetDict preserves the individual feature...
[ 0.09506799280643463, -0.5818794965744019, -0.014974513091146946, 0.34648460149765015, -0.00623534619808197, -0.08601406216621399, 0.30619338154792786, 0.1616925299167633, 0.37349310517311096, -0.017494305968284607, -0.2923353612422943, 0.6108015775680542, 0.1393585205078125, 0.362523227930...
https://github.com/huggingface/datasets/issues/4211
DatasetDict containing Datasets with different features when pushed to hub gets remapped features
Hi @lhoestq, Returning to this thread to ask whether the possibility to create `DatasetDict` with different configurations will be supported in the future. Best, Pietro
Hi there, I am trying to load a dataset to the Hub. This dataset is a `DatasetDict` composed of various splits. Some splits have a different `Feature` mapping. Locally, the DatasetDict preserves the individual features but if I `push_to_hub` and then `load_dataset`, the features are all the same. Dataset and code...
25
DatasetDict containing Datasets with different features when pushed to hub gets remapped features Hi there, I am trying to load a dataset to the Hub. This dataset is a `DatasetDict` composed of various splits. Some splits have a different `Feature` mapping. Locally, the DatasetDict preserves the individual feature...
[ 0.09506799280643463, -0.5818794965744019, -0.014974513091146946, 0.34648460149765015, -0.00623534619808197, -0.08601406216621399, 0.30619338154792786, 0.1616925299167633, 0.37349310517311096, -0.017494305968284607, -0.2923353612422943, 0.6108015775680542, 0.1393585205078125, 0.362523227930...
https://github.com/huggingface/datasets/issues/4211
DatasetDict containing Datasets with different features when pushed to hub gets remapped features
DatasetDict is likely to always require the datasets to have the same columns and types, while different configurations may have different columns and types. Why would you like to see that ? If it's related to push_to_hub, we plan to allow pushing several configs, but not using DatasetDict
Hi there, I am trying to load a dataset to the Hub. This dataset is a `DatasetDict` composed of various splits. Some splits have a different `Feature` mapping. Locally, the DatasetDict preserves the individual features but if I `push_to_hub` and then `load_dataset`, the features are all the same. Dataset and code...
48
DatasetDict containing Datasets with different features when pushed to hub gets remapped features Hi there, I am trying to load a dataset to the Hub. This dataset is a `DatasetDict` composed of various splits. Some splits have a different `Feature` mapping. Locally, the DatasetDict preserves the individual feature...
[ 0.09506799280643463, -0.5818794965744019, -0.014974513091146946, 0.34648460149765015, -0.00623534619808197, -0.08601406216621399, 0.30619338154792786, 0.1616925299167633, 0.37349310517311096, -0.017494305968284607, -0.2923353612422943, 0.6108015775680542, 0.1393585205078125, 0.362523227930...
https://github.com/huggingface/datasets/issues/4211
DatasetDict containing Datasets with different features when pushed to hub gets remapped features
Hi @lhoestq and @pietrolesci, I have been curious about this question as well. I don't have experience working with different configurations, but I can give a bit more detail on the work flow that I have been using with `Dataset_dict`. As @pietrolesci mentions, I have been using `push_to_hub` to quickly iterate o...
Hi there, I am trying to load a dataset to the Hub. This dataset is a `DatasetDict` composed of various splits. Some splits have a different `Feature` mapping. Locally, the DatasetDict preserves the individual features but if I `push_to_hub` and then `load_dataset`, the features are all the same. Dataset and code...
217
DatasetDict containing Datasets with different features when pushed to hub gets remapped features Hi there, I am trying to load a dataset to the Hub. This dataset is a `DatasetDict` composed of various splits. Some splits have a different `Feature` mapping. Locally, the DatasetDict preserves the individual feature...
[ 0.09506799280643463, -0.5818794965744019, -0.014974513091146946, 0.34648460149765015, -0.00623534619808197, -0.08601406216621399, 0.30619338154792786, 0.1616925299167633, 0.37349310517311096, -0.017494305968284607, -0.2923353612422943, 0.6108015775680542, 0.1393585205078125, 0.362523227930...
https://github.com/huggingface/datasets/issues/4211
DatasetDict containing Datasets with different features when pushed to hub gets remapped features
> I am curious why DatasetDict will likely not support this functionality? There's a possibility we may merge the Dataset and DatasetDict classes. The DatasetDict purpose was to define a way to get the train/test splits of a dataset. see the discussions at https://github.com/huggingface/datasets/issues/5189 > ...
Hi there, I am trying to load a dataset to the Hub. This dataset is a `DatasetDict` composed of various splits. Some splits have a different `Feature` mapping. Locally, the DatasetDict preserves the individual features but if I `push_to_hub` and then `load_dataset`, the features are all the same. Dataset and code...
93
DatasetDict containing Datasets with different features when pushed to hub gets remapped features Hi there, I am trying to load a dataset to the Hub. This dataset is a `DatasetDict` composed of various splits. Some splits have a different `Feature` mapping. Locally, the DatasetDict preserves the individual feature...
[ 0.09506799280643463, -0.5818794965744019, -0.014974513091146946, 0.34648460149765015, -0.00623534619808197, -0.08601406216621399, 0.30619338154792786, 0.1616925299167633, 0.37349310517311096, -0.017494305968284607, -0.2923353612422943, 0.6108015775680542, 0.1393585205078125, 0.362523227930...
https://github.com/huggingface/datasets/issues/4211
DatasetDict containing Datasets with different features when pushed to hub gets remapped features
Hi, regarding the following information: > Please note that this is a design purpose: a `DatasetDict` has the same features for all its datasets. Normally, a `DatasetDict` is composed of several sub-datasets each corresponding to a different **split**. > > To handle sub-datasets with different features, we use an...
Hi there, I am trying to load a dataset to the Hub. This dataset is a `DatasetDict` composed of various splits. Some splits have a different `Feature` mapping. Locally, the DatasetDict preserves the individual features but if I `push_to_hub` and then `load_dataset`, the features are all the same. Dataset and code...
180
DatasetDict containing Datasets with different features when pushed to hub gets remapped features Hi there, I am trying to load a dataset to the Hub. This dataset is a `DatasetDict` composed of various splits. Some splits have a different `Feature` mapping. Locally, the DatasetDict preserves the individual feature...
[ 0.09506799280643463, -0.5818794965744019, -0.014974513091146946, 0.34648460149765015, -0.00623534619808197, -0.08601406216621399, 0.30619338154792786, 0.1616925299167633, 0.37349310517311096, -0.017494305968284607, -0.2923353612422943, 0.6108015775680542, 0.1393585205078125, 0.362523227930...
https://github.com/huggingface/datasets/issues/4210
TypeError: Cannot cast array data from dtype('O') to dtype('int64') according to the rule 'safe'
Hi! Casting class labels from strings is currently not supported in the CSV loader, but you can get the same result with an additional map as follows: ```python from datasets import load_dataset,Features,Value,ClassLabel class_names = ["cmn","deu","rus","fra","eng","jpn","spa","ita","kor","vie","nld","epo","por","tu...
### System Info ```shell - `transformers` version: 4.18.0 - Platform: Linux-5.4.144+-x86_64-with-Ubuntu-18.04-bionic - Python version: 3.7.13 - Huggingface_hub version: 0.5.1 - PyTorch version (GPU?): 1.10.0+cu111 (True) - Tensorflow version (GPU?): 2.8.0 (True) - Flax version (CPU?/GPU?/TPU?): not installed ...
134
TypeError: Cannot cast array data from dtype('O') to dtype('int64') according to the rule 'safe' ### System Info ```shell - `transformers` version: 4.18.0 - Platform: Linux-5.4.144+-x86_64-with-Ubuntu-18.04-bionic - Python version: 3.7.13 - Huggingface_hub version: 0.5.1 - PyTorch version (GPU?): 1.10.0+cu111...
[ -0.2058742493391037, -0.5463366508483887, -0.1671125888824463, 0.17104998230934143, 0.5628306865692139, -0.04382573813199997, 0.3648131489753723, 0.463327556848526, 0.3307614326477051, 0.11036089062690735, -0.03796403855085373, 0.1857532411813736, -0.17332099378108978, 0.03521456569433212,...
https://github.com/huggingface/datasets/issues/4210
TypeError: Cannot cast array data from dtype('O') to dtype('int64') according to the rule 'safe'
@albertvillanova @mariosasko thank you, with that change now I get ``` --------------------------------------------------------------------------- TypeError Traceback (most recent call last) [<ipython-input-9-eeb68eeb9bec>](https://localhost:8080/#) in <module>() 11 ) 12 ...
### System Info ```shell - `transformers` version: 4.18.0 - Platform: Linux-5.4.144+-x86_64-with-Ubuntu-18.04-bionic - Python version: 3.7.13 - Huggingface_hub version: 0.5.1 - PyTorch version (GPU?): 1.10.0+cu111 (True) - Tensorflow version (GPU?): 2.8.0 (True) - Flax version (CPU?/GPU?/TPU?): not installed ...
187
TypeError: Cannot cast array data from dtype('O') to dtype('int64') according to the rule 'safe' ### System Info ```shell - `transformers` version: 4.18.0 - Platform: Linux-5.4.144+-x86_64-with-Ubuntu-18.04-bionic - Python version: 3.7.13 - Huggingface_hub version: 0.5.1 - PyTorch version (GPU?): 1.10.0+cu111...
[ -0.2058742493391037, -0.5463366508483887, -0.1671125888824463, 0.17104998230934143, 0.5628306865692139, -0.04382573813199997, 0.3648131489753723, 0.463327556848526, 0.3307614326477051, 0.11036089062690735, -0.03796403855085373, 0.1857532411813736, -0.17332099378108978, 0.03521456569433212,...
https://github.com/huggingface/datasets/issues/4210
TypeError: Cannot cast array data from dtype('O') to dtype('int64') according to the rule 'safe'
@mariosasko changed it like ```python sentences = sentences.map(lambda ex: {"label" : features["label"].str2int(ex["label"]) if ex["label"] is not None else None}, features=features) ``` to avoid the above errorr.
### System Info ```shell - `transformers` version: 4.18.0 - Platform: Linux-5.4.144+-x86_64-with-Ubuntu-18.04-bionic - Python version: 3.7.13 - Huggingface_hub version: 0.5.1 - PyTorch version (GPU?): 1.10.0+cu111 (True) - Tensorflow version (GPU?): 2.8.0 (True) - Flax version (CPU?/GPU?/TPU?): not installed ...
26
TypeError: Cannot cast array data from dtype('O') to dtype('int64') according to the rule 'safe' ### System Info ```shell - `transformers` version: 4.18.0 - Platform: Linux-5.4.144+-x86_64-with-Ubuntu-18.04-bionic - Python version: 3.7.13 - Huggingface_hub version: 0.5.1 - PyTorch version (GPU?): 1.10.0+cu111...
[ -0.2058742493391037, -0.5463366508483887, -0.1671125888824463, 0.17104998230934143, 0.5628306865692139, -0.04382573813199997, 0.3648131489753723, 0.463327556848526, 0.3307614326477051, 0.11036089062690735, -0.03796403855085373, 0.1857532411813736, -0.17332099378108978, 0.03521456569433212,...
https://github.com/huggingface/datasets/issues/4210
TypeError: Cannot cast array data from dtype('O') to dtype('int64') according to the rule 'safe'
Any update on this? Is this correct ? > @mariosasko changed it like > > ```python > sentences = sentences.map(lambda ex: {"label" : features["label"].str2int(ex["label"]) if ex["label"] is not None else None}, features=features) > ``` > > to avoid the above errorr.
### System Info ```shell - `transformers` version: 4.18.0 - Platform: Linux-5.4.144+-x86_64-with-Ubuntu-18.04-bionic - Python version: 3.7.13 - Huggingface_hub version: 0.5.1 - PyTorch version (GPU?): 1.10.0+cu111 (True) - Tensorflow version (GPU?): 2.8.0 (True) - Flax version (CPU?/GPU?/TPU?): not installed ...
41
TypeError: Cannot cast array data from dtype('O') to dtype('int64') according to the rule 'safe' ### System Info ```shell - `transformers` version: 4.18.0 - Platform: Linux-5.4.144+-x86_64-with-Ubuntu-18.04-bionic - Python version: 3.7.13 - Huggingface_hub version: 0.5.1 - PyTorch version (GPU?): 1.10.0+cu111...
[ -0.2058742493391037, -0.5463366508483887, -0.1671125888824463, 0.17104998230934143, 0.5628306865692139, -0.04382573813199997, 0.3648131489753723, 0.463327556848526, 0.3307614326477051, 0.11036089062690735, -0.03796403855085373, 0.1857532411813736, -0.17332099378108978, 0.03521456569433212,...
https://github.com/huggingface/datasets/issues/4199
Cache miss during reload for datasets using image fetch utilities through map
Hi ! Maybe one of the objects in the function is not deterministic across sessions ? You can read more about it and how to investigate here: https://huggingface.co/docs/datasets/about_cache
## 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. ...
28
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.538809061050415, -0.14229273796081543, -0.06251148879528046, 0.257691353559494, 0.06601901352405548, 0.04962260276079178, 0.12464995682239532, -0.01028386503458023, 0.48512405157089233, 0.11974229663610458, -0.04982226341962814, 0.4438687562942505, 0.3680505156517029, -0.176550745964050...
https://github.com/huggingface/datasets/issues/4199
Cache miss during reload for datasets using image fetch utilities through map
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_...
## 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.538809061050415, -0.14229273796081543, -0.06251148879528046, 0.257691353559494, 0.06601901352405548, 0.04962260276079178, 0.12464995682239532, -0.01028386503458023, 0.48512405157089233, 0.11974229663610458, -0.04982226341962814, 0.4438687562942505, 0.3680505156517029, -0.176550745964050...
https://github.com/huggingface/datasets/issues/4199
Cache miss during reload for datasets using image fetch utilities through map
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...
## 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.538809061050415, -0.14229273796081543, -0.06251148879528046, 0.257691353559494, 0.06601901352405548, 0.04962260276079178, 0.12464995682239532, -0.01028386503458023, 0.48512405157089233, 0.11974229663610458, -0.04982226341962814, 0.4438687562942505, 0.3680505156517029, -0.176550745964050...
https://github.com/huggingface/datasets/issues/4199
Cache miss during reload for datasets using image fetch utilities through map
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.
## 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.538809061050415, -0.14229273796081543, -0.06251148879528046, 0.257691353559494, 0.06601901352405548, 0.04962260276079178, 0.12464995682239532, -0.01028386503458023, 0.48512405157089233, 0.11974229663610458, -0.04982226341962814, 0.4438687562942505, 0.3680505156517029, -0.176550745964050...
https://github.com/huggingface/datasets/issues/4199
Cache miss during reload for datasets using image fetch utilities through map
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...
## 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.538809061050415, -0.14229273796081543, -0.06251148879528046, 0.257691353559494, 0.06601901352405548, 0.04962260276079178, 0.12464995682239532, -0.01028386503458023, 0.48512405157089233, 0.11974229663610458, -0.04982226341962814, 0.4438687562942505, 0.3680505156517029, -0.176550745964050...
https://github.com/huggingface/datasets/issues/4192
load_dataset can't load local dataset,Unable to find ...
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...
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.17541171610355377, 0.08925727009773254, -0.12386755645275116, 0.1317977011203766, 0.3044525384902954, 0.05961718410253525, 0.4345730245113373, 0.4015065133571625, 0.22191691398620605, 0.14248879253864288, 0.03618365526199341, 0.20073182880878448, -0.06878088414669037, 0.2588717937469482...
https://github.com/huggingface/datasets/issues/4192
load_dataset can't load local dataset,Unable to find ...
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...
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.17541171610355377, 0.08925727009773254, -0.12386755645275116, 0.1317977011203766, 0.3044525384902954, 0.05961718410253525, 0.4345730245113373, 0.4015065133571625, 0.22191691398620605, 0.14248879253864288, 0.03618365526199341, 0.20073182880878448, -0.06878088414669037, 0.2588717937469482...
https://github.com/huggingface/datasets/issues/4192
load_dataset can't load local dataset,Unable to find ...
> 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...
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.17541171610355377, 0.08925727009773254, -0.12386755645275116, 0.1317977011203766, 0.3044525384902954, 0.05961718410253525, 0.4345730245113373, 0.4015065133571625, 0.22191691398620605, 0.14248879253864288, 0.03618365526199341, 0.20073182880878448, -0.06878088414669037, 0.2588717937469482...
https://github.com/huggingface/datasets/issues/4192
load_dataset can't load local dataset,Unable to find ...
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. ...
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.17541171610355377, 0.08925727009773254, -0.12386755645275116, 0.1317977011203766, 0.3044525384902954, 0.05961718410253525, 0.4345730245113373, 0.4015065133571625, 0.22191691398620605, 0.14248879253864288, 0.03618365526199341, 0.20073182880878448, -0.06878088414669037, 0.2588717937469482...
https://github.com/huggingface/datasets/issues/4191
feat: create an `Array3D` column from a list of arrays of dimension 2
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...
**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.31241798400878906, -0.2744893431663513, -0.19434180855751038, 0.17922085523605347, 0.1064048781991005, 0.21910187602043152, 0.752160370349884, 0.3646603226661682, 0.34263017773628235, 0.07632166147232056, 0.20140965282917023, 0.05226641893386841, -0.2193998098373413, 0.5241885185241699, ...
https://github.com/huggingface/datasets/issues/4191
feat: create an `Array3D` column from a list of arrays of dimension 2
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...
**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.31241798400878906, -0.2744893431663513, -0.19434180855751038, 0.17922085523605347, 0.1064048781991005, 0.21910187602043152, 0.752160370349884, 0.3646603226661682, 0.34263017773628235, 0.07632166147232056, 0.20140965282917023, 0.05226641893386841, -0.2193998098373413, 0.5241885185241699, ...
https://github.com/huggingface/datasets/issues/4185
Librispeech documentation, clarification on format
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...
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.15423402190208435, -0.3340960741043091, -0.17598019540309906, 0.27390116453170776, 0.216354638338089, -0.23989278078079224, 0.43557384610176086, 0.15729418396949768, 0.2130369395017624, 0.030080363154411316, -0.5569843649864197, 0.2139863520860672, -0.2302837073802948, 0.085955962538719...
https://github.com/huggingface/datasets/issues/4185
Librispeech documentation, clarification on format
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?
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.15423402190208435, -0.3340960741043091, -0.17598019540309906, 0.27390116453170776, 0.216354638338089, -0.23989278078079224, 0.43557384610176086, 0.15729418396949768, 0.2130369395017624, 0.030080363154411316, -0.5569843649864197, 0.2139863520860672, -0.2302837073802948, 0.085955962538719...
https://github.com/huggingface/datasets/issues/4185
Librispeech documentation, clarification on format
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...
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.15423402190208435, -0.3340960741043091, -0.17598019540309906, 0.27390116453170776, 0.216354638338089, -0.23989278078079224, 0.43557384610176086, 0.15729418396949768, 0.2130369395017624, 0.030080363154411316, -0.5569843649864197, 0.2139863520860672, -0.2302837073802948, 0.085955962538719...
https://github.com/huggingface/datasets/issues/4185
Librispeech documentation, clarification on format
> 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...
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.15423402190208435, -0.3340960741043091, -0.17598019540309906, 0.27390116453170776, 0.216354638338089, -0.23989278078079224, 0.43557384610176086, 0.15729418396949768, 0.2130369395017624, 0.030080363154411316, -0.5569843649864197, 0.2139863520860672, -0.2302837073802948, 0.085955962538719...
https://github.com/huggingface/datasets/issues/4185
Librispeech documentation, clarification on format
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...
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.15423402190208435, -0.3340960741043091, -0.17598019540309906, 0.27390116453170776, 0.216354638338089, -0.23989278078079224, 0.43557384610176086, 0.15729418396949768, 0.2130369395017624, 0.030080363154411316, -0.5569843649864197, 0.2139863520860672, -0.2302837073802948, 0.085955962538719...
https://github.com/huggingface/datasets/issues/4185
Librispeech documentation, clarification on format
`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...
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.15423402190208435, -0.3340960741043091, -0.17598019540309906, 0.27390116453170776, 0.216354638338089, -0.23989278078079224, 0.43557384610176086, 0.15729418396949768, 0.2130369395017624, 0.030080363154411316, -0.5569843649864197, 0.2139863520860672, -0.2302837073802948, 0.085955962538719...
https://github.com/huggingface/datasets/issues/4182
Zenodo.org download is not responding
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...
## 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.010786246508359909, -0.15618182718753815, -0.12496981024742126, 0.38870877027511597, 0.41914844512939453, -0.12065117061138153, 0.2301645427942276, 0.20202240347862244, -0.08204000443220139, 0.09544726461172104, -0.6322539448738098, -0.14407263696193695, 0.24856065213680267, 0.090017780...
https://github.com/huggingface/datasets/issues/4182
Zenodo.org download is not responding
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.
## 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.0809183120727539, 0.09524381160736084, -0.10966724157333374, 0.29676809906959534, 0.40415459871292114, -0.1066378727555275, 0.17370332777500153, 0.24060386419296265, -0.28922560811042786, 0.08636993914842606, -0.5147074460983276, -0.12862534821033478, 0.43036067485809326, -0.12445157766...
https://github.com/huggingface/datasets/issues/4182
Zenodo.org download is not responding
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.
## 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.15272733569145203, 0.004749983549118042, -0.09803816676139832, 0.3225697875022888, 0.41206830739974976, -0.08582396060228348, 0.19528423249721527, 0.3025968074798584, -0.145508274435997, 0.10670489072799683, -0.6057355403900146, 0.11827763170003891, 0.2712567150592804, -0.01770043186843...
https://github.com/huggingface/datasets/issues/4181
Support streaming FLEURS dataset
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.
## 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.47909846901893616, -0.14007359743118286, -0.04688102379441261, 0.36677879095077515, 0.062016405165195465, -0.051898956298828125, -0.04317567124962807, 0.3041354715824127, 0.26544472575187683, 0.2953125238418579, 0.07452839612960815, 0.2671474516391754, -0.06312435120344162, 0.3098487555...
https://github.com/huggingface/datasets/issues/4181
Support streaming FLEURS dataset
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...
## 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.4423677921295166, -0.04256629943847656, -0.017324933782219887, 0.2918567359447479, 0.06784002482891083, -0.15289223194122314, -0.03197392448782921, 0.06573708355426788, -0.02529258280992508, 0.28807756304740906, -0.035766392946243286, 0.38128861784935, -0.17722980678081512, 0.0456831753...
https://github.com/huggingface/datasets/issues/4181
Support streaming FLEURS dataset
@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
## 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.3240826427936554, -0.06928247958421707, -0.00073280930519104, 0.3203551769256592, -0.00619690865278244, -0.12938779592514038, 0.00787368044257164, 0.06390659511089325, 0.06511034071445465, 0.2378500998020172, -0.05749165266752243, 0.3065184950828552, -0.13342486321926117, -0.01978824660...
https://github.com/huggingface/datasets/issues/4181
Support streaming FLEURS dataset
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.
## 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.3356230854988098, -0.24042099714279175, 0.00006131082773208618, 0.41838502883911133, -0.017210017889738083, -0.07027951627969742, -0.05507167801260948, 0.08669155836105347, 0.11756797134876251, 0.14829176664352417, 0.10341821610927582, 0.28879299759864807, -0.014658904634416103, 0.10463...
https://github.com/huggingface/datasets/issues/4181
Support streaming FLEURS dataset
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 :-))
## 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.3465266823768616, 0.04778289794921875, -0.011321984231472015, 0.35819244384765625, 0.010883653536438942, -0.18242496252059937, 0.1321621984243393, 0.09554201364517212, 0.009387273341417313, 0.3383342921733856, -0.08467349410057068, 0.35499680042266846, -0.20761525630950928, 0.0396778360...
https://github.com/huggingface/datasets/issues/4181
Support streaming FLEURS dataset
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
## 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.4422245919704437, -0.21560819447040558, 0.02430889382958412, 0.3373895287513733, 0.028103573247790337, -0.06792489439249039, -0.002459954470396042, 0.08839099854230881, 0.17809782922267914, 0.3295021653175354, 0.03949349373579025, 0.303334504365921, -0.10033111274242401, 0.1741821169853...
https://github.com/huggingface/datasets/issues/4180
Add some iteration method on a dataset column (specific for inference)
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...
**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.3390595614910126, -0.11449776589870453, -0.12802329659461975, 0.05840074270963669, 0.2029086947441101, -0.15144756436347961, 0.25771448016166687, 0.018089205026626587, -0.0479571670293808, 0.38207507133483887, -0.060508109629154205, 0.3480745255947113, -0.252398818731308, 0.002231234684...
https://github.com/huggingface/datasets/issues/4180
Add some iteration method on a dataset column (specific for inference)
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...
**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.32837003469467163, -0.11577454954385757, -0.06613398343324661, 0.06359097361564636, 0.1763317734003067, -0.20337125658988953, 0.26251399517059326, -0.021314028650522232, -0.06802192330360413, 0.4297323226928711, -0.1349969208240509, 0.3932083547115326, -0.24968881905078888, 0.0722303688...
https://github.com/huggingface/datasets/issues/4180
Add some iteration method on a dataset column (specific for inference)
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.
**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.3346264362335205, -0.19927111268043518, -0.11578552424907684, 0.04216688871383667, 0.1764325648546219, -0.1835937201976776, 0.23586447536945343, 0.014674775302410126, -0.040915586054325104, 0.4126091003417969, -0.05059220641851425, 0.324953556060791, -0.25804394483566284, 0.062458857893...
https://github.com/huggingface/datasets/issues/4180
Add some iteration method on a dataset column (specific for inference)
@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.
**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.3586830794811249, -0.17081627249717712, -0.1054128110408783, 0.0674954280257225, 0.1956336498260498, -0.05679140239953995, 0.24556179344654083, 0.010656503960490227, -0.04988846927881241, 0.421486496925354, -0.05719994008541107, 0.2929973304271698, -0.19495035707950592, 0.01274870894849...
https://github.com/huggingface/datasets/issues/4180
Add some iteration method on a dataset column (specific for inference)
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 ;)
**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.3311901092529297, -0.13776728510856628, -0.09782674908638, 0.060063865035772324, 0.19525116682052612, -0.10979987680912018, 0.37822484970092773, -0.0013356581330299377, 0.003966877236962318, 0.3533790707588196, -0.11393577605485916, 0.38511836528778076, -0.19743411242961884, 0.087659776...
https://github.com/huggingface/datasets/issues/4179
Dataset librispeech_asr fails to load
Another thing, but maybe this should be a separate issue: As I see from the code, it would try to use up to 16 simultaneous downloads? This is problematic for Librispeech or anything on OpenSLR. On [the homepage](https://www.openslr.org/), it says: > If you want to download things from this site, please download the...
## Describe the bug The dataset librispeech_asr (standard Librispeech) fails to load. ## Steps to reproduce the bug ```python datasets.load_dataset("librispeech_asr") ``` ## Expected results It should download and prepare the whole dataset (all subsets). In [the doc](https://huggingface.co/datasets/libris...
101
Dataset librispeech_asr fails to load ## Describe the bug The dataset librispeech_asr (standard Librispeech) fails to load. ## Steps to reproduce the bug ```python datasets.load_dataset("librispeech_asr") ``` ## Expected results It should download and prepare the whole dataset (all subsets). In [the doc...
[ -0.2864779829978943, -0.4839605987071991, 0.06809908151626587, 0.6340241432189941, 0.15258166193962097, 0.23556256294250488, 0.1461004912853241, 0.23709970712661743, 0.21236111223697662, -0.05331432819366455, -0.13003890216350555, 0.09482104331254959, -0.3211013078689575, 0.241190388798713...
https://github.com/huggingface/datasets/issues/4179
Dataset librispeech_asr fails to load
Sorry maybe the docs haven't been super clear here. By `split` we mean one of `train.500`, `train.360`, `train.100`, `validation`, `test`. For Librispeech, you'll have to specific a config (either `other` or `clean`) though: ```py datasets.load_dataset("librispeech_asr", "clean") ``` should work and give you al...
## Describe the bug The dataset librispeech_asr (standard Librispeech) fails to load. ## Steps to reproduce the bug ```python datasets.load_dataset("librispeech_asr") ``` ## Expected results It should download and prepare the whole dataset (all subsets). In [the doc](https://huggingface.co/datasets/libris...
55
Dataset librispeech_asr fails to load ## Describe the bug The dataset librispeech_asr (standard Librispeech) fails to load. ## Steps to reproduce the bug ```python datasets.load_dataset("librispeech_asr") ``` ## Expected results It should download and prepare the whole dataset (all subsets). In [the doc...
[ -0.2864779829978943, -0.4839605987071991, 0.06809908151626587, 0.6340241432189941, 0.15258166193962097, 0.23556256294250488, 0.1461004912853241, 0.23709970712661743, 0.21236111223697662, -0.05331432819366455, -0.13003890216350555, 0.09482104331254959, -0.3211013078689575, 0.241190388798713...
https://github.com/huggingface/datasets/issues/4179
Dataset librispeech_asr fails to load
If you need both `"clean"` and `"other"` I think you'll have to do concatenate them as follows: ```py from datasets import concatenate_datasets, load_dataset other = load_dataset("librispeech_asr", "other") clean = load_dataset("librispeech_asr", "clean") librispeech = concatenate_datasets([other, clean]) ...
## Describe the bug The dataset librispeech_asr (standard Librispeech) fails to load. ## Steps to reproduce the bug ```python datasets.load_dataset("librispeech_asr") ``` ## Expected results It should download and prepare the whole dataset (all subsets). In [the doc](https://huggingface.co/datasets/libris...
38
Dataset librispeech_asr fails to load ## Describe the bug The dataset librispeech_asr (standard Librispeech) fails to load. ## Steps to reproduce the bug ```python datasets.load_dataset("librispeech_asr") ``` ## Expected results It should download and prepare the whole dataset (all subsets). In [the doc...
[ -0.2864779829978943, -0.4839605987071991, 0.06809908151626587, 0.6340241432189941, 0.15258166193962097, 0.23556256294250488, 0.1461004912853241, 0.23709970712661743, 0.21236111223697662, -0.05331432819366455, -0.13003890216350555, 0.09482104331254959, -0.3211013078689575, 0.241190388798713...
https://github.com/huggingface/datasets/issues/4179
Dataset librispeech_asr fails to load
Downloading one split would be: ```py from datasets import load_dataset other = load_dataset("librispeech_asr", "other", split="train.500") ```
## Describe the bug The dataset librispeech_asr (standard Librispeech) fails to load. ## Steps to reproduce the bug ```python datasets.load_dataset("librispeech_asr") ``` ## Expected results It should download and prepare the whole dataset (all subsets). In [the doc](https://huggingface.co/datasets/libris...
16
Dataset librispeech_asr fails to load ## Describe the bug The dataset librispeech_asr (standard Librispeech) fails to load. ## Steps to reproduce the bug ```python datasets.load_dataset("librispeech_asr") ``` ## Expected results It should download and prepare the whole dataset (all subsets). In [the doc...
[ -0.2864779829978943, -0.4839605987071991, 0.06809908151626587, 0.6340241432189941, 0.15258166193962097, 0.23556256294250488, 0.1461004912853241, 0.23709970712661743, 0.21236111223697662, -0.05331432819366455, -0.13003890216350555, 0.09482104331254959, -0.3211013078689575, 0.241190388798713...
https://github.com/huggingface/datasets/issues/4179
Dataset librispeech_asr fails to load
Ah thanks. But wouldn't it be easier/nicer (and more canonical) to just make it in a way that simply `load_dataset("librispeech_asr")` works?
## Describe the bug The dataset librispeech_asr (standard Librispeech) fails to load. ## Steps to reproduce the bug ```python datasets.load_dataset("librispeech_asr") ``` ## Expected results It should download and prepare the whole dataset (all subsets). In [the doc](https://huggingface.co/datasets/libris...
21
Dataset librispeech_asr fails to load ## Describe the bug The dataset librispeech_asr (standard Librispeech) fails to load. ## Steps to reproduce the bug ```python datasets.load_dataset("librispeech_asr") ``` ## Expected results It should download and prepare the whole dataset (all subsets). In [the doc...
[ -0.2864779829978943, -0.4839605987071991, 0.06809908151626587, 0.6340241432189941, 0.15258166193962097, 0.23556256294250488, 0.1461004912853241, 0.23709970712661743, 0.21236111223697662, -0.05331432819366455, -0.13003890216350555, 0.09482104331254959, -0.3211013078689575, 0.241190388798713...
https://github.com/huggingface/datasets/issues/4179
Dataset librispeech_asr fails to load
Pinging @lhoestq here, think this could make sense! Not sure however how the dictionary would then look like
## Describe the bug The dataset librispeech_asr (standard Librispeech) fails to load. ## Steps to reproduce the bug ```python datasets.load_dataset("librispeech_asr") ``` ## Expected results It should download and prepare the whole dataset (all subsets). In [the doc](https://huggingface.co/datasets/libris...
18
Dataset librispeech_asr fails to load ## Describe the bug The dataset librispeech_asr (standard Librispeech) fails to load. ## Steps to reproduce the bug ```python datasets.load_dataset("librispeech_asr") ``` ## Expected results It should download and prepare the whole dataset (all subsets). In [the doc...
[ -0.2864779829978943, -0.4839605987071991, 0.06809908151626587, 0.6340241432189941, 0.15258166193962097, 0.23556256294250488, 0.1461004912853241, 0.23709970712661743, 0.21236111223697662, -0.05331432819366455, -0.13003890216350555, 0.09482104331254959, -0.3211013078689575, 0.241190388798713...
https://github.com/huggingface/datasets/issues/4179
Dataset librispeech_asr fails to load
Would it make sense to have `clean` as the default config ? Also I think `load_dataset("librispeech_asr")` should have raised you an error that says that you need to specify a config I also opened a PR to improve the doc: https://github.com/huggingface/datasets/pull/4183
## Describe the bug The dataset librispeech_asr (standard Librispeech) fails to load. ## Steps to reproduce the bug ```python datasets.load_dataset("librispeech_asr") ``` ## Expected results It should download and prepare the whole dataset (all subsets). In [the doc](https://huggingface.co/datasets/libris...
41
Dataset librispeech_asr fails to load ## Describe the bug The dataset librispeech_asr (standard Librispeech) fails to load. ## Steps to reproduce the bug ```python datasets.load_dataset("librispeech_asr") ``` ## Expected results It should download and prepare the whole dataset (all subsets). In [the doc...
[ -0.2864779829978943, -0.4839605987071991, 0.06809908151626587, 0.6340241432189941, 0.15258166193962097, 0.23556256294250488, 0.1461004912853241, 0.23709970712661743, 0.21236111223697662, -0.05331432819366455, -0.13003890216350555, 0.09482104331254959, -0.3211013078689575, 0.241190388798713...
https://github.com/huggingface/datasets/issues/4179
Dataset librispeech_asr fails to load
> Would it make sense to have `clean` as the default config ? I think a user would expect that the default would give you the full dataset. > Also I think `load_dataset("librispeech_asr")` should have raised you an error that says that you need to specify a config It does raise an error, but this error confuse...
## Describe the bug The dataset librispeech_asr (standard Librispeech) fails to load. ## Steps to reproduce the bug ```python datasets.load_dataset("librispeech_asr") ``` ## Expected results It should download and prepare the whole dataset (all subsets). In [the doc](https://huggingface.co/datasets/libris...
86
Dataset librispeech_asr fails to load ## Describe the bug The dataset librispeech_asr (standard Librispeech) fails to load. ## Steps to reproduce the bug ```python datasets.load_dataset("librispeech_asr") ``` ## Expected results It should download and prepare the whole dataset (all subsets). In [the doc...
[ -0.2864779829978943, -0.4839605987071991, 0.06809908151626587, 0.6340241432189941, 0.15258166193962097, 0.23556256294250488, 0.1461004912853241, 0.23709970712661743, 0.21236111223697662, -0.05331432819366455, -0.13003890216350555, 0.09482104331254959, -0.3211013078689575, 0.241190388798713...
https://github.com/huggingface/datasets/issues/4179
Dataset librispeech_asr fails to load
+1 for @albertz. Also think lots of people download the whole dataset (`"clean"` + `"other"`) for Librispeech. Think there are also some people though who: - a) Don't have the memory to store the whole dataset - b) Just want to evaluate on one of the two configs
## Describe the bug The dataset librispeech_asr (standard Librispeech) fails to load. ## Steps to reproduce the bug ```python datasets.load_dataset("librispeech_asr") ``` ## Expected results It should download and prepare the whole dataset (all subsets). In [the doc](https://huggingface.co/datasets/libris...
48
Dataset librispeech_asr fails to load ## Describe the bug The dataset librispeech_asr (standard Librispeech) fails to load. ## Steps to reproduce the bug ```python datasets.load_dataset("librispeech_asr") ``` ## Expected results It should download and prepare the whole dataset (all subsets). In [the doc...
[ -0.2864779829978943, -0.4839605987071991, 0.06809908151626587, 0.6340241432189941, 0.15258166193962097, 0.23556256294250488, 0.1461004912853241, 0.23709970712661743, 0.21236111223697662, -0.05331432819366455, -0.13003890216350555, 0.09482104331254959, -0.3211013078689575, 0.241190388798713...
https://github.com/huggingface/datasets/issues/4179
Dataset librispeech_asr fails to load
Ok ! Adding the "all" configuration would do the job then, thanks ! In the "all" configuration we can merge all the train.xxx splits into one "train" split, or keep them separate depending on what's the most practical to use (probably put everything in "train" no ?)
## Describe the bug The dataset librispeech_asr (standard Librispeech) fails to load. ## Steps to reproduce the bug ```python datasets.load_dataset("librispeech_asr") ``` ## Expected results It should download and prepare the whole dataset (all subsets). In [the doc](https://huggingface.co/datasets/libris...
47
Dataset librispeech_asr fails to load ## Describe the bug The dataset librispeech_asr (standard Librispeech) fails to load. ## Steps to reproduce the bug ```python datasets.load_dataset("librispeech_asr") ``` ## Expected results It should download and prepare the whole dataset (all subsets). In [the doc...
[ -0.2864779829978943, -0.4839605987071991, 0.06809908151626587, 0.6340241432189941, 0.15258166193962097, 0.23556256294250488, 0.1461004912853241, 0.23709970712661743, 0.21236111223697662, -0.05331432819366455, -0.13003890216350555, 0.09482104331254959, -0.3211013078689575, 0.241190388798713...
https://github.com/huggingface/datasets/issues/4179
Dataset librispeech_asr fails to load
I'm not too familiar with how to work with HuggingFace datasets, but people often do some curriculum learning scheme, where they start with train.100, later go over to train.100 + train.360, and then later use the whole train (960h). It would be good if this is easily possible.
## Describe the bug The dataset librispeech_asr (standard Librispeech) fails to load. ## Steps to reproduce the bug ```python datasets.load_dataset("librispeech_asr") ``` ## Expected results It should download and prepare the whole dataset (all subsets). In [the doc](https://huggingface.co/datasets/libris...
48
Dataset librispeech_asr fails to load ## Describe the bug The dataset librispeech_asr (standard Librispeech) fails to load. ## Steps to reproduce the bug ```python datasets.load_dataset("librispeech_asr") ``` ## Expected results It should download and prepare the whole dataset (all subsets). In [the doc...
[ -0.2864779829978943, -0.4839605987071991, 0.06809908151626587, 0.6340241432189941, 0.15258166193962097, 0.23556256294250488, 0.1461004912853241, 0.23709970712661743, 0.21236111223697662, -0.05331432819366455, -0.13003890216350555, 0.09482104331254959, -0.3211013078689575, 0.241190388798713...
https://github.com/huggingface/datasets/issues/4179
Dataset librispeech_asr fails to load
Hey @albertz, opened a PR here. Think by adding the "subdataset" class to each split "train", "dev", "other" as shown here: https://github.com/huggingface/datasets/pull/4184/files#r853272727 it should be easily possible (e.g. with the filter function https://huggingface.co/docs/datasets/v2.1.0/en/package_reference/...
## Describe the bug The dataset librispeech_asr (standard Librispeech) fails to load. ## Steps to reproduce the bug ```python datasets.load_dataset("librispeech_asr") ``` ## Expected results It should download and prepare the whole dataset (all subsets). In [the doc](https://huggingface.co/datasets/libris...
34
Dataset librispeech_asr fails to load ## Describe the bug The dataset librispeech_asr (standard Librispeech) fails to load. ## Steps to reproduce the bug ```python datasets.load_dataset("librispeech_asr") ``` ## Expected results It should download and prepare the whole dataset (all subsets). In [the doc...
[ -0.2864779829978943, -0.4839605987071991, 0.06809908151626587, 0.6340241432189941, 0.15258166193962097, 0.23556256294250488, 0.1461004912853241, 0.23709970712661743, 0.21236111223697662, -0.05331432819366455, -0.13003890216350555, 0.09482104331254959, -0.3211013078689575, 0.241190388798713...
https://github.com/huggingface/datasets/issues/4179
Dataset librispeech_asr fails to load
But also since everything is cached one could also just do: ```python load_dataset("librispeech", "clean", "train.100") load_dataset("librispeech", "clean", "train.100+train.360") load_dataset("librispeech" "all", "train") ```
## Describe the bug The dataset librispeech_asr (standard Librispeech) fails to load. ## Steps to reproduce the bug ```python datasets.load_dataset("librispeech_asr") ``` ## Expected results It should download and prepare the whole dataset (all subsets). In [the doc](https://huggingface.co/datasets/libris...
22
Dataset librispeech_asr fails to load ## Describe the bug The dataset librispeech_asr (standard Librispeech) fails to load. ## Steps to reproduce the bug ```python datasets.load_dataset("librispeech_asr") ``` ## Expected results It should download and prepare the whole dataset (all subsets). In [the doc...
[ -0.2864779829978943, -0.4839605987071991, 0.06809908151626587, 0.6340241432189941, 0.15258166193962097, 0.23556256294250488, 0.1461004912853241, 0.23709970712661743, 0.21236111223697662, -0.05331432819366455, -0.13003890216350555, 0.09482104331254959, -0.3211013078689575, 0.241190388798713...
https://github.com/huggingface/datasets/issues/4179
Dataset librispeech_asr fails to load
Hi @patrickvonplaten , load_dataset("librispeech_asr", "clean", "train.100") actually downloads the whole dataset and not the 100 hr split, is this a bug?
## Describe the bug The dataset librispeech_asr (standard Librispeech) fails to load. ## Steps to reproduce the bug ```python datasets.load_dataset("librispeech_asr") ``` ## Expected results It should download and prepare the whole dataset (all subsets). In [the doc](https://huggingface.co/datasets/libris...
21
Dataset librispeech_asr fails to load ## Describe the bug The dataset librispeech_asr (standard Librispeech) fails to load. ## Steps to reproduce the bug ```python datasets.load_dataset("librispeech_asr") ``` ## Expected results It should download and prepare the whole dataset (all subsets). In [the doc...
[ -0.2864779829978943, -0.4839605987071991, 0.06809908151626587, 0.6340241432189941, 0.15258166193962097, 0.23556256294250488, 0.1461004912853241, 0.23709970712661743, 0.21236111223697662, -0.05331432819366455, -0.13003890216350555, 0.09482104331254959, -0.3211013078689575, 0.241190388798713...
https://github.com/huggingface/datasets/issues/4179
Dataset librispeech_asr fails to load
Hmm, I don't really see how that's possible: https://github.com/huggingface/datasets/blob/d22e39a0693d4be7410cf9a5d41fd5aac22be3cc/datasets/librispeech_asr/librispeech_asr.py#L51 Note that all datasets related to `"clean"` are downloaded, but only `"train.100"` should be used. cc @lhoestq @albertvillanova @mario...
## Describe the bug The dataset librispeech_asr (standard Librispeech) fails to load. ## Steps to reproduce the bug ```python datasets.load_dataset("librispeech_asr") ``` ## Expected results It should download and prepare the whole dataset (all subsets). In [the doc](https://huggingface.co/datasets/libris...
68
Dataset librispeech_asr fails to load ## Describe the bug The dataset librispeech_asr (standard Librispeech) fails to load. ## Steps to reproduce the bug ```python datasets.load_dataset("librispeech_asr") ``` ## Expected results It should download and prepare the whole dataset (all subsets). In [the doc...
[ -0.2864779829978943, -0.4839605987071991, 0.06809908151626587, 0.6340241432189941, 0.15258166193962097, 0.23556256294250488, 0.1461004912853241, 0.23709970712661743, 0.21236111223697662, -0.05331432819366455, -0.13003890216350555, 0.09482104331254959, -0.3211013078689575, 0.241190388798713...
https://github.com/huggingface/datasets/issues/4179
Dataset librispeech_asr fails to load
@patrickvonplaten This problem is a bit harder than it may seem, and it has to do with how our scripts are structured - `_split_generators` downloads data for a split before its definition. There was an attempt to fix this in https://github.com/huggingface/datasets/pull/2249, but it wasn't flexible enough. Luckily, I h...
## Describe the bug The dataset librispeech_asr (standard Librispeech) fails to load. ## Steps to reproduce the bug ```python datasets.load_dataset("librispeech_asr") ``` ## Expected results It should download and prepare the whole dataset (all subsets). In [the doc](https://huggingface.co/datasets/libris...
89
Dataset librispeech_asr fails to load ## Describe the bug The dataset librispeech_asr (standard Librispeech) fails to load. ## Steps to reproduce the bug ```python datasets.load_dataset("librispeech_asr") ``` ## Expected results It should download and prepare the whole dataset (all subsets). In [the doc...
[ -0.2864779829978943, -0.4839605987071991, 0.06809908151626587, 0.6340241432189941, 0.15258166193962097, 0.23556256294250488, 0.1461004912853241, 0.23709970712661743, 0.21236111223697662, -0.05331432819366455, -0.13003890216350555, 0.09482104331254959, -0.3211013078689575, 0.241190388798713...
https://github.com/huggingface/datasets/issues/4179
Dataset librispeech_asr fails to load
> load_dataset("librispeech_asr", "clean", "train.100") actually downloads the whole dataset and not the 100 hr split, is this a bug? Since this bug is still there and google led me here when I was searching for a solution, I am writing down how to quickly fix it (as suggested by @mariosasko) for whoever else is not...
## Describe the bug The dataset librispeech_asr (standard Librispeech) fails to load. ## Steps to reproduce the bug ```python datasets.load_dataset("librispeech_asr") ``` ## Expected results It should download and prepare the whole dataset (all subsets). In [the doc](https://huggingface.co/datasets/libris...
130
Dataset librispeech_asr fails to load ## Describe the bug The dataset librispeech_asr (standard Librispeech) fails to load. ## Steps to reproduce the bug ```python datasets.load_dataset("librispeech_asr") ``` ## Expected results It should download and prepare the whole dataset (all subsets). In [the doc...
[ -0.2864779829978943, -0.4839605987071991, 0.06809908151626587, 0.6340241432189941, 0.15258166193962097, 0.23556256294250488, 0.1461004912853241, 0.23709970712661743, 0.21236111223697662, -0.05331432819366455, -0.13003890216350555, 0.09482104331254959, -0.3211013078689575, 0.241190388798713...
https://github.com/huggingface/datasets/issues/4169
Timit_asr dataset cannot be previewed recently
Thanks for reporting. The bug has already been detected, and we hope to fix it soon.
## 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.4550260901451111, -0.36819303035736084, -0.06202225387096405, 0.17472749948501587, 0.039184726774692535, 0.04929514229297638, 0.18239589035511017, 0.2734488844871521, -0.37225788831710815, 0.20602166652679443, -0.3304498493671417, 0.18516071140766144, -0.17799262702465057, 0.16334478557...
https://github.com/huggingface/datasets/issues/4169
Timit_asr dataset cannot be previewed recently
TIMIT is now a dataset that requires manual download, see #4145 Therefore it might take a bit more time to fix it
## 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.4907505214214325, -0.3528871536254883, -0.09211957454681396, 0.11584697663784027, 0.022326689213514328, 0.013112634420394897, 0.16243450343608856, 0.241331085562706, -0.4454856812953949, 0.1590493619441986, -0.29785966873168945, 0.19180752336978912, -0.1897067427635193, 0.21223437786102...
https://github.com/huggingface/datasets/issues/4169
Timit_asr dataset cannot be previewed recently
> 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 ...
## 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.37758269906044006, -0.13030317425727844, 0.18907059729099274, 0.011896999552845955, 0.1102466806769371, 0.16031649708747864, 0.057088837027549744, -0.31386101245880127, 0.03445688635110855, -0.19323574006557465, 0.13996608555316925, -0.23434622585773468, 0.079918041...
https://github.com/huggingface/datasets/issues/4169
Timit_asr dataset cannot be previewed recently
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 ...
## 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.31463029980659485, -0.24931326508522034, -0.04436338692903519, 0.3087725043296814, -0.01273619756102562, -0.009399756789207458, 0.1674087643623352, 0.1074036955833435, -0.358037531375885, 0.20383208990097046, -0.3066551685333252, 0.16909265518188477, -0.2346719652414322, 0.0140986684709...
https://github.com/huggingface/datasets/issues/4169
Timit_asr dataset cannot be previewed recently
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/...
## 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.6112358570098877, -0.29167884588241577, -0.08124051988124847, 0.31857895851135254, 0.16411542892456055, 0.016920797526836395, 0.24358047544956207, 0.24114622175693512, -0.5477694869041443, 0.3521900773048401, -0.44972458481788635, 0.31241312623023987, -0.431844562292099, -0.125733152031...
https://github.com/huggingface/datasets/issues/4163
Optional Content Warning for Datasets
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.
**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.26008298993110657, -0.3120526969432831, -0.05632442981004715, -0.1086026281118393, 0.018699657171964645, 0.366629034280777, 0.35255736112594604, 0.23881494998931885, 0.30746060609817505, 0.2498289942741394, 0.1395486742258072, 0.32378074526786804, -0.2098609358072281, 0.0323200896382331...
https://github.com/huggingface/datasets/issues/4163
Optional Content Warning for Datasets
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...
**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.31351789832115173, -0.055861398577690125, -0.1293681114912033, -0.018319275230169296, 0.37431156635284424, 0.44415223598480225, 0.249332457780838, 0.32215625047683716, 0.2341974973678589, 0.0664084255695343, 0.18715311586856842, -0.23977087438106537, 0.0394432619214...
https://github.com/huggingface/datasets/issues/4163
Optional Content Warning for Datasets
``` --- 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...
**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.21442699432373047, -0.25920504331588745, -0.05897955223917961, -0.05752057582139969, 0.037621378898620605, 0.28025057911872864, 0.27311408519744873, 0.22200503945350647, 0.22316884994506836, 0.20868833363056183, -0.020538251847028732, 0.28157365322113037, -0.2302243709564209, -0.0373294...
https://github.com/huggingface/datasets/issues/4163
Optional Content Warning for Datasets
-- is there a way to gate content anonymously, i.e. without registering which users access it?
**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.19659309089183807, -0.21003057062625885, -0.05630885809659958, -0.11867927014827728, -0.10297268629074097, 0.2650572955608368, 0.4788660705089569, 0.27669525146484375, 0.29416990280151367, 0.19777536392211914, 0.10929394513368607, 0.19738557934761047, -0.21145083010196686, 0.03520188480...
https://github.com/huggingface/datasets/issues/4163
Optional Content Warning for Datasets
+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.
**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.26793915033340454, -0.19581308960914612, -0.06399209797382355, -0.1323363184928894, -0.008632734417915344, 0.3384946882724762, 0.3052767813205719, 0.27597784996032715, 0.3115525543689728, 0.2807517647743225, 0.1271590292453766, 0.2625782787799835, -0.2400340586900711, 0.0598674565553665...
https://github.com/huggingface/datasets/issues/4152
ArrayND error in pyarrow 5
Where do we bump the required pyarrow version? Any inputs on how I fix this issue?
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.27178874611854553, 0.0057998597621917725, -0.09467674791812897, 0.07623609900474548, 0.17722000181674957, -0.13541190326213837, 0.5197150111198425, 0.28534582257270813, -0.150676429271698, -0.15376414358615875, -0.38038378953933716, 0.10658343136310577, 0.00128842331469059, 0.1034753248...